Author Topic: GBot - Global Bot  (Read 55231 times)

0 Members and 2 Guests are viewing this topic.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: GBot - Global Bot
« Reply #45 on: October 03, 2015, 10:21:26 AM »
0
Actually the script should be doing a finditem to locate your character.  If you look at #FINDDIST, that will give you the distance the target was last found.  If you just make sure you aren't casting when #FINDDIST is too large, then you should be golden!  :)

But yeh, trial and error is how I get these things working too!  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #46 on: May 01, 2016, 05:08:36 PM »
0
was wondering if anyone could help me put a greater heal button in the menu and tell me where what I need to add since the wiki easyuo is down and I don't have a lot of knowledge in this.
« Last Edit: May 01, 2016, 05:15:49 PM by cybercasper »

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #47 on: May 01, 2016, 05:20:41 PM »
0
and can I change the peacemaking to discord. if so how hard would that be

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: GBot - Global Bot
« Reply #48 on: May 01, 2016, 05:41:40 PM »
0
You can  MOD this build with easy,   Just follow the logic of Bot 1.   
To add button, you need to add them to the menu.
Yes you can add Peace, if you change the command or add it.

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #49 on: May 02, 2016, 09:11:56 AM »
0
when i get home ghost i will post what i have done at work let me know if im on the right track please. i cant access this website at work stupid gov computers lol.

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #50 on: May 02, 2016, 04:32:45 PM »
0
ok so this is the extra that i put in maybe someone can help me with it since i am trying to use this for shadow guard.

GBot 1 extra code
Code: [Select]
sub discord
  set #menubutton n/a
  set !discord ! !discord
  set !Color Red
  if !discord
    set !Color Lime
  menu delete discord
  menu font BGcolor !Color
  menu button discord 5 90 81 25 discord
return

and i added my button

now GBot 2

Code: [Select]
set %timer #sCnt
set !blesstime = #time
;set %discordtime #sCnt
;set %pt 8.5s ; <----- Time in seconds between discording
;set %inst QRF_NRF_MQF_PRF_LQF_OQF_RGP_KRF

set #lpc 10

Code: [Select]
===== Auto Discord =====
if #sCnt > %discordtime && !discord = #TRUE
  gosub autodiscord

Code: [Select]
===== SUBS =====

sub autodiscord
event macro 3 0  ; whisper next line
msg $            ;clears hotkey so add wont mess up
gosub TM_SyncTextScan
event macro 13 15 ; discord
target
event macro 23 0
TM_FindValidText The_instrument_becomes_forever_quiet NULL
if #RESULT
  {
    finditem %inst C_ , %pack
    if #findkind = -1
      {
        display ok out of instruments
        return
      }
    set #ltargetid #findid
    wait 5
    event macro 22 0
    wait 10
  }
event macro 3 0  ; whisper next line
msg /add$
target
key esc
set %discordtime #sCnt + %pt
return

i know there are shadow guard ID's on here. i will be using for belfry and the roof but i cant get it to auto discord like i want it too

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #51 on: May 02, 2016, 05:07:19 PM »
0
i know i need to add in some system messages like this

YOU_ATTEMPT_TO_DISRUPT_YOUR_TARGET,_BUT_FAIL.
YOU_PLAY_JARRING_MUSIC,_SUPPRESSING_YOUR_TARGET'S_STRENGTH.
THAT_CREATURE_IS_ALREADY_IN_DISCORD.
YOU_MUST_WAIT_A_FEW_MOMENTS_TO_USE_ANOTHER_SKILL.

but im just stumped how to get this done as well as once i click the discord button to auto discord without having to actually click on the creature. i can do some research and get all the id's that are needed if you can help me ghost or anyone else.

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: GBot - Global Bot
« Reply #52 on: May 02, 2016, 06:06:23 PM »
0
Look at my utility bar for Andros
http://www.scriptuo.com/index.php?topic=13127.0;highlight=utility

That will give an idea on how disco can work.

This is what my menu look like for this GBOT build.

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Gbot main.JPG

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #53 on: May 03, 2016, 08:06:28 AM »
0
ok will do and one more thing do you think you maybe you can help me learn to build a menu like your just not as detailed just to help me learn functions like urs. i have the menu building program and an old esasyuo but i can never make anything even though I know it is like drawn a box and go.
« Last Edit: May 03, 2016, 09:14:07 AM by cybercasper »

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: GBot - Global Bot
« Reply #54 on: May 03, 2016, 12:26:46 PM »
0
Here the menu

 just load up both program to build menu.  In easy 1.42( new) load this code and hit play.   click in the design to see the menu

Code: [Select]
gosub showEUOMenu1
halt
 ===============================================================
;--------- EasyUO Menu Designer Code Begin ---------
sub showEUOMenu1
menu Clear
menu Window Title Ghost Bot
menu Window Color Teal
menu Window Size 402 198
menu Font Transparent #true
menu Font Align Right
menu Shape EUOShape1 4 8 393 177 3 7 1 Black 7 White
menu Shape EUOShape2 16 12 249 33 4 7 2 Green 7 White
menu Font Name MS Sans Serif
menu Font Size 10
menu Font Style b
menu Font Color WindowText
menu Font Transparent #false
menu Font Align Left
menu Font BGColor HighlightText
menu Text EUOLabel1 28 20 Status:
menu Shape EUOShape3 12 84 97 65 3 7 2 Green 7 White
menu Shape EUOShape4 12 56 97 33 4 7 2 Green 7 White
menu Shape EUOShape5 242 56 143 33 4 7 2 Green 7 White
menu Shape EUOShape6 242 87 143 92 3 7 2 Green 7 White
menu Font Style bu
menu Font Align Center
menu Font BGColor BtnHighlight
menu Text maintitle 24 64 %Main
menu Font Align Left
menu Text supporttitle 272 64 %Support
menu Font Size 8
menu Font Style
menu Font BGColor Window
menu Edit EUOEdit1 80 20 121 StatusEdit
menu Font Color Window
menu Font BGColor Teal
menu Button EUOButton3 216 19 43 21 Pause
menu Font Color WindowText
menu Font BGColor Yellow
menu Button healmain 20 92 35 21 Heal
menu Font BGColor BtnFace
menu Button arcur 64 92 35 21 Cure
menu Button res 20 120 35 21 Res
menu Font BGColor Background
menu Button invis 64 120 35 21 Invis
menu Font BGColor Window
  menu Combo Create castingspell 36 156 89
menu Combo Add castingspell Heal Main
menu Combo Add castingspell Heal Pet
menu Combo Add castingspell Wither
menu Combo Add castingspell Thurstorme
 ; menu Combo Select castingspell 1
menu Font BGColor CaptionText
menu Check LoopCasting 16 156 13 17 #false
menu Font BGColor Yellow
menu Button healpet 248 92 39 21 H.Pet
menu Button healsup 248 120 39 21 Heal
menu Font BGColor BtnFace
menu Button arcurpet 294 92 39 21 C.Pet
menu Button arcursup 294 120 39 21 Cure
menu Button respet 340 92 39 21 Vet
menu Font BGColor Lime
menu Button invissup 198 120 35 21 Invis
menu Button hide 115 120 35 21 Hide
menu Button follow 155 148 39 21 Follow
menu Font BGColor Aqua
menu Button center 155 92 39 21 Center
menu Button north 155 64 39 21 North
menu Button south 155 120 39 21 South
menu Button west 115 92 35 21 West
menu Button east 198 92 35 21 East
menu Font Style b
menu Font Color Red
menu Font BGColor Background
menu Button disco 340 19 39 21 Disco
menu Font Style
menu Font Color WindowText
menu Font BGColor BtnFace
menu Button allcome 248 148 39 21 Come
menu Button allstay 294 148 39 21 Stay
menu Button mount 340 148 39 21 Mount
menu Button party 268 19 39 21 Party
menu Button EUOButton24 340 120 39 21 N/A ; Aids
menu Show 846 612
return
;--------- EasyUO Menu Designer Code End -----

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: GBot - Global Bot
« Reply #55 on: May 03, 2016, 12:51:53 PM »
0
Wouldn't it be cool if Cerveza himself actually popped in to give his 2 cents worth regarding this?  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #56 on: May 03, 2016, 02:17:33 PM »
0
Yes trail that would be pretty awesome his script so far is a 10 but I'm failing to get the auto discord even at looking at other scripts

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #57 on: May 03, 2016, 02:18:16 PM »
0
And thank you ghost when I get home I'll put this in and see where to go from there

Offline cybercasper

  • Full Member
  • ***
  • Posts: 228
  • Activity:
    0%
  • Reputation Power: 3
  • cybercasper has no influence.
  • Respect: +41
  • Referrals: 1
    • View Profile
Re: GBot - Global Bot
« Reply #58 on: May 03, 2016, 04:14:41 PM »
0
So question ghost when it says combo in the menu does that mean I can just add them in easyuo the other buttons or how does that work bc I don't see a drop down when I try and open it. Hopefully you understand

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: GBot - Global Bot
« Reply #59 on: May 03, 2016, 04:29:39 PM »
0
 Cerveza will be fine, we just expend his baby,  I give him wing.   I don't share lots of my work, but  I didn't see any harm is posting the menu.  The rest is up to the member.

Cyber, the combo menu all you to add as many line under one display box.  It a drop down box.   the line that you select, will be the sub that will be use.    TM use this in lot of his build,  his FaF(fishing) have lot of them. It more clean that way.  Clear as mud.

Tags: Cerveza