Hi

When I enter one of my buildings it always crashes. Here is the crash log:

Server Crash Report
===================
ServUO Version 0.5, Build 6472.26597
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 9/6/2019 5:59:11 AM
Mobiles: 13986
Items: 893696
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at VitaNex.Network.ExtendedOPL.Apply()
at VitaNex.Items.BaseNameDeed`1.GetProperties(ObjectPropertyList list)
at Server.Item.get_PropertyList() in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Item.cs:line 2183
at Server.Item.get_OPLPacket() in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Item.cs:line 2163
at Server.Item.SendInfoTo(NetState state, Boolean sendOplPacket) in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Item.cs:line 3580
at Server.Mobile.SetLocation(Point3D newLocation, Boolean isTeleport) in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Mobile.cs:line 9942
at Server.Mobiles.PlayerMobile.SetLocation(Point3D loc, Boolean isTeleport)
at Server.Mobile.Move(Direction d) in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Mobile.cs:line 3335
at Server.Mobiles.PlayerMobile.Move(Direction d)
at Server.Network.PacketHandlers.MovementReq(NetState state, PacketReader pvSrc) in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Network\PacketHandlers.cs:line 1764
at Server.Network.MessagePump.HandleReceive(NetState ns) in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Network\MessagePump.cs:line 187
at Server.Network.MessagePump.Slice() in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Network\MessagePump.cs:line 121
at Server.Core.Main(String[] args) in c:\Users\Ted Gress\Desktop\ServUO-master reboot\ServUO-master\ServUO-master\Server\Main.cs:line 588
Clients:
- Count: 1
+ 127.0.0.1: (account = ted_gress) (mobile = 0x397 'Arcadian')
 
Looks like it is all related to VitaNex which is odd cause I have the newest distro and the latest release of Vita and with the exception of an error that doesn't hurt anything on boot up I don't encounter this issue at all. Do you have the latest VitaNex? I know it's old but just starting at the basics.
 
Well that kind of backfired..lol

------------------------------------------------------------------------------------------------------------------------ ServUO - [https://www.servuo.com] Version 0.5, Build 6472.26597 Core: Optimizing for 4 64-bit processors RandomImpl: CSPRandom (Software) Core: Loading config... Scripts: Compiling C# scripts...Failed with: 9 errors, 3 warnings Warnings: + Customs/Player ItemsSTAR/life stone/Life_Stone_System/Life Stone System/Core/Core.cs: CS0105: Line 12: The using directive for 'Server.Commands' appeared previously in this namespace + Customs/Player ItemsSTAR/[ServUO.com]-Practice Weapons/[ServUO.com]-GraniteFurnessAddon.cs: CS0105: Line 2: The using directive for 'System' appeared previously in this namespace + Customs/_scripts/custom detect hidden/CustomDetectHidden/CustomDetectHidden.cs: CS0105: Line 14: The using directive for 'Server.Mobiles' appeared previously in this namespace Errors: + Customs/Core-5.2.0.0/Items/Fireworks/Components/Stars/BaseFireworkStar.cs: CS0246: Line 251: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/Items/Fireworks/Components/FireworkComponent.cs: CS0246: Line 85: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/Items/Fireworks/Rockets/BaseFireworkRocket.cs: CS0246: Line 370: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/Items/Fireworks/BaseFirework.cs: CS0246: Line 222: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/Misc/SpawnZone.cs: CS0227: Line 343: Unsafe code may only appear if compiling with /unsafe + Customs/Core-5.2.0.0/Modules/AutoPVP/Objects/Battle/Battle.cs: CS0246: Line 70: The type or namespace name 'CheckEquipItemEventArgs' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/SuperCrafts/Framework/SuperCraft.cs: CS0246: Line 75: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/SuperCrafts/Pyrotechnics.cs: CS0246: Line 43: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?) + Customs/Core-5.2.0.0/Text/UOFont.cs: CS0227: Line 215: Unsafe code may only appear if compiling with /unsafe CS0227: Line 689: 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.
Post automatically merged:

It looks like its looking for the interface ITool
 
I don't understand. I am using 0.5 servUO and the core with no issues at all, fresh install. :( Wish I could be of more help. Maybe @Voxpire the creator might have a suggestion.

C#:
ServUO - [https://www.servuo.com] Version 0.5, Build 7186.19061 - Build on 9/4/2019 10:35:22 AM UTC - Release
Core: Optimizing for 8 64-bit processors
Core: Compiled for .NET MONO/CSC/Unknown
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...done (cached)
Scripts: Verifying...
Finished (6279 items, 1461 mobiles, 5 customs) (1.01 seconds)
Searching for Ultima Online installations...
Config: Warning, using default value for DataPath.CustomPath
Found 1 Ultima Online installations:
D:\Programs\Ultima Online
DataPath: D:\Programs\Ultima Online
[VitaNexCore]: [UOFont]: Preloaded (Unicode, 0, 65536)
[VitaNexCore]: [UOFont]: Preloaded (Unicode, 1, 65536)

                                                                                                                                                                                                                                                                                            **** VITA-NEX: CORE 5.2.0.0 ****                                                                                                                                                                       Root Directory:     .\Scripts\Custom\Systems\VitaNex\Core\                                                              Working Directory:  .\VitaNexCore\                                                                                                                                                                                                                                                           http://core.vita-nex.com                                                                                                                                                                                                                                                                                               
[VitaNexCore]:
[VitaNexCore]: Compile action started...
[VitaNexCore]: Compiling Services...
[VitaNexCore]: Compiling Modules...
[VitaNexCore]: Compile action completed in 0.01 seconds
[VitaNexCore]:
[VitaNexCore]: Configure action started...
[VitaNexCore]: Configuring Services...
[VitaNexCore]: Configuring Modules...
[VitaNexCore]: Configure action completed in 0.63 seconds
Regions: Loading...done
World: Loading...
...done (147871 items, 12196 mobiles, 2 customs) (2.54 seconds)
ServerList: Auto-detecting public IP address...
ServerList: >>> services.servuo.com
ServerList: >>> api.ipify.org
ServerList: <<< 75.86.213.36
ServerList: Done: '75.86.213.36'
Restricting classic client version to 7.0.77.4. Action to be taken: LenientKick
Restricting enhanced client version to 67.0.59.0 SA. Action to be taken: Kick
[Honesty]: Generating...
[Honesty]: Generation completed in 0.00 seconds.
19:29:41   Account: fcondon... done.
19:29:41 VitaNexCore]:
19:29:41 VitaNexCore]: Load action started...
19:29:41 VitaNexCore]: Loading Services...
19:29:41 VitaNexCore]: Loading Modules...
19:29:41 VitaNexCore]: Load action completed in 0.02 seconds
19:29:41 VitaNexCore]:
19:29:41 VitaNexCore]: Invoke action started...
19:29:41 VitaNexCore]: Invoking Services...
19:29:41 VitaNexCore]: Invoking Modules...
19:29:41 VitaNexCore]: Invoke action completed in 0.06 seconds
19:29:41 Listening: 169.254.226.221:2593
19:29:41 Listening: 169.254.68.192:2593
19:29:41 Listening: 169.254.175.110:2593
19:29:41 Listening: 192.168.1.131:2593
19:29:41 Listening: 127.0.0.1:2593
19:29:41 ----------------------------------------------------------------------
 
Alright, I'll address each error;
+ Customs/Core-5.2.0.0/Items/Fireworks/Components/Stars/BaseFireworkStar.cs:
CS0246: Line 251: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)

+ Customs/Core-5.2.0.0/Items/Fireworks/Components/FireworkComponent.cs:
CS0246: Line 85: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)

+ Customs/Core-5.2.0.0/Items/Fireworks/Rockets/BaseFireworkRocket.cs:
CS0246: Line 370: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)

+ Customs/Core-5.2.0.0/Items/Fireworks/BaseFirework.cs:
CS0246: Line 222: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)

+ Customs/Core-5.2.0.0/SuperCrafts/Framework/SuperCraft.cs:
CS0246: Line 75: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)

+ Customs/Core-5.2.0.0/SuperCrafts/Pyrotechnics.cs:
CS0246: Line 43: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)
All of these errors can be fixed by updating the core (they are all the same error).
In older ServUO versions, ITool did not exist, and these methods used BaseTool instead.
Two options:
Update your core and craft systems with the new ITool way of doing things, or edit the Vita-Nex: Core files to use BaseTool.
(I recommend the latter, it will be easier)

+ Customs/Core-5.2.0.0/Misc/SpawnZone.cs:
CS0227: Line 343: Unsafe code may only appear if compiling with /unsafe

+ Customs/Core-5.2.0.0/Text/UOFont.cs:
CS0227: Line 215: Unsafe code may only appear if compiling with /unsafe
CS0227: Line 689: Unsafe code may only appear if compiling with /unsafe
You need to update ScriptCompiler.cs - you can probably just take the entire file from the latest ServUO and replace it.
If not, you need to edit and add a compiler definition for "/unsafe"

+ Customs/Core-5.2.0.0/Modules/AutoPVP/Objects/Battle/Battle.cs:
CS0246: Line 70: The type or namespace name 'CheckEquipItemEventArgs' could not be found (are you missing a using directive or an assembly reference?)

You need to update EventSink and add the handler for this missing event.
 
  • Like
Reactions: ExX
I am running the newest version of Vita-Nex Core. I looked in the files that use ITool and they all have


public override int OnCraft(
int quality,
bool makersMark,
Mobile m,
CraftSystem craftSystem,
Type typeRes,
#if ServUO
ITool tool,
#else
BaseTool tool,
#endif
CraftItem craftItem,
int resHue)
{
(for example)

So is it using BaseTool already? I don't understand.
Post automatically merged:

Ok. Let's do this then.

All of these errors can be fixed by updating the core (they are all the same error).
@Voxpire, I thought when I copied the vita-nex core 5 files in the script folder I did update the core?
And doing that is what broke everything.
 
Last edited:
@Voxpire,

All of these errors can be fixed by updating the core (they are all the same error).
In older ServUO versions, ITool did not exist, and these methods used BaseTool instead.

@Voxpire When you say updating the core, you mean updating updating Vit-Nex, right? If so, I did and that's when the errors began.

Would you recommend upgrading my SerVUO? Would that make things cohesive?

Two options:
Update your core and craft systems with the new ITool way of doing things,
Ok if by update my core you mean Vita-Nex then yes, I've already done that I believe. I think I'm getting Vita-Nex and the ServUO "core" mixed up. As far as craft system, I have no idea how to update my craft system.

ior edit the Vita-Nex: Core files to use BaseTool.

I don't mind updating the core and craft systems with the new iTool way if everything is going to be using BaseTool in the future I'd like to
take are of this before I can't anymore if you understand me?

Please give me a hand.




.
 
Update your server core files and recompile your exe, is what I mean.

Those methods are not using BaseTool, just do what I said and rename ITool to BaseTool.
 
Shoot. I forgot I have a bunch of custom buildings. Are those going to be erased when I get the new server? Is there any way to keep them? (like back it up somehow?)
Post automatically merged:

Ok
Post automatically merged:

@Voxpire Hey I corrected those errors from before and got some more.

Customs/Core-5.2.0.0/Misc/SpawnZone.cs:
CS0227: Line 343: Unsafe code may only appear if compiling with /unsafe
+ Customs/Core-5.2.0.0/Modules/AutoPVP/Objects/Battle/Battle.cs:
CS0246: Line 87: The type or namespace name 'CheckEquipItemEventArgs' could not be found (are you missing a using directive or an assembly reference?)
+ Customs/Core-5.2.0.0/SuperCrafts/Framework/SuperCraft.cs:
CS0246: Line 75: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)
+ Customs/Core-5.2.0.0/SuperCrafts/Pyrotechnics.cs:
CS0246: Line 43: The type or namespace name 'ITool' could not be found (are you missing a using directive or an assembly reference?)
+ Customs/Core-5.2.0.0/Text/UOFont.cs:
CS0227: Line 215: Unsafe code may only appear if compiling with /unsafe
CS0227: Line 689: Unsafe code may only appear if compiling with /unsafe
Scripts: One or more scripts failed to compile or no script files were found.
Post automatically merged:

I don't know what to put in the handler.
Post automatically merged:

So I looked at EventSink and found this method:

public delegate void CheckEquipItemEventHandler(CheckEquipItemEventArgs e);

Also I found

public class CheckEquipItemEventArgs : EventArgs { public Mobile Mobile { get; private set; } public Item Item { get; private set; } public bool Message { get; private set; } public bool Block { get; set; } public CheckEquipItemEventArgs(Mobile m, Item item, bool message) { Mobile = m; Item = item; Message = message; } }

I get that the error is that it can't find CheckEquipItemEventArgs. That makes no sense at all since I'm including the namespace Server.
So I'm lost.
Post automatically merged:

Is there a way to get around the safe/unsafe blocks
?
Post automatically merged:

@Voxpire How do I implement the handler for CheckEqupItemEventArgs?
 
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back