Author Topic: TrailMyx's Disguise Kit Commander  (Read 31025 times)

0 Members and 1 Guest are viewing this topic.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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
TrailMyx's Disguise Kit Commander
« on: February 20, 2009, 11:34:37 PM »
0
Code: [Select]
;=================================================================
; Script Name: TrailMyx's Disguise Kit Commander
; Author: TrailMyx
; Version: 1.0
; Shard OSI / FS: OSI / FS OK
; Revision Date: 7/29/2008
; Purpose: A few routines to manage your disguise kit
;   Routines:
;     gosub TM_PeriodicDisguise 10 ; setup TM_PeriodicDisguise to change your disguise every 10 seconds
;     gosub TM_PeriodicDisguise ; call witout argument to test and see if disguise should chainge
;     gosub TM_RandomHairStyle ; no args, just grabs a random new hairstyle
;     gosub TM_ChangeHairStyle {arg} ; where {arg} can be SHORT LONG PONYTAIL MOHAWK PAGEBOY RECEDING 2-TAILS TOPKNOT NONE
;     gosub TM_OpenDisguiseKit ; just finds and opens your disguise kit (retains your set value of #LOBJECTID
; Globals:
; Special Thanks:
;
; Beta testers:
;
;=================================================================

This set of routines helps you manage your appearance with the thieves disguise kit.  The included example code also will allow you to setup a timed event that will change your appearance when the timer expires.  The following example will change your appearance every 10 seconds:

Code: [Select]
; Test code!!!
gosub TM_PeriodicDisguise 10 ; every 10 seconds
repeat
  gosub TM_PeriodicDisguise ; put this call in your main loop somewhere and call it periodically.
until #FALSE

Just one of the zillion different sets of subs I have laying around.....

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
tool_disguisekit1.txt
« Last Edit: February 21, 2009, 03:40:43 AM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #1 on: February 21, 2009, 12:55:14 PM »
0
Thank you for posting this script. If I have a mining script going will this screw it up do you think?

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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: TrailMyx's Disguise Kit Commander
« Reply #2 on: February 21, 2009, 01:01:56 PM »
0
It shouldn't, but you might want to try anyhow.  I adjust the #LOBJECTID value, but I restore it when I'm done.  Hopefully that will make it work ok.  The best way to make sure it won't mess up your script is to incorporate it into a script instead of letting it run in another tab.  What I'd do is just copy the subs into your script and then just putting the gosub TM_PeriodicDisguise in your main loop somewhere.  In the setup section, just put the gosub TM_PeriodicDisguise 3600 in your setup section when you first run your script.  That will cause a disguise change every 3600 seconds (1 hour).
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #3 on: February 22, 2009, 01:17:06 AM »
0
Sorry I apolgoise and I am still learning. I did test it you were right it needs to be run as a sub into the script...... Here is the mining script created by 12TimesOver. Where can I add it in the script so everytime he drop's the ore off at the bank he changes his disguise? Or as you were saying does every 3600 or 1800 seconds but doesnt screw it up. I am still new at this not exactly sure where to add what..... Please help sir.

http://winuo.org/resource-gathering/613-xiixovers-miner-dummies.html  - 12TimesOver's Mining Script.
« Last Edit: February 22, 2009, 10:49:25 AM by Hollywood_Shono »

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #4 on: February 22, 2009, 02:48:39 AM »
0
ugg I wish I couldit that.. put that in a code box.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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: TrailMyx's Disguise Kit Commander
« Reply #5 on: February 22, 2009, 07:50:05 AM »
0
If I have some time I'll look at it.  I removed the code, you can just post a link to it. 
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #6 on: February 22, 2009, 08:30:44 AM »
0
I think the sub is called dropnstock for banking in that script if i remember right.  Just do a search for it and add it into the top of that sub and you should be good to go.  I think I'm going to add this into my mining script!  But first to get into the thieves guild ;x

Offline Oracle

  • Hero Member
  • *
  • Posts: 888
  • Activity:
    0%
  • Reputation Power: 14
  • Oracle barely matters.Oracle barely matters.
  • Gender: Male
  • We always want something that we cannot have...!
  • Respect: +97
  • Referrals: 3
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #7 on: February 22, 2009, 10:13:38 AM »
0
What are the rules to get a character into the Thieve's Guild?  Does stealing have to be at 50 or above?
ORACLE
Get me a Straw...because I suck...!
PIXEL CRACK -- Love it! Crave it! Want it! Got to have it!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #8 on: February 22, 2009, 10:49:37 AM »
0
What are the rules to get a character into the Thieve's Guild?  Does stealing have to be at 50 or above?

60 Stealing and Blue.

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #9 on: February 22, 2009, 10:51:19 AM »
0
If I have some time I'll look at it.  I removed the code, you can just post a link to it. 

Sorry about that, Link is posted... Let me know what you can do. If it can use the disguise kit right from the bank box after it puts the ore away that would probably work best. Then continue on gateing or recalling to the next location. Thanks again sir I appreciate all the help.

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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: TrailMyx's Disguise Kit Commander
« Reply #10 on: February 22, 2009, 12:25:52 PM »
0
I carry mine with me.  They are insurable, so I've never lost one yet.  ;)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #11 on: February 22, 2009, 06:18:55 PM »
0
I carry mine with me.  They are insurable, so I've never lost one yet.  ;)

I dont play on prodo shards ^_^

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • 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: TrailMyx's Disguise Kit Commander
« Reply #12 on: February 22, 2009, 06:31:10 PM »
0
Really this is a great little way to start learning how to script.  It's a really easy integration, but something that needs time to test.  Since I can't tell you when I'd have time to fiddle with this, I'd recommend you give it a whirl, and post your questions about it here.  At the moment, I'm working on 2 other scripting projects and doing some major re-writing of SUO. 
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #13 on: February 22, 2009, 07:01:41 PM »
0
Alright ill see what i can do to it let me know what i do wrong

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: TrailMyx's Disguise Kit Commander
« Reply #14 on: February 23, 2009, 01:54:03 PM »
0
Attached code removed - TM
I did make a copy to look at.

Will this work?
« Last Edit: February 23, 2009, 02:03:03 PM by TrailMyx »

Tags: TrailMyx