Page 1 of 1

"Target not attackable" ?!

Posted: Tue Jun 30, 2009 4:03 pm
by romeo
Just downloaded the new 2,41 Scripts, extractet them, started the bot and EVRYTIME he gets to an enemy this happens! Whats wrong?
Thx for the Help
I attach my Logfile...just for safety^^

Re: "Target not attackable" ?!

Posted: Tue Jun 30, 2009 7:00 pm
by d003232
romeo wrote:Just downloaded the new 2,41 Scripts, extractet them, started the bot and EVRYTIME he gets to an enemy this happens! Whats wrong?
Thx for the Help
I attach my Logfile...just for safety^^
It's fixed in the actual SVN version. Download the newest version.

Re: "Target not attackable" ?!

Posted: Tue Jun 30, 2009 11:00 pm
by silentz
i updated to current svn and still it says target not attackable.

Downloaded and overwrited everything except Profiles and Waypoints folder.

Did i do something wrong?

Re: "Target not attackable" ?!

Posted: Tue Jun 30, 2009 11:50 pm
by Administrator
If you're having this problem, open up classes/pawn.lua in notepad. Go to line 19, and you'll see this:

Code: Select all

	--if( player and self.Address ~= player.Address ) then
	--	printf("AttackableFlag: %s\n", attackableFlag);
	--end
Remove the -- in front of those 3 lines, save it, then run the bot. Now it should tell you what each monsters' attackable flag is. Report that here.

Re: "Target not attackable" ?!

Posted: Wed Jul 01, 2009 9:18 am
by Sentinel
I got the same problem. i removed the -- now it says:

Target not attackable: Fruit Cactus
AttackableFlag: -1
AttackableFlag: -1
AttackableFlag: -1
Target not attackable: Fruit Cactus
AttackableFlag: -19
AttackableFlag: -19
AttackableFlag: -19
Target not attackable: Black Rock Scorpion
AttackableFlag: -19
AttackableFlag: -19
AttackableFlag: -19


what now?

got the problem I´ve forgot to update my MicroMakro. After i finished that, it all worked fine!

Re: "Target not attackable" ?!

Posted: Wed Jul 01, 2009 12:05 pm
by romeo
so....

i installed svn and done as the post "ROM bot" says...

same problem remains

i deleted the "--" in the pawn.lua, tryed again and....just look at the screen...

EDIT: Image removed; contained character's name.

Re: "Target not attackable" ?!

Posted: Wed Jul 01, 2009 12:19 pm
by Administrator
You don't need to update the scripts now, you need to update MicroMacro itself. Get the new files here: http://www.solarstrike.net/phpBB3/viewt ... ?f=6&t=177

Re: "Target not attackable" ?!

Posted: Wed Jul 01, 2009 12:38 pm
by romeo
i downloaded micromakro....
and gues what...

IT WORKS! ty a lot!