![]() |
|
|
#1 |
|
Guest
Posts: n/a
|
My server has had a problem with not allowing item skills to be put on hotbar. We tried to fix that by changing how item skills are given. We made it so that they are added to the DB whenever an item is equipped. We also coded it so the skill is deleted upon unequip.
The problem is that if you equip and item and then equip a second item that is in the same slot, you end up with both skills learned. You could do this over and over and have a billion skills but only wear one item. No unequip function is called at this instance which means both skills are learned. How can I solve this exploit? I see the following: INT32 UnequipItem(int slotId) However, this is not called when you double click an item to equip it. And I don't know of a way to figure out which slot it's being equipped to. Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-20-2009, 08:27 AM. Открыть источник. |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|