pall

Citizen
hi im running a server on a Ubuntu 20.04 lts, compile fine, and i disable the ufw firewall, in the router the firewall allows all.
but i cant join the server externally. ¿any idea?
 

Iomega0318

Vita-Nex Sponsor
Even if the firewall is disabled you still need to forward the port in your router to the server. Do a quick Google for port forwarding your router and you'll find a guide. If you need help just ask :)
 

pall

Citizen
Even if the firewall is disabled you still need to forward the port in your router to the server. Do a quick Google for port forwarding your router and you'll find a guide. If you need help just ask :)
i do , if i run the server in a virtual machin using windows, can i join the server, the problem its on ubuntu
 

Zavreyon

Rookie
A few questions.
Are the server and client behind the same public IP?
Is SELinux disabled?
Is the Ubuntu also a VM, and if so is it in bridged mode? If not, do you have NAT rules in your hypervisor for it?
Does ServUO show up on 2593 with
Code:
sudo lsof -i:2593
 

pall

Citizen
server its in a diff house (also public ip) as client-

i dont have installet SELinux

Ubuntu its not a VM. and server its not in a cgnat.

sudo lsof -i:2600


C#:
sudo lsof -i:2600
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
Core\x20T 11084 serverz   38u  IPv4  86048      0t0  TCP *:zebrasrv (LISTEN)
 

Zavreyon

Rookie
ok, so you changed the port to 2600 in serverlist.cs? Does the port stay the same throughout to the public or is it translated at any point before reaching the public internet? Is it running bare metal or docker container? Does canyouseeme show the port open? (if you have the server console up itll show as a client connect/disconnect)
 

pall

Citizen
ok.. for some reason i need yes or yes to enable and allow the port 2593 inside the firewall ufw. Now can i join the server but when the character its inside, the server crash

C#:
Server Crash Report
===================

RunUO Version 2.7, Build 0.6747
Operating System: Unix 5.4.0.132
.NET Framework: 4.0.30319.42000
Time: 17/11/2022 3:28:15
Mobiles: 149699
Items: 615541
Exception:
System.DllNotFoundException: libz assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Server.Network.CompressorUnix64+SafeNativeMethods.compress2(byte[],ulong&,byte[],int,Server.Network.ZLibQuality)
  at Server.Network.CompressorUnix64.Compress (System.Byte[] dest, System.Int32& destLength, System.Byte[] source, System.Int32 sourceLength, Server.Network.ZLibQuality quality) [0x00004] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Network.Compression.Pack (System.Byte[] dest, System.Int32& destLength, System.Byte[] source, System.Int32 sourceLength, Server.Network.ZLibQuality quality) [0x00000] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Network.DisplayGumpPacked.WritePacked (Server.Network.PacketWriter src) [0x0009d] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Network.DisplayGumpPacked.Flush () [0x00086] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Gumps.Gump.Compile (Server.Network.NetState ns) [0x000d0] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Gumps.Gump.SendTo (Server.Network.NetState state) [0x00007] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Mobile.SendGump (Server.Gumps.Gump g, System.Boolean throwOnOffline) [0x0000b] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Mobile.SendGump (Server.Gumps.Gump g) [0x00000] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Joeku.MOTD.MOTD_Utility.SendGump (Server.Mobile mob, System.Boolean help, System.Int32 index, System.Int32 origin) [0x00026] in <d42601a59e68492bb98c060325c17350>:0
  at Joeku.MOTD.MOTD_Utility.SendGump (Server.Mobile mob) [0x00000] in <d42601a59e68492bb98c060325c17350>:0
  at Joeku.MOTD.MOTD_Utility.EventSink_OnLogin (Server.LoginEventArgs e) [0x00016] in <d42601a59e68492bb98c060325c17350>:0
  at (wrapper delegate-invoke) <Module>.invoke_void_LoginEventArgs(Server.LoginEventArgs)
  at Server.EventSink.InvokeLogin (Server.LoginEventArgs e) [0x0000a] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Network.PacketHandlers.DoLogin (Server.Network.NetState state, Server.Mobile m) [0x0028a] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Network.PacketHandlers+LoginTimer.OnTick () [0x00033] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Timer.Slice () [0x00047] in <2da731404cb9486f9c6fca880ac934bf>:0
  at Server.Core.Main (System.String[] args) [0x00505] in <2da731404cb9486f9c6fca880ac934bf>:0

Clients:
- Count: 1
+ 46.222.143.14: (account = pall) (mobile = 0x6 'pall')

any idea whats happens?

i put Saves folder in chmod 777 :S
 

Zavreyon

Rookie
Do you have zlib and zlib-devel installed?

*****package names I used are Debian and may deviate slightly from ubuntu.

EDIT: Also just noticed you are using RunUO instead of ServUO, do you have Ultima.dll in same folder as the RunUO.exe?
 

pall

Citizen
Oh maybe it's m that I format the server to try from scratch XD and I forgot that for sure
 

Zavreyon

Rookie
No need to reformat, just

Code:
apt install zlib1g zlib1g-dev
or
Code:
apt install zlib zlib-devel

depending on distro, then try running the server with mono again.
 
Last edited: