What am i doing wrong?
What am i doing wrong?
When im running MicroMacro (right from WinRAR ) i get this error (on the pic )
any ide?!
it says in the yellow text : first:
cannot open scrips\rom/createpath.lua: No such file or directory
then:
: WARNING: Failure reading memoryfrom 0x2A3FDB4 at 0x87ad90 in memoryReadIntPtr<>
. Error code 299 <Just arts of one ReadProcessMemory- or WriteProcessMemory-
enquiry whas finsish.>
...Rar$EX06.253/micromacro/scripts/rom/classes/pawn.lua:41: attemt to erform a
rithmetic on field 'address' <a nil value>
any ide?!
it says in the yellow text : first:
cannot open scrips\rom/createpath.lua: No such file or directory
then:
: WARNING: Failure reading memoryfrom 0x2A3FDB4 at 0x87ad90 in memoryReadIntPtr<>
. Error code 299 <Just arts of one ReadProcessMemory- or WriteProcessMemory-
enquiry whas finsish.>
...Rar$EX06.253/micromacro/scripts/rom/classes/pawn.lua:41: attemt to erform a
rithmetic on field 'address' <a nil value>
-
- Posts: 104
- Joined: Mon Jan 05, 2009 8:19 am
Re: What am i doing wrong?
are you sure you got the RoM script downloaded and that you put it the right place?
Where to get the RoM script:
http://www.solarstrike.net/phpBB3/viewt ... 1741#p1741
The right path:
micromacro\scripts\rom
Zilvermoon
Where to get the RoM script:
http://www.solarstrike.net/phpBB3/viewt ... 1741#p1741
The right path:
micromacro\scripts\rom
Zilvermoon
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
Don't run it right out of the rar file. Extract everything first.
Re: What am i doing wrong?
do i extrakt it to were?
Re: What am i doing wrong?
This is were it is!
starting from blah 1, blah 2, bah.
and i extracted it to Programs(x86)
(its were all my games r including Rom )
starting from blah 1, blah 2, bah.
and i extracted it to Programs(x86)
(its were all my games r including Rom )
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
Doesn't mater where you extract MicroMacro to. Just make sure it's extracted, and not in the rar archive. The previous screenshot you posted indicated that it was being run from within the rar, and would then give errors.
Re: What am i doing wrong?
nope, still get the same error. is it becaus i have the newest pach in rom?
Re: What am i doing wrong?
am iwriteing it right?
rom/createpath.lua
rom/createpath.lua
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
Attach a copy of your log.txt.
Re: What am i doing wrong?
I have the same problem, EXACT THE SAME!
heres my logfile
same problem occures even when i use the configer app....
heres my logfile
same problem occures even when i use the configer app....
- Attachments
-
- log.txt
- Log File from the Bot
- (3.96 KiB) Downloaded 105 times
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
Try updating your addresses.lua
Code: Select all
-- Auto-generated by update.lua
patternstart_address = 0x58FFF9;
staticcharbase_address = 0x88EF20;
charPtr_offset = 0x580;
pawnId_offset = 0x18;
pawnType_offset = 0x1C;
charX_offset = 0x2C;
charY_offset = 0x30;
charZ_offset = 0x34;
camUVec1_offset = 0x38;
camUVec2_offset = 0x40;
charAlive_offset = 0x210;
castbar_offset = 0x244;
charTargetPtr_offset = 0x260;
charName_offset = 0x278;
charHP_offset = 0x344;
charMaxHP_offset = 0x34C;
charMP_offset = 0x350;
charMaxMP_offset = 0x354;
charMP2_offset = 0x358;
charMaxMP2_offset = 0x35C;
charClass1_offset = 0x378;
charLevel_offset = 0x37C;
charClass2_offset = 0x380;
charLevel2_offset = 0x384;
pawnAttackable_offset = 0x3F6;
inBattle_offset = 0x572;
Re: What am i doing wrong?
i know it maybe sounds stupid or so but how im doing that?
should i open the update.lua or the adress.lua?
and how i open .lua files?
should i open the update.lua or the adress.lua?
and how i open .lua files?
Re: What am i doing wrong?
Open the file addresses.lua with notepad. Delete the contents and then copy what Administrator posted and paste it and save.
Re: What am i doing wrong?
i started the update.lua accidently without copy what the admin writes.
it works for some reason...
dont know why, but now it works
if it helps, i write in here what my update.lua has in it
i just downloaded this bot from somwhere and this was in it
so my advice for u: if it dont works, just run the update.lua first XP
anyways, thanks for the help and credits to the maker of this bot (i think hes called elviron or something like that?)
it works for some reason...
dont know why, but now it works
if it helps, i write in here what my update.lua has in it
Code: Select all
function findOffsets()
local staticbase, staticcastbar;
local pattern = string.char(0x5F, 0x5E, 0x5B, 0x8B, 0xE5, 0x5D, 0xC3, 0xA1, 0xFF, 0xFF, 0xFF, 0xFF, 0x53);
local found = findPatternInProcess(getProc(), pattern, "xxxxxxxx????x", 0x550000, 0x000A0000);
if( found == 0 ) then
error("Unable to find static base pointer in module.", 0);
end
staticbase = memoryReadInt(getProc(), found + 8);
if( staticbase == nil ) then
error("Found pattern, but unable to read memory.\n");
end
printf("staticbase: 0x%X\n", staticbase);
staticcharbase_address = staticbase;
end
function rewriteAddresses()
local filename = getExecutionPath() .. "/addresses.lua";
getProc(); -- Just to make sure we open the process first
printf("Scanning for updated addresses...\n");
findOffsets();
printf("Finished.\n");
local file = io.open(filename, "w");
file:write(
sprintf("-- Auto-generated by update.lua\n\n") ..
sprintf("staticcharbase_address = 0x%X;\n", staticcharbase_address) ..
sprintf("charPtr_offset = 0x%X;\n", charPtr_offset) ..
sprintf("castbar_offset = 0x%X;\n", castbar_offset) ..
sprintf("charX_offset = 0x%X;\n", charX_offset) ..
sprintf("charY_offset = 0x%X;\n", charY_offset) ..
sprintf("charZ_offset = 0x%X;\n", charZ_offset) ..
sprintf("charAlive_offset = 0x%X;\n", charAlive_offset) ..
sprintf("charHP_offset = 0x%X;\n", charHP_offset) ..
sprintf("charMaxHP_offset = 0x%X;\n", charMaxHP_offset) ..
sprintf("charMP_offset = 0x%X;\n", charMP_offset) ..
sprintf("charMaxMP_offset = 0x%X;\n", charMaxMP_offset) ..
sprintf("charMP2_offset = 0x%X;\n", charMP2_offset) ..
sprintf("charMaxMP2_offset = 0x%X;\n", charMaxMP2_offset) ..
sprintf("charLevel_offset = 0x%X;\n", charLevel_offset) ..
sprintf("charLevel2_offset = 0x%X;\n", charLevel2_offset) ..
sprintf("charName_offset = 0x%X;\n", charName_offset) ..
sprintf("charTargetPtr_offset = 0x%X;\n", charTargetPtr_offset) ..
sprintf("pawnAttackable_offset = 0x%X;\n", pawnAttackable_offset) ..
sprintf("inBattle_offset = 0x%X;\n", inBattle_offset) ..
sprintf("camUVec1_offset = 0x%X;\n", camUVec1_offset) ..
sprintf("camUVec2_offset = 0x%X;\n", camUVec2_offset)
);
file:close();
end
rewriteAddresses();
i just downloaded this bot from somwhere and this was in it
so my advice for u: if it dont works, just run the update.lua first XP
anyways, thanks for the help and credits to the maker of this bot (i think hes called elviron or something like that?)
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
It should have gave you a warning that it was outdated, and instructed you to run update.lua. If not, you were using a very old version. I would suggest you completely re-download the scripts from here and go from there.
Re: What am i doing wrong?
can i keep my old pathfiles and stuff with the new scripts?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
Yes. Nothing has changes in those. There have been improvements to the waypoint system, but nothing that would affect the scripts.
Re: What am i doing wrong?
ok, evrything works now for me
and i gotta admit, the new scripts are improved
and i gotta admit, the new scripts are improved
Re: What am i doing wrong?
this is whats in my log
i still got the same error
Thu Jul 16 23:41:33 2009 : MicroMacro v1.0
Thu Jul 16 23:41:33 2009 : Processor Type: 4X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Thu Jul 16 23:41:33 2009 : LuaCoco is available.
Thu Jul 16 23:41:33 2009 : Lua glues exported.
Thu Jul 16 23:41:33 2009 : Keyboard layout: US English
Thu Jul 16 23:41:42 2009 : Executing script 'createpathe.lua'
==================================================
Thu Jul 16 23:41:42 2009 : cannot open scripts\rom/createpathe.lua: No such file or directory
Thu Jul 16 23:41:42 2009 : Execution error: Error reading file
Thu Jul 16 23:42:16 2009 : Executing script 'createpath.lua'
==================================================
Thu Jul 16 23:42:16 2009 : WARNING: Failure reading memory from 0x292FDB4 at 0x88ef20 in memoryReadIntPtr(). Error code 299 (Bare deler av en ReadProcessMemory- eller WriteProcessMemory-forespørsel ble fullført.)
stack traceback:
C:\Users\micromacro\lib\lib.lua:512: in function 'startMacro'
scripts\rom/createpath.lua:73: in main chunk
----------TRACEBACK END----------
Thu Jul 16 23:42:16 2009 : C:/Users/micromacro/scripts/rom/classes/pawn.lua:41: attempt to perform arithmetic on field 'Address' (a nil value)
Thu Jul 16 23:42:16 2009 : Execution error: Runtime error
i still got the same error
Thu Jul 16 23:41:33 2009 : MicroMacro v1.0
Thu Jul 16 23:41:33 2009 : Processor Type: 4X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Thu Jul 16 23:41:33 2009 : LuaCoco is available.
Thu Jul 16 23:41:33 2009 : Lua glues exported.
Thu Jul 16 23:41:33 2009 : Keyboard layout: US English
Thu Jul 16 23:41:42 2009 : Executing script 'createpathe.lua'
==================================================
Thu Jul 16 23:41:42 2009 : cannot open scripts\rom/createpathe.lua: No such file or directory
Thu Jul 16 23:41:42 2009 : Execution error: Error reading file
Thu Jul 16 23:42:16 2009 : Executing script 'createpath.lua'
==================================================
Thu Jul 16 23:42:16 2009 : WARNING: Failure reading memory from 0x292FDB4 at 0x88ef20 in memoryReadIntPtr(). Error code 299 (Bare deler av en ReadProcessMemory- eller WriteProcessMemory-forespørsel ble fullført.)
stack traceback:
C:\Users\micromacro\lib\lib.lua:512: in function 'startMacro'
scripts\rom/createpath.lua:73: in main chunk
----------TRACEBACK END----------
Thu Jul 16 23:42:16 2009 : C:/Users/micromacro/scripts/rom/classes/pawn.lua:41: attempt to perform arithmetic on field 'Address' (a nil value)
Thu Jul 16 23:42:16 2009 : Execution error: Runtime error
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: What am i doing wrong?
Looks to me like both your copy of MicroMacro and the RoM scripts are out of date. Get the newest versions and try again.
Who is online
Users browsing this forum: Semrush [Bot] and 11 guests