Log in

View Full Version : XenoBot Bug - Open [Windows 7 x86] Crash, >36 character string



beanbolta
09-24-2015, 02:09 PM
Bug ReportOperating System:
Windows 7 x86 Short Description:
Crash, >36 character string Behaviors: Client Debug
Client Freeze/Crash

Indepth Description:
It appears as though Xenobot is unable to handle a description in the server log (or maybe anywhere? I'm not sure) when it contains more than 36 characters and results in the client freezing/debugging. This is how it was realised (the following from an OT's GM);

"You lose 1 hitpoint due to an attack by a vampiric warrior controlled by Vlad."
-> a vampiric warrior controlled by Vlad. = 37 characters.

Removing the 'd' on Vlad to create a 36 character string resolved the issue.

DarkstaR
09-30-2015, 01:22 PM
It might be a problem in Tibia. The maximum supported creature name is only 32 characters, and you could be overflowing by 4. It could be that Tibia doesn't do buffer overrun checks, where I do, so when I intercept the packet it's overflowing and I'm closing Xeno to prevent security issues.