Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A6.60 running as sv+cl and cl on 1pc= crash #318143
04/05/10 15:05
04/05/10 15:05
Joined: Feb 2004
Posts: 334
metal Offline OP
Senior Member
metal  Offline OP
Senior Member

Joined: Feb 2004
Posts: 334
hi,
im using a6.60 com and i have a problem with running my prog as server+client and client only on the same pc:
at first i start the program with -sv -cl. this works fine but as soon as i start another instance of it (- cl ony) to connect to the first one, the first one freezes.
the logfile of the client shows

...
Searching for servers... session CLIENT_MAIN found
Session CLIENT_MAIN joined as spieler1
...

the logfile of the server+client shows:

...
Compiling CLIENT_MAIN.WDL - [Esc] to abort...........
Running CLIENT_MAIN.WDL
Starting server... flo 192.168.178.21 initialized
9 objects
Spieler1(S) joined
D3D_Init Window: 640x480x32 -> Window: 1x640x480x32
Video memory found: 742 MB
Main started
Example_Camera_Controls_startup started
Camera_Driver_startup started
Main loop.....
Level()...cmap,0 ents,0 lmaps,0 texs,hull
Physics restarted...ok....ok
1st frame - 759808K... ok
D3D_Resize Window: 1024x768x32 -> Window: 1x1024x768x32
Spieler2(C) joined

i always have to close the first program by using the task-manager.. it uses 99% cpu power and dosnt react anymore after the client joined.

any idea what is causing this?
it also happens with an "empty" project, just
function main(){
level_load(NULL);
wait(2);
}

if i start both with -sv only or both with -sv -cl it works fine

the os on this pc is winxp sp3

Last edited by metal; 04/06/10 08:33.
Re: A6.60 running as sv+cl and cl on 1pc= crash [Re: metal] #320864
04/25/10 13:47
04/25/10 13:47
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Perhaps you're having a hardware problem? When the second instance starts, the two engine windows might be going through a "tug-of-war" where each one is trying to control your sound hardware.

Try using the -ns parameter to stop the engine from initializing DirectSound.


Eats commas for breakfast.

Play Barony: Cursed Edition!

Moderated by  HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1