Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Disabled Options #83614
07/28/06 18:36
07/28/06 18:36
Joined: Jul 2006
Posts: 28
Netherlands
F
Fireball Offline OP
Newbie
Fireball  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 28
Netherlands
If you have a multiplayer game, you can start a server with the -s option in a shortcut. But is it also possible that you make 2 versions of a game, one that can use the -s option and one that cannot use the -s option ?


Fear isn't a weakness, it's a sense... It's harder to survive, than to fight... The truth ain't fair, but fair would be the truth... (created all myself )
Re: Disabled Options [Re: Fireball] #83615
07/28/06 18:38
07/28/06 18:38
Joined: Jul 2006
Posts: 28
Netherlands
F
Fireball Offline OP
Newbie
Fireball  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 28
Netherlands
I want it to be able that only I can make a server, and the clients can only join that server but not make one themself.


Fear isn't a weakness, it's a sense... It's harder to survive, than to fight... The truth ain't fair, but fair would be the truth... (created all myself )
Re: Disabled Options [Re: Fireball] #83616
07/28/06 18:41
07/28/06 18:41
Joined: Jul 2006
Posts: 28
Netherlands
F
Fireball Offline OP
Newbie
Fireball  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 28
Netherlands
And that the client version automaticly connects to the right server (an ip that I will enter) but not needs the code after the shortcut (so that the orginial .exe will connect to the server).


Fear isn't a weakness, it's a sense... It's harder to survive, than to fight... The truth ain't fair, but fair would be the truth... (created all myself )
Re: Disabled Options [Re: Fireball] #83617
07/28/06 18:47
07/28/06 18:47
Joined: Jul 2006
Posts: 28
Netherlands
F
Fireball Offline OP
Newbie
Fireball  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 28
Netherlands
(like -s is -sv (sorry))


Fear isn't a weakness, it's a sense... It's harder to survive, than to fight... The truth ain't fair, but fair would be the truth... (created all myself )
Re: Disabled Options [Re: Fireball] #83618
07/28/06 19:05
07/28/06 19:05
Joined: Sep 2005
Posts: 159
The Netherlands
D
Dutchie666 Offline
Member
Dutchie666  Offline
Member
D

Joined: Sep 2005
Posts: 159
The Netherlands
you can do it this way. put this at the top of the main function:
ifdef server;
exec("your.exe","-cl -ip ....");
endif;
ifndef client;
exec("your.exe","-cl -ip ....");
endif;


it will just check if the game is started as a server, if it does it restarts it as a client to your server(ip must ofcourse be changed) and if the game is NOT started as a multiplayer client. it starts it again with and connects to ip...

Re: Disabled Options [Re: Dutchie666] #83619
07/31/06 21:38
07/31/06 21:38
Joined: Jul 2006
Posts: 28
Netherlands
F
Fireball Offline OP
Newbie
Fireball  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 28
Netherlands
Thank you, that is exactly what i needed


Fear isn't a weakness, it's a sense... It's harder to survive, than to fight... The truth ain't fair, but fair would be the truth... (created all myself )
Re: Disabled Options [Re: Fireball] #83620
08/02/06 01:19
08/02/06 01:19

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Please... Use the edit function of your post to add your updates.

No need to post one after another if you have updates to add since you made very short posts, but no offense.

Re: Disabled Options #83621
08/03/06 21:22
08/03/06 21:22
Joined: Jul 2006
Posts: 28
Netherlands
F
Fireball Offline OP
Newbie
Fireball  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 28
Netherlands
I'm sorry, didn't knew that was also possible on this forum.


Fear isn't a weakness, it's a sense... It's harder to survive, than to fight... The truth ain't fair, but fair would be the truth... (created all myself )

Moderated by  HeelX, Spirit 

Gamestudio download | 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