Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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