ServUO Version
Publish Unknown
Ultima Expansion
Endless Journey
I have tried updating to the higher .net but keep getting errors.

Now with out being alble to update to the higher .net framework as someone else mentioned i am stuck with these.

Testing/Oz'Thoth's Static Gump/StaticGump.cs:
CS1056: Line 38: Unexpected character '$'
CS1056: Line 85: Unexpected character '$'
CS1056: Line 86: Unexpected character '$'
CS1056: Line 87: Unexpected character '$'
CS1056: Line 96: Unexpected character '$'

And there were way more than those.
 

Attachments

  • StaticGump.cs
    15.9 KB · Views: 2
I decided to just slowly merge all my modified scripts into Pub57. Its gonna be a slow process. But probly well worth it. One more question though. Once done with my merger. Can i still use my save files from the other setup.?
 
If your original project is based on ServUO, then the serialization should be compatible so long as you're careful with the custom edits.
 
Yea its ServUO. Its only the playermobile and resource edits. And i marked them well. Just comparing the two for differences
 
Well Started adding the Mobiles in, And wow...

public override bool HasBreath{ get{ return true; } } Causing massive errors. But its a easy fix. atleast
 
Well got it done, But it wont load the saves. or backups. Keeps wanting to delete things then throws and exception. and shuts down. Plus vita nex is having this problem as well.

[VitaNexCore]: System.NullReferenceException: Object reference not set to an instance of an object.
at System.ObjectExtUtility.GetEventDelegates(Object obj, String eventName)
at VitaNex.VitaNexCore.Configure()

Here is the on wanting to delete stuff.

Error: Type 'Server.Engines.Quests.Valem' was not found. Delete all of those types? (y/n)
World: Loading...failed
Error: Type 'Server.Engines.Blackthorn.BeaconItem' was not found. Delete all of those types? (y/n)
World: Loading...Adjusting escort destination.
Adjusting escort destination.
An error was encountered while loading a saved object
- Type: Server.Engines.Blackthorn.InvasionBeacon
- Serial: 0x40000629
Delete the object? (y/n)
 
I have tried updating to the higher .net but keep getting errors.

Now with out being alble to update to the higher .net framework as someone else mentioned i am stuck with these.

Testing/Oz'Thoth's Static Gump/StaticGump.cs:
CS1056: Line 38: Unexpected character '$'
CS1056: Line 85: Unexpected character '$'
CS1056: Line 86: Unexpected character '$'
CS1056: Line 87: Unexpected character '$'
CS1056: Line 96: Unexpected character '$'

And there were way more than those.
@Voxpire is helping you but wanted to mention that it's super easy (but time consuming) to convert string interpolation

$"<basefont size=5 color=#332b00>{signlabel}"
would become
String.Format("<basefont size=5 color=#332b00>{0}", signlabel)

$"{fontStyle}{commonCommands.Name}"
would become
String.Format("{0}{1}", fontStyle, commonCommands.Name)

and as far as I'm aware, interpolation isn't needed at all here
$"<basefont size=5 color=#140B00>"
 
Yea i already switched to the pub57. Got one last error to work out. But this one doesn't stop it from loading. I never got the save to work so i am rebuilding all the stuff i froze. Never could get past it trying to delete this Blackthorn.BeaconItem. So i gave up. Don't really have a player base yet. Was just me and my brother. So no big loss.

[VitaNexCore]: System.NullReferenceException: Object reference not set to an instance of an object.
at System.ObjectExtUtility.GetEventDelegates(Object obj, String eventName)
at VitaNex.VitaNexCore.Configure()
 
Back