Originally posted by [b]xRaisen[/b]
Hi,
I discovered this by the time I use this code in the script:
[CODE]rentitem groupranditem(IG_group_item),86400;[/CODE]
When I examined the error and debug it, it shows that its giving a negative value. Im not sure if this a bug, but in the line [b]5931[/b], I change this code
[CODE]script_pushint(st,-itemdb_searchrandomid(group));[/CODE]
into this
[CODE]
script_pushint(st,itemdb_searchrandomid(group));
[/CODE]
I removed the negative and it works well.
[b]EDIT:[/b] FIXED! I found this! http://rathena.org/board/topic/60307-additional-script-command-for-math-function-absx/page__pid__96528#entry96528 you may now revert it to its original form again
This post has been edited by
xRaisen
on Apr 30, 2012 2:27