BlubBlab's Lyliya

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

BlubBlab's Lyliya

#1 Post by BlubBlab » Sat Oct 05, 2013 12:18 am

I think it works even it is some still some work to do like count&log the shells and move the hammer in to the IS bag
So here is my 1.0.8 version.

-added move hammer to IS bag
-move slowly in 10 steps if the object is upwards more than 15 grids over the char
-added a 2th break condition
-added a try to unstick if the character/chat get stuck on the balcony
-added a return path if object is upwards more than 15 grids over the char
-changed the filter so that only object of type 4 will count to make it more reliable.
-multi language support
-Take account of the change through the buy options

I should now work in 99% of all case.

You need the userfunction teleport http://solarstrike.net/phpBB3/viewtopic ... t=teleport
and swimhack http://solarstrike.net/phpBB3/viewtopic ... t=wallhack

Credits:
dr-nuker for the idea and the base script
Attachments
Lyliya.xml
(9.38 KiB) Downloaded 704 times
Last edited by BlubBlab on Thu Nov 07, 2013 11:20 pm, edited 13 times in total.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

wiedzmin97
Posts: 44
Joined: Wed Jul 03, 2013 1:37 pm

Re: BlubBlab's Lyliya

#2 Post by wiedzmin97 » Sat Oct 05, 2013 8:56 am

Code: Select all

3:49pm - ...cromacro/micromacro/scripts/rom/classes/waypointlist.lua:83: Failed
to compile and run Lua code for waypointlist onLoad event.
something is wrong?

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

Re: BlubBlab's Lyliya

#3 Post by rock5 » Sat Oct 05, 2013 9:16 am

If Blubblab ran it 3 times before posting it and he posted a version that doesn't work then I suspect he did a last second edit before posting which broke it. I suspect all he did was add

Code: Select all

v1.0 by BlubBlab
on the 4th line. Try changing it to

Code: Select all

-- v1.0 by BlubBlab
  • 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

Vengefulmilk
Posts: 19
Joined: Wed May 01, 2013 4:55 am

Re: BlubBlab's Lyliya

#4 Post by Vengefulmilk » Sat Oct 05, 2013 11:48 am

Adding in the -- V1 worked. Now the bot crashes after memorizing the room. It will teleport the the first item on the list of changed items. Then post all the positions of the changed items. Then Pawn Fading Offset error.

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

Re: BlubBlab's Lyliya

#5 Post by rock5 » Sat Oct 05, 2013 12:12 pm

What's the error? That it equals nil? If so it might be because you are using a version of the bot older than 764. If you can do an svn update then update. If you need to use an old bot then try adding this to the addresses.lua file

Code: Select all

	pawnFading_offset = 0x68,
Or if you don't want to edit the addresses.lua you can add this to the Lyliya waypoint file,

Code: Select all

addresses.pawnFading_offset = 0x68
  • 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

Vengefulmilk
Posts: 19
Joined: Wed May 01, 2013 4:55 am

Re: BlubBlab's Lyliya

#6 Post by Vengefulmilk » Sat Oct 05, 2013 2:07 pm

[string "..."]:53: attempt to perform arithmetic on field 'pawnFading_offset' <a nil value>

Later tonight after work Ill update and try it out and if that doesnt work ill add in your coding as well Rock.

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Lyliya

#7 Post by BlubBlab » Sat Oct 05, 2013 6:10 pm

Sry I it like Rock's said I did last minutes changes and end up to forgot comment out the Version Number
I reuploaded it should be fine now
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
lolita
Posts: 139
Joined: Thu Oct 20, 2011 5:39 am
Location: Serbia

Re: BlubBlab's Lyliya

#8 Post by lolita » Sun Oct 06, 2013 4:47 am

Nicely done BlubBlab, just there is some little glitch.
It sometimes fail to teleport to item at upper flour. I think this happen when first item is there, maybe it's to far or something , idk.
Maybe to put some failsafe, if warrnig message show more than 3 times, to change position and try again, or something like that
Life is a journey, not destination :D

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Lyliya

#9 Post by BlubBlab » Sun Oct 06, 2013 5:52 am

That should be fixed with the last update I made I let the distance check too far because originally I checked on the object instead of the new coordinates.

Under normal conditions the bot tries 3 times to teleport their if it fails ,then the bot tries to make moveTo and at least a teleport again

What I could do if this isn't enough is recheck again after this and skip the object if it is still out of range.

So report me
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
rido_knight
Posts: 102
Joined: Wed May 29, 2013 6:50 am
Location: Turkey

Re: BlubBlab's Lyliya

#10 Post by rido_knight » Sun Oct 06, 2013 7:24 am

dude this macro is awesome so u are awesome :D but i dont understand what is Lylia's Colorful Glass Bead? what does it do ?

User avatar
lolita
Posts: 139
Joined: Thu Oct 20, 2011 5:39 am
Location: Serbia

Re: BlubBlab's Lyliya

#11 Post by lolita » Sun Oct 06, 2013 8:12 am

I tested v1.0.2 with 3 chars, finished with no error.
If there will be some bugs, ill let you know
Life is a journey, not destination :D

mowit
Posts: 8
Joined: Sun Oct 06, 2013 10:22 am

Re: BlubBlab's Lyliya

#12 Post by mowit » Sun Oct 06, 2013 10:29 am

Works awesome for me. Used it 2 times, finished it flawlessly. But, om my gf's pc it does the same thing Vengeful is saying. It will teleport the the first item on the list of changed items. Then post all the positions of the changed items. Then Pawn Fading Offset error. Everything is updated.

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

Re: BlubBlab's Lyliya

#13 Post by rock5 » Sun Oct 06, 2013 11:03 am

What is the pawn fading error?
  • 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

mowit
Posts: 8
Joined: Sun Oct 06, 2013 10:22 am

Re: BlubBlab's Lyliya

#14 Post by mowit » Sun Oct 06, 2013 12:30 pm

attempt to perform arithmetic on field 'pawnFading_offset' <a nil value>

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

Re: BlubBlab's Lyliya

#15 Post by rock5 » Sun Oct 06, 2013 1:11 pm

Then I find it hard to believe you have everything updated. The address is definitely include in the latest Bot. Maybe you have corrupt files. Try doing a revert on the 'rom' 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

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: BlubBlab's Lyliya

#16 Post by Sasuke » Sun Oct 06, 2013 8:43 pm

i have another problem,bot when start say me "attempt to call global teleport a nil value"

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: BlubBlab's Lyliya

#17 Post by Bill D Cat » Sun Oct 06, 2013 8:46 pm

Sasuke wrote:i have another problem,bot when start say me "attempt to call global teleport a nil value"
Then you probably don't have the userfunction_teleport installed.

http://www.solarstrike.net/phpBB3/viewt ... =27&t=2721

Vengefulmilk
Posts: 19
Joined: Wed May 01, 2013 4:55 am

Re: BlubBlab's Lyliya

#18 Post by Vengefulmilk » Sun Oct 06, 2013 10:37 pm

Updated everything and had to delete a few things here and there and she works beautifully.

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Lyliya

#19 Post by BlubBlab » Mon Oct 07, 2013 3:53 am

The script teleport the character/char now first upwards if needed that should now solve the balcony issues upwards, its run now much smoother, the only problem that it could make is if your character/char is very large.
I also recheck if it is was successful and skip the object if not.

Todo:
Put the Master's Simple Repair Hammer in the IS bag
Log the shells like in the other scripts.
add char change options
add option when the game was already done.


Wait to find out the trading option (my guess furniture)
Redesign the code because their are some wrong assumption made in the original script by dr-nuker that I copied.
The code now is really ugly because of this.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Aron
Posts: 39
Joined: Tue Feb 19, 2013 10:30 am

Re: BlubBlab's Lyliya

#20 Post by Aron » Mon Oct 07, 2013 7:01 am

Thanks, great job once again, works perfectly.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 6 guests