Author Topic: Being Disconnected after 1 Minute  (Read 5524 times)

0 Members and 1 Guest are viewing this topic.

Offline Clash

  • Major(1)
  • Posts: 46
Being Disconnected after 1 Minute
« on: June 30, 2006, 05:20:23 pm »
Hi,

I'm having this issue for like 3 weeks now. Same happens with some mates, we don't know why, after like 1 minute we get disconnected from the server(it doesn't matter which). I have played on those servers below and my ping is low on them.

A message just appears: Nickname has been Disconnected. And I have to connect there again.

Any idea?
Thanks.
« Last Edit: June 30, 2006, 05:25:31 pm by Clash »

Offline DeMo

  • Soldier
  • **
  • Posts: 127
  • Stay Metal! \m/
    • Encoder 2002
Re: Being Disconnected after 1 Minute
« Reply #1 on: June 30, 2006, 08:32:12 pm »
Clash you noob!
Just kidding, what he says is true.. some people are being constantly disconnected from the servers for no apparent reason.
They play for some (little) time and then simply get disconnected.

<@Evil-Ville> Expect a picture of Chakra` holding his fleshlight soon!

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #2 on: June 30, 2006, 10:54:27 pm »
There are a few possible causes for this:

1) Wrong Map Version, although it usually kicks players within 5 seconds

2) Router/Firewall issue, or just dropped packets period. If the server doesn't recieve certain replies to packets in a timely fashion it disconnects the player.

Check and make sure you have nothing running on your computer, or on your network if you are on one, that could be monopolising bandwidth.

Enable logging with the configuration tool, and after you are disconnected check and see if anything strange was logged.

Ensure you are running the latest client and that it is not corrupted; reinstalling may help.

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #3 on: July 01, 2006, 10:05:55 am »
I enabled file logging and played, but I didn't find any file with the logs so I figured there might not be any log of errors.

I'm pretty much sure it's not wrong map version neither corrupted stuff, but I'll try reinstalling.
I think it's my cable internet provider...

I'm on a network, I'll test later at my brother computer.
Thanks for the help anyways guys!

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #4 on: July 01, 2006, 10:56:06 am »
Logs go into into <where you installed soldat>\Logs, ie: c:\Soldat\Logs, and there are 2 different files you can look at: ConsoleLog.txt and Log.txt

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #5 on: July 01, 2006, 01:49:00 pm »
What is this?
06-06-30 15:34:53 Config ticks 20032
06-06-30 15:34:53 Config ticks 20034
06-06-30 15:34:53 Config ticks 20000
06-06-30 15:34:53 Config ticks 20045
06-06-30 15:34:53 Config ticks 20038
06-06-30 15:34:54 Config ticks 20019
06-06-30 15:34:54 Config ticks 20014
06-06-30 15:34:54 Config ticks 20015

Weird thing happened today, I logged on, after like 10 seconds, the map ended. But do you know the console lag and it takes much longer for you to start the map? You start to hear others playing while you're still waiting? Then after the lag, I started playing, and I played with like 2~3 minutes without itself disconnecting, I disconnected and tried again, but then it disconnected after 50 seconds. I'm starting to think this is a soldat bug...

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #6 on: July 02, 2006, 02:01:44 am »
What is this?
06-06-30 15:34:53 Config ticks 20032
06-06-30 15:34:53 Config ticks 20034
06-06-30 15:34:53 Config ticks 20000
06-06-30 15:34:53 Config ticks 20045
06-06-30 15:34:53 Config ticks 20038
06-06-30 15:34:54 Config ticks 20019
06-06-30 15:34:54 Config ticks 20014
06-06-30 15:34:54 Config ticks 20015
I believe that is Soldat determining how many processor ticks are equal to one of it's ticks, but I'm not completely sure.
Weird thing happened today, I logged on, after like 10 seconds, the map ended. But do you know the console lag and it takes much longer for you to start the map? You start to hear others playing while you're still waiting? Then after the lag, I started playing, and I played with like 2~3 minutes without itself disconnecting, I disconnected and tried again, but then it disconnected after 50 seconds. I'm starting to think this is a soldat bug...

Doubtful it's a Soldat bug in and of itself; it's more likely that the bug is elsewhere and Soldat is just triggering it to happen. Having a connection that drops packets (despite having a good ping) can cause this, and it might not necessarily be something you can fix as it might be somewhere down the chain of computer networks you go through to connect to servers.

You said that you are on a network; some cheap models of routers use a method of working with games where they blindly modify any packet data that happens to match your IP address as a "quick fix", causing corruption to packets that contain data that do not represent an IP address but on a byte level match your IP address. It's possible that this may be the cause of the problem, but no guarantees. Using any decent router will solve that if it is in fact the problem.

Try this: connect yourself directly to your modem, and try playing. If you can play just fine, then you know the problem lies with your router.

Offline DeMo

  • Soldier
  • **
  • Posts: 127
  • Stay Metal! \m/
    • Encoder 2002
Re: Being Disconnected after 1 Minute
« Reply #7 on: July 02, 2006, 01:19:51 pm »
Chris, this problem is very odd.. people started complaining about it only last month I guess.
We have players that live in the same city and use the same ISP and some get disconnected while others don't.

It might be related to their modem/router but then we'll have to assume that everybody got a new modem since they didn't have this problem before. Maybe it's a spot down the route (the chain of networks) to the server... but as I said we have people using the same ISP and most of them don't have this problem.

<@Evil-Ville> Expect a picture of Chakra` holding his fleshlight soon!

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #8 on: July 02, 2006, 04:44:41 pm »
I connected myself directly to the modem and the same thing happened, I'll try on another computer and edit this post.

Edit: I tested on another computer, same ISP, not on a network, same problem. Hmmm...
« Last Edit: July 02, 2006, 04:54:33 pm by Clash »

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Being Disconnected after 1 Minute
« Reply #9 on: July 02, 2006, 06:18:06 pm »
call your ISP and find out if they have any information for you

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #10 on: July 02, 2006, 08:23:03 pm »
Warning: Huge reply, lots of reading.

The thing is, from what I understand, there were no changes to the net code(and anything aside from minor changes would cause compatability issues anyhow, which would require a client update). Most of the added functions and such that were added were not directly added to the netcode, but to data parsing functions that the net code calls, which don't affect player (dis)connections.

These are the changes that could possibly affect the UDP net code(most are applicable only to admins and/or specialized circumstances, and not normal gameplay):

Quote
Version 2.4.9 - 2.5.0
- Fixed /kick & /ban command kicking an empty player slot.
- Fixed /unbanlast now unbans IP's banned via /banip aswell.
- Fixed players joining with blank names.
- Added Chat/Command flood protection. Players exceeding 8 Messages/Commands per second are flood kicked.
- Modified /loadcon command to load specific INI files. /loadcon xxx.ini
- Added command to send a Private Message to players. (Admin Only)
/pm # Message (Cannot use player names)
- Modified players lose 1 kill for typing /kill or /brutalkill.
- Added Global Mute command to mute players from talking completely.
/gmute ID /ungmute ID (Cannot use player names)
- Added Team Kill punishment. Enable by changing 'PunishTK=1' in soldat.ini
- Added Anti-Hack to detect Mass-Flag cheat. Turn off in Server.ini by changing AntiTeleport=0.


Changes 2.5.0 - 2.5.1:
- Fixed server not restarting when using /gamemode or /survival or /realistic.

As far as I am aware, there were no other changes made other than those listed. And it still leaves the question of why disconnections are limited to a very small group of people, while the majority are able to play without a problem.

A better question to ask, is this: of those players that are currently affected, is there a version of the dedicated server that they are able to connect to without issues? If they only experience the issue with the newer version and not the older one, thats one thing; however if the version of the server that was out before their problems started suffers the same symptoms that means that nothing with the server changed to break anything, and the problem lies elsewhere. Any volunteers to test this?

Having the same people using an ISP can mean little, if it happens that the node some people are connected to is having issues, while the others are not.

It may also be an issue with modems that has just started with modems; ISPs are notorious for at times using cheap components. I have had problems with modems dropping out, as well as friends using the same ISP/modem model, and our problems were rectified by getting a new modem.

The modem was -working-, but only in the loosest sense of the word: it would drop packets, stop working at times, and when it did work it was slow, way below what the speed should have been.

I was lucky, I only went through 2 modems at 2 different locations, that suffered the exact same problem; one of my friends went through 4, before he gave up and bought his own quality one rather than use the ISPs one.

I would be very curious to know if a new modem would help these players, or even if 2 players in the same city, using the same ISP, but with only one suffering from the problems, were able to swap modems temporarily and see if the problems moved with the modem.

As well, there is also the following possible causes:
- damaged ethernet cabling; does using a new/different cable solve problems?
-poor ethernet card; does using a different ethernet card, or updated drivers, help?
- are you using any software firewalls? do the problems go away when you disable them?
- are you using active anti-virus scanners? do the problems go away when you disable them? (Norton caused this for me for a few programs; I ended up deleting it because it was crap >.>)


If we could, to see if there is any common link between people, could all those who are affected by this post the following information:

- Computer Specifications, notably model of ethernet adapter, or motherboard model if using integrated.
- Operating system/version (98, ME, XP, XP SP2, etc)
- Router Brand/Model
- Modem Brand/Model and type (cable, dsl...)
- ISP
- IF you feel comfortable posting: city/which area of city(north, southwest, etc)
- Settings for soldat

I'm curious to see if those affected are geographically clustered, have some similar hardware, or some other link other than they all have soldat.

Oh, also one more thing: do you have the problems, if you host a non-dedicated server and have people join, or have someone else host and you join? Since the Client server hasnt changed, suffering problems in that case may also be an indicator.

One final other question: what settings are you using for soldat? Does changing your in-game connection type higher or lower help? Does closing all running programs help? (For me, I get strange errors if I leave Explorer(not IE) windows open, or MSN Messenger window open, due to addons that I use)


Then, if after all of that, or if an older version of the server doesn't cause issues, can we say that something has changed in the server to cause these issues.

Otherwise, soldat and its horrible, HORRIBLE (I love you MM) netcode are just making the problems apparent to you (remember, soldat uses plain UDP, not a guaranteed/reliable UDP wrapper so packets that get lost get lost forever, they never get resent), and in that case it's not really soldat's fault as it isn't doing anything wrong; its your connection being lossy that is at fault.


I'll keep trying to help you; I can even try hosting various version of the dedicated server sometime for testing if you catch me at an opportune time.

I'm done now, have fun reading. :)

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #11 on: July 03, 2006, 05:14:24 pm »
chrisgbk, first of all, thanks a lot for your help.
Anwsering to a few questions here, the other computer I tested has a different modem so I think it's not the modem fault.

I think it's a great idea to test people on my client server and to try other versions, I'll give you some input tomorrow, it's a bit late now and I have homework to do, lol. Thank you, I appreciate.

If you have MSN, AIM, ICQ, please add me so we can talk:
MSN - begeladim@hotmail.com
AIM - freezeburnd
ICQ - 283718809

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #12 on: July 06, 2006, 02:06:55 am »
Well, I added you to MSN but haven't seen you online at all; did you give me the correct address?

Offline Michal Marcinkowski

  • Creator of Soldat
  • Flagrunner
  • ******
  • Posts: 808
  • I ain't got time to bleed.
    • Soldat home page
Re: Being Disconnected after 1 Minute
« Reply #13 on: July 06, 2006, 03:00:23 pm »
What is this?
06-06-30 15:34:53 Config ticks 20032
06-06-30 15:34:53 Config ticks 20034
06-06-30 15:34:53 Config ticks 20000
06-06-30 15:34:53 Config ticks 20045
06-06-30 15:34:53 Config ticks 20038
06-06-30 15:34:54 Config ticks 20019
06-06-30 15:34:54 Config ticks 20014
06-06-30 15:34:54 Config ticks 20015

Weird thing happened today, I logged on, after like 10 seconds, the map ended. But do you know the console lag and it takes much longer for you to start the map? You start to hear others playing while you're still waiting? Then after the lag, I started playing, and I played with like 2~3 minutes without itself disconnecting, I disconnected and tried again, but then it disconnected after 50 seconds. I'm starting to think this is a soldat bug...

That is fine. It's not where the problem is.

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #14 on: July 08, 2006, 03:36:17 pm »
Well, I added you to MSN but haven't seen you online at all; did you give me the correct address?
Yes, can you give me yours?
I'll try this weekend some stuff, my bud who is also having this problem said that before he couldn't host, people would disconnect too when he hosted, he says that now he can host.

I'll test some stuff and post tomorrow...

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #15 on: July 14, 2006, 07:20:41 am »
Just an update here, when I log to a server as an spectator, I am not disconnected.

I can't connect to the lobby any longer, my file:
lobby.soldat.pl
selfkill.com

I'm trying to test 1.3 but I can't find any server...
« Last Edit: July 14, 2006, 07:29:39 am by Clash »

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #16 on: July 14, 2006, 07:49:30 am »
chrisgbk@hotmail.com <--

Good luck trying to find a 1.3 server, I don't think anyone runs one anymore. The lobby is a known issue, see the other stickies/threads.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #17 on: July 14, 2006, 08:24:00 am »
Alright, update to any of those interested: We tested using Soldat 2.4.6 Dedicated Server, which as you may know, is somewhere around 6 months old. (Soldat 1.3.1 was releaseed December 12, 2005) The problems still persist in this old version of the server, so no recent changes have broken it, and interestingly enough, since the problems started recently, this means that it's not Soldat or the Dedicated Server at fault as something else is causing issues.

What's happening is, for some reason, certain packets are being dropped by the ISP(s) in question, on a regular basis. Whether this is the result of active filtering by an ISP, or some other unknown reason, I don't know for sure. What I can say, after talking to EnEsCe, is that this triggering a cheat flag in the server, which is usually set off by certain types of hacks. Basically, the server is receiving normal movement data, but not some of the other packets. Either the client is not receiving the packet in the first place, or the server isn't receiving the reply.

So, to sum up: nothing has changed in the last 6 months codewise, and any users experiencing this problem should complain to their ISP as we at the forums, and MM/EnEsCe, cannot fix it.

UPDATE: User in question did some testing on my advice, and it turns out his connection DROPS all packets that are 1 or 2 bytes in size. So it is officially confirmed: The ISP is dropping the packets used by soldat on a regular basis.

UPDATE2: User also found a 1.3.0 server. Still experiences issues. Suffice to say, that should end any speculation on the server being at fault.

(Sorry for double post, wasn't thinking)
« Last Edit: July 14, 2006, 08:46:02 am by chrisgbk »

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #18 on: July 17, 2006, 05:25:53 pm »
Hmm... I don't my ISP will change it, can MM/EnEsCe or whoever make something? I don't this problem with other online games, why Soldat uses 1 byte packets? Isn't the default 32 bytes?

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Being Disconnected after 1 Minute
« Reply #19 on: July 18, 2006, 05:03:45 am »
We cant do anything about it, changing the netcode would require alot of changes, which we arent prepared to do.

"Isn't the default 32 bytes?" Dunno which hole you pulled that from, there is no default size for packets... if you include the RAW packet headers, then maybe its atleast 32 bytes.

But, the point is, change ISP or have fun not being able to play Soldat lol =D

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #20 on: July 20, 2006, 09:56:59 am »
Lol, I said the default was 32 because when I use DOS to ping it's a 32 byte packet.
Thanks anyways.

Offline Mr. Domino

  • Flagrunner
  • ****
  • Posts: 969
  • Don't just sit there and waste your precious time.
    • XBLIG.co
Re: Being Disconnected after 1 Minute
« Reply #21 on: July 20, 2006, 10:05:27 am »
This sounds somewhat similar to a problem I've been having. On some servers, I get ping kicked the moment I join. On others, I can play fine. My ping remains low, and nothing about my Internet settings have changed, nor am I downloading anything or having some SpyWare/Adware/other PC leach off my connection. The weird thing is I can play U13's big CTF server okay, but the normal one will ping kick me.   ???

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #22 on: July 22, 2006, 08:57:02 am »
The problem we are having is different. I'm not ping kicked, I'm disconnected after 1 minute in doesn't matter which server.

Offline John Preston

  • Major(1)
  • Posts: 4
Re: Being Disconnected after 1 Minute
« Reply #23 on: July 24, 2006, 03:50:15 pm »
I'm having this issue.
Allow me to give you a wonderful tale of what has happened to me relating to this problem.

I had a Dell, with pretty ehhh hardware in terms of performance.  As you all know you don't need much to kick butt in Soldat, so I played it extensively for years.

Then one day, out of the blue, it stopped showing lobby.  Nothing would let me view lobby via the program, I had to use external lobby thingies.
Then when I would connect to a match I'd get booted after a minute or so.

With this new PC(Yes, a brand new computer, awesome hardware) I can actually see the lobby again! YES!

I rushed on into the game and...got booted after a minute.
I have 0 viruses, 0 trojans, 0 spyware.  I'm still using the exact same connection hardware I used to use when I would play it extensively, it still connects me at the same rate to the internet.

If you can figure out what's wrong with it more power to you.  I didn't start having problems, though, until I became incapable of viewing the lobby.  Most likely if there is a bug it lies somewhere in that vicinity.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #24 on: July 24, 2006, 04:53:08 pm »
Your ISP may have changed filters on their end to drop packets that match certain criteria. This is what happened to Clash; he used to be able to play fine, but then his ISP started to drop packets that were only 1 or 2 bytes, and now he can't play.

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #25 on: July 25, 2006, 10:25:35 am »
There is a test you can do to verify this John.
Start --> Execute --> cmd
Type in ping -l 1 forums.soldat.pl

If you don't get any anwser is because your ISP blocked the 1 byte packets.

Offline John Preston

  • Major(1)
  • Posts: 4
Re: Being Disconnected after 1 Minute
« Reply #26 on: July 27, 2006, 05:51:35 pm »
Said request timed out.  So I guess it's the 1 byte thing.  Any known fixes?

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #27 on: July 28, 2006, 12:55:18 am »
Other than bitching at your ISP and getting them to change it: no, there is nothing you can do.

Offline Maluno

  • Major(1)
  • Posts: 1
Re: Being Disconnected after 1 Minute
« Reply #28 on: August 03, 2006, 03:57:14 pm »
I began having this problem about a year ago, and the story was the same.  I had been playing soldat normally for over 2 years before one day, when I couldn't see the lobby server list. 

I joined a server using external server list program, (like others), and I would get kicked after one minute, no matter what server I was on.  I tried to play soldat on a computer with the same ISP but with a different connection, and a different modem, at a different location.  Same problems occurred. 

I then created a thread in the old forums about the problem, but noone could help me, so I went to MM, and, using my logs, he confirmed that my connection was dropping packets. 

I recently built a new computer with really good specs, and I still experience the problem.  I tried to ping forums.soldat.pl with a 1byte packet, and there was no response.  My ISP is frontiernet, and I live in Lancaster county, PA, USA .

I have not played soldat in a year due to this problem, and it is very sad. :(

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #29 on: August 03, 2006, 10:16:36 pm »
Same as the others before you: nothing can be done from our end. The only thing you can do is talk to your ISP, but they probably have some reason for blocking said packets, and won't do anything to help you.

For reference:

This is a normal computer:
Code: [Select]
C:\>ping -l 1 forums.soldat.pl

Pinging forums.soldat.pl [67.106.77.193] with 1 bytes of data:

Reply from 67.106.77.193: bytes=1 time=89ms TTL=49
Reply from 67.106.77.193: bytes=1 time=97ms TTL=49
Reply from 67.106.77.193: bytes=1 time=96ms TTL=49
Reply from 67.106.77.193: bytes=1 time=127ms TTL=49

Ping statistics for 67.106.77.193:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 89ms, Maximum = 127ms, Average = 102ms
This is a computer that has an ISP that blocks packets:
Code: [Select]
C:\>ping -l 1 forums.soldat.pl

Pinging forums.soldat.pl [67.106.77.193] with 1 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 67.106.77.193:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

So, to sum up again: your ISP is at fault. Unless they change it, there is nothing that can be done unfortunately.
« Last Edit: August 03, 2006, 10:25:26 pm by chrisgbk »

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #30 on: January 18, 2007, 10:45:59 am »
Hi, sorry to revive this threada again, but seriously, now there is a good quantity of people (at least on Brazil, our forum makes us know that) not being able to play due to this problem, isn't there really anything that can be done? I can't change my ISP. I've never exprienced this problem, except with Soldat...

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Being Disconnected after 1 Minute
« Reply #31 on: January 19, 2007, 09:49:49 am »
As has been said a million times already, you need to complain to your ISP.

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #32 on: March 10, 2007, 06:19:37 pm »
Sorry to revive this for the 2nd or 3rd time, but does anyone know if this has been fixed on the new upcoming soldat version? My ISP said they can't do anything.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Being Disconnected after 1 Minute
« Reply #33 on: March 10, 2007, 08:31:09 pm »
No, nothing has changed in soldat.

Offline Clash

  • Major(1)
  • Posts: 46
Re: Being Disconnected after 1 Minute
« Reply #34 on: March 12, 2007, 05:11:19 pm »
Damn, I thought someone said the netcode would be modified a little on this new 1.4 soldat