• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Monster Detect Distance (Tfs 0.4 - 8.6)

Ron'sPepe

Member
Joined
Jul 11, 2014
Messages
32
Reaction score
7
Location
Chile
Where I found the code of the title?

Searching I founded it in map.h:


Code:
static const int32_t maxViewportX = 11; //min value: maxClientViewportX + 1
        static const int32_t maxViewportY = 11; //min value: maxClientViewportY + 1

But when I change the value, I going compile and it crash when terminates loading

Sorry for my english,
 
But what I change?
There are variables like viewRangeX and viewRangeY

If you are unsure what the variables is, it's what the name is.
viewRangeX
Thats what the player can see in the X axis, same goes for Y axis.

So it's the compiler thats crashing?
What compiler are you using? Have you been able to compile a "fresh" source code with it?
 
I'm using Dev-cpp and when I change that variables the console crash, but my question is where I modify for the range detect.

The console? So the server?
What do you mean with range detect?

One part is in the server and another in the client, so if you wanna change this you need to use ex OTClient.
 
That crash me the Console just when I change the viewRangeX and viewRangeY

I just want that the monster detect me from a distance of 8 sqm
 
Back
Top