matso · Master of Patches

About

Username
matso
Joined
Visits
972
Last Active
Roles
Members, Forum Moderators, NS2 Developer, Constellation, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, Reinforced - Shadow, NS2 Community Developer
Points
1,051

Comments

  • (Quote)
    Yea ... it is quite interesting to run two clients and a server locally, trigger a jump on one client then watch how long time it takes for the second client to see the jump.

    While most of that delay is true of all lag-…
  • Actually, while NS2 uses 2.5 out of 4 cores when you look at the performance monitor, a better way is to actually measure how well the game scales with more CPUs. Nicely enough, in New Rig / Upgrade for NS2 - Help Please :-) Comment by matso May 2015
  • Well, the idea is to fix all/most of the issues that turns people off from NS2 first, then try a relaunch. Stuff like bad performance, long loadtimes, hitreg, redplugging etc have been/are being fixed ... but the big issues are learning curve and go…
  • Mmm... good to know, then it might just be that reordering is more common for some reason; NS2 uses UDP packets so routers might feel no need to deliver them in order.

    I've upgraded the network protocols to make them more robust, includi…
  • Are you possibly using WIFI? I see signs in the log that the last smallest packet in a group is arriving before the bigger payload packets .. I think that may be caused by one of the larger packets being resent using the WIFI packet loss protection …
  • Actually, what we have discussed (loosely) is to add a "radio noise hiss" to the comm channel so you know if someone is speaking over the radio or in the same room... the rest should be fairly easy, fmod already handles geometry based sounds so it s…
  • (Quote)
    The easy solution would be for comp teams to bid res for the right to choose teams. The teams that bids the highest res gets to play whatever team they like, the loosers gets the extra res to start with.

    Would also inci…
  • Well, _if_ you find a skilled OS/X programmer that happens to have a bit of OpenGL skill and 3-6 months of free time ... and are into NS2 enough to donate that free time...

    Not saying it is impossible, but there is noone with the time/sk…
  • (Quote)
    275.
  • Actually, that looks nice - prior to 272, that error was silent. Now we get a stacktrace and can see what's going on there ...

    Hmm.. yes, StartSoundEffectOnEntity just blithely assumes that the entity exists and hasn't been destroyed.
  • Well, there isn't just ONE issue here ... the Workshop is still not reliable and will timeout both connection requests AND be very slow in uploading during busy times (and other times as well...).

    But combine that with NS2 requiring that…
  • .. and here's the culprit:
            curl_easy_setopt(curl, CURLOPT_TIMEOUT, 15);
    
    That sets the maximum time allowed for a HTTP request. Was hardcoded to 15 seconds ... which mean…
  • Hm... error 28 is timeout. And it times out after 15 seconds. Which is the timeout set for the curl_easy_perform() operation (NS2 uses libcurl for the http operation). And it happens for large mods only... and it is trying to download 3 large mods a…
  • Start, type "verbose 1" in console, connect to server, check log - it might give you a hint about which mod is problematic.

    Though it is unusual that it Steam would consistently fail to load the mod; normally it would randomly succeed af…
  • (Quote)
    You probably had not been standing there for long.

    Lag compensation means that what you see of other players is not actually where they were, you are seeing their trail, lagged up by rougly 100+2 x latency... so if you …
  • The "PreloadTextures" seems to be the culprit; what it does is to make sure that textures belonging to props/objects around the player gets the proper priority for loading...

    The only thing I can think of that could cause problems would …
  • (Quote)
    Mmm.... I'd not classify DOTA2 as easy to learn... the advantage it has over NS2 is a much more forgiving learning curve.

    - you can learn the game against bots (and have good games against bots only)
    - when you s…
  • (Quote)
    Thanks .. that is indeed weird... hmm ... wonder if it is because you have NS2+ active locally AND get it from the server...

    Could you try to connect to a server not running NS2+ and see if you get the same problem?
  • Mmm... maintaining backwards compatibility in NS2 is pretty much impossible - any change at all you do in the Lua code can break someones mod.

    Now, there _is_ the "requires build" thing, which - SHOULD - give you the lua from a specific …
  • (Quote)
    Someone did not read the "Configuration" section :-)

    In practice, as the server only services NS2 mods, and the largest NS2 mods weights in at 50Mb (maps) - it would be hard to overload a backup server even if yo…
  • (Quote)
    How about DOTA2 and clones?- they arguably contains more crunchy bits (stuff to learn) than NS2, and are also very dependent on teamwork and strategy/tactics.

    That they seem to be doing fine shows - IMO - that if the ga…
  • What happens is that if the server has a mod version that the client misses, the client will try to download it from Steam ... and it does not try hard enough; steam habitually drops anything from 25% (good days) to 90% (sales days) of all attempts …
  • (Quote)
    Do fire up net_stats and verify that it is the server that's struggling (or turn on "perfmon" (detail level should be fine) in the console). There has been reports that seems to indicate that low level of network loss causes redplu…
  • (Quote)
    The version of the PhysX library that NS2 uses does not shut down properly when the game ends, so there are some heap allocations that noone knows how to clean up properly ... and considering that it is just a shutdown issue, it do…
  • (Quote)
    Pre-Workshop games did not have a choice, they had to do it themselves. With Steam offering to host all of that, I guess UWE did not figure they would have to offer a backup.

    That the workshop would croak regularly duri…
  • (Quote)
    Client performance WILL affect your hitreg - the minimum lag between what you see on the screen and what you shoot at are about 3 fps because of the way NS2 produces frames, so at fps 30 you need to think about 100ms into the futur…