Page 14 of 111

Re: RoM bot

Posted: Mon Jan 26, 2009 9:29 am
by 3cmSailorfuku
celgene32 wrote:Hi i have a problem my bot just start use the regular skills, after 2-3 skills it just stops and
do nothing, i get this error form time to time.
Mon Jan 26 14:09:01 2009 : MicroMacro v1.0
Mon Jan 26 14:09:01 2009 : Processor Type: 2X 586, OS: Windows XP Szervizcsomag 2
Mon Jan 26 14:09:01 2009 : LuaCoco is available.
Mon Jan 26 14:09:01 2009 : Lua glues exported.
Mon Jan 26 14:09:01 2009 : Keyboard layout: US English
Mon Jan 26 14:09:06 2009 : Executing script 'createpath.lua'
==================================================

Mon Jan 26 14:09:19 2009 : Execution success

Mon Jan 26 14:09:22 2009 : Executing script 'bot.lua'
==================================================

Mon Jan 26 14:09:24 2009 : RoM Bot Version 2.10

stack traceback:
D:\GameZ\micromacro\lib\lib.lua:510: in function 'startMacro'
scripts\bot.lua:137: in main chunk

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

Mon Jan 26 14:09:36 2009 : D:/GameZ/micromacro/scripts/classes/player.lua:201: attempt to compare nil with number
Mon Jan 26 14:09:36 2009 : Execution error: Runtime error
my profile:
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />

<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="a.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<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_5" modifier="" />
<hotkey name="MP_POTION" key="VK_EQUAL" modifier="" />
<hotkey name="ATTACK" key="VK_0" modifier="" />
</hotkeys>

<skills>
<skill name="ROGUE_SHADOWFACE" hotkey="VK_2" modifier="" />
<skill name="ROGUE_LACERATION" hotkey="VK_3" modifier="" />
<skill name="ROGUE_VILLAINY" hotkey="VK_1" modifier="" />
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="VK_4" modifier="" />
<skill name="SCOUT_SHOT" hotkey="VK_6" modifier="" />


</skills>
</profile>
i also try to change skills and switch the energy and concentration but nothing .
Btw i have this problem with rogue/scout, scout/rogue it works fine
Did you use the update function in this bot?

Re: RoM bot

Posted: Mon Jan 26, 2009 10:17 am
by celgene32
It works perfectly now4 ty !

Re: RoM bot

Posted: Mon Jan 26, 2009 10:50 am
by Dalewn
Heyho peoplez,

I just actually have a proposal.
I could make an AutoIt script with a GUI for ur script based bot, so noobs could use ur bot too.
My script would only hide all other windows and would perform an easyer way to choose attacks.

PM me if ur interested.
I will allready start scripting^^

Greez Dalewn

Re: RoM bot

Posted: Mon Jan 26, 2009 10:54 am
by hym1988
Hey

I have problem with looting,

Click to Move -enabled
Auto Loot -enabled
"LOOT" value - true

This is my profile
<profile>
<options>
<option name="HP_LOW" value="70" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />

<option name="COMBAT_TYPE" value="ranged" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="true" />
<option name="WAYPOINTS" value="dwa.xml" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="ENERGY_STORAGE_1" value="mana" />
<option name="ENERGY_STORAGE_2" value="none" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<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_0" modifier="" />
</hotkeys>

<skills>
<skill name="PRIEST_RISING_TIDE" hotkey="VK_1" modifier="" />
<skill name="PRIEST_BONE_CHILL" hotkey="VK_2" modifier="" />
<skill name="PRIEST_GRACE_OF_LIFE" hotkey="VK_5" modifier="" />
<skill name="PRIEST_REGENERATE" hotkey="VK_4" modifier="" />
<skill name="PRIEST_INSTANT_HEAL" hotkey="VK_3" modifier="" />

</skills>
</profile>
Ping's about 200-300 so dont think that time sould be more than 2k
So..
What's wrong?

Re: RoM bot

Posted: Mon Jan 26, 2009 11:15 am
by Zilvermoon
hym1988 wrote:Ping's about 200-300 so dont think that time sould be more than 2k
So..
What's wrong?
One thing you should note is that loottime is affected by "Ping", so with it set to 2000, you spend ~2 sec walking (this is up to 100 yards as I understand it) to loot the dead mob, personally I have less that 100 "Ping" and have my Loottime at ~3000, and sometimes I miss the loot ... also you should note that fighting mob's that are agressive, the bot as it is now won't always loot the killed mob (this have something to do with the way basic OOC* buffing / healing is called).

*(Out of Combat)

So maybe you should spend that 1 sec more looting (LootTime="3000"), and get more of your loot.

Zilvermoon

Re: RoM bot

Posted: Mon Jan 26, 2009 12:21 pm
by 3cmSailorfuku
Dalewn wrote:Heyho peoplez,

I just actually have a proposal.
I could make an AutoIt script with a GUI for ur script based bot, so noobs could use ur bot too.
My script would only hide all other windows and would perform an easyer way to choose attacks.

PM me if ur interested.
I will allready start scripting^^

Greez Dalewn
No offense, but if a GUI was required, Administrator could do this with wtk++ or any other Widget-Type of Widget->Cli communication. (VisualKore for example)
Also, there is a micromacro function to hide the window. No need to port a script into pig languange AutoIt ;)

But since it's easy to setup, I don't see a reason why I would want to have a gui running in my backround that constantly buffers the elements. Runes
of Magic alone is already a bitch at managing resources. lol.

Re: RoM bot

Posted: Mon Jan 26, 2009 2:18 pm
by hym1988
One thing you should note is that loottime is affected by "Ping", so with it set to 2000, you spend ~2 sec walking (this is up to 100 yards as I understand it) to loot the dead mob, personally I have less that 100 "Ping" and have my Loottime at ~3000, and sometimes I miss the loot ... also you should note that fighting mob's that are agressive, the bot as it is now won't always loot the killed mob (this have something to do with the way basic OOC* buffing / healing is called).

*(Out of Combat)

So maybe you should spend that 1 sec more looting (LootTime="3000"), and get more of your loot.

Zilvermoon
unfortunately still does't work ;/

Re: RoM bot

Posted: Mon Jan 26, 2009 2:34 pm
by Zilvermoon
hym1988 wrote:
One thing you should note is that loottime is affected by "Ping", so with it set to 2000, you spend ~2 sec walking (this is up to 100 yards as I understand it) to loot the dead mob, personally I have less that 100 "Ping" and have my Loottime at ~3000, and sometimes I miss the loot ... also you should note that fighting mob's that are agressive, the bot as it is now won't always loot the killed mob (this have something to do with the way basic OOC* buffing / healing is called).

*(Out of Combat)

So maybe you should spend that 1 sec more looting (LootTime="3000"), and get more of your loot.

Zilvermoon
unfortunately still does't work ;/
What kind of mob's do you fight?
Are the TargetFrame red? if so you are fighting agressive mob's:
also you should note that fighting mob's that are agressive, the bot as it is now won't always loot the killed mob (this have something to do with the way basic OOC* buffing / healing is called).
*(Out of Combat)
Do the mob's die far away from you? if yes this is why you don't loot it (the bot as it is setup won't loot any mob that is more than 100 yards away from you)

If nothing of this is your problem you need to discribe what is going on...

Re: RoM bot

Posted: Mon Jan 26, 2009 3:05 pm
by darkfayte
Wo0t GUI !!

Re: RoM bot

Posted: Mon Jan 26, 2009 3:32 pm
by hym1988
Yea iam bot'ing on redframe mobs, but they die near me. But there is said
the bot as it is now won't always loot the killed mob
so thats mean it take loot some thimes. but since i started botting it ddont took it any time. 2h of botting = 0drops.

Re: RoM bot

Posted: Mon Jan 26, 2009 4:49 pm
by Administrator
You probably didn't read the instructions all the way and did not hotkey the basic "Attack" skill found under the first tab in your skill book. It is required for looting. By default (with the bot, not in-game), this is the 0 hotkey.

Re: RoM bot

Posted: Mon Jan 26, 2009 5:29 pm
by hym1988
Yeah it's works now. Thanks dude.

For future would be nice some items filter, like in silkroad bot. Realy nice tool :)

Re: RoM bot

Posted: Mon Jan 26, 2009 6:50 pm
by grt41h32g
please guys :cry:
you gotta help me - i've been trying everything to get this bot working but it just wont work !
when i start createpath.lua this pops up like 15 times ? in yellow
WARNING: Failure reading memory from 0x15A3F78 at 0x879b88 in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)
idk what to do
im running vista - i ran it with compability mode, administrator, both, changed the resolution of RoM, it just wont work
it might be because i'm running v0.99
if so where do i get version 1.0 ( i googled and found nothing- i even went to the download page of solarimpact and didnt find it )
:cry:

Re: RoM bot

Posted: Mon Jan 26, 2009 7:11 pm
by SourCream
if so where do i get version 1.0 ( i googled and found nothing- i even went to the download page of solarimpact and didnt find it )
http://solarimpact.servegame.com/phpBB3 ... ?f=6&t=177

a recommendatin for WinMerge ...

Posted: Tue Jan 27, 2009 2:48 am
by haura
Try the opensource WinMerge tool and see if you like!

Thank you Elverion for your modular program modules.

Re: RoM bot

Posted: Tue Jan 27, 2009 2:58 am
by Administrator
Yeah, the patterns in the last version I updated do not currently work. I'm still messing around to figure out exactly what changes and what doesn't change when there are patches. Once it's correct, it should work for all future patches.

Here's the new findOffsets function:

Code: Select all

function findOffsets()
	local staticbase, staticcastbar;

	local pattern = string.char(0xB4,0xFF,0x3D,0xFF,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0x3D,0xFF,0xFF,0xFF,0xFF,0x01);
	local found = findPatternInProcess(getProc(), pattern, "x?x????x??x????x", 0x00840000, 0x000A0000);
	if( found == 0 ) then
		error("Unable to find static base pointer in module.", 0);
	end
	staticbase = found + 0xC;

	--pattern = string.char(0x16, 0x01, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x90, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00);
	pattern = string.char(0xE0, 0xFF, 0x18, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF);
	found = findPatternInProcess(getProc(), pattern, "x?x?x?x?x????", 0x00840000, 0x000A0000);
	if( found == 0 ) then
		error("Unable to find castbar pointer in module.", 0);
	end
	staticcastbar = found + 0x8;

	staticcharbase_address = staticbase;
	castbar_staticbase = staticcastbar;
end

Re: RoM bot

Posted: Tue Jan 27, 2009 7:21 am
by so2easy
So.. now bot is currently.. not working :) and we are waiting for new OffSets?

Re: RoM bot

Posted: Tue Jan 27, 2009 7:33 am
by hym1988
Hm for me bot is working, but he dont buffing and dont healing him self. He just is trying to use buff/heal skill but he can't mark him self ;/

Re: RoM bot

Posted: Tue Jan 27, 2009 8:12 am
by Administrator
hym1988 wrote:Hm for me bot is working, but he dont buffing and dont healing him self. He just is trying to use buff/heal skill but he can't mark him self ;/
The instructions cover this. Turn on Self Cast in Interface options.

Re: RoM bot

Posted: Tue Jan 27, 2009 9:05 am
by hym1988
Uh ;/ yea now is working. I had marked this yesterday and after re-open game it was unmarked.. pff ;/ Ok ty for remember about it.