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 11-08-2005, 10:53 PM   #1 (permalink)
Account Terminated
 
Join Date: Sep 2004
Location: westvirginia
Age: 30
Posts: 535
Send a message via AIM to masternightmage Send a message via MSN to masternightmage Send a message via Yahoo to masternightmage
Default Edit: Post new ideas for this!!!

I want to thank Packer898 for helping with this gump!

----------------------------------------------

If you add this you will have to follow the instructions below for making it custom to your shard!


For starters This is the gump itself so you can see how it looks on my shard!

---------------------------------------------------



---------------------------------------------------

Instructions:

First open the SaveGump.cs in your editor.

Now look for this line and add your shard name.

Code:
this.AddLabel(355, 79, 37, "Your shard name");
Now find these lines and edit for the web sites you want the buttons to work for!


Web site #1
Name on gump for site.
Code:
this.AddLabel(388, 310, 37, "<< Web site name #1");
Link to site itself
Code:
case 0:
					{
						from.LaunchBrowser( "Web site #1 goes here full link" );
						break;
					}
Web Site #2
Name on gump for site.
Code:
this.AddLabel(388, 335, 37, "<< Web site name #2");
Link to site itself
Code:
case 1:
					{
						from.LaunchBrowser( "Web site #2 goes here full link" );
						break;
					}
Web Site #3
Name on gump for site.
Code:
this.AddLabel(388, 360, 37, "<< Web site name #3");
Link to site itself
Code:
case 2:
					{
						from.LaunchBrowser( "Web site #3 goes here full link" );
						break;
					}
---------------------------------------------------

Now once you have done this all that is left to do is replace your old AutoSave.cs with the one here and also if you already have a SaveGump.cs file then replace it too!

Edit:
I am a honest person and I have to let you all know I did not make the autosave.cs and to tell the truth I have no idea who did it never had a header on it when I got it and it has been used by many people through out the years!

I will only take credit for the SaveGump.cs with the help from Packer898 for helping me figure out the logout button! please feel free to mod this for your own shard and only give me credit for the gump thanks! Dont forget to thankPacker898for the log out button working right!
Attached Files
File Type: cs AutoSave.cs (4.5 KB, 240 views)
File Type: cs SaveGump.cs (2.5 KB, 222 views)
masternightmage is offline  
Old 11-08-2005, 11:54 PM   #2 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

Wow what a cool thing. i love this, i was just about to start to do this myself. thanks so much. i will look forward to more updats for this, as i guess you will at some point. if i come up with anything,. i will let you no.
also how would i go about removing the website bit and the logout parts. as i would like to use just the shard name part and the world save. lol
thanks again. and a big thanks to the man. packer898/ the best.
WonderlandADnc is offline  
Old 11-09-2005, 12:31 AM   #3 (permalink)
Account Terminated
 
Join Date: Sep 2004
Location: westvirginia
Age: 30
Posts: 535
Send a message via AIM to masternightmage Send a message via MSN to masternightmage Send a message via Yahoo to masternightmage
Default

Well I used a program called GumpStudio to make this gump and for the web sites and logout I only had to add buttons and set them for public override void OnResponse this is where trouble started for me and packer 898 helped!

You can get the GumpStudio here!

http://www.orbsydia.com/forum/showthread.php?t=1256
masternightmage is offline  
Old 11-09-2005, 01:28 AM   #4 (permalink)
Forum Novice
 
zachseitz's Avatar
 
Join Date: Dec 2004
Location: Middle of nowhere
Posts: 632
Default

Yea, GumpStudio helps so much when creating Gumps. Makes life ( in programming) alot easier :)
zachseitz is offline  
Old 11-09-2005, 06:35 PM   #5 (permalink)
Forum Expert
 
Join Date: Oct 2004
Location: San Diego, CA
Age: 39
Posts: 281
Send a message via AIM to dracana Send a message via MSN to dracana
Default Very nice!

Very cool looking gump!

Thanks for the script, keep up the good work.
dracana is offline  
Old 11-10-2005, 01:27 AM   #6 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Thumbs up

Good to see that your AutoSave.cs is corrrect. Nicely done.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
Old 11-10-2005, 01:43 AM   #7 (permalink)
Account Terminated
 
Join Date: Sep 2004
Location: westvirginia
Age: 30
Posts: 535
Send a message via AIM to masternightmage Send a message via MSN to masternightmage Send a message via Yahoo to masternightmage
Default

Quote:
Originally Posted by Lucid Nagual
Good to see that your AutoSave.cs is corrrect. Nicely done.
Thanks but I will tell you the truth I only made the gump with help from packer and I cant remember who made the autosave.cs but you need it to use my gump! so injoy and thanks again!
masternightmage is offline  
Old 11-15-2005, 03:35 PM   #8 (permalink)
Forum Novice
 
Join Date: Sep 2004
Posts: 292
Default

Great Save Gump and really like those buttons for website and more! Thanks so much for sharing this! One question, would it be really hard to resize this a bit smaller?
milva is offline  
Old 11-15-2005, 04:11 PM   #9 (permalink)
Forum Expert
 
Packer898's Avatar
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Age: 35
Posts: 2,378
Send a message via ICQ to Packer898 Send a message via MSN to Packer898
Default

Quote:
Originally Posted by milva
Great Save Gump and really like those buttons for website and more! Thanks so much for sharing this! One question, would it be really hard to resize this a bit smaller?
Yes. The way he designed the gump it would be pretty hard to make it any smaller. Basically he would have to re-design the whole thing.
Packer898 is offline  
Old 11-15-2005, 05:28 PM   #10 (permalink)
Account Terminated
 
Join Date: Sep 2004
Location: westvirginia
Age: 30
Posts: 535
Send a message via AIM to masternightmage Send a message via MSN to masternightmage Send a message via Yahoo to masternightmage
Default

yeah you would have to get rid of a few things to make it smaller but it really doesnt mater at save if it is the same size of the window or a size of a pea cant really do anything at save anyway that is why i put the web and logout buttons in!

thanks for help 2 packer!
masternightmage is offline  
Old 11-15-2005, 05:38 PM   #11 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

Good job, keep it up man! Fight the good fight! *HOO RAH!!!*
Joeku is offline  
Old 11-15-2005, 06:27 PM   #12 (permalink)
Account Terminated
 
Join Date: Sep 2004
Location: westvirginia
Age: 30
Posts: 535
Send a message via AIM to masternightmage Send a message via MSN to masternightmage Send a message via Yahoo to masternightmage
Default

Quote:
Originally Posted by Joeku
Good job, keep it up man! Fight the good fight! *HOO RAH!!!*
Thanks.
MAHAHA




Im guessing this guys house went IDOC?

HeHeHe
masternightmage is offline  
Old 11-16-2005, 06:41 PM   #13 (permalink)
Forum Novice
 
Join Date: Sep 2004
Posts: 292
Default

lol so true, when save time comes they are froze solid any ways :P
Thanks again for sharing this great script!
milva 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