Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 05-17-2006, 03:02 PM   #1 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default Help with bobfiltergump please

Ok guys, ive installed fs taming system, and ive just put in the token stuff with the owltr, but..... i have this last and final error.

ERROR START

RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
- Error: Scripts\Engines\BulkOrders\Books\BOBFilterGump.cs: CS0101: (line 10, c
olumn 15) The namespace 'Server.Engines.BulkOrders' already contains a definitio
n for 'BOBFilterGump'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

ERROR END

Please somebody help me work out wats wrong, i attached the file its complaining about
Attached Files
File Type: cs BOBFilterGump.cs (12.3 KB, 0 views)
schlankster is offline   Reply With Quote
Old 05-17-2006, 03:33 PM   #2 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 288
Default

Quote:
Originally Posted by schlankster
- Error: Scripts\Engines\BulkOrders\Books\BOBFilterGump.cs: CS0101: (line 10, column 15) The namespace 'Server.Engines.BulkOrders' already contains a definition for 'BOBFilterGump'
There is another file somewhere in your Scripts folder that contains a class 'BOBFilterGump'.

First, see if there are multiple BOBFilterGump.cs files, if not, you'll have to do a search within the files for something like 'public class BOBFilterGump' to determine which file it's in.

Once you find the duplicate, you'll have to figure out if they are the same, and if not, figure out which one you SHOULD be using (probably the one that came with daat's stuff), else merge the differences into 1 file.

Hope this helps!
Uhhhh is offline   Reply With Quote
Old 05-17-2006, 03:37 PM   #3 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default

So basically i have to search through every single file to find that entry u stated?? or is there a program i can use?

sorry for being a pain, im a bit new on this
schlankster is offline   Reply With Quote
Old 05-17-2006, 03:52 PM   #4 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 288
Default

Quote:
Originally Posted by schlankster
So basically i have to search through every single file to find that entry u stated?? or is there a program i can use?

sorry for being a pain, im a bit new on this
Nope, if you use the Search in Windows, you can search in the RunUO\Scripts folder for the BOBFilterGump.cs to see if you have more than 1.

For searching within the files, you can try the Windows search and use the 'Containing Text', but I've heard that sometimes that won't work.

I would suggest downloading either SharpDevelop (www.icsharpcode.net) or Visual C# Express (www.microsoft.com/vstudio), as they have nice searching features within them.
Uhhhh is offline   Reply With Quote
Old 05-17-2006, 04:44 PM   #5 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default

Ive just gone through the files, and found a file with the same class, wat do i do??? ill post both files, but they are both needed
Attached Files
File Type: cs BOBFilter.cs (12.3 KB, 2 views)
File Type: cs BOBFilterGump.cs (12.3 KB, 2 views)
schlankster is offline   Reply With Quote
Old 05-17-2006, 04:50 PM   #6 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 288
Default

I'd be willing to bet you don't need both of them.

Have you tried to remove one, and see if everything works?

They look pretty much the same to me. I didn't comb through it line-by-line, but they have the same # of lines, both appear to have daat's owltr materials in there, and both only contain the 1 class 'BOBFilterGump'.

Pick one, rename it so it doesn't end with .cs, and see what happens.
Uhhhh is offline   Reply With Quote
Old 05-17-2006, 05:09 PM   #7 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 38
Posts: 4,964
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

Yeah they are identical. Just ran them both through winmerge, so your best bet would be to rename the extension on one of the files from .cs to .bak then start up the server and see if that took care of the errors. If more errors pop up be sure to post them, and we'll see if we can help
__________________
In some cases stupid makes you win-Radwen
Johabius is offline   Reply With Quote
Old 05-17-2006, 05:58 PM   #8 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default

here guys, my new set of errors, hehe, sorry,

Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0234: (line 1893, column 30) The ty
pe or namespace name 'BOBFilter' does not exist in the class or namespace 'Serve
r.Engines.BulkOrders' (are you missing an assembly reference?)
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0234: (line 1896, column 29) The ty
pe or namespace name 'BOBFilter' does not exist in the class or namespace 'Serve
r.Engines.BulkOrders' (are you missing an assembly reference?)
- Error: Scripts\Engines\BulkOrders\Books\BulkOrderBook.cs: CS0246: (line 15, c
olumn 11) The type or namespace name 'BOBFilter' could not be found (are you mis
sing a using directive or an assembly reference?)
- Error: Scripts\Engines\BulkOrders\Books\BulkOrderBook.cs: CS0246: (line 38, c
olumn 10) The type or namespace name 'BOBFilter' could not be found (are you mis
sing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

see wat u can do, hehe
schlankster is offline   Reply With Quote
Old 05-17-2006, 06:22 PM   #9 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 38
Posts: 4,964
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

Eeep...looks like you'll at least have to put that BoBFilter file back to a .cs file after all. I'll leave the rest up to people smarter than me
__________________
In some cases stupid makes you win-Radwen
Johabius is offline   Reply With Quote
Old 05-17-2006, 06:27 PM   #10 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default

ok mate, thanks for trying, if anybody else wants to add anything, please do
schlankster is offline   Reply With Quote
Old 05-17-2006, 06:34 PM   #11 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 288
Default

Quote:
Originally Posted by schlankster
here guys, my new set of errors, hehe, sorry,

Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0234: (line 1893, column 30) The ty
pe or namespace name 'BOBFilter' does not exist in the class or namespace 'Serve
r.Engines.BulkOrders' (are you missing an assembly reference?)
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0234: (line 1896, column 29) The ty
pe or namespace name 'BOBFilter' does not exist in the class or namespace 'Serve
r.Engines.BulkOrders' (are you missing an assembly reference?)
- Error: Scripts\Engines\BulkOrders\Books\BulkOrderBook.cs: CS0246: (line 15, c
olumn 11) The type or namespace name 'BOBFilter' could not be found (are you mis
sing a using directive or an assembly reference?)
- Error: Scripts\Engines\BulkOrders\Books\BulkOrderBook.cs: CS0246: (line 38, c
olumn 10) The type or namespace name 'BOBFilter' could not be found (are you mis
sing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

see wat u can do, hehe
What precisely did you do to cause it to give those errors?

Do you have at least 1 of those files still within your Scripts folder?

I think part of your problem might be you have BOBFilter.cs and BOBFilterGump.cs, which are the same, when they should be different files. Did you perhaps overwrite BOBFilter.cs with a copy of BOBFilterGump.cs, resulting in 2 identical files??

The only thing I could really think to try, would be to remove both of those files, and re-copy them from daat's package.

*edit: I looked in the stock RunUO scripts, and both of those files exist, but they are not the same, like the files you posted.
Uhhhh is offline   Reply With Quote
Old 05-17-2006, 06:38 PM   #12 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default

i tried deleteing them earlier and getting them from daats package, but didnt work, if i put it back in, it gives me one error, complaining that they are both the same basically, but i take one out, and it moans even more, so i think u are rite in saying, one is wrong and shud be something else, anybody with it know?
schlankster is offline   Reply With Quote
Old 05-17-2006, 06:44 PM   #13 (permalink)
Forum Expert
 
Join Date: Feb 2006
Posts: 288
Default

Quote:
Originally Posted by schlankster
i tried deleteing them earlier and getting them from daats package, but didnt work, if i put it back in, it gives me one error, complaining that they are both the same basically, but i take one out, and it moans even more, so i think u are rite in saying, one is wrong and shud be something else, anybody with it know?
Ok, here's my guess at what you need to do, after downloading daat's OWLTR:

- daat's package only comes with a custom BOBFilterGump.cs, put that in your scripts folder, delete the original stock RunUO one.
- Replace BOBFilter.cs (NOT the gump!) with one from the stock RunUO Scripts package.

Try that, see what happens, post the error Hope this helps!
Uhhhh is offline   Reply With Quote
Old 05-17-2006, 07:13 PM   #14 (permalink)
 
Join Date: May 2004
Age: 22
Posts: 12
Send a message via MSN to schlankster
Default

ok well, i tried all that, and got annoyed, so left it for now, re made shard, cause cudnt put it back to how it was, will do on a practise shard some other time, lol, oh well, thanks anyways for all ur help guys
schlankster 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