Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 12-14-2005, 07:29 PM   #1 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default Advanced Character Token

Advanced Character Token

Description:
This is OSI Promotional Token to redeem an Advanced Character. Any player can use this item as LONG as they have under 200 skill points(Just like OSI). You can change this within the script by commenting out three lines of code.

Item Image:




Install:
CAUTION: Before installing make sure that your client is updated to Mondains Legacy. If it is not then the items display may look strange or could crash your server. If you don't have ML or are not sure BACK UP YOUR SERVER.

1. Unzip this into your RunUO "Customs" directory
2. Restart/Start server

Disclaimer:
This script was written in Visual Basic. If you need help, it will be very very limited in the RunUO forums given the fact that RunUO was founded on C# and therefore supports C# development. If you absolutly need help with this script then you can e-mail me or ICQ. Send me e-mail and ICQ messages from the RunUO forums at www.runuo.com.

Note: If I get enough requests I will convert this to C# although this should be very easy to follow and almost every line is commented.
Attached Files
File Type: zip AdvancedCharacterTokenVB.zip (5.6 KB, 240 views)

Last edited by rsmiller21; 12-14-2005 at 08:58 PM.
rsmiller21 is offline  
Old 12-14-2005, 07:38 PM   #2 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Its been a while since I have seen a VB.NET script... I think I will manage though.
XxSP1DERxX is offline  
Old 12-14-2005, 07:39 PM   #3 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Seanchen, actually this would be the third. I saw two others about 2 1/2 years ago. I forgot what they were for.
XxSP1DERxX is offline  
Old 12-14-2005, 07:48 PM   #4 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default

Lol, yeah I am working on a few more things as well all writen in VB. I got a job using VB so I kinda syntax(Ever happened to you? Never huh) so here we are.
rsmiller21 is offline  
Old 12-14-2005, 08:28 PM   #5 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Here is a C# version. This includes various updates to make it optimized and it is indeed slightly faster and much shorter.

Nice job on the script rsmiller, keep up the work.

-Download Removed-

Last edited by XxSP1DERxX; 12-14-2005 at 10:02 PM.
XxSP1DERxX is offline  
Old 12-14-2005, 08:56 PM   #6 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default

I knew I shouldn't have gone to the store to pick up cigs... lol Thanks SP1DER.

Going to clean up some of those if statements I forgot to remove them. Before I was cycling through with a for loop and setting all skills to zero. Thats gone now. I forgot to include the gump with the script so that in included now.
rsmiller21 is offline  
Old 12-14-2005, 09:08 PM   #7 (permalink)
Forum Expert
 
Erica's Avatar
 
Join Date: Jan 2005
Location: Laramie Wyoming
Age: 43
Posts: 1,323
Send a message via ICQ to Erica Send a message via AIM to Erica Send a message via MSN to Erica Send a message via Yahoo to Erica Send a message via Skype™ to Erica
Default

Quote:
Originally Posted by XxSP1DERxX
Here is a C# version. This includes various updates to make it optimized and it is indeed slightly faster and much shorter.

Nice job on the script rsmiller, keep up the work.

Note: The header was removed because this script was modified over 50% of its original content due to translation and various updates. Although this does not mean I do not give credit to rsmiller for the original idea. Also the original comments have not been retained, however, script will be updated as rsmiller gets more information from OSI.
I tryed it and you forgot to put this [Constructable]
also once you add the token even when its in your backpack when you double click it says this must be in your pack .
Erica is offline  
Old 12-14-2005, 09:37 PM   #8 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default

C# script or the VB script?
rsmiller21 is offline  
Old 12-14-2005, 10:00 PM   #9 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Erica thanks, I didn't actually test it. I coded it, made sure it compiled and put it up. :\

Add the [Constructable] above the constructor
and change it to !IsChildOf

Here is an updated download.

- Download Removed -

Last edited by XxSP1DERxX; 12-16-2005 at 05:13 AM.
XxSP1DERxX is offline  
Old 12-15-2005, 03:45 AM   #10 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

I found a bug with my version, the numbers for the templates are off by 1. I am sorry, I will fix and reupload it, sorry.

This script ACTUALLY needs to be edited to use the item PromotionalToken. I will upload this tomorrow to use it and to be fixed to have the proper buttons to work.

Last edited by XxSP1DERxX; 12-15-2005 at 03:59 AM.
XxSP1DERxX is offline  
Old 12-15-2005, 03:58 AM   #11 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

ok i downloaded the C# version, and i tested the bard, and the tamer one....bard get's no musichianship, and tamer get's not animal taming or healing?

is something wrong or am i missing something on how these work?? (never been on OSI to see how these work)

EDIT: i just saw spider's post about the buttons, so disreguard this if that is what he was referring to
__________________


Last edited by Pyro-Tech; 12-15-2005 at 04:10 AM.
Pyro-Tech is offline  
Old 12-16-2005, 05:09 AM   #12 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

I fixed it but I never reuploaded it... sorry
I have been feeling like crap, and I have been doing a lot of school terms. I got around 3 hours of sleep in the past 3 days, so I barely know up from down. I will take a look at this again for ya Pyro-Tech.

To Do:
I will also hack this to work with the PromotionToken as it seems that the PromotionalToken was NOT coded to work with OSI advance characters, arg.

Note: The header was removed because this script was modified over 50% of its original content due to translation and various updates. Although this does not mean I do not give credit to rsmiller for the original idea. Also the original comments have not been retained, however, script will be updated as rsmiller gets more information from OSI.
Attached Files
File Type: zip AdvancedCharacterToken.zip (1.8 KB, 81 views)

Last edited by XxSP1DERxX; 12-16-2005 at 05:13 AM.
XxSP1DERxX is offline  
Old 12-16-2005, 10:02 PM   #13 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

hehe thanks for taking a look at it. i will try it out here in a few.
__________________

Pyro-Tech is offline  
Old 12-17-2005, 03:50 PM   #14 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

I am looking to recode this to make it as 100% OSI as possible. If anyone has information on the mechanics of how this works. Some clilocs pertaining to the token are obvious, others in terms of the gump are not.

Clilocs pertaining to this are - ( the ... means and all in between )
  • 1072808 advanced character
  • 1072839 <center>Advanced Character</center>
  • 1073287 Samurai
    ...
  • 1073299 Tamer
  • 1073365 Choose Advanced Character Template
  • 1073366 Choose a template:
  • 1073815 You are already choosing an advanced character template.
  • 1073816 This character has over 200 skill points. You cannot choose an advanced character template until you reduce your skill point total (for example, by storing a skill using a soulstone). If you do not wish to reduce your skill point total, you can opt to get your token back instead.<br><br>For more information about the advancement program, <a href="http://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/std_adp.php?p_faqid=13270">review this article</a> or <a href="http://uo.custhelp.com/cgi-bin/uo.cfg/php/enduser/ask.php?">ask a question</a> at our knowledge base.
  • 1073817 Get A Token Back
  • 1073842 You cannot choose an advancement template for this character because you have over 200 skill points. If you do not have a way to lower your skill point total, please page a GM for assistance.
  • 1073843 BLANK_CLILOC
  • 1073844 <body>85 Bushido<br>85 Swordsmanship<br>85 Parrying<br>70 Tactics<br>70 Focus<br>85 Strength<br>85 Dexterity<br>55 Intelligence</body>
    ...
  • 1073856 <body>85 Taming<br>85 Animal Lore<br>85 Veterinary<br>70 Magery<br>70 Meditation<br>80 Strength<br>55 Dexterity<br>80 Intelligence</body>
  • 1074974 Confirm Selection
  • 1074975 Are you sure you wish to select this?
  • 1074976 Yes
  • 1074977 No
  • 1074978 Click OK to choose the samurai template.
    ...
  • 1074990 Click OK to choose the tamer template.

Last edited by XxSP1DERxX; 12-17-2005 at 04:02 PM.
XxSP1DERxX is offline  
Old 02-14-2006, 11:38 AM   #15 (permalink)
Forum Expert
 
Join Date: Jan 2003
Posts: 564
Default

what do you meen by "make sure you have updated your client do ML... "?
i do have to install ML, or may i use SE with the last client version?
__________________
UO Central: O Mistério do Oculto
(Free Shard Brasileiro)

brodock is offline  
Old 02-14-2006, 01:23 PM   #16 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

The advanced character tokens have been recoded, and will be included in the next version of RunUO as 100% OSI. However due to the way the gumps are set up, they cannot be released earlier.
XxSP1DERxX is offline  
Old 02-14-2006, 05:23 PM   #17 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 38
Posts: 4,964
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

I'm guessing that it's going to be a stock part of the new RunUO version...or it's going to be released when the new RunUO version comes out.
__________________
In some cases stupid makes you win-Radwen
Johabius is offline  
Old 02-14-2006, 09:22 PM   #18 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

It will be part of the distribution is what I meant.
XxSP1DERxX is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5