Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
3 registered members (Grant, dr_panther, AndrewAMD), 1,379 guests, and 6 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
multiplayer launcher #322834
05/10/10 07:40
05/10/10 07:40
Joined: Jul 2004
Posts: 74
Inside Maya
S
Sichlid Offline OP
Junior Member
Sichlid  Offline OP
Junior Member
S

Joined: Jul 2004
Posts: 74
Inside Maya
Hello everyone,

In multiplayer right now the only way you can select server or client is by PHYSICALLY typing in the -sv -cl commands in the command line. but when the game is published then there is no way
player can type -sv -cl. The solution to this is :

1. use MP launcher which is not there still in conitec

2. use session_ open commands. They work with starting a server , but client doesnt connect properly wioth the session_connect.

It feels really sorry that we dont have such a basic feature and if anyone knows it , please share with all of us as having an MP executable without ability to select server or client is simply pathetic.

Thanks to all in advance for any help.

Sichlid !


Best Regards, Sichlid
Re: multiplayer launcher [Re: Sichlid] #322837
05/10/10 08:11
05/10/10 08:11
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
You could use the exec funtion:

(from Manual)
exec("%EXE_DIR%\\acknex.exe","samples\\terrain.hmp"); // open terrain in another engine window
(where you can insert the -sv -cl commands)


to start gamestudio itself as a client.
And then exit the old program.

You have to write a "login" GUI then , to let the
user input the ip of the server, and use this to set the
parameters for the "re startup"

----

The missing startoption for multiplayer is known and complained about
for many years.
Its another reason why you SHOULD NOT use the native gamestudio Multiplayer functions.

Better use one of the external plugin-dlls,
where you can implement this much more flexible
during runtime of the engine.

Re: multiplayer launcher [Re: Damocles_] #322845
05/10/10 08:56
05/10/10 08:56
Joined: Jul 2004
Posts: 74
Inside Maya
S
Sichlid Offline OP
Junior Member
Sichlid  Offline OP
Junior Member
S

Joined: Jul 2004
Posts: 74
Inside Maya
Thank you Damcoles for the reply.

What i need to understand is the function session_connect(session_name) should connect a single player game to a multiplayer client session with the session_name server name. Now in my code i am able to start a multiplayer session and but with session_connect i am not able to connect to the already started server on the same machine. this is a bug i feel and hence conitec should correct it or not give this function as it is useless if it doesnt work.


Best Regards, Sichlid
Re: multiplayer launcher [Re: Sichlid] #322851
05/10/10 09:40
05/10/10 09:40
Joined: Jul 2004
Posts: 74
Inside Maya
S
Sichlid Offline OP
Junior Member
Sichlid  Offline OP
Junior Member
S

Joined: Jul 2004
Posts: 74
Inside Maya
ok guys .. got it working by using the session commands. anyone needs it let me know . it is simple.


Best Regards, Sichlid
Re: multiplayer launcher [Re: Sichlid] #325524
05/27/10 00:47
05/27/10 00:47
Joined: May 2010
Posts: 13
I
IvanOFF Offline
Newbie
IvanOFF  Offline
Newbie
I

Joined: May 2010
Posts: 13
Pachee - now on Android Phones It's on found!


Moderated by  HeelX, Spirit 

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