Search

Search found 1421 matches

by zerver
19 Nov 2008, 11:52
Forum: Engine
Topic: Gamespeed
Replies: 25
Views: 2469

Re: Gamespeed

YokoZar wrote:Just put a dot next to the slowest player when the game is running at full slowdown, then let the players decide what to do. Having to guess from CPU usage isn't helpful.
That won't work. In the heat of the battle, do you expect anyone to have time checking for small dots? ROFL
by zerver
19 Nov 2008, 10:58
Forum: Engine
Topic: Gamespeed
Replies: 25
Views: 2469

Re: Gamespeed

FYI, the CPU usage has a different meaning for those who will be running the multithreaded version. With multithreading, any CPU usage less than 100% means that your system can keep up the speed, while the single threaded version can start to slow down the game at any CPU usage really (usually arou...
by zerver
19 Nov 2008, 10:53
Forum: Engine
Topic: Gamespeed
Replies: 25
Views: 2469

Re: Gamespeed

I don't know if the engine should really be doing that, and such a marker should be able to show how much faster it'll go without that person. If it's something like 2%, kicking isn't a good idea. Good point. But focusing on one player at a time raises another problem - suppose we have two equally ...
by zerver
18 Nov 2008, 22:41
Forum: Engine
Topic: Gamespeed
Replies: 25
Views: 2469

Re: Gamespeed

When a speed down occurs, logging it in the console could be useful for host to manage players. As you can't see the speed downs, after 30mn of intensive gaming, you realise "WTF the game runs at 0.35 !? Is a single player screwing the whole game ?". It is even worse when u discover that ...
by zerver
18 Nov 2008, 22:32
Forum: Engine
Topic: Gamespeed
Replies: 25
Views: 2469

Re: Gamespeed

* The code in GameServer that adjusts the gamespeed should be based on the median player instead of the slowest player. Useless. Having lots of fast clients doesn't make the slowest faster. The purpose is to get rid of the slowest players. If I understand correctly, players will drop if they cannot...
by zerver
18 Nov 2008, 14:59
Forum: Engine
Topic: Gamespeed
Replies: 25
Views: 2469

Gamespeed

Since many games get ruined because of low gamespeed, I'm opening this thread to discuss the issue. Low gamespeed is mainly caused by: * Players that have slow machines. * Accidental adjustments of the gamespeed during gameplay that go unnoticed. * Intentional adjustments of the gamespeed made by pl...
by zerver
17 Nov 2008, 11:30
Forum: Engine
Topic: exception handling, r7053
Replies: 22
Views: 1220

Re: exception handling, r7053

Test cases are as follows. 1. At the top of luaV_gettable, insert code that calls the following after sim has been running for a minute. luaG_typeerror(L, t, "index"); If it worked correclty, the errors should be spammed on the info console, but it will crash. 2. In luaD_rawrunprotected be...
by zerver
14 Nov 2008, 14:51
Forum: Engine
Topic: Spring 0.77b6 testing
Replies: 136
Views: 13974

Re: Spring 0.77b6 testing

Zerver isn't able to share a lua enviroment between 2 threads, so it isn't a problem of any callins, it is a problem of rendering in lua in general. But still it is a problem of lua enviroment sharing and totaly independent of lua itself ... (so it is zerver's problem and not the prob of any lua de...
by zerver
13 Nov 2008, 13:08
Forum: Engine
Topic: Spring 0.77b6 testing
Replies: 136
Views: 13974

Re: Spring 0.77b6 testing

lurker wrote:zerver, which callins are in the rendering thread? Is there a list anywhere?
No list, but I believe they are all prefixed with "Draw". DrawWorldPreUnit for instance.
by zerver
10 Nov 2008, 23:49
Forum: Engine
Topic: overall design
Replies: 9
Views: 830

Re: overall design

Yes, it would be good if rendering code for features and projectiles was moved out of Sim, but someone has to actually do this. I posted to keep new code from being added in the wrong place, but I don't know if anyone will be motivated to actually refactor this rendering code to another place anyti...
by zerver
08 Nov 2008, 16:43
Forum: Engine
Topic: Spring 0.77b6 testing
Replies: 136
Views: 13974

Re: Spring 0.77b6 testing

In conjunction with the 77b6 release, I'd like to at least have a link to the multithreading version posted/mentioned somewhere so that regular users can find it and try it. http://planetspring.free.fr/spring/exec ... _R7052.zip I've been running it for a while now and I consider it playable, some s...
by zerver
30 Oct 2008, 21:32
Forum: Engine
Topic: Spring is running in SMP
Replies: 529
Views: 70276

Re: Spring is running in SMP

Let me rephrase: "Tested only with BA".

CA is confirmed *not working* because it makes OpenGL calls from Sim thread, via LuaOpenGL I think. Multithreading Spring engine does currently not allow that.
by zerver
30 Oct 2008, 21:15
Forum: Engine
Topic: Spring is running in SMP
Replies: 529
Views: 70276

Re: Spring is running in SMP

For those who wanna test, try this one:

http://planetspring.free.fr/spring/exec ... _R7100.zip
http://planetspring.free.fr/spring/unit ... _R7100.zip

It should sync with 77b5 but is BA compatible only.

Edit: New version, should work with XTA also.
by zerver
29 Oct 2008, 21:05
Forum: Engine
Topic: Bug in CCustomExplosionGenerator
Replies: 4
Views: 634

Re: Bug in CCustomExplosionGenerator

Aha, so the map is special. If you try the same trick with a vector you are dead meat.

I'm chasing this bug elsewhere then...
by zerver
29 Oct 2008, 17:08
Forum: Engine
Topic: Bug in CCustomExplosionGenerator
Replies: 4
Views: 634

Bug in CCustomExplosionGenerator

I've had some crashes pointing to explosiongenerator. It seems to store a pointer to a CEGData element in a static std::map, which is illegal to do if the data structure is going to be modified - and it is... cachedCEGs[tag] = cegData; currentCEG = &cachedCEGs[tag]; // yikes To me this bug seems...
by zerver
24 Oct 2008, 17:09
Forum: Help & Bugs
Topic: minimap startboxes lua script isnt on by default?
Replies: 10
Views: 1633

Re: minimap startboxes lua script isnt on by default?

I honestly thought the missing boxes were a bug until I saw this post...

Many ppl like to disable LuaUI to gain FPS. I know almost nothing about LUA, but the depth of the stacktraces I've stumbled across seem to indicate that it can eat CPU cycles.
by zerver
24 Oct 2008, 14:47
Forum: Help & Bugs
Topic: TASclient - failure
Replies: 3
Views: 340

Re: TASclient - failure

I've seen that one too. U need some skills with Task Manager to get rid of the spam :mrgreen:
by zerver
24 Oct 2008, 14:44
Forum: Help & Bugs
Topic: minimap startboxes lua script isnt on by default?
Replies: 10
Views: 1633

Re: minimap startboxes lua script isnt on by default?

Startboxes is so essential it should not be LUA based imo.
by zerver
24 Oct 2008, 14:20
Forum: Engine
Topic: Spring is running in SMP
Replies: 529
Views: 70276

Re: Spring is running in SMP

Yes, I'm assuming there will be a 77b6 soon since 77b5 seems to desync. I tried to play Tropical several times yesterday but couple of players would always instadesync.

With 77b6 we would have a good SMP testing opportunity.
by zerver
24 Oct 2008, 01:40
Forum: Engine
Topic: Spring is running in SMP
Replies: 529
Views: 70276

Re: Spring is running in SMP

imbaczek wrote:go to #buildserv, do !rebuild tag=spring_0.77b5 profile=gml
That profile does not use gmlsim=yes, so it will not have parallel Sim/Draw. Bibim, plz make a new profile...

Go to advanced search