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

Unjustifield Points doesnt work

Crystals

Member
Joined
Sep 28, 2024
Messages
51
Reaction score
9
Hi!
I noticed that "Unjustifield Points" doesn't work on my server. It doesn't matter how many characters I kill - nothing changes there in terms of numbers.

Does anyone know how to fix this?

i use TFS 1.4.2 OTCv8
 

Attachments

Canary has the code for it: canary/src/server/network/protocol/protocolgame.cpp at 42bd15bac180466751ff5dcf9cd8e66edc60a1aa · opentibiabr/canary (https://github.com/opentibiabr/canary/blob/42bd15bac180466751ff5dcf9cd8e66edc60a1aa/src/server/network/protocol/protocolgame.cpp#L4671C20-L4671C41)

TFS 1.4.2 doesnt send the packet with the kills amount, so you would need to implement it from canary back to your tfs.

(Canary implementation requires a bit of tinkering with the code though, as its not just packets but also their way to hold unjustified kills in Player, so it might be difficult for you.)
 
Last edited:
Canary ma na to kod: canary/src/server/network/protocol/protocolgame.cpp w 42bd15bac180466751ff5dcf9cd8e66edc60a1aa · opentibiabr/canary (https://github.com/opentibiabr/canary/blob/42bd15bac180466751ff5dcf9cd8e66edc60a1aa/src/server/network/protocol/protocolgame.cpp#L4671C20-L4671C41)

TFS 1.4.2 nie wysyła pakietu zawierającego liczbę zabitych obiektów, więc musisz zaimplementować tę funkcję z Canary do TFS.

(Implementacja Canary wymaga jednak odrobiny majstrowania przy kodzie, gdyż nie chodzi tu tylko o pakiety, ale także o sposób na przetrzymywanie nieuzasadnionych zabójstw w Playerze, więc może to być dla Ciebie trudne.)
Hmm... Okay, if it's so difficult, can you tell me where to completely delete this table so that it doesn't throw errors? I'll delete it for now, maybe I'll try to make it someday
 
Hmm... Okay, if it's so difficult, can you tell me where to completely delete this table so that it doesn't throw errors? I'll delete it for now, maybe I'll try to make it someday
Remove otclient/modules/game_unjustifiedpoints
and in interface.otmod file remove line: - game_unjustifiedpoints
 
Back
Top