Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 10-10-2008, 01:32 PM   #1 (permalink)
Forum Novice
 
Stuart lil's Avatar
 
Join Date: Sep 2007
Age: 22
Posts: 116
Default Adding paragons to other facets..

Hi!

I added trammel and tokuno to the Paragon.cs file, and i got a really bothering bunch of errors.. anyone get any of this ?

--

Errors:
+ Engines/AI/Creature/Paragon.cs:
CS1513: Line 12: } expected
CS1519: Line 13: Invalid token ';' in class, struct, or interface member dec
laration
CS1519: Line 14: Invalid token ';' in class, struct, or interface member dec
laration
CS1518: Line 17: Expected class, delegate, enum, interface, or struct
CS1001: Line 17: Identifier expected
CS1518: Line 17: Expected class, delegate, enum, interface, or struct
CS1518: Line 17: Expected class, delegate, enum, interface, or struct
CS1001: Line 17: Identifier expected
CS1518: Line 18: Expected class, delegate, enum, interface, or struct
CS1518: Line 33: Expected class, delegate, enum, interface, or struct
CS1518: Line 36: Expected class, delegate, enum, interface, or struct
CS1518: Line 37: Expected class, delegate, enum, interface, or struct
CS1518: Line 38: Expected class, delegate, enum, interface, or struct
CS1518: Line 39: Expected class, delegate, enum, interface, or struct
CS1518: Line 40: Expected class, delegate, enum, interface, or struct
CS1518: Line 41: Expected class, delegate, enum, interface, or struct
CS1518: Line 42: Expected class, delegate, enum, interface, or struct
CS1518: Line 43: Expected class, delegate, enum, interface, or struct
CS1518: Line 44: Expected class, delegate, enum, interface, or struct
CS1518: Line 46: Expected class, delegate, enum, interface, or struct
CS1518: Line 66: Expected class, delegate, enum, interface, or struct
CS1022: Line 70: Type or namespace definition, or end-of-file expected
CS0101: Line 17: The namespace 'Server.Mobiles' already contains a definitio
n for '?'

--
Stuart lil is offline   Reply With Quote
Old 10-10-2008, 02:01 PM   #2 (permalink)
Forum Expert
 
Hammerhand's Avatar
 
Join Date: Jan 2006
Location: Look behind you....
Age: 44
Posts: 1,370
Default

Please post the script.
__________________
May you have the strength of eagles' wings,
the faith and courage to fly to new heights,
and the wisdom of the universe to carry you there.
Hammerhand is offline   Reply With Quote
Old 10-10-2008, 02:18 PM   #3 (permalink)
Forum Novice
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 772
Send a message via ICQ to Soteric
Default

Code:
public static Map[] Maps         = new Map[]    // Maps that paragons will spawn on
{
	Map.Ilshenar,
	Map.Trammel,
	Map.Tokuno
};
Soteric is offline   Reply With Quote
Old 10-11-2008, 07:25 AM   #4 (permalink)
Lurker
 
Join Date: Sep 2008
Age: 43
Posts: 4
Default

your missing , at the end of Map.Tokuno
Dragon1964 is offline   Reply With Quote
Old 10-11-2008, 07:29 AM   #5 (permalink)
Forum Novice
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 772
Send a message via ICQ to Soteric
Default

It's the last element, it shouldn't end with comma
Soteric is offline   Reply With Quote
Old 10-11-2008, 07:50 AM   #6 (permalink)
Lurker
 
Join Date: Sep 2008
Age: 43
Posts: 4
Default

Your right, sorry.
Just added Malas, Trammel and Felucca to my test server. Everything works fine.
As soon that I add Tokuno or Tokuno Island it generates the same errors, I also receive an error at BaseHousing.cs.
My guess is that something has to be changed in that to generate Paragon's to Tokuno aswell
Dragon1964 is offline   Reply With Quote
Old 10-11-2008, 08:08 AM   #7 (permalink)
Forum Novice
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 772
Send a message via ICQ to Soteric
Default

Post errors, post scripts. I doubt anyone can guess what is wrong without looking on errors and code
Soteric is offline   Reply With Quote
Old 10-11-2008, 12:33 PM   #8 (permalink)
Forum Novice
 
Stuart lil's Avatar
 
Join Date: Sep 2007
Age: 22
Posts: 116
Default

I ended up deleting the whole mapsection in the beginning so i got paragons everywhere.. works fine.

Thanks for the help anyway.
Stuart lil is offline   Reply With Quote
Old 10-11-2008, 02:20 PM   #9 (permalink)
Forum Expert
 
Hammerhand's Avatar
 
Join Date: Jan 2006
Location: Look behind you....
Age: 44
Posts: 1,370
Default

I have the feeling it may be this error thats doing it, but without the script posted, theres no way to tell. So this is just guess work on my part.
Code:
CS1513: Line 12: } expected
And the reason I think that is this error..
Code:
CS1022: Line 70: Type or namespace definition, or end-of-file expected
Line 70 is just shy of the middle of the script, but on line 12 of mine, its the Map.*facet* line, ending on line 13 with };
__________________
May you have the strength of eagles' wings,
the faith and courage to fly to new heights,
and the wisdom of the universe to carry you there.
Hammerhand is offline   Reply With Quote
Old 10-11-2008, 02:22 PM   #10 (permalink)
Forum Novice
 
Stuart lil's Avatar
 
Join Date: Sep 2007
Age: 22
Posts: 116
Default

Yeah i have a pretty strong feeling though that i was just forgetting those important comas, but as i said, i solved it after all hehe = P
Stuart lil is offline   Reply With Quote
Reply

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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5