Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 4:27 pm

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]
Thanked: 18 time(s)  Unread post Posted: Sat May 09, 2020 2:36 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
Roan1234321 wrote:
I would recommend not changing act files,
some monster have more act than common monsters which could cause error. If the game server request an act that is not on your grf file it would crash the game client.
I would rather recommend just editing the spr files you can just add more images in your spr files 150 images would be safe I have seen monster that has 78 images so I just double it you can make smaller image's if you want..


Since Roan1234321 do not recommend my method, I will be giving a disclaimer that the files I am going to send you may cause error according to him.So if it does gives you error, feel free to message me for us to make any workaround on it. I just want to make the files more private so I wont post the files here. All you have to do is thank me in this post and send me a private message and indicate which file do you like.

Auto Portal Evade
I have two types of this portal sprite with effects on and effects off. I recommend using grey map with this sprite.

Image
Image

After receiving the file from me you can now merge it with the data.grf or any grf that is included in your RO folder. Or you can check in this link on how to make it work,

viewtopic.php?f=435&t=35307

Code:
function("Portal")
     begin
          if  Color.Can be located on screen (RGB)("181", "139", "139", "0")
               begin
                    Keyboard.Press key("{<f4>}")
               end
     end
function

You can use the code or just simply use investigate to identify the RGB color of the portal and put your flywing on F4. Or you can completely modify the codes. Its all up to you.

Anti-KS

You can follow the thread of the sprite here.
viewtopic.php?f=435&t=35307&start=31

0dr4ud3 wrote:
I still don't understand why it is not recommended to change the .act files, since so far I have had no problem editing these files, and I did this on several monsters. I believe that to automate some things in the game through macros, there is no other way than to change these files.

Anyway, as to what we were discussing, in relation to Anti-Ks. I am using the file that Nyl provided and it is working together with some adaptations that I made in the attack macro that Roan provided. The macro consists of attacking, in addition to the yellow blocks, also the purple ones (when a monster attacks), which are only in a defined area, close to the character in the center of the screen.

Sometimes it crashes and does not attack the monsters that are attacking the character, but most of the time it works perfectly.

Here is the macro code for this action, for those are interested:
Code:
function("Attack2")
     begin
          Color.Limit area of interest to coordinates("585", "324", "116", "101")
          if  Color.Can be located on screen (RGB)("165", "66", "132", "0")
               begin
                    Mouse.Click at color closest to coordinate (RGB)("165", "66", "132", "0", "582", "324", "left")
                    Mouse.Move to coordinate("997", "43")
                    if  Color.Can be located on screen (RGB)("165", "66", "132", "0")
                         begin loop()
                              Mouse.Move to coordinate("997", "43")
                              if  Color.Can not be located on screen (RGB)("165", "66", "132", "0")
                                   begin
                                        Humanly.Pause("400", "500")
                                        Color.Unlimit area of interest()
                                        Function.Execute("Loot")
                                        Macro.Break from loop("yes")
                                   end
                         end
               end
          Color.Unlimit area of interest()
     end
function

As I haven't had any problems with editing the .act files so far, I just have to thank you, Nyl. For me it was a great contribution to improve the needs of the macro I am using.


Be sure to thank 0dr4ud3 also for his contribution.

If you have any concern just PM me. If you have any personal requests regarding modifications of the sprite just pm me.

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 2 time(s)  Unread post Posted: Sat May 09, 2020 3:27 am 
New User
New User
User avatar



Joined: Wed Apr 22, 2020 1:04 am
Posts: 24
Been thanked: 13 time(s)
Has thanked: 14 time(s)
Contribution Points: 53
Another great contribution, brother! This one from AutoPortalEvade will be a great improvement for my bot.

Thank you again!

Remembering that the code of the AntiKS macro, it was an adaptation that I made of the AutoAttack macro that Roan made available here on the forum. I'm a novice in coding with BEM, but I just tried to make the bot attack in addition to the yellow boxes (monsters defined to attack), also the purple boxes, provided by Nyl (which means that the "yellow" monster is attacking). So I delimited the area in the center of the screen, so that the bot attacks only the purple boxes that are attacking your character, and not that of other players.


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Sat May 09, 2020 6:36 pm 
New User
New User



Joined: Wed May 06, 2020 9:16 pm
Posts: 7
Been thanked: 0 time(s)
Has thanked: 3 time(s)
Contribution Points: 19
good job this is very good

could you send me the GRF from the portal please?


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Sun May 10, 2020 5:46 pm 
New User
New User



Joined: Fri Apr 17, 2020 12:25 am
Posts: 23
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 58
I need your portal grf can you send it to me?


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Mon May 11, 2020 11:44 am 
New User
New User



Joined: Thu Apr 16, 2020 7:09 pm
Posts: 7
Been thanked: 2 time(s)
Has thanked: 0 time(s)
Contribution Points: 15
I tried to change the portal color but it seem that some other effect was the same like attack effect (that's why every time your character, it will teleport), Aco/Priest warp was also the same effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Tue May 19, 2020 7:38 am 
Contributor
Contributor



Joined: Mon Mar 30, 2020 12:58 pm
Posts: 71
Been thanked: 8 time(s)
Has thanked: 4 time(s)
Contribution Points: 129
Already hit the thanks button, can you send me the portal file the one with the red color?


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Sat May 23, 2020 9:17 am 
New User
New User



Joined: Sun Apr 05, 2020 6:42 am
Posts: 11
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 22
pmed this guy but no reply.
maybe just farming thanks from users to get free macro subcription.


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Sat May 23, 2020 6:32 pm 
Contributor
Contributor



Joined: Mon Mar 30, 2020 12:58 pm
Posts: 71
Been thanked: 8 time(s)
Has thanked: 4 time(s)
Contribution Points: 129
This mod is a no go,

tried changing the blue_ring.bmp,

it will detect your basic attack as same as color from the portal.

And if you will not use effect, the dark circle at the portal is same file for the shadow of your character below your foot,

so it will detect your own color of your shadow same as the portal off effect.


Top
 Profile  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Mon Jun 08, 2020 1:18 am 


Congratulations my friend.
Could you please send me
Already pressed to thank


Top
  
Reply with quote  
 Post subject: Re: Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-
Thanked: 0 time(s)  Unread post Posted: Mon Jun 08, 2020 1:19 am 
New User
New User



Joined: Mon Jun 08, 2020 1:15 am
Posts: 2
Been thanked: 0 time(s)
Has thanked: 2 time(s)
Contribution Points: 10
Congratulations my friend.
Could you please send me
Already pressed to thank


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2, 3  Next

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group