Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Central 1.0 (your new distributed directory server)
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic Printable version
 View previous topic  nullspace Post ::     
Author Message
Kingsize
Novice


Age:37
Gender:Gender:Male
Joined: Aug 02 2008
Posts: 43
Location: Finland
Offline

PostPosted: Fri Nov 08, 2024 12:22 am    Post subject: Reply to topic Reply with quote

Doc Flabby any changes of getting a fix to these?
Suddenly sscentral.sscuservers.net has started to reject connections from Central.exe. I suppose SSCU side has changed something, because sscentral.trenchwars.org works as usual.

Code: Show/Hide

----------Log "Console" Opened 11/8/2024 7:01 AM----------
<I> 11/8/2024 7:01 AM (ZoneListener): Starting...
<I> 11/8/2024 7:01 AM (ClientListener): Starting...
<I> 11/8/2024 7:01 AM (Central): Reloading Startup List...
<I> 11/8/2024 7:01 AM (Central): Loaded 0 zones from startup.txt
<I> 11/8/2024 7:01 AM (Stats): Starting Statistics Collection
<I> 11/8/2024 7:01 AM (Stats): Completed Statistics Collection
<I> 11/8/2024 7:01 AM (ZoneDownloader): Starting download...
<I> 11/8/2024 7:01 AM (ZoneDownloader): Using Peer: sscentral.sscuservers.net
SyncAck: Round Time: 47  Offset Time: 4294727172


Unhandled Exception:
System.ArgumentOutOfRangeException: Index and count must refer to a location within the buffer.
Parameter name: bytes
  at System.Text.UTF8Encoding.GetString (System.Byte[] bytes, System.Int32 index, System.Int32 count) [0x00050] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at Subspace.Net2.Message.GetString (System.Int32 offset, System.Int32 length) [0x00012] in <b26db3a7cb1f4aa5a11ed9392f6cbc76>:0
  at Central.ZoneDownloader.ProcessZoneList (Subspace.Net2.Message msg) [0x00048] in <ca57b003336a49b59fc9e4d4749150af>:0
  at Central.ZoneDownloader.NetRun () [0x00091] in <ca57b003336a49b59fc9e4d4749150af>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Index and count must refer to a location within the buffer.
Parameter name: bytes
  at System.Text.UTF8Encoding.GetString (System.Byte[] bytes, System.Int32 index, System.Int32 count) [0x00050] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at Subspace.Net2.Message.GetString (System.Int32 offset, System.Int32 length) [0x00012] in <b26db3a7cb1f4aa5a11ed9392f6cbc76>:0
  at Central.ZoneDownloader.ProcessZoneList (Subspace.Net2.Message msg) [0x00048] in <ca57b003336a49b59fc9e4d4749150af>:0
  at Central.ZoneDownloader.NetRun () [0x00091] in <ca57b003336a49b59fc9e4d4749150af>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <12b418a7818c4ca0893feeaaf67f1e7f>:0



...and no it's not DNS issue.

Code: Show/Hide

host sscentral.sscuservers.net
sscentral.sscuservers.net has address 217.146.72.218



On Windows same problem appears like this:
Code: Show/Hide

----------Log "Console" Opened 11/8/2024 8:03 AM----------
<I> 11/8/2024 8:03 AM (ZoneListener): Starting...
<I> 11/8/2024 8:03 AM (ClientListener): Starting...
<I> 11/8/2024 8:03 AM (Central): Reloading Startup List...
<I> 11/8/2024 8:03 AM (Central): Loaded 0 zones from startup.txt
<I> 11/8/2024 8:03 AM (Stats): Starting Statistics Collection
<I> 11/8/2024 8:03 AM (Stats): Completed Statistics Collection
<I> 11/8/2024 8:03 AM (ZoneDownloader): Starting download...
<I> 11/8/2024 8:03 AM (ZoneDownloader): Using Peer: sscentral.sscuservers.net
SyncAck: Round Time: 71  Offset Time: 3476114130


Unhandled Exception: System.ArgumentOutOfRangeException: Index and count must refer to a location within the buffer.
Parameter name: bytes
   at System.Text.UTF8Encoding.GetString(Byte[] bytes, Int32 index, Int32 count)
   at Subspace.Net2.Message.GetString(Int32 offset, Int32 length) in C:\subspace2\old\client\subspace2\net\Message.cs:line 278
   at Central.ZoneDownloader.ProcessZoneList(Message msg) in C:\subspace2\Central\Central\ZoneDownloader.cs:line 169
   at Central.ZoneDownloader.NetRun() in C:\subspace2\Central\Central\ZoneDownloader.cs:line 222
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


Those file paths are yours I assume and refereeing to source?


More problematic thing nowadays is that someone is scamming the dirserver. One servers without a name and it's IP starts with 0 (0.173.212.195), meaning it's and another zone (mall Warzone) that has "8000+ players".

Code: Show/Hide

<D> 11/8/2024 7:10 AM (ZoneListener): Updated Zone:
<D> 11/8/2024 7:10 AM (ZoneListener): Updated Zone: mall Warzone, connected to Isome


Would it be possible to add a blacklist or certain checks to be done before accepting the zone to dirserver? At least I would like to see the IP addresses on log.txt, because I cannot even use firewall to block these IP's not because I do not know what to block.

If you have no longer interested in coding this, would it be possible to share the source code with me? I would just want to do something for the issue and carry on hosting the dirserver.

Btw, running using mono on Ubuntu 22.04 nowadays.

For now I made a bash script to watch the stats.txt file using inotifywait and removing the scam zone and zones with incorrect IP addresses. This resolves the issue with population stats, but it still advertises these faulty zones via dirserver itself and I would like to do something for that as well.

Thank you in advance!

Kind regards
-Kingsize
_________________
-Kingsize
kingsize@gamespec.org

SSNE Central Owner
subspace.gamespec.org
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Misc User Apps All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 16 page(s) served in previous 5 minutes.

phpBB Created this page in 0.683897 seconds : 26 queries executed (96.3%): GZIP compression disabled