Page 1 of 1

prob with players.lua!!!

Posted: Fri Mar 06, 2009 2:20 pm
by holystrikers
This bot is really nice but i have always this prob here (programe file/micromacro/scripts/rom/classe/player.lua:282: attempt to compare number with nil!

scripts work for first target and after, this message pop and script turn off !!!

Re: prob with players.lua!!!

Posted: Fri Mar 06, 2009 7:32 pm
by Administrator
Then it's probably a good idea to fix your profile. But since you decided not to provide any other information (ie. your profile), you're on your own till then.

Re: prob with players.lua!!!

Posted: Fri Mar 06, 2009 9:03 pm
by holystrikers
here my profile now all run perfectly but for loot/potion nothing happens.



<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="60" />

<option name="COMBAT_TYPE" value="melee" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="wolf.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="800" />
<option name="ENERGY_STORAGE_1" value="energy" />
<option name="ENERGY_STORAGE_2" value="concentration" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="60" />
<option name="DOT_PERCENT" value="90" />
</options>

<friends>
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
</friends>

<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_1" modifier="" />
</hotkeys>

<skills>
<skill name="ROGUE_SHADOWSTAB" level="5" hotkey="VK_2" />
<skill name="ROGUE_LOW_BLOW" level="5" hotkey="VK_3" />

</skills>
</profile>

Re: prob with players.lua!!!

Posted: Fri Mar 06, 2009 10:25 pm
by Administrator
Looks like you're using an old version with updated addresses.lua, and did not add this to your profile:

Code: Select all

<option name="COMBAT_DISTANCE" value="200" />
Try deleting all of the scripts and reinstall from scratch. I've tried running your profile and it works just fine for me.

Re: prob with players.lua!!!

Posted: Sun Mar 08, 2009 12:53 pm
by holystrikers
ty a lot bud that work fine now :) so nice!!!! :mrgreen: