Search found 3 matches

by oddworlds_abes
Fri Jan 04, 2013 2:27 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 548245

Re: rock5's "fastLogin Revisited"

Yes, you are right. I used 'next' in my userfunction CheckCharList(), and forgot to set it local.....
Now it works. Thanks a lot.
by oddworlds_abes
Wed Jan 02, 2013 7:30 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 548245

Re: rock5's "fastLogin Revisited"

Hello, as the first I would like to say very good work...
One little question: must all chars be in the same zone? Cause i get an player.lua error, when i login to a char on other zone.
Error: ...../rom/classes/player.lua:53: attempt to call global "next" (a string value)

Or my code is just faulty ...
by oddworlds_abes
Wed Feb 29, 2012 5:27 pm
Forum: Runes of Magic
Topic: How to get bot to use Phirius Special Water?
Replies: 8
Views: 3101

Re: How to get bot to use Phirius Special Water?

Hello... i dont need mp too
so how i do....

in userfunctions.lua:
function CheckLP()
LP = (player.HP/player.MaxHP*100)
print("LP = "..LP.."%")
if( 35 > LP ) then
print("LP weniger als 35% !!")
inventory:update();
if( inventory:itemTotalCount(203498) > 0 ) then
inventory:useItem(203498 ...