|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
Join Date: Jan 2007
Posts: 8
|
Hello, good friends.
I cannot even create adminstrative account in Runuo due to an error like below; Errors : + Mobiles/PlayerMobile.cs : CS1002: Line 3180: ; expected CS1002: Line 3181: ; expected CS1002: Line 3184: ; expected CS1528: Line 3185: ; Expected ; or = <cannot specify constructor arguments in declaration> Please tell me what I should do !! |
|
|
|
|
|
#5 (permalink) | |
|
Forum Expert
Join Date: Oct 2004
Location: Chesterton, IN
Age: 29
Posts: 288
|
Quote:
Open up PlayerMobile.cs. Look at lines 3180, 3181, 3184, and 3185....they seem to be missing the required semicolon end-of-line token necessary in the C# programming language....you need to add them in where they belong. If you want, paste in lines 3170 to 3190 or so, so that we can take a look. |
|
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
|
This is the code that needs to be fixed....It completey stumps me why it wants a ";" on line 3181....I just relized also that this computer dosnt have Visual C# anyone have any ideas?
Code:
if ( storeID == -1 )
**** {
******** storeID = hair ? HairItemID : FacialHairItemID;
******** storeHue = hair ? HairHue : FacialHairHue;
**** }
**** CreateHair( hair, id, 0 );
}
__________________
Everytime a puppy gets hit by a car from me smoking I take another drag, point, and laugh. |
|
|
|
|
|
#10 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
Quote:
Edit: lol just saw your edit, so why is it putting them there? |
|
|
|
|
|
|
#13 (permalink) |
|
Forum Expert
Join Date: Oct 2004
Location: Chesterton, IN
Age: 29
Posts: 288
|
Really strange...that is the exact code that's on my server, and it compiles fine.
Hrm. *stumped*. Do you have the latest SVN? May I also suggest downloading Visual C# Express, and seeing if using the IDE will help sort out the error? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|