|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
|
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. Last edited by rsmiller21; 12-14-2005 at 08:58 PM. |
|
|
|
|
#5 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
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. |
|
|
|
|
#6 (permalink) |
|
Forum Novice
|
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. |
|
|
|
|
#7 (permalink) | |
|
Forum Expert
|
Quote:
also once you add the token even when its in your backpack when you double click it says this must be in your pack . |
|
|
|
|
|
#9 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
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. |
|
|
|
|
#10 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
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. |
|
|
|
|
#11 (permalink) |
|
Forum Expert
|
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. |
|
|
|
|
#12 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
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. Last edited by XxSP1DERxX; 12-16-2005 at 05:13 AM. |
|
|
|
|
#14 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
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 )
Last edited by XxSP1DERxX; 12-17-2005 at 04:02 PM. |
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|