Page 4 of 4 FirstFirst ... 234
Results 76 to 94 of 94

Thread: Rucoy Online Script

  1. #76
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by xulegos View Post
    My friemd, where do i see the mob color in your script? Iam trying to make some changes, its walking over the map but not atacking the mobs..can you help me please?
    There are no mob colors. IIRC it just looks for HP bars and ground tiles.

  2. #77
    Join Date
    Jun 2017
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    i edited before you aswer sorry

  3. #78
    Join Date
    Jun 2017
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Citrus View Post
    There are no mob colors. IIRC it just looks for HP bars and ground tiles.
    Ground tiles is runing great but i can't find a way to click on the mobs (even by hp bars) =/

  4. #79
    Join Date
    Jun 2017
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    this is the interface of the game...
    @Citrus you know if theres a way to click on the mob? for example this rats...lawl 2.jpg

  5. #80
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by xulegos View Post
    this is the interface of the game...
    @Citrus you know if theres a way to click on the mob? for example this rats...lawl 2.jpg
    You'll have to find the code that looks for HP bars, then change some colors and coordinates. I wouldn't attempt much before reading some beginner tutorials first.
    https://villavu.com/forum/showthread.php?t=58935

  6. #81
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Hey Citrus could u help me with something?
    i am trying to setup the script but i kind confused with some stuff...
    i am trying to get some vampires, so i just put all titles excpet vampire titles on dat line?

  7. #82
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by magaiverr View Post
    Hey Citrus could u help me with something?
    i am trying to setup the script but i kind confused with some stuff...
    i am trying to get some vampires, so i just put all titles excpet vampire titles on dat line?
    Just put whatever tile color you want into the TILE_COLORS array.

  8. #83
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    This error keeps pumping out...GetWalkableTileSlots: no walkable tiles found adjacent to player.

  9. #84
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by magaiverr View Post
    This error keeps pumping out...GetWalkableTileSlots: no walkable tiles found adjacent to player.
    That sounds pretty self-explanatory to me. Make sure you're standing on the right tiles. The colors might have changed in the 2+ years since I wrote this, so maybe double-check those.

  10. #85
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    i figer it out, just haveing a small problem now
    it walks perfect but doesnt atack mobs, just kee walking around endless
    Last edited by magaiverr; 06-04-2019 at 09:20 PM.

  11. #86
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Citrus View Post
    That sounds pretty self-explanatory to me. Make sure you're standing on the right tiles. The colors might have changed in the 2+ years since I wrote this, so maybe double-check those.
    it works just fine, but just keep walking around doest atack any mobs
    Error: Unknown declaration "hggfFindColorsfg" at line 427
    Last edited by magaiverr; 06-04-2019 at 09:32 PM.

  12. #87
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by magaiverr View Post
    i figer it out, just haveing a small problem now
    it walks perfect but doesnt atack mobs, just kee walking around endless
    The HP bar colors or dimensions could have changed. You'll have to figure that out yourself.

  13. #88
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Hey mate, i just fixed almost all my issues.
    i just need some help if u may...
    i am trying to make the script to uses pots when life goes under 50%
    no sucess so far ever
    any idea how i can make it work?

  14. #89
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by magaiverr View Post
    Hey mate, i just fixed almost all my issues.
    i just need some help if u may...
    i am trying to make the script to uses pots when life goes under 50%
    no sucess so far ever
    any idea how i can make it work?
    Check the 2nd page of this thread.

  15. #90
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    thx citrus i added pot now and it works not like i wanted but works lol

    and now i am trying to remove mele range e magic stuff, and just run smoothy without change any instance.
    but aways somehow it changes to melee after some time, dont figure it out yet...
    any idea ?

  16. #91
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by magaiverr View Post
    thx citrus i added pot now and it works not like i wanted but works lol

    and now i am trying to remove mele range e magic stuff, and just run smoothy without change any instance.
    but aways somehow it changes to melee after some time, dont figure it out yet...
    any idea ?
    Yeah, pretty simple. ClickMelee() is the procedure that clicks the melee button.

  17. #92
    Join Date
    May 2019
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    yey i fixed dat too
    i am trying to use u script and model it to what i need so far so good

    now i am trying to reduce the random walk, such as some times it moves 4 5 6 sqm, i am trying to make it moves max 3 sqm from player.
    it can be done?
    i am kind lost to do so if u can help me out
    becase in new maps, certain parts of it can walk around walls and bug or freeze the bot for a long time.

  18. #93
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    993
    Mentioned
    49 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by magaiverr View Post
    now i am trying to reduce the random walk, such as some times it moves 4 5 6 sqm, i am trying to make it moves max 3 sqm from player.
    it can be done?
    i am kind lost to do so if u can help me out
    becase in new maps, certain parts of it can walk around walls and bug or freeze the bot for a long time.
    That's doable, but a bit more complicated. Take a look at FollowDirections() and RandomWalk().
    For the first function, you'll probably have to edit the tile arrays in GetDirectionTile().
    For the random walk, you can just filter out tiles based on the distance from the player.

  19. #94
    Join Date
    Jun 2019
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Thumbs up

    Perfect script! One bad thing is that it doesn't work well in mazes (like assassins for example). You could implement self healing and attack pk in the script, it would look more perfect still!

Page 4 of 4 FirstFirst ... 234

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •