about Micromacro error

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

about Micromacro error

#1 Post by ograso » Thu Oct 14, 2010 9:28 am

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

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#2 Post by ograso » Thu Oct 14, 2010 10:04 am

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 ????

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#3 Post by ograso » Thu Oct 14, 2010 10:12 am

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 :)))

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#4 Post by ograso » Thu Oct 14, 2010 10:40 am

I changed many different value but nothing happened.

I cant understand. What is the problem

I will cry :'(

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: about Micromacro error

#5 Post by Administrator » Thu Oct 14, 2010 2:27 pm

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.

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#6 Post by ograso » Thu Oct 14, 2010 3:45 pm

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


ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#8 Post by ograso » Thu Oct 14, 2010 6:06 pm

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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: about Micromacro error

#9 Post by rock5 » Thu Oct 14, 2010 7:32 pm

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
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#10 Post by ograso » Fri Oct 15, 2010 8:22 am

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


ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#12 Post by ograso » Fri Oct 22, 2010 6:34 am

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

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#13 Post by ograso » Thu Oct 28, 2010 8:50 am

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: about Micromacro error

#14 Post by Administrator » Thu Oct 28, 2010 8:37 pm

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"?

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#15 Post by ograso » Mon Nov 01, 2010 3:31 pm

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 ??

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#16 Post by ograso » Tue Nov 09, 2010 7:39 am

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?

ograso
Posts: 24
Joined: Thu Oct 14, 2010 8:11 am

Re: about Micromacro error

#17 Post by ograso » Tue Nov 09, 2010 8:06 am

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

User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: about Micromacro error

#18 Post by jduartedj » Tue Nov 09, 2010 10:24 am

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!
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 82 guests