Dankoo
Active Member
- Joined
- Sep 4, 2010
- Messages
- 1,007
- Reaction score
- 27
A player reported me a bug that allows him to clone with Elfbot.
Every agroupable item is clonable. (Runes, potions)
He said he does like this:
You talk with NPC without bot. Then activate the bot, then active the hotkeys and it will buy for free.
Help please, thanks.
_______________________
The solution, credits: arturhaddad
Every agroupable item is clonable. (Runes, potions)
He said he does like this:
You talk with NPC without bot. Then activate the bot, then active the hotkeys and it will buy for free.
Help please, thanks.
_______________________
The solution, credits: arturhaddad
SOLVED!
After LOT of work this is the solution:
Download the newest modules.lua (tested with REV 3777) and review all of your npc's script.
How to fix the seller NPC'S?
Put an ",1" after the price number of the item in script, for example:
Before
Code:shopModule:addBuyableItem({'wand of voodoo', 'voodoo'}, 8922, 22000, 'wand of voodoo')
After
Code:shopModule:addBuyableItem({'wand of voodoo', 'voodoo'}, 8922, 22000, [COLOR="red"]1,[/COLOR] 'wand of voodoo')
.
And so on, you just have to adapt your old npc scripts to the new one.
I haven't found any bug in others NPC's yet (tried boat and addoner).
This is the only way to keep safe and out of agroupable items cloning.
REP+
Last edited: