• 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!

C++ attack on diagonals tfs 1.5

Izaack

Member
Joined
Jun 18, 2012
Messages
70
Solutions
1
Reaction score
17
Location
México
Hello friends of Otland, I have a question, currently I need to be able to attack on these diagonals, I followed a commit on github on this topic but I discovered that on these two diagonals I cannot get the player to attack when in the old versions of Tibia it could, do you know how? can I solve this problem?

commit.png
In the position the dragons are in I can't attack but if I put them in the reverse position it is possible.
Does anyone know how to solve this problem with these diagonals?​
 
Last edited:
if you want the correct (although not the way it works in rl tibia), take a look at this PR:
Bro, I get that error with that PR, how can I solve it?
 
I assume he means show the error that the pull request gives you.
It does not produce errors when compiling, it simply does not solve the problem of diagonals, although it is not an error, because they say that this is the same as in RL, the question is how to disable it, for people who do not like this "mechanics"
 
It does not produce errors when compiling, it simply does not solve the problem of diagonals, although it is not an error, because they say that this is the same as in RL, the question is how to disable it, for people who do not like this "mechanics"
Exactly as mentioned, there is no error, but in the sqm where the dragons are, the player cannot attack. I need to know how to make it attack those sqm as well. Does anyone have an idea?
 
Back
Top