xG00BERx

When putting in @Regnak new Smooth Boat Movement I ran into a error Which I have never ever delt with any perhaps someone can help me :)

I have the latest Publish and am Getting this Error!

Code:
Errors:
+ Fixes/NewBoats for ServUO Publish 54/Server/Item.cs:
    CS0227: Line 1040: Unsafe code may only appear if compiling with /unsafe
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

Thanks for your help!
 
You need to add /unsafe to your build arguments. This is where Visual Studio comes in handy, you can 2 click at it.

Your Compile.bat should be something similar to this:

Code:
SET PATH=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319
cd ..\Core
csc.exe /win32icon:runuo.ico /debug /nowarn:0618 /nologo /out:..\Shard\RunUO.exe /unsafe /recurse:*.cs /define:Framework_4_0 /optimize
cd ..
PAUSE

Note where /unsafe is located. Somebody may have a cleaner or more updated version, I just build from within VS.
 
Today at school I will be looking more into this issue as well as downloading a new clean version of the latest repo and try it on my laptop to see how that goes... Either way I will look into that /Unclean crap and perhaps try and see what I can do about fixing it so nobody gets the issue ever!

Thanks for the help I will get back to y'all sometime today or tomorrow!
 
Back