Page 1 of 1

about Micromacro error

Posted: Thu Oct 14, 2010 9:28 am
by ograso
Hi All,

I read everything before download and installation about this macro applicaiton.

First of all, download base application. micromacro...
Second, was download update rom files.
I took a error message"createpath.lua:78: bad argument #1 to 'memoryReadIntPtr' ((null))" from console when I start the createpath.bat file

After that, I took another message "...pawn.lua:161: attempt to perform arithmetic on field 'Address' (a nil value)" from console again when I changed "local windowList = findWindowList("*", "Radiant Arcana");"

So, What can I do. I did whatever you say

I tried many times.

Thanks Advance
Okan

Re: about Micromacro error

Posted: Thu Oct 14, 2010 10:04 am
by ograso
I did everything try again.
I am starting the update.lua from the console When I change the findWindowList parameter in function.lua and I am getting a message "Unable to find 'staticTablePtr' in module.".

I am finding over internet about this error message. But we didnt get any information for solve the problem.

Yes, statictableptr parameter is coming from update.lua but this code line called update function relevant StaticTablePtr.

Called from where ??? Maybe if We can found the whereever it called. maybe we can found problem source.

Is there any idea about this ????

Re: about Micromacro error

Posted: Thu Oct 14, 2010 10:12 am
by ograso
I found the statictableptr source. it is coming from address.lua

StaticTablePtr value is "staticTablePtr = 0xA0A02C" I guess this parametre is wrong.

than What could be right value. Or which information affect this value. Os version?, Client version?

Come on guys :)). I will get crazy :)))

Re: about Micromacro error

Posted: Thu Oct 14, 2010 10:40 am
by ograso
I changed many different value but nothing happened.

I cant understand. What is the problem

I will cry :'(

Re: about Micromacro error

Posted: Thu Oct 14, 2010 2:27 pm
by Administrator
You made 4 posts for this, sent me a PM on top of it, and posted in the wrong section? Was that really necessary?

And, again, with everyone else, you must provide enough information or nobody can help you. Start with log.txt, MicroMacro version, bot script revision, and server you play on.

Re: about Micromacro error

Posted: Thu Oct 14, 2010 3:45 pm
by ograso
Actually you right, but as I understood these pages are using for help. Ofcourse with your kno-how and assist.

I am trying to understand your rules and ofcourse reading your rules but I missed some things. For of this, you try to understand me. and after that I will be send my post with details. Sorry for this again.

I am playing in turkish server
MicroMacro v1.01 beta 2,
Revision 506

Thu Oct 14 23:36:56 2010 : Processor Type: 2X 586 @2660MHz, OS: Windows 7
Thu Oct 14 23:36:56 2010 : User privilege level: Administrator
Thu Oct 14 23:36:56 2010 : Lua glues exported.
Thu Oct 14 23:36:56 2010 : MicroMacro v1.01 beta 2
Thu Oct 14 23:36:56 2010 : LuaCoco is available.
Thu Oct 14 23:36:57 2010 : Keyboard layout: US English
Thu Oct 14 23:36:57 2010 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------

Thu Oct 14 23:36:57 2010 : Language: english
Thu Oct 14 23:36:58 2010 : scripts/rom/classes/pawn.lua:161: attempt to perform arithmetic on field 'Address' (a nil value)
Thu Oct 14 23:36:58 2010 : Execution error: Runtime error
Thu Oct 14 23:37:19 2010 : Executing script 'update.lua'
--------------------------------------------------------------------------------

Thu Oct 14 23:37:20 2010 : Patched addresses.staticbase_char (value: 0x985C3C, at: 0x5D97C1)
Thu Oct 14 23:37:20 2010 : Patched addresses.staticbase_macro (value: 0x9D7A04, at: 0x73ADFD)
Thu Oct 14 23:37:20 2010 : Patched addresses.charPtr_offset (value: 0x598, at: 0x5E0522)
Thu Oct 14 23:37:20 2010 : Patched addresses.mousePtr_offset (value: 0x73C, at: 0x5FA807)
Thu Oct 14 23:37:20 2010 : Patched addresses.camPtr_offset (value: 0x46C, at: 0x5E2537)
Thu Oct 14 23:37:20 2010 : Patched addresses.camXUVec_offset (value: 0x128, at: 0x442A6B)
Thu Oct 14 23:37:20 2010 : Patched addresses.camX_offset (value: 0x104, at: 0x44298E)
Thu Oct 14 23:37:20 2010 : Patched addresses.castbar_offset (value: 0x25C, at: 0x8291E6)
Thu Oct 14 23:37:20 2010 : Patched addresses.charAlive_offset (value: 0x224, at: 0x5E221B)
Thu Oct 14 23:37:20 2010 : Patched addresses.charBattle_offset (value: 0x72A, at: 0x5E2EA2)
Thu Oct 14 23:37:21 2010 : Unable to find 'staticTablePtr' in module.
Thu Oct 14 23:37:21 2010 : Execution error: Runtime error

Re: about Micromacro error

Posted: Thu Oct 14, 2010 5:00 pm
by Administrator

Re: about Micromacro error

Posted: Thu Oct 14, 2010 6:06 pm
by ograso
Thanks for reply Admin,

I saw this post and I understand what you mean.

I think It doesnt make sense. I solved the problem about memory address but another problem I have :).

I dont know the scripting language and I am working on it. First success is memory address :). I think I can handle this.

If Can I success all problem about this. I will write to this post

Thanks a lot

Re: about Micromacro error

Posted: Thu Oct 14, 2010 7:32 pm
by rock5
I see nothing about SVN. Is it possible you are just using an old copy of rombot?

Follow the instructions for installing and using TortoiseSVN on this page.
http://www.solarstrike.net/phpBB3/viewt ... structions

Re: about Micromacro error

Posted: Fri Oct 15, 2010 8:22 am
by ograso
Actually I resolved memory address problem. As I understand micromacro beta version is not compatible with last SVN revision. I changed micromacro version and used old SVN version. Than I resolved the memory problem.

After that I have another problem on my screen :). I guess, problem source is relevant windows 7 but I am not sure excatly.

New problem is;
Fri Oct 15 16:15:39 2010 : MicroMacro v1.0
Fri Oct 15 16:15:39 2010 : Processor Type: 2X 586, OS: Windows 7
Fri Oct 15 16:15:39 2010 : LuaCoco is available.
Fri Oct 15 16:15:39 2010 : Lua glues exported.
Fri Oct 15 16:15:39 2010 : Keyboard layout: US English
Fri Oct 15 16:15:39 2010 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------

Fri Oct 15 16:15:39 2010 : Language: english
Fri Oct 15 16:15:41 2010 : Define ingame an empty macro at the FIRST macro space and assign that to your MACRO hotkey '0'.

Fri Oct 15 16:15:41 2010 : Execution error: Runtime error
Fri Oct 15 16:15:50 2010 : Executing script 'update.lua'
--------------------------------------------------------------------------------

Fri Oct 15 16:15:51 2010 : Execution success

Fri Oct 15 16:16:44 2010 : Executing script 'update.lua'
--------------------------------------------------------------------------------

Fri Oct 15 16:16:45 2010 : Execution success

Fri Oct 15 16:16:55 2010 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------

Fri Oct 15 16:16:55 2010 : Language: english
Fri Oct 15 16:16:57 2010 : Define ingame an empty macro at the FIRST macro space and assign that to your MACRO hotkey '0'.

Fri Oct 15 16:16:57 2010 : Execution error: Runtime error
I read relevant post about this but nothing happened. btw I am using SVN 3.19 revision, I am updating the address.lua and update.lua files with the last SVN revision.

Thanks for help rock5

Re: about Micromacro error

Posted: Fri Oct 15, 2010 2:04 pm
by Administrator

Re: about Micromacro error

Posted: Fri Oct 22, 2010 6:34 am
by ograso
Hi again,

I did whatever you want but nothing happened. I did svn checkout proces and macro procedure but same message.
Fri Oct 22 14:23:10 2010 : MicroMacro v1.0
Fri Oct 22 14:23:10 2010 : Processor Type: 2X 586, OS: Windows 7
Fri Oct 22 14:23:10 2010 : LuaCoco is available.
Fri Oct 22 14:23:10 2010 : Lua glues exported.
Fri Oct 22 14:23:10 2010 : Keyboard layout: US English
Fri Oct 22 14:23:10 2010 : Executing script 'createpath.lua'
--------------------------------------------------------------------------------

Fri Oct 22 14:23:10 2010 : Language: english
Fri Oct 22 14:23:12 2010 : Define ingame an empty macro at the FIRST macro space and assign that to your MACRO hotkey '0'.

Fri Oct 22 14:23:12 2010 : Execution error: Runtime error
BTW, I saw macro content in the game. maybe informs help us.
Image

Re: about Micromacro error

Posted: Thu Oct 28, 2010 8:50 am
by ograso
Hi again,
I thought, All problems caused by windows 7 but I was wrong. not related to operating system exactly.

I tested with other operating systems (xp,vista,win 7) but the same problems.

As I understand, Our server language is turkish.Thats mean commands and command parameters are different between english and turkish.

As a result, YOU CANT USE this scripts,If you dont have turkish translation for micmacro.

The END :)
Thanks everyone

Re: about Micromacro error

Posted: Thu Oct 28, 2010 8:37 pm
by Administrator
Is this a problem with /script not working on the Turkish version?

Try typing this into the chat:

Code: Select all

/script DEFAULT_CHAT_FRAME:AddMessage("test");
Does it say "test"?

Re: about Micromacro error

Posted: Mon Nov 01, 2010 3:31 pm
by ograso
No it doesn't say anything!!

How can we learn to commands at our server. Is it possible? Maybe could be some programs.

Maybe If we found these command, we can change the script for turkish server ??

Re: about Micromacro error

Posted: Tue Nov 09, 2010 7:39 am
by ograso
I tried many times with the following command line but nothing happened.
/script DEFAULT_CHAT_FRAME:AddMessage("test");

but I took a "test" message from the console,When I changed the script command. Like the following
/komut DEFAULT_CHAT_FRAME:AddMessage("test");

So, This information is helpfull ? What Can I do next?

Re: about Micromacro error

Posted: Tue Nov 09, 2010 8:06 am
by ograso
Yes, the next step is;

At the beggining, it is working with /script command at ingame macro. When I change the /komut command, it works but when I restart the createpath.lua from the console, ingame macro is changing with original state.

I searched this command line in scripts and I found it but I dont know How can I fix this line.

ingame macro defined and assigned with the following line in settings.lua
Line=894

As I understand, If I can change all of the script command with the komut command, I can use micromacro completely

Re: about Micromacro error

Posted: Tue Nov 09, 2010 10:24 am
by jduartedj
ograso wrote: As I understand, If I can change all of the script command with the komut command, I can use micromacro completely

as long as there aren't any other functions that aren't in English you should be fine, but pay attention because it may not be (and probably isn't) the only difference between the 2 clients!