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 02-02-2006, 02:50 PM   #1 (permalink)
 
Join Date: Dec 2005
Posts: 53
Default Rouge's Bandana

Rouges Bandana is a
basic bandana with extra Attributes
all of its stats stay under 100
Hope you like it








Rouge's Bandana.txt
__________________
:cool: [AKA-Ryan]:cool:
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Fallen Chaos is offline  
Old 02-02-2006, 03:34 PM   #2 (permalink)
 
Join Date: May 2005
Location: Maine
Posts: 783
Default

Nice idea, but. . . .
Code:
Scripts: Compiling C# scripts...failed (5 errors, 0 warnings)
 - Error: Scripts\Customs\Test\RogueBandanna.cs: CS1010: (line 9, column 20) Newline in constant
 - Error: Scripts\Customs\Test\RogueBandanna.cs: CS1010: (line 42, column 16) Newline in constant
 - Error: Scripts\Customs\Test\RogueBandanna.cs: CS1514: (line 9, column 20) { expected
 - Error: Scripts\Customs\Test\RogueBandanna.cs: CS1520: (line 16, column 11) Class, struct, or interface method must have a return type
 - Error: Scripts\Customs\Test\RogueBandanna.cs: CS1519: (line 42, column 16) Invalid token ''sBandana(Serial serial) : b...' in class, struct, or interface member declaration
You should test your scripts before you post them!

I usually don't test scripts, but I didn't think you could use an apostrophe (') in a class name. . .but I wanted to be sure before I posted.
__________________
If I am ever wrong, please tell me!
Script Submission Forum (Search this!)
Useful File Info
If you want your script to save things, READ THIS!
Make sure to also read the RunUO docs folder!

I have submitted 2 script(s) to the community.
Arvoreen is offline  
Old 02-02-2006, 04:19 PM   #3 (permalink)
 
Join Date: Dec 2005
Posts: 53
Default

it worked on my test shard.

ill fix it
__________________
:cool: [AKA-Ryan]:cool:
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Fallen Chaos is offline  
Old 02-02-2006, 04:21 PM   #4 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

One minor other detail:
Rouge is the French for Red.
Rogue is a thief, cutpurse, etc.
__________________
New shard coming soon!
Voran is offline  
Old 02-02-2006, 04:25 PM   #5 (permalink)
 
Join Date: Dec 2005
Posts: 53
Default

Okay, well i fixed the script and stuff
it should work now.



Rouge's Bandana.txt
__________________
:cool: [AKA-Ryan]:cool:
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Fallen Chaos is offline  
Old 02-02-2006, 04:32 PM   #6 (permalink)
 
Join Date: Dec 2005
Posts: 53
Default

NVM this scripts messed up.....
__________________
:cool: [AKA-Ryan]:cool:
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Fallen Chaos is offline  
Old 02-02-2006, 05:40 PM   #7 (permalink)
 
Join Date: Oct 2002
Age: 23
Posts: 4,689
Default

Code:
public Rouge'sBandana(Serial serial) : base( serial )
Code:
public class Rouge'sBandana : Bandana
Remove what is in red and it will work
XxSP1DERxX is offline  
Old 02-02-2006, 05:55 PM   #8 (permalink)
 
Join Date: May 2005
Location: Maine
Posts: 783
Default

I noticed the last .txt you posted that your constructor and the class name use different cases. . .that will break your script.

Also (this is just a suggestion) you might want to just replace your script in your first post with the most recent revision.
__________________
If I am ever wrong, please tell me!
Script Submission Forum (Search this!)
Useful File Info
If you want your script to save things, READ THIS!
Make sure to also read the RunUO docs folder!

I have submitted 2 script(s) to the community.
Arvoreen is offline  
Old 02-02-2006, 10:01 PM   #9 (permalink)
Forum Expert
 
Courageous's Avatar
 
Join Date: Nov 2005
Location: San Diego, CA
Posts: 1,833
Default

Remove what is in red and it will work

He has a special C# compiler for his test shard, where ' is allowed in class names, whooo haaah.

C//
Courageous is offline  
Old 02-02-2006, 11:25 PM   #10 (permalink)
 
Join Date: Dec 2005
Posts: 53
Default

Okay, well im sick of this script lol
__________________
:cool: [AKA-Ryan]:cool:
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Fallen Chaos 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