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

Programmer [Kingdom Age] C++ Developer Request to fix crashes

River KA

Veteran OT User
Joined
Feb 1, 2010
Messages
529
Solutions
27
Reaction score
329
logo.png




Hello.

I'm River of the Kingdom Age project that is now in Beta (https://otland.net/threads/brazil-custom-kingdom-age-online-open-beta.247985/) and it needs some help on C++ developer area (some crash problems that you can see here: https://trello.com/b/fXu0y6zh/kingdom-age).

If you want to know a little about the project first, access our page:
http://kingdomageonline.com/

Don't forget to send me your contact for we talk more about it! :)

Waiting answers. See you!


Regards,
River.
 
All your Creature's crashs are related to Monster class. Its mostly likely the monster instance has been deleted but it still exists in the monster list. The last crash is related to vocation class and boost.
i'm not interested in the job, i just have take a look into the trello pics.
 
I can fix anything you need for $25/h.
 
logo.png




Hello.

I'm River of the Kingdom Age project that is now in Beta (https://otland.net/threads/brazil-custom-kingdom-age-online-open-beta.247985/) and it needs some help on C++ developer area (some crash problems that you can see here: https://trello.com/b/fXu0y6zh/kingdom-age).

If you want to know a little about the project first, access our page:
http://kingdomageonline.com/

Don't forget to send me your contact for we talk more about it! :)

Waiting answers. See you!


Regards,
River.
eYIMawT.png


You don't have to pay $25/h for that. It's clear that your compiler is not doing a proper conversion from skills_t to uint8_t, maybe you changed something and fucked up the types, can't tell for sure without seeing it but check the types and if you don't find anything weird place a static_cast<uint8_t>() inside the call to getReqSkillTries.
 
eYIMawT.png


You don't have to pay $25/h for that. It's clear that your compiler is not doing a proper conversion from skills_t to uint8_t, maybe you changed something and fucked up the types, can't tell for sure without seeing it but check the types and if you don't find anything weird place a static_cast<uint8_t>() inside the call to getReqSkillTries.

I don't even use the Tibia skills. I setted the Tibia skills rate to 0. That's why I don't know what to do.
Also, C++ is not my best area. I know to do everything else, including C++, but not debug crashes.
That's why I need help.
Thanks for the comment.


Regards,
River.
 
I don't even use the Tibia skills. I setted the Tibia skills rate to 0. That's why I don't know what to do.
Also, C++ is not my best area. I know to do everything else, including C++, but not debug crashes.
That's why I need help.
Thanks for the comment.


Regards,
River.
Then remove the skill related code from the source that is making the crash if you don't use it. Simplest fix ever.
 
@MatheusMkalo : I remembered something that a developer friend said. The 'skill' value is bugged in the pic that you quoted because there is a memory bug on player vocation which sets randomly values in all vocation values. There is something that is bugging all the values of the player vocation. So, I think is not the Tibia skill system that is bugging, is the vocation class instead. If you read the crash Player::getDescription, you will notice that it is also related to the player vocation.
 
Last edited:
Back
Top