alchemy

Member
ServUO Version
Publish 57
Ultima Expansion
Mondain's Legacy
Dear all,

I have a strange behavior, using the latest ServUO release.
When I change something in ./Scripts, let's say for example MapDefinition.cs, I have to recompile all using _winrelease.bat instead of just running ServUO.exe and get the recompiliation of my scripts changes.

ServUO.exe does not capture my mofifications in ./Scripts

Do you have a suggestions to overcome this?

Alchemy
 
You have Pub 57 listed? Is that accurate or are you using Pub 58? Because with pub 58, you do require a recompile unlike 57 where it is done on start up!
 
Hello voxpire,

I already tried to switch to "False" or "True" or "false" or "true" the only parameter called "Dynamic" of the compiler config, which do the same behavior: touching a file does not trigger the re-compilation of the file. I've tried on another WIndows machine with other dotnet, same result unfortunately.


Compiler.cfg:
# Forces scripts to be compiled at runtime.
# This is a legacy feature that was originally provided by the core.
Dynamic=True

My case seems weird...

Even adding this in the Scripts.csproj didn't make the compiler detected the touched file:
C#:
    <ItemGroup> <Compile Include="**/*.cs" /> </ItemGroup>
 
Last edited:
Both versions have a Compiler.cfg
Maybe I am confused, I know they have to be compiled to start, but with 57, we can edit a script and it is applied on next restart, no need to recompile, where as 58, we need to recompile to implement the script edits! Did you change 57 to work like 58?
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back