Eggs

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Eggs

#61 Post by rock5 » Tue Jul 06, 2010 11:39 am

extremeuser wrote:Getting an error after 10 mins still.

player.lua:1713 bad argument #1 to 'memoryReadIntPtr' ((null))

line 1713 is

local tmpAddress = memoryReadIntPtr(getProc(), addresses.staticbase_char, addresses.charPtr_offset);
What does that have to do with the topic of this thread?

Couldn't be bothered starting your own?
  • 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

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: Eggs

#62 Post by extremeuser » Tue Jul 06, 2010 11:57 am

i got this error while doing the egg quest from the examples so it was relevant to this post

somberland
Posts: 18
Joined: Sat Jul 03, 2010 3:11 pm

Re: Eggs

#63 Post by somberland » Tue Jul 06, 2010 1:44 pm

Ur game is crashed?

Binafus
Posts: 23
Joined: Thu Jul 09, 2009 1:22 pm

Re: Eggs

#64 Post by Binafus » Tue Jul 06, 2010 8:04 pm

Working good now found my problem thanks all.

Lorelei
Posts: 5
Joined: Wed Jul 07, 2010 4:11 am

Re: Eggs

#65 Post by Lorelei » Wed Jul 07, 2010 4:14 am

Getting the same error as Extreme. Any ideas?

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

Re: Eggs

#66 Post by rock5 » Wed Jul 07, 2010 8:23 am

I just commited revision 470. This includes new quest status functions, new target_Object function, and target_NPC and merchant now use memory addresses.

Because some of the changes may cause some of your "eggs" scripts not to work properly, I've attached my 'Eggs' script which makes use of the new functions.

I'll update the romwiki soon.

Enjoy.

ps. Don't forget to copy the new ingamefunctions folder to your rom addons folder.
MillersRanchChickens.xml
(2.26 KiB) Downloaded 369 times
** YOU MUST READ THIS **
FOR THIS FILE TO WORK YOU MUST COMPLETE ALL THESE STEPS;
1. UPDATE YOUR BOT TO REVISION 470 OR BETTER.
2. ONLY AFTER YOU HAVE UPDATED THE BOT, COPY THE INGAMEFUNCTIONS FOLDER TO THE GAME ADDON FOLDER. DON'T SKIP THIS STEP BECAUSE THE 470 VERSION OF INGAMEFUNCTIONS IS DIFFERENT THAT THE 469 VERSION.
3. RESTART THE GAME OR TYPE '/script ReloadUI()' TO RELOAD THE UI AND ADDONS.
4. IF YOU DON'T USE THE ENGLISH VERSION OF THE GAME THEN CHANGE LINE 3 OF THIS FILE TO MATCH THE NAME OF THE CHICKEN QUEST IN YOUR LANGUAGE. EG. FOR GERMAN I THINK IT IS

Code: Select all

      queststate = getQuestStatus("Eine einfache Aufgabe?")
Then it should work
Last edited by rock5 on Fri Jul 09, 2010 12:52 am, edited 1 time in total.
  • 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

Hunger112
Posts: 8
Joined: Wed Jul 07, 2010 9:22 am

Re: Eggs

#67 Post by Hunger112 » Wed Jul 07, 2010 9:24 am

Hmm dont work for me.
He accept the quest and than he speak again and again with her :/

Deset
Posts: 7
Joined: Thu May 27, 2010 3:04 pm

Re: Eggs

#68 Post by Deset » Wed Jul 07, 2010 9:28 am

lol hunger112.... i know you :twisted:

with old waypoint i have no fail since 1h, with rev 470

Hunger112
Posts: 8
Joined: Wed Jul 07, 2010 9:22 am

Re: Eggs

#69 Post by Hunger112 » Wed Jul 07, 2010 9:36 am

Which waypoints do you use?
The one from epvp.. ?
I think i updated too but now iam not sure

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

Re: Eggs

#70 Post by rock5 » Wed Jul 07, 2010 9:44 am

Hunger112 wrote:Hmm dont work for me.
He accept the quest and than he speak again and again with her :/
That's because you didn't update the ingamefunctions. Won't work otherwise.

Copy the ingamefunctions to the game addon folder.
  • 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

Hunger112
Posts: 8
Joined: Wed Jul 07, 2010 9:22 am

Re: Eggs

#71 Post by Hunger112 » Wed Jul 07, 2010 9:56 am

Copy the ingamefunctions to the game addon folder. done
Revision 470 done

still dont work xD

Deset
Posts: 7
Joined: Thu May 27, 2010 3:04 pm

Re: Eggs

#72 Post by Deset » Wed Jul 07, 2010 10:10 am

After 2h i got a crash now...

but with new rev its much better :)
with old one i got every 10 minutes a crash

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

Re: Eggs

#73 Post by rock5 » Wed Jul 07, 2010 12:28 pm

Hunger112 wrote:Copy the ingamefunctions to the game addon folder. done
Revision 470 done

still dont work xD
Don't forget, to make changes to an addon take effect you need to restart the game or at least execute a '/script ReloadUI()'
  • 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

Hunger112
Posts: 8
Joined: Wed Jul 07, 2010 9:22 am

Re: Eggs

#74 Post by Hunger112 » Wed Jul 07, 2010 12:55 pm

i have revision 470 and i make a copy of the ingamfunciton folder and copy it to the addon ordner
but it still dont work and yes i restarted the game

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

Re: Eggs

#75 Post by rock5 » Wed Jul 07, 2010 1:33 pm

Hunger112 wrote:i have revision 470 and i make a copy of the ingamfunciton folder and copy it to the addon ordner
but it still dont work and yes i restarted the game
If you've properly updated to revision 470 with no exclamation marks near the files and you copied the ingamefunctions to the addon folder, then it should work. It works perfectly for me.

Please confirm that line 126 of ingamefuctions.lua is;

Code: Select all

	return "not accepted"
and line 4 of my hen script is;

Code: Select all

		if queststate == "complete" then
  • 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

Hunger112
Posts: 8
Joined: Wed Jul 07, 2010 9:22 am

Re: Eggs

#76 Post by Hunger112 » Wed Jul 07, 2010 1:46 pm

by me it is all the same (sry my english isnt that good)



but

adresses.lua isnt green it is red O,o

Deset
Posts: 7
Joined: Thu May 27, 2010 3:04 pm

Re: Eggs

#77 Post by Deset » Wed Jul 07, 2010 1:53 pm

Image


still same problem like hunger112

And @hunger112: das liegt daran dass du das mit rom\update.lua geupdatet hast. das ist kein fehler is normal so :D

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: Eggs

#78 Post by extremeuser » Wed Jul 07, 2010 1:59 pm

got 1 error twice, but doesnt come up often.

[string "...":13: attempt to compare nil with number

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

Re: Eggs

#79 Post by rock5 » Wed Jul 07, 2010 2:03 pm

Deset wrote:still same problem like hunger112

And @hunger112: das liegt daran dass du das mit rom\update.lua geupdatet hast. das ist kein fehler is normal so :D
Wait that gives me an idea. Maybe it has to do with the language. I changed all the ids in the script to names because I wanted to see if it would work which it did but maybe the names are different in your language?

If so, change the names to match the names in your language or try changing the names back to ids.
  • 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

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

Re: Eggs

#80 Post by rock5 » Wed Jul 07, 2010 2:04 pm

extremeuser wrote:got 1 error twice, but doesnt come up often.

[string "...":13: attempt to compare nil with number
That doesn't help unless I know what line number of which file.
  • 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

Post Reply

Who is online

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