Dynaverse.net

Off Topic => Engineering => Topic started by: toasty0 on March 21, 2005, 12:52:25 pm

Title: That settles that!
Post by: toasty0 on March 21, 2005, 12:52:25 pm
While rooting (yeah, flailing is more like it) around the files and dlls of OP trying to figure out a way to hook into the multiplayer launcher method I ran across this tid bit. I don't know why but it struck me as amuzing.

(http://www.toasty0.com/images/Didn't_know.jpg)

Jerry
Title: Re: That settles that!
Post by: Sirgod on March 21, 2005, 12:59:45 pm
Gotta Love Hexadecimal.  :D :D :D

Stephen
Title: Re: That settles that!
Post by: Bonk on March 21, 2005, 01:29:07 pm
I think this is what you are after (if ya didn't catch it in the other thread):

Quote
StarFleetOP.exe -Host      <---- (Directly to -> "Create Multiplayer Game")
StarFleetOP.exe -Client XXX.XXX.XXX.XXX      <-----(Directly to ->"Select Game" on host machine)

Taken from "\Services\sfc3\svc.cfg" in my Gamespy Arcade installation. (So I assume it will work for SFC3 as well...)
Title: Re: That settles that!
Post by: toasty0 on March 21, 2005, 07:23:04 pm
I think this is what you are after (if ya didn't catch it in the other thread):

Quote
StarFleetOP.exe -Host      <---- (Directly to -> "Create Multiplayer Game")
StarFleetOP.exe -Client XXX.XXX.XXX.XXX      <-----(Directly to ->"Select Game" on host machine)

Taken from "\Services\sfc3\svc.cfg" in my Gamespy Arcade installation. (So I assume it will work for SFC3 as well...)



Ok, Bonk, that is what I'm looking for. There seems to be no multiplayer DLL or EXE so gamespy must have something that informs the OP EXE of its launch parameters.

The closeests I've come to finding anything that even remotely hints at how GSA is accessing the EXE is this:

[sfc2op]
fpmt=1051903064
hosttemplate=#EXEPATH# -Host
jointemplate=#EXEPATH# -Client #SERVERIP#
gametype=CommandLine
fullname=Starfleet Command: Orion Pirates
maxplayers=6
minplayers=2
lateentry=0
genre=Strategy.Sim
newsurl=http://games.gamespy.com/2132/
planeturl=http://www.strategyplanet.com/sfc/
genreurl=StrategyPlanet\http://www.strategyplanet.com/
chatchannel=#GSP!sfc2op
pushchannel=#sfc2op_updates
engine=cengine
handoff=t9ENXT35rrAoJI


Gotta love it.

Jerry
Title: Re: That settles that!
Post by: Bonk on March 21, 2005, 08:00:14 pm
I think this is what you are after (if ya didn't catch it in the other thread):

Quote
StarFleetOP.exe -Host      <---- (Directly to -> "Create Multiplayer Game")
StarFleetOP.exe -Client XXX.XXX.XXX.XXX      <-----(Directly to ->"Select Game" on host machine)

Taken from "\Services\sfc3\svc.cfg" in my Gamespy Arcade installation. (So I assume it will work for SFC3 as well...)



Ok, Bonk, that is what I'm looking for. There seems to be no multiplayer DLL or EXE so gamespy must have something that informs the OP EXE of its launch parameters.

The closeests I've come to finding anything that even remotely hints at how GSA is accessing the EXE is this:

[sfc2op]
fpmt=1051903064
hosttemplate=#EXEPATH# -Host
jointemplate=#EXEPATH# -Client #SERVERIP#
gametype=CommandLine
fullname=Starfleet Command: Orion Pirates
maxplayers=6
minplayers=2
lateentry=0
genre=Strategy.Sim
newsurl=http://games.gamespy.com/2132/
planeturl=http://www.strategyplanet.com/sfc/
genreurl=StrategyPlanet\http://www.strategyplanet.com/
chatchannel=#GSP!sfc2op
pushchannel=#sfc2op_updates
engine=cengine
handoff=t9ENXT35rrAoJI


Gotta love it.

Jerry


Where'd ya find that info? (looks mostly like room creation parameters) but has the same info expressed:
Quote
hosttemplate=#EXEPATH# -Host
jointemplate=#EXEPATH# -Client #SERVERIP#


I was quite pleased when I found this. Should work nicely for us... if only we could launch to a dyna direct too... (I think I see how it may eventually be possible from the serverkit source).
Title: Re: That settles that!
Post by: toasty0 on March 21, 2005, 09:55:07 pm
That would be cool.

Jerry