Yes, you are right. I used 'next' in my userfunction CheckCharList(), and forgot to set it local.....
Now it works. Thanks a lot.
Search found 3 matches
- Fri Jan 04, 2013 2:27 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: rock5's "fastLogin Revisited"
- Replies: 914
- Views: 318109
- Wed Jan 02, 2013 7:30 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: rock5's "fastLogin Revisited"
- Replies: 914
- Views: 318109
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 jus...
- Wed Feb 29, 2012 5:27 pm
- Forum: Runes of Magic
- Topic: How to get bot to use Phirius Special Water?
- Replies: 8
- Views: 2171
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...