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 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.

It seems weird...

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

(by the way, the -nocache ServUO.exe command option seems not used in: ServUO/Server/ScriptCompiler.cs at pub57 · ServUO/ServUO as "cache" method parameter is never used)
 
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back