Greetings! This will be my first post on the forum!
I'm currently working on an attribute system. I've played around with case USE_ADD_ATTRIBUTE codes but got stuck at one point.
The system uses an item "71353" which gives a specific attribute "APPLY_STR" to sword item.
The code seems to work but the problem is that everytime I try to use the item, I get random attributes on the sword.
Any help would be appreciated!
item_length.h > defined case USE_ADD_ATTRIBUTE3
Thanks sweetie, much appreciate!
Hiiii, Peoples already bought it and no one complained about wings, but if someone doesn't like something, I Do custom things aswell, so feel free contact me and gladly I will do to be for ur pleasure!
So I reinscpected the level refresh. Actually it is quite simple to make others players see your actual level:
if (PointChange.dwVID == pInstance->GetVirtualID())
//Add this else
if (PointChange.Type == POINT_LEVEL)
pInstance = CPythonCharacterManager::Instance().GetInstancePtr(PointChange.dwVID);
You just need to add that else and it will work.
Be aware it will only work when pointchange packet is broadcasted, e.g. someone leveled up via killing mobs, getting exp.
If a player receive level by GM command (/level, /advance) the packet will not broadcasted to all players, only the specific player gets it.
Edit: Mega archive updated with this change.
2022.12.05: - Added level refresh for other players at RecvPointChange in PythonNetworkStreamPhaseGame.cpp line 1540-1550.