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
nerf
Posts: 88
Joined: Thu Jan 27, 2011 10:44 am

Re: BlubBlab's Lyliya

#21 Post by nerf » Mon Oct 07, 2013 7:59 am

is a great job

dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: BlubBlab's Lyliya

#22 Post by dr-nuker » Wed Oct 09, 2013 4:37 pm

It's not a real deal, but in my opinion it's not the best behavior to copy a script from others,
edit it and put only your Name on it without mentioning that you basically just edited a script someone else posted in another topic...

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

Re: BlubBlab's Lyliya

#23 Post by rock5 » Wed Oct 09, 2013 7:14 pm

dr-nuker wrote:It's not a real deal, but in my opinion it's not the best behavior to copy a script from others,
edit it and put only your Name on it without mentioning that you basically just edited a script someone else posted in another topic...
Copying is fine, it's all open source here and it's a good way to learn. But, yes, he should give credit where credit is due.
  • 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
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Lyliya

#24 Post by BlubBlab » Thu Oct 10, 2013 3:33 am

I can and gave Credit for the base script and the idea of using swinmhack and teleport.

But I must point out that I nearly changed everything in the script except a few vars 2th loops and a functions prototype and I'm still not through.
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

dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: BlubBlab's Lyliya

#25 Post by dr-nuker » Thu Oct 10, 2013 4:35 am

Anyways...

I just wanted to mention that it is nice to find so many waypoints here and that so many people contribute here!
It is also good to reuse code that is already existing, refine it and publish it, so that in the end everyone has some benefit of that.

But what I wanted to point out is that it is usually not good to take snippets from others, work stuff around them and forget to mention who else put effort in.
I don't mention this because I made the snippet this is based on, but it's the same with the AndorRange script. The routine used there is basically from Lisa and all the contributors in the topic where snippets for that minigame were tried out and discussed.
I guss Lisa does also not have any sort of problem with people using the code presented here, but in my eyes it endagers the principle of donating code here.

The only thing you get when releasing code is maybe someones happines by reading "Thanks" or increasing count of dowloads or even contribution by discussing possible improvements. This all disappears when separating the basic topic with all contributors and not mentioning that it is basically not your own code but someone else's that you improved and put your name on it.

I think it makes no further sense to discuss this since it would lead to far from what the topic is about.

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

Re: BlubBlab's Lyliya

#26 Post by BlubBlab » Thu Oct 10, 2013 5:52 am

It's not the point I forgot completely that I'm using someone others script or wanted to ignore it.
I'm simple always in a hurry making the code more reliable so I spent over a week 2-3 hours for both script peer day, on top of that both a linked in the discuss thread from the topic, so I forgot to mention and giving credits at the end.

I gave lisa also credit at the point you mention it.
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

wilifox
Posts: 86
Joined: Tue Jul 26, 2011 6:00 pm

Re: BlubBlab's Lyliya

#27 Post by wilifox » Fri Oct 11, 2013 1:39 pm

Good job ;) .
BlubBlad only english client?? Thx you

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

Re: BlubBlab's Lyliya

#28 Post by BlubBlab » Sat Oct 12, 2013 12:54 am

Their are only 2 lines language specific(which works for most western languages). I will upload a new version soon.
Edit: DONE
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

krogan
Posts: 13
Joined: Tue Jul 03, 2012 2:13 pm

Re: BlubBlab's Lyliya

#29 Post by krogan » Tue Oct 15, 2013 5:29 am

Thanks for sharing your work.
Did anyone know what the pearls for?You get them when you talk to lyliya after you play the game.

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

Re: BlubBlab's Lyliya

#30 Post by lolita » Thu Oct 17, 2013 7:51 am

it sometimes fail to finish game, it teleport to all items, but dont cast spell on them, i dont know why.
And i added Round counter to your mainrutine function

Code: Select all

local function mainroutine()
	count = 0
	while true do
		count = count + 1
		cprintf(cli.yellow,"Round "..count.."\n")
		yrest(4500)
		cprintf(cli.lightblue,"Memorize room \n")
		...
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

#31 Post by BlubBlab » Thu Oct 17, 2013 10:07 am

Which version?

I can only tell you sometimes with my bigger char I've got a miss the problem is the char got pulled back, because something was in the way ,but only happens 1 time in average in a game.

On cast I (count 3 failed cast or 5 tries at all ) or (success)and then stop and go to the next object.
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

#32 Post by lolita » Thu Oct 17, 2013 5:26 pm

Well all alts are dwarfs, and they are normal size. I using latest version of script v1.7
It move to every object but dont cast skill.
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

#33 Post by BlubBlab » Fri Oct 18, 2013 7:52 am

If the bot jump back in a blink of a eye. It doesn't saw the object probable.
If it takes about 1-2 sec the bot tries to cast and can't both ways the reading goes wrong.

You can increase the tries of the bot, but be careful you can use up all your tries this way.

For the first problem I would need reorganize the code, because I must transfer the xyz coordinates to the function(that is planed anyway), at the time the seek the object 3 times until it cast on it.

You can also print some debug info in the loop somewhere here:

Code: Select all

                       repeat
				if(newOne(targetObject.Id)== false)then
					i = i + 1;
				end
				if( i >= 3)then
					break;
				end
				if( z >= 5)then
					break;
				end
				z = z + 1;
			until not player:findNearestNameOrId(targetObject.Id)
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

wilifox
Posts: 86
Joined: Tue Jul 26, 2011 6:00 pm

Re: BlubBlab's Lyliya

#34 Post by wilifox » Fri Oct 18, 2013 1:48 pm

Hi, good job!

BlubBlab's i have this error, why? ty ;)


Image

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

Re: BlubBlab's Lyliya

#35 Post by BlubBlab » Fri Oct 18, 2013 1:53 pm

update your rom bot^^
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

wilifox
Posts: 86
Joined: Tue Jul 26, 2011 6:00 pm

Re: BlubBlab's Lyliya

#36 Post by wilifox » Fri Oct 18, 2013 2:47 pm

ok ty , i try tomorrow ;)

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

Re: BlubBlab's Lyliya

#37 Post by lolita » Mon Oct 21, 2013 3:06 am

i added print messages here like you said

Code: Select all

repeat
				if(newOne(targetObject.Id)== false)then
					i = i + 1;
					print("test 1, try #"..i)
				end
				if( i >= 3)then
					print("test 2, try #"..i)
					break;
				end
				if( z >= 5)then
					print("test 3, try #"..z)
					break;
				end
				z = z + 1;
			until not player:findNearestNameOrId(targetObject.Id)
and when it successfully teleport to object it print

Code: Select all

test 1, try #2
test 1, try #3
test 2, try #3
if it fail to teleport it print

Code: Select all

test 3, try#5
but when it faild to cast skill it print

Code: Select all

test 1, try #2
test 1, try #3
test 2, try #3
so it go to every object, but never use skill
Life is a journey, not destination :D

runegod
Posts: 27
Joined: Fri Aug 30, 2013 5:56 am

Re: BlubBlab's Lyliya

#38 Post by runegod » Mon Oct 21, 2013 3:52 am

nice job on this for new mini game

i also have some problem with this bot though,
most or actually all of the times, when there are 5 objects to be detected in the game, the bot takes a very long time to move to every single item, especially when there are items in the upper floor, the teleportation moves very slow or should i say short distance.

do we have to change any kind of skill range on our own character profiles to make the bot work better?

well bot works good, but not 100% to be able to complete every single round, but does good enough to last all 9 rounds and recieve 45 shells from the game, which i really care and only want,

good job.

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

Re: BlubBlab's Lyliya

#39 Post by BlubBlab » Thu Nov 07, 2013 11:23 pm

I updated the script. It will now take in account the buy options, and press the right button to go in if they appear.
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

#40 Post by rido_knight » Fri Nov 08, 2013 1:15 am

BlubBlab wrote:I updated the script. It will now take in account the buy options, and press the right button to go in if they appear.

Thanks for update ^_^ will you make Malatina's servant minigame script?

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests