SignatureBeef / Terraria-s-Dedicated-Server-Mod

TDSM - .NET and Mono compatible Terraria Server Software Mod
MIT License
143 stars 49 forks source link

Whitelist: Cannot Remove #194

Closed D1G1T4L3CH0 closed 8 years ago

D1G1T4L3CH0 commented 9 years ago

This is the same for both removeplayer and removeip.

8/21/2015 2:04:26 AM Pool> 127.0.0.1:53577 @ 0: ENTER D1G1T4L3CH0
D1G1T4L3CH0 has joined.
8/21/2015 2:04:28 AM Pool> 127.0.0.1:53577: connection closed (Disconnecting).
D1G1T4L3CH0 has left.
whitelist removeplayer D1G1T4L3CH0
8/21/2015 2:04:36 AM Command> Player D1G1T4L3CH0 was removed from the whitelist
8/21/2015 2:04:44 AM Pool> 127.0.0.1:53588 is connecting...
127.0.0.1:53588 is connecting...
8/21/2015 2:04:44 AM Pool> 127.0.0.1:53588 @ 0: ENTER D1G1T4L3CH0

Once removing the entry from the file and reloading the whitelist, it does not allow me in.

SignatureBeef commented 8 years ago

I might have fixed this...Are you able to recheck @D1G1T4L3CH0 ?

D1G1T4L3CH0 commented 8 years ago

Ok something to note, I'm not certain if this is normal or not. When you connect to the server with whitelist=true, it doesn't know your player's name and in the console log says was botted but no name is there.

127.0.0.1:49532 is connecting...
9/24/2015 3:17:44 PM Pool> ArgsPool<RecvArgs> capacity is now: 1.
9/24/2015 3:17:44 PM Pool> ArgsPool<SendArgs> capacity is now: 1.
127.0.0.1:49532 was booted: You are not whitelisted
9/24/2015 3:17:44 PM Pool> 127.0.0.1:49532: connection closed (ConnectionAborted).

ip whitelisting may not be working, at least not with localhost.

whitelist addip 127.0.0.1
9/24/2015 3:22:52 PM Command> IP 127.0.0.1 was added to the whitelist
127.0.0.1:49570 is connecting...
127.0.0.1:49570 was booted: You are not whitelisted
9/24/2015 3:23:00 PM Pool> 127.0.0.1:49570: connection closed (ConnectionAborted).

However, adding/removing players and ips are both working fine.

SignatureBeef commented 8 years ago

You are correct about the IP. I need to remove the port and it will work.

SignatureBeef commented 8 years ago

Hows it now? 10aebc7c843847f4b72d3929041405ecf1fb748d

SignatureBeef commented 8 years ago

It seems this is fixed. If a time comes when you retest and it doesnt, just reopen this.