Natural Selection 2
Login Now >
Click here to create a new account
Unknown Worlds Entertainment
Home
Game Guide
Community
Media
Forums
Store
Twitter
Facebook
YouTube
Latest Developer Posts
Promoted Content
matso
Master of Patches
May 24
ExtraEntitiesMod
Elevators suffer from a bug in the engine that drifts the time in the client. It's quite hard to see normally, but if you stand still on a moving platform (and have the platform move the player) it becomes quite obvious. Hopefully will get fixed in a patch or two (keep a lookout for a patchnote mentioning camera jitter).
matso
Master of Patches
May 24
Do the "Performance-Jam"!!!
maxfps was added to simplify testing and verification for some nasty issues with low-fps situations (setting up a situation where you had enough load to actually get your fps down was easy early on ... but got progressively harder), it has basically no other use. And while saying 40 fps feels like 15 fps in other games might be an exaggeration, there are some issues that may cause the quality of the fps to drop when the client gets loaded - mostly because frame time may start to vary a lot when there is a lot of stuff happening, so those 40 fps does not mean every frame is 25ms - one or two may clock in at 75ms while most clock in at 20ms... I'm fairly optimistic that things will improve quite a lot in the not-to-far-future though; the latest JIT testing gave pretty good results - well, apart from the crashing
Insane
Anomaly
May 24
help with spark editor
Check that your map has all of the following entities: - ns2_gamerules - pathing_settings - location entities for all the areas you want to have power.
matso
Master of Patches
May 23
Do the "Performance-Jam"!!!
Insane wrote: » ezekel wrote: » Scatter wrote: » Is LuaJIT something that must be implemented game wide or can it be used in certain critical pathways? I have a basic coding understanding but not enough to really know this off hand. I think luaJIT splits the workload, so one part of the game goes through luaJIT, then another part goes through regular lua.. so making the work more evenly split on the cores already supported or I'm an idiot and you can just disregard what I said because it's a complete guess Not quite. In very simple terms, LuaJIT translates Lua code into a format that your CPU can read more quickly. It does this just before the code segment is actually executed, hence the name (Just In Time). Turns out that Wikepedia has a very nice article how a tracing JIT compiler like LuaJIT actually works ... https://en.wikipedia.org/wiki/Tracing_just-in-time_compilation
Insane
Anomaly
May 23
Do the "Performance-Jam"!!!
ezekel wrote: » Scatter wrote: » Is LuaJIT something that must be implemented game wide or can it be used in certain critical pathways? I have a basic coding understanding but not enough to really know this off hand. I think luaJIT splits the workload, so one part of the game goes through luaJIT, then another part goes through regular lua.. so making the work more evenly split on the cores already supported or I'm an idiot and you can just disregard what I said because it's a complete guess Not quite. In very simple terms, LuaJIT translates Lua code into a format that your CPU can read more quickly. It does this just before the code segment is actually executed, hence the name (Just In Time).
Sewlek
The programmer previously known as Schimmel
May 23
Sewlek's Balance mod
CrazyEddie wrote: » BigRustyRed wrote: » RT's felt less important so the focus was a lot more on attacking specific areas of the map and holding map control then chasing after recappers and defending RTs. I haven't played the BT mod yet, but what you've described sounds like a good change to me. I get tired of constantly hearing "Skylights!" and "Ventilation!" and "Observation!" and having people running off to go rescue or rebuild them. I try to tell my teammates that the way to save Skylights is to take and hold Overlook. If the current BT makes running after RTs less valuable and encourages tactical play to secure territory, then I'm all for it. thats not clear yet. i keep the RT scaled down to 8 t.res for ~2 more days and see what its does to the game play.
matso
Master of Patches
May 22
Do the "Performance-Jam"!!!
SteveRock wrote: » CrazyEddie wrote: » Steve, Cory - as long as you're answering performance and technology questions: Are you doing any work around splitting up the game logic code so that it could be handled in multiple lua threads? I know that's not easy (and I know that's an understatement) but it seems like the payoff could be huge. We do this for prediction already, which resulted in huge gains, but that's literally running two separate Lua worlds. Doing it within the same world is more complex, and much more risky (in terms of bugs, code maintainability, whether or not it would even work, etc. etc.). So, it's less likely we'll pursue this avenue. The extra Lua VM running the Predict world is very much a special case; it it responsible for taking the server network updates and merge it with any missing client moves, then deliver that to the main thread. It reduced an O(fps^2) problem in the main thread to an O(network rate) in a secondary thread - a very good thing. Also increased fps so much that Max had to add move rate limiters to avoid servers imploding under the load ... oh, fun times, good times (http://forums.unknownworlds.com/discussion/122189/224-tech-changes-part-1 for those interested in more details ) Lua does not support true multithreading (yet), so if you want to split the logic work you would probably go for using multiple Lua VMs running in their own threads, and then have a merge phase in between... doable, but adding lots of complexity. So going for LuaJIT first is the right way ... hopefully, it will be fast enough to tide Spark over until Lua supports true multithreading.
SteveRock
May 22
Do the "Performance-Jam"!!!
CrazyEddie wrote: » Steve, Cory - as long as you're answering performance and technology questions: Are you doing any work around splitting up the game logic code so that it could be handled in multiple lua threads? I know that's not easy (and I know that's an understatement) but it seems like the payoff could be huge. We do this for prediction already, which resulted in huge gains, but that's literally running two separate Lua worlds. Doing it within the same world is more complex, and much more risky (in terms of bugs, code maintainability, whether or not it would even work, etc. etc.). So, it's less likely we'll pursue this avenue.
matso
Master of Patches
May 22
Do the "Performance-Jam"!!!
CrazyEddie wrote: » Steve, Cory - as long as you're answering performance and technology questions: Are you doing any work around splitting up the game logic code so that it could be handled in multiple lua threads? I know that's not easy (and I know that's an understatement) but it seems like the payoff could be huge. Right now the client uses slightly more than 2 cores at peak load, so further MT would not benefit 2-core machines much. Better to go for LuaJIT, which uses the CPU more efficiently.
Forums
Recent Threads
Activity
Best of...
Unknown Worlds Entertainment
Getting Started
[Error- Build 247] Altab or press Windows key >>> Game crash "Engine state can not recover"
281
views
24
comments
2
points
Most recent by
Goliath Vietnam
12:20AM
Technical Support
[bug] Couldn't drop skylights' RT
71
views
6
comments
0
points
Most recent by
IronHorse
May 24
Technical Support
Your game files do not match the servers....
361
views
24
comments
0
points
Most recent by
hit321
May 24
Technical Support
Framedrops when using mouse in lategame
101
views
6
comments
0
points
Most recent by
IronHorse
May 24
Technical Support
Crash on launch
21
views
4
comments
0
points
Most recent by
IronHorse
May 24
Technical Support
More Discussions
General
Sewlek's Balance mod
50K
views
1.8K
comments
1
point
Most recent by
IAMKING
12:13AM
General Discussion
Hilarious but dumb non the less
581
views
24
comments
0
points
Most recent by
UncleCrunch
12:04AM
General Discussion
Do the "Performance-Jam"!!!
4.6K
views
176
comments
17
points
Most recent by
IronHorse
May 24
General Discussion
Please lower shotgun power
2.5K
views
143
comments
1
point
Most recent by
amoral
May 24
General Discussion
shotgun stock slam
51
views
3
comments
0
points
Most recent by
Dont
May 24
Ideas and Suggestions
More Discussions
Veteran
Custom HUD mod
471
views
11
comments
0
points
Most recent by
Locklear
May 24
Competitive Play
ESL
Opening tournament
Webbed
2.8K
views
49
comments
0
points
Most recent by
fanatic
May 22
Competitive Play
Australian Cyber Gamer Tournament Season 1 comes to a close
231
views
8
comments
0
points
Most recent by
sebastianoswell
May 22
Competitive Play
Quoth Gaming recruiting for ENSL
161
views
2
comments
0
points
Most recent by
SammyG
May 21
Competitive Play
Pro players - Competitive play Vs Pub Play
1.4K
views
39
comments
0
points
Most recent by
joshhh
May 21
Competitive Play
More Discussions
Creation
help with spark editor
71
views
5
comments
0
points
Most recent by
Kouji_San
12:08AM
Mapping
NS2_Tarvos [Need Advice / Criticism]
1.4K
views
68
comments
0
points
Most recent by
killer monkey
12:06AM
Mapping
ExtraEntitiesMod
6.7K
views
227
comments
0
points
Most recent by
matso
May 24
Modding
Main Menu Replacement Project
481
views
25
comments
0
points
Most recent by
2d0x
May 24
Modding
New launchpad
71
views
5
comments
0
points
Most recent by
oldassgamers
May 24
Mapping
More Discussions
Other
GTX 780
131
views
13
comments
0
points
Most recent by
ezekel
May 24
Off-Topic
Xbox One (1)
501
views
35
comments
0
points
Most recent by
Xyth
May 24
Off-Topic
Lowering ping tips? anyone?
Anyone have any?
1.3K
views
5
comments
0
points
Most recent by
kabali
May 24
NS General Discussion
Post YouTube videos plx. Second Encounter.
That is still all.
607.1K
views
3.7K
comments
0
points
Most recent by
Konohas Perverted Hermit
May 24
Off-Topic
Do all dating websites suck?
151
views
4
comments
0
points
Most recent by
ellnic
May 24
Off-Topic
More Discussions
Community
Copyright
Developer
Terms of Use
Privacy
Unknown Worlds Entertainment Logo
© 2013,
Unknown Worlds Entertainment
. All rights reserved.
Visual Design by
Fully Illustrated