i was found this feature has memory leak problem ( thanks for skff1234 )
in the code setMaxSightRange
it's make the increase memory from 11 feature
and when it start the map then this code activate and increase the sight range data
but this code isn't activate only on boot.
it's activate when every play the map
activate... activate.... activate.... then it's make memory leak problem
like this photo
so if you want to use the setMaxSightRange code then
open the game_hooks.cpp
write the this code under the #include codes↓
bool firstboot = false;
and in the game_on() write like this
if(firstboot==false){
setMaxSightRange<write here the sight ranges your want>();
firstboot=true;
}
then memory leak problem will be solved
thanks for the reading :)
very nine work