Issue information

Issue ID
#5199
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Jan 3, 2012 21:46
Last Post
Hercules Elf Bot
Apr 19, 2012 15:35
Confirmation
Yes (3)
No (0)

Hercules Elf Bot - Jan 3, 2012 21:46

Originally posted by [b]Realusion[/b]
It seems that the idle time of an NPC when using script commands like progressbar(); and sleep(); can be avoided with a packet editor. I was able to do so by recording and continuously sending the packet of activating and pressing the "close" button of an NPC.

For further information like a script example please refer to [topic=56401]spam-fishing-system[/topic]

This post has been edited by Brian on Jan 11, 2012 23:35

Hercules Elf Bot - Jan 3, 2012 22:23

Originally posted by [b]Ind[/b]
mm i have not played with it enough, what is the intended behavior?

Hercules Elf Bot - Jan 5, 2012 7:47

Originally posted by [b]Realusion[/b]
In some scripts this can be used to avoid the idle time of an NPC in order to repeat a mini-game every, say, 10 milliseconds. That way it's possible to gain a massive amount of items in said mini-game in a very short time, as can be seen in the given link in my first post. It also makes the rand() condition in that script kind of obsolete, since it's not really random anymore if I can try again within 10 milliseconds.

Seems like quite a fundamental flaw in the design in my opinion. The continuous sending of close packets resetting the script_state and thus making the idle time obsolete.

This post has been edited by Realusion on Jan 5, 2012 8:05

Hercules Elf Bot - Jan 6, 2012 20:06

Originally posted by [b]Ind[/b]
I mean, how do you want it to work? while in that state the server shouldn't...? I'm sorry I didn't understand

Hercules Elf Bot - Jan 9, 2012 19:05

Originally posted by [b]Skyrim[/b]
Could you guys please fix this .-. I really need the fix for my script

Hercules Elf Bot - Jan 11, 2012 2:32

Originally posted by [b]manabeast[/b]
ahhh.... i like your script. that very fun. hope you can fix it.

Hercules Elf Bot - Jan 14, 2012 6:15

Originally posted by [b]Ind[/b]
I confirmed the exploit with progressbar; sleep and sleep2 however are not affected.

Hercules Elf Bot - Jan 14, 2012 6:27

Originally posted by [b]Ind[/b]
Fixed in [rev=15442]