Thesandier
New Member
- Joined
- Jul 13, 2023
- Messages
- 1
- Reaction score
- 0
I was able to add this part to game.cpp and item.cpp, but I can't add the items.cpp and items.h files. I noticed that TFS 1.2 and 1.5 codes are totally different. can you help me to solve the problem?
About items.cpp:
TFS 1.5 nekiro
TFS 1.2 8.0 (downgrade)
See, the two are totally different. Why is it still not recognizing this Attribute? What can it be?"
I ask for help to fix the bug that causes the server to crash after adding code in the source
Please watch the videos where magic damage percentage is correct. However, we have a problem: when passing over fields of fire, energy, poison, etc., the server crashes. Also, when monsters try to attack me, a server crash also occurs. I can't identify the source of this bug and would like...
otland.net
About items.cpp:
TFS 1.5 nekiro
C++:
case ITEM_PARSE_INCREASEMAGICPERCENT: {
it.increaseMagicPercent = pugi::cast<int32_t>(valueAttribute.value());
break;
}
TFS 1.2 8.0 (downgrade)
C++:
} else if (tmpStrValue == "increasemagicpercent") {
if (it.increaseMagicPercent == pugi::cast<int32_t>(valueAttribute.value())) {
}
}