Search found 34 matches

by Suffering
Thu Aug 20, 2009 6:31 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

Thanks for all your help so far,but im still getting problems.This time its: player.lua:748 bad argument #1 to 'keyboardrelease' <<null>> my player.lua: include("pawn.lua"); include("skill.lua"); WF_NONE = 0; -- We didn't fail WF_TARGET = 1; -- Failed waypoint because we have a t...
by Suffering
Thu Aug 20, 2009 6:17 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

You are a good tester ... with your profile :-) Just make a little correction at your seetings.lua line 345/346 local err = sprintf("Profile error: Please set a valid key for ".. "hotkey %s in your profile file \'%s.xml\'.", tostring(v:getAttribute("name")), _name ); I...
by Suffering
Thu Aug 20, 2009 5:58 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

Error:Settings.lua:345 Bad argument #2 to 'sprintf' <got nil> Here is my settings.lua: settings_default = { hotkeys = { MOVE_FORWARD = {key = _G.key.VK_W, modifier = nil}, MOVE_BACKWARD = {key = _G.key.VK_S, modifier = nil}, ROTATE_LEFT = {key = _G.key.VK_A, modifier = nil}, ROTATE_RIGHT = {key = _G...
by Suffering
Thu Aug 20, 2009 5:54 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

Nope,didn't work.I deleted addresses.lua,got a new one,then ran the rom\update.lua.Still doesn't work.
by Suffering
Thu Aug 20, 2009 5:47 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

ok. I can't say anything to that error. We have to wait for admin. I'm just wondering, that anything is running ok at other player or me too? But we will find the reason.

Are you attacking / PK targeting players?[/quote]
No..the bot doesn't even start up.
by Suffering
Thu Aug 20, 2009 5:32 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

oh...its not <<null>> its <got nil>
by Suffering
Thu Aug 20, 2009 5:29 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

d003232 wrote:
Suffering wrote:Now im getting another error.I'm getting pawn.lua:173 Bad argument #2 to "sprintf" <<null>>
Heres my pawn.lua:
That's settings.lua, not pawn.lua
Yeah,sorry,i'm a bit high atm.
by Suffering
Thu Aug 20, 2009 5:26 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

Nope.Debugging doesn't fix the bad argument #2 to sprintf problem.
by Suffering
Thu Aug 20, 2009 5:25 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

Now im getting another error.I'm getting pawn.lua:173 Bad argument #2 to "sprintf" <<null>> Heres my pawn.lua: PT_NONE = 0; PT_PLAYER = 1; PT_MONSTER = 2; PT_NPC = 4; PT_NODE = 4; CLASS_NONE = -1; CLASS_WARRIOR = 1; CLASS_SCOUT = 2; CLASS_ROGUE = 3; CLASS_MAGE = 4; CLASS_PRIEST = 5; CLASS_...
by Suffering
Thu Aug 20, 2009 5:08 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

settings_default = { hotkeys = { MOVE_FORWARD = {key = _G.key.VK_W, modifier = nil}, MOVE_BACKWARD = {key = _G.key.VK_S, modifier = nil}, ROTATE_LEFT = {key = _G.key.VK_A, modifier = nil}, ROTATE_RIGHT = {key = _G.key.VK_D, modifier = nil}, STRAFF_LEFT = {key = _G.key.VK_Q, modifier = nil}, STRAFF_...
by Suffering
Thu Aug 20, 2009 5:04 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

And please check your settings.lua line 91. It should be for i,v in pairs(check_keys) do if( v.key == _key and v.modifier == _modifier ) then local modname, keyname; -- <<<<<<<<<< LINE 91 if( v.modifier ) then modname = getKeyName(v.modifier); end; if( v.key ) then keyname = getKeyName(v.key); end;...
by Suffering
Thu Aug 20, 2009 4:53 pm
Forum: Runes of Magic
Topic: help? :D
Replies: 5
Views: 1388

Re: help? :D

At the top of your waypoint.xml file it will say <waypoint> make it <waypoint type="TRAVEL"> Now it will only attack when it is attacked.
by Suffering
Thu Aug 20, 2009 4:41 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Re: Bad argument #1 to getkeyname

Help,I cant get the damn bot to farm for more than 1 hour,then it gets a memory reading error. What error? When i do rom/update.lua and i SVN update it,i get all sorts of problems. What problems? I have the newest SVN Version and I ran the rom\update.lua. If you had problems with the SVN update, yo...
by Suffering
Wed Aug 19, 2009 9:24 pm
Forum: Runes of Magic
Topic: Bad argument #1 to getkeyname
Replies: 50
Views: 8626

Bad argument #1 to getkeyname

Error: The macro is currently not running. Press the start key <Delete> to begin. You may use <End> key to stop/pause the script. Resumed. RoM Bot Version 2.45 Attempt to read playerAddress self.Address: 0x287E400 X: -1070.00, Y:35.85, Z: -5370.16 XU: -0.38, YU:0.88, ZU: 0.29 mousePawn: 0x0 playerAd...