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

Solved Tibia debug - citizen. Strange bug..

Rer

LUA is for genius xD
Joined
Oct 24, 2012
Messages
234
Reaction score
16
Location
Poland
Hello,

When I step in citizen tp, I have debug:

(message node="22" max lenght etc.) (not in 100%)

But in script:

PHP:
...
...
..
doPlayerSendTextMessage(cid, 18, "You are now citizen in "..getTownName(townId..".")
 
Use constant names for text messages

Code:
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You are now citizen in " .. getTownName(townId) .. ".")
 
No, only this:
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
Warning: [MoveEvents::addEvent] Duplicate move event found: 0
 
I know... In /data/movements/scripts/HomeTown/ I see doPlayerSendTextMessage(cid, 22, "dsad;a")
close thread :D
 
Back
Top