actually i tried the edit button it wouldnt let me post them . so i just said screw it and reposted again
ok i did those fixes but now im getting a error i wasnt getting before
now i looked in my code and on that line there is a }
ok i tried different ways of doing it and still can't figure that one out. if i add another } at that line then it says invalid case and mising;
this is the lines it is talking about
when i add a } this is the error i get
ok i did those fixes but now im getting a error i wasnt getting before
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ custom/other/Level System - 3/Distros/PlayerMobile.cs:
CS1513: Line 3688: } expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
now i looked in my code and on that line there is a }
ok i tried different ways of doing it and still can't figure that one out. if i add another } at that line then it says invalid case and mising;
this is the lines it is talking about
Code:
if (Hidden) //Hiding is the only buff where it has an effect that's serialized.
AddBuff(new BuffInfo(BuffIcon.HidingAndOrStealth, 1075655));
} [COLOR="Red"]<--line 3688[/COLOR]
public override void Serialize(GenericWriter writer)
when i add a } this is the error i get
Code:
Errors:
+ custom/other/Level System - 3/Distros/PlayerMobile.cs:
CS1525: Line 3398: Invalid expression term 'case'
CS1002: Line 3398: ; expected
CS1525: Line 3398: Invalid expression term ':'
CS1002: Line 3398: ; expected
CS1525: Line 3446: Invalid expression term 'case'
CS1002: Line 3446: ; expected
CS1525: Line 3446: Invalid expression term ':'
CS1002: Line 3446: ; expected
CS1525: Line 3463: Invalid expression term 'case'
CS1002: Line 3463: ; expected
CS1525: Line 3463: Invalid expression term ':'
CS1002: Line 3463: ; expected
CS1525: Line 3468: Invalid expression term 'case'
CS1002: Line 3468: ; expected
CS1525: Line 3468: Invalid expression term ':'
CS1002: Line 3468: ; expected
CS1525: Line 3473: Invalid expression term 'case'
CS1002: Line 3473: ; expected
CS1525: Line 3473: Invalid expression term ':'
CS1002: Line 3473: ; expected
CS1525: Line 3478: Invalid expression term 'case'
CS1002: Line 3478: ; expected
CS1525: Line 3478: Invalid expression term ':'
CS1002: Line 3478: ; expected
CS1525: Line 3484: Invalid expression term 'case'
CS1002: Line 3484: ; expected
CS1525: Line 3484: Invalid expression term ':'
CS1002: Line 3484: ; expected
CS1525: Line 3491: Invalid expression term 'case'
CS1002: Line 3491: ; expected
CS1525: Line 3491: Invalid expression term ':'
CS1002: Line 3491: ; expected
CS1525: Line 3502: Invalid expression term 'case'
CS1002: Line 3502: ; expected
CS1525: Line 3502: Invalid expression term ':'
CS1002: Line 3502: ; expected
CS1525: Line 3508: Invalid expression term 'case'
CS1002: Line 3508: ; expected
CS1525: Line 3508: Invalid expression term ':'
CS1002: Line 3508: ; expected
CS1525: Line 3509: Invalid expression term 'case'
CS1002: Line 3509: ; expected
CS1525: Line 3509: Invalid expression term ':'
CS1002: Line 3509: ; expected
CS1525: Line 3539: Invalid expression term 'case'
CS1002: Line 3539: ; expected
CS1525: Line 3539: Invalid expression term ':'
CS1002: Line 3539: ; expected
CS1525: Line 3544: Invalid expression term 'case'
CS1002: Line 3544: ; expected
CS1525: Line 3544: Invalid expression term ':'
CS1002: Line 3544: ; expected
CS1525: Line 3553: Invalid expression term 'case'
CS1002: Line 3553: ; expected
CS1525: Line 3553: Invalid expression term ':'
CS1002: Line 3553: ; expected
CS1525: Line 3554: Invalid expression term 'case'
CS1002: Line 3554: ; expected
CS1525: Line 3554: Invalid expression term ':'
CS1002: Line 3554: ; expected
CS1525: Line 3559: Invalid expression term 'case'
CS1002: Line 3559: ; expected
CS1525: Line 3559: Invalid expression term ':'
CS1002: Line 3559: ; expected
CS1525: Line 3571: Invalid expression term 'case'
CS1002: Line 3571: ; expected
CS1525: Line 3571: Invalid expression term ':'
CS1002: Line 3571: ; expected
CS1525: Line 3586: Invalid expression term 'case'
CS1002: Line 3586: ; expected
CS1525: Line 3586: Invalid expression term ':'
CS1002: Line 3586: ; expected
CS1525: Line 3598: Invalid expression term 'case'
CS1002: Line 3598: ; expected
CS1525: Line 3598: Invalid expression term ':'
CS1002: Line 3598: ; expected
CS1525: Line 3605: Invalid expression term 'case'
CS1002: Line 3605: ; expected
CS1525: Line 3605: Invalid expression term ':'
CS1002: Line 3605: ; expected
CS1525: Line 3610: Invalid expression term 'case'
CS1002: Line 3610: ; expected
CS1525: Line 3610: Invalid expression term ':'
CS1002: Line 3610: ; expected
CS1525: Line 3615: Invalid expression term 'case'
CS1002: Line 3615: ; expected
CS1525: Line 3615: Invalid expression term ':'
CS1002: Line 3615: ; expected
CS1525: Line 3620: Invalid expression term 'case'
CS1002: Line 3620: ; expected
CS1525: Line 3620: Invalid expression term ':'
CS1002: Line 3620: ; expected
CS1525: Line 3626: Invalid expression term 'case'
CS1002: Line 3626: ; expected
CS1525: Line 3626: Invalid expression term ':'
CS1002: Line 3626: ; expected
CS1525: Line 3633: Invalid expression term 'case'
CS1002: Line 3633: ; expected
CS1525: Line 3633: Invalid expression term ':'
CS1002: Line 3633: ; expected
CS1525: Line 3638: Invalid expression term 'case'
CS1002: Line 3638: ; expected
CS1525: Line 3638: Invalid expression term ':'
CS1002: Line 3638: ; expected
CS1525: Line 3645: Invalid expression term 'case'
CS1002: Line 3645: ; expected
CS1525: Line 3645: Invalid expression term ':'
CS1002: Line 3645: ; expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.