Page 1 of 1

New error scripts/rom/settings.lua:704: bad argument #1 to '

Posted: Thu Sep 17, 2009 11:31 am
by ginokid

Code: Select all

Thu Sep 17 12:27:33 2009 : Language: english
Thu Sep 17 12:27:38 2009 : RoM Bot Version 2.46
Thu Sep 17 12:27:38 2009 : Using static char address 0x8E9A00, player address 0x254A2C00

stack traceback:
	...nts and Settings\gino\Desktop\micromacro\lib\lib.lua:536: in function 'startMacro'
	scripts\rom\bot.lua:682: in main chunk

----------TRACEBACK END----------

Thu Sep 17 12:27:39 2009 : ...ngs/gino/Desktop/micromacro/scripts/rom/settings.lua:704: bad argument #1 to 'gsub' (string expected, got nil)
Thu Sep 17 12:27:39 2009 : Execution error: Runtime error

Re: New error scripts/rom/settings.lua:704: bad argument #1 to '

Posted: Thu Sep 17, 2009 11:37 am
by d003232
ginokid wrote:

Code: Select all

Thu Sep 17 12:27:33 2009 : Language: english
Thu Sep 17 12:27:38 2009 : RoM Bot Version 2.46
Thu Sep 17 12:27:38 2009 : Using static char address 0x8E9A00, player address 0x254A2C00

stack traceback:
	...nts and Settings\gino\Desktop\micromacro\lib\lib.lua:536: in function 'startMacro'
	scripts\rom\bot.lua:682: in main chunk

----------TRACEBACK END----------

Thu Sep 17 12:27:39 2009 : ...ngs/gino/Desktop/micromacro/scripts/rom/settings.lua:704: bad argument #1 to 'gsub' (string expected, got nil)
Thu Sep 17 12:27:39 2009 : Execution error: Runtime error
ProfileError. I suppose you deleted the friends section:

Code: Select all

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="friendname1" />
		<friend name="elitemob K\132fer" />
		<friend name="elitemob H\129ter" />
	</friends>