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 05-28-2005, 10:48 AM   #1 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default Tokens for Soulstones

OK folks here is a little thing I made. Its a token like the ones OSI uses for Soulstone fragments but gives a full Soulstone. I made it so that it if you decide you can Mod your Playercreation.cs script and make it add in like a NewPlayerTicket, otherwise you'll have to manually mod the owner property on the token for play to be able to use it.
Now this thing won't allow it to be used by anyone other than the owner and it dosen't allow it to be used outside the owners backpack.

Just drop it in the custom folder and have fun add it by using [add SoulStoneToken.
Attached Files
File Type: cs SoulStoneToken.cs (1.5 KB, 123 views)
PappaSmurf is online now  
Old 05-28-2005, 02:33 PM   #2 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by PappaSmurf
OK folks here is a little thing I made. Its a token like the ones OSI uses for Soulstone fragments but gives a full Soulstone. I made it so that it if you decide you can Mod your Playercreation.cs script and make it add in like a NewPlayerTicket, otherwise you'll have to manually mod the owner property on the token for play to be able to use it.
Now this thing won't allow it to be used by anyone other than the owner and it dosen't allow it to be used outside the owners backpack.

Just drop it in the custom folder and have fun add it by using [add SoulStoneToken.
That line of code causes an error, other than that thanks (and yes I know i can just delete the ;, but others will ask why wont this compile and what does this error mean.
Code:
				if ( !from.AddToBackpack ( new SoulStone()));
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline  
Old 06-05-2005, 08:48 PM   #3 (permalink)
Forum Expert
 
PappaSmurf's Avatar
 
Join Date: Mar 2005
Location: Polishing my Lightsaber
Age: 31
Posts: 2,430
Send a message via ICQ to PappaSmurf Send a message via AIM to PappaSmurf Send a message via MSN to PappaSmurf Send a message via Yahoo to PappaSmurf
Default Sorry bout that

I usually make two copies of a file when I work on one that I want to post here and probably cofused the one I edited to fix that problem and didn't do the other. Also sorry for taking so long to respod to this as right now I don't have net access at home I'm over a a friends house curently but next time I get a chance to log on I'll remember to post the addition needed for the CharacterCreation.cs file to make it auto assign the owner to the token if anyone desires to add it that way.
PappaSmurf is online now  
 

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