ruaduck

Platinum Sponsor
Vita-Nex Sponsor
Just got my server up and running in my house. It is a PowerEdge 2950 with Windows Server 2016. Downloaded the most current version and installed .net 4.7.2 and Compiled with Complie.WIN - debug.

Get this crash report when i try to use [createworld

Code:
Server Crash Report
===================

ServUO Version 0.5, Build 7281.35992
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 12/9/2019 3:01:16 AM
Mobiles: 400
Items: 6944
Exception:
System.DllNotFoundException: Unable to load DLL 'zlibwapi64': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Server.Network.Compressor64.SafeNativeMethods.compress2(Byte[] dest, Int32& destLength, Byte[] source, Int32 sourceLength, ZLibQuality quality)
   at Server.Network.Compressor64.Compress(Byte[] dest, Int32& destLength, Byte[] source, Int32 sourceLength, ZLibQuality quality) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Compression.cs:line 281
   at Server.Network.Compression.Pack(Byte[] dest, Int32& destLength, Byte[] source, Int32 sourceLength, ZLibQuality quality) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Compression.cs:line 199
   at Server.Network.DisplayGumpPacked.WritePacked(PacketWriter src) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Packets.cs:line 2983
   at Server.Network.DisplayGumpPacked.Flush() in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Packets.cs:line 2942
   at Server.Gumps.Gump.Compile(NetState ns) in C:\Users\Administrator\Downloads\ServUO-master\Server\Gumps\Gump.cs:line 474
   at Server.Gumps.Gump.SendTo(NetState state) in C:\Users\Administrator\Downloads\ServUO-master\Server\Gumps\Gump.cs:line 406
   at Server.Mobile.SendGump(Gump g, Boolean throwOnOffline) in C:\Users\Administrator\Downloads\ServUO-master\Server\Mobile.cs:line 7548
   at Server.Gumps.BaseGump.SendGump() in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Gumps\BaseGump.cs:line 82
   at Server.Gumps.BaseGump.SendGump(BaseGump gump) in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Gumps\BaseGump.cs:line 73
   at Server.Commands.CreateWorld.Create_OnCommand(CommandEventArgs e) in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Commands\CreateWorld.cs:line 108
   at Server.Commands.CommandSystem.Handle(Mobile from, String text, MessageType type) in C:\Users\Administrator\Downloads\ServUO-master\Server\Commands.cs:line 258
   at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) in C:\Users\Administrator\Downloads\ServUO-master\Server\Mobile.cs:line 5083
   at Server.Mobiles.PlayerMobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Mobiles\PlayerMobile.cs:line 4275
   at Server.Network.PacketHandlers.UnicodeSpeech(NetState state, PacketReader pvSrc) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\PacketHandlers.cs:line 1626
   at Server.Network.MessagePump.HandleReceive(NetState ns) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\MessagePump.cs:line 342
   at Server.Network.MessagePump.Slice() in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\MessagePump.cs:line 136
   at Server.Core.Main(String[] args) in C:\Users\Administrator\Downloads\ServUO-master\Server\Main.cs:line 674

Clients:
- Count: 1
+ 10.0.0.252: (account = ruaduck) (mobile = 0x190 'TIdus')

On the ServUO.exe

Code:
Scripts: Compiling C# scripts...done (cached)
Scripts: Verifying...
Finished (5918 items, 1359 mobiles, 3 customs) (1.39 seconds)
Config: Warning, using default value for DataPath.CustomPath
DataPath: E:\Electronic Arts\Ultima Online Classic\
Regions: Loading...done
World: Loading...
...done (6946 items, 400 mobiles, 0 customs) (0.58 seconds)
ServerList: Auto-detecting public IP address...
ServerList: >>> services.servuo.com
ServerList: >>> api.ipify.org
ServerList: <<< 174.52.151.31
ServerList: Done: '174.52.151.31'
Restricting classic client version to 7.0.83.27. 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.
Listening: 169.254.176.1:2593
Listening: 10.0.0.211:2593
Listening: 127.0.0.1:2593
 

Falkor

Squire
Windows Server may also not let you access DLL files that aren't in known "safe" locations, and/or it may require you to run the server as administrator.
 

ruaduck

Platinum Sponsor
Vita-Nex Sponsor
Still a no go. Ran everything as Admin.

Code:
ServUO - [https://www.servuo.com] Version 0.5, Build 7281.36642 - Build on 12/8/2019 8:21:24 PM UTC - Debug
Core: Running with arguments: -debug
Core: Optimizing for 8 64-bit processors
Core: Compiled for .NET MONO/CSC/Unknown
RandomImpl: CSPRandom (Software)
Core: Loading config...

Accounts.AccountsPerIp=1
Accounts.AutoCreateAccounts=True
[email protected]=True
Accounts.DeleteDelay=07:00:00:00
Accounts.PasswordCommandEnabled=False
Accounts.ProtectPasswords=NewCrypt
AutoRestart.Enabled=False
AutoRestart.Hour=12
AutoRestart.Minute=0
AutoRestart.Frequency=24
AutoSave.Enabled=True
AutoSave.Frequency=00:00:05:00
AutoSave.WarningTime=00:00:00:15
AutoSave.ArchivesEnabled=False
AutoSave.Duration=3
AutoSave.ArchiveDestination=
Champions.Enabled=true
Champions.RotateDelay=01:00:00:00
Champions.GoldPiles=50
Champions.GoldMin=4000
Champions.GoldMax=5500
Champions.HarrowerGoldPiles=75
Champions.HarrowerGoldMin=5000
Champions.HarrowerGoldMax=10000
Champions.PowerScrolls=6
Champions.StatScrolls=16
Champions.ScrollChance=0.1
Champions.TranscendenceChance=50.0
Champions.Rank2RedSkulls=5
Champions.Rank3RedSkulls=10
Champions.Rank4RedSkulls=13
Champions.Rank1MaxKills=256
Champions.Rank2MaxKills=128
Champions.Rank3MaxKills=64
Champions.Rank4MaxKills=32
Chat.Enabled=True
Chat.AllowCreateChannels=True
CityLoyalty.Enabled=True
CityLoyalty.JoinWait=7
CityLoyalty.BannerCost=250000
CityLoyalty.BannerCooldown=24
CityLoyalty.TradeDealPeriod=7
CityLoyalty.TradeDealCooldown=7
CityLoyalty.TradeDealCost=2000000
CityLoyalty.TradeDealUtilizationPeriod=24
CityLoyalty.MaxBallotBoxes=10
CityLoyalty.AnnouncementPeriod=48
CityTrading.TurnInGold=10000
CityTrading.CrateDuration=24
CityTrading.AmbushWaitDuration=5
CityTrading.AmbusherDelete=10
Client.AllowRegular=true
Client.AllowUOTD=true
Client.AllowGod=true
Client.AllowEC=true
Client.KickDelay=20
DailyRares.Enabled=True
Email.EmailServer=
Email.EmailPort=25
Email.EmailSsl=False
Email.FromAddress=
Email.CrashAddresses=
Email.SpeechLogPageAddresses=
Email.EmailUsername=
Email.EmailPassword=
Expansion.CurrentExpansion=EJ
Factions.NewCoMLocation=True
General.Metrics=False
General.ShowStaffOffline=True
General.SupportEmail=
General.SupportWebsite=
General.DefaultItemDecayTime=60
General.RestrictRedsToFel=True
Honesty.Enabled=True
Honesty.MaxGeneration=1000
Honesty.TrammelGeneration=True
Housing.AccountHouseLimit=1
Loot.FeluccaLuckBonus=1000
Loot.FeluccaBudgetBonus=100
Loot.MaxBaseBudget=700
Loot.MinBaseBudget=150
Loot.MaxAdjustedBudget=1450
Loot.MinAdjustedBudget=150
Loot.MaxProps=11
Loot.CanPOFJewelry=False
PlayerCaps.SkillCap=1000
PlayerCaps.TotalSkillCap=7000
PlayerCaps.TotalStatCap=225
PlayerCaps.StrCap=125
PlayerCaps.DexCap=125
PlayerCaps.IntCap=125
PlayerCaps.StrMaxCap=150
PlayerCaps.DexMaxCap=150
PlayerCaps.IntMaxCap=150
PlayerCaps.StatCap=125
PlayerCaps.EnablePlayerStatTimeDelay=false
PlayerCaps.PlayerStatTimeDelay=00:00:15:00
PlayerCaps.EnablePetStatTimeDelay=false
PlayerCaps.PetStatTimeDelay=00:00:05:00
PlayerCaps.EnableAntiMacro=False
PlayerCaps.PlayerChanceToGainStats=5.0
PlayerCaps.PetChanceToGainStats=5.0
Reports.AutoGenerate=false
Reports.Path=reports
Server.Name=My Shard
Server.AutoDetect=True
[email protected]=
[email protected]=2593
Shadowguard.ReadyDuration=30
Shadowguard.RandomizeInstances=False
Siege.IsSiege=false
Siege.CharacterSlots=7
Staff.Staffbody=False
Staff.UseColoring=True
Staff.GiveBoots=True
Staff.CutHair=False
Staff.CutFacialHair=False
Staff.Owner=1001
Staff.Developer=1001
Staff.Administrator=1001
Staff.Seer=467
Staff.GameMaster=39
Staff.Counselor=3
Store.Enabled=True
Store.Expansion=TOL
Store.Website=https://uo.com/ultima-store/
Store.CurrencyImpl=Sovereigns
Store.ResolveCurrency=
Store.CurrencyName=Sovereigns
Store.CurrencyDisplay=True
Store.PointsImpl=None
Store.CostMultiplier=1.0
Store.CartCapacity=10
TestCenter.Enabled=False
TreasureMaps.Enabled=True
TreasureMaps.LootChance=.01
TreasureMaps.ResetTime=30.0
Vendors.RestockDelay=60
Vendors.MaxSell=500
Vendors.BuyItemChange=1000
Vendors.SellItemChange=1000
Vendors.EconomyStockAmount=500
Vendors.BribeDecayMinTime=25
Vendors.BribeDecayMaxTime=30
VetRewards.Enabled=True
VetRewards.AgeCheckOnUse=False
VetRewards.SkillCapRewards=False
VetRewards.SkillCapBonus=200
VetRewards.SkillCapBonusLevels=4
VetRewards.RewardInterval=30:00:00:00
VetRewards.StartingLevel=0
VvV.Enabled=True
VvV.StartSilver=2000
VvV.EnhancedRules=False
XmlSpawner2.Sockets=false
XmlSpawner2.Points=false
XmlSpawner2.Factions=false

Scripts: Compiling C# scripts...Finished with: 0 errors, 0 warnings
Scripts: Verifying...
Finished (5918 items, 1359 mobiles, 3 customs) (1.45 seconds)
Config: Warning, using default value for DataPath.CustomPath
DataPath: E:\Electronic Arts\Ultima Online Classic\
Regions: Loading...done
World: Loading...
...done (6950 items, 400 mobiles, 0 customs) (1.07 seconds)
ServerList: Auto-detecting public IP address...
ServerList: >>> services.servuo.com
ServerList: >>> api.ipify.org
ServerList: <<< 174.52.151.31
ServerList: Done: '174.52.151.31'
Restricting classic client version to 7.0.83.27. 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.
Listening: 169.254.176.1:2593
Listening: 10.0.0.211:2593
Listening: 127.0.0.1:2593
----------------------------------------------------------------------
Client: 10.0.0.252: Connected. [1 Online]
Login: 10.0.0.252: Invalid password for 'ruaduck'
Client: 10.0.0.252: Disconnected. [0 Online]
Client: 10.0.0.252: Connected. [1 Online]
Login: 10.0.0.252: Valid credentials for 'ruaduck'
Client Type: 10.0.0.252: Classic Client
Client: 10.0.0.252: Connected. [2 Online]
Client: 10.0.0.252: Disconnected. [1 Online] [ruaduck]
Login: 10.0.0.252: Account 'ruaduck' at character list
ruaduck: 1 / 7 [SixthCharacterSlot, ExpansionSA, SeventhCharacterSlot]
Client: 10.0.0.252: Entered World (0x190 "TIdus")
Core: Using dual save strategy
World: Saving...
Closing Save Files.
Save finished in 0.27 seconds.
[Honesty]: Generating...
[Honesty]: Generation completed in 0.00 seconds.
Error:
System.DllNotFoundException: Unable to load DLL 'zlibwapi64': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Server.Network.Compressor64.SafeNativeMethods.compress2(Byte[] dest, Int32& destLength, Byte[] source, Int32 sourceLength, ZLibQuality quality)
   at Server.Network.Compressor64.Compress(Byte[] dest, Int32& destLength, Byte[] source, Int32 sourceLength, ZLibQuality quality) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Compression.cs:line 281
   at Server.Network.Compression.Pack(Byte[] dest, Int32& destLength, Byte[] source, Int32 sourceLength, ZLibQuality quality) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Compression.cs:line 199
   at Server.Network.DisplayGumpPacked.WritePacked(PacketWriter src) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Packets.cs:line 2983
   at Server.Network.DisplayGumpPacked.Flush() in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\Packets.cs:line 2942
   at Server.Gumps.Gump.Compile(NetState ns) in C:\Users\Administrator\Downloads\ServUO-master\Server\Gumps\Gump.cs:line 474
   at Server.Gumps.Gump.SendTo(NetState state) in C:\Users\Administrator\Downloads\ServUO-master\Server\Gumps\Gump.cs:line 406
   at Server.Mobile.SendGump(Gump g, Boolean throwOnOffline) in C:\Users\Administrator\Downloads\ServUO-master\Server\Mobile.cs:line 7548
   at Server.Gumps.BaseGump.SendGump() in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Gumps\BaseGump.cs:line 82
   at Server.Gumps.BaseGump.SendGump(BaseGump gump) in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Gumps\BaseGump.cs:line 73
   at Server.Commands.CreateWorld.Create_OnCommand(CommandEventArgs e) in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Commands\CreateWorld.cs:line 108
   at Server.Commands.CommandSystem.Handle(Mobile from, String text, MessageType type) in C:\Users\Administrator\Downloads\ServUO-master\Server\Commands.cs:line 258
   at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) in C:\Users\Administrator\Downloads\ServUO-master\Server\Mobile.cs:line 5083
   at Server.Mobiles.PlayerMobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) in C:\Users\Administrator\Downloads\ServUO-master\Scripts\Mobiles\PlayerMobile.cs:line 4275
   at Server.Network.PacketHandlers.UnicodeSpeech(NetState state, PacketReader pvSrc) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\PacketHandlers.cs:line 1626
   at Server.Network.MessagePump.HandleReceive(NetState ns) in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\MessagePump.cs:line 342
   at Server.Network.MessagePump.Slice() in C:\Users\Administrator\Downloads\ServUO-master\Server\Network\MessagePump.cs:line 136
   at Server.Core.Main(String[] args) in C:\Users\Administrator\Downloads\ServUO-master\Server\Main.cs:line 674
Crash: Generating report...done
Crash: Backing up...done
Crash: Restarting...done
Exiting...done

 Ready To Run!

Press any key to continue . . .
 

Falkor

Squire
I would see if it will run from somewhere other than the Downloads folder, like Program Files. Server can be picky about what can be run from where. I don't have a spare machine with it to test at the moment, just Win10.
 

ruaduck

Platinum Sponsor
Vita-Nex Sponsor
I would see if it will run from somewhere other than the Downloads folder, like Program Files. Server can be picky about what can be run from where. I don't have a spare machine with it to test at the moment, just Win10.
Will do
Post automatically merged:

Still a no go. However reading the Crash File it shows that the .net framework it is using is the 4.0.30319.42000 and not the 4.8 or the 4.7.2 . Both do show installed on my server.
 

Falkor

Squire
Maybe you need a newer version of zlibwapi64.dll? Mine says it's version 1.2.11.0

I'm grasping at straws because the error clearly states it cannot read zlibwapi64.dll and we know it's there. I think that's a red herring because the underlying cause will end up being a DLL dependency error and not the obvious DLL we're looking at.

Try googling "dll 0x8007007E" and you'll see what I mean.
 

ruaduck

Platinum Sponsor
Vita-Nex Sponsor
Argh - I'll bet that's what it is! I remembered that it was a missing redistributable; I just didn't remember the right one!


That did it. I reinstalled windows server 2016. Installed only 4.7.2 .NET and then installed the vcredist x64 and x86. Now we will wait and see how i crash it next. HAHA