can't enter a session... :[

Posted By: hopfel

can't enter a session... :[ - 01/08/11 12:54

Hi there, I just tried again to make an online-multiplayer again,
but failed at the very beginning... >.<
The problem is:
1. I started the server (server + Client in the line Options), works fine and does what it should.
2. I started a client, but it got stuck at this loop: while(dplay_status<2){wait(1);}
dplay_status had the value 1, would say it connected but couldn't enter the session. :S

I think there are some settings wrong, because it worked fine on my netbook...

I Use A7 Com (newest version, 7.83 I think)


Just a little second question so I don't have to create an additional thread,
is there a tutorial somewhere which explains,
how to publish my game, would say with lineoptions etc.
and what I have to take care about when I put it on a server?
I feel a bit stupid, because looks like everybody excepting me knows how, but there's nothing about in the workshops...

Would be very helpful. laugh
~greets
Posted By: Fussfoehn

Re: can't enter a session... :[ - 01/08/11 13:45

pt1: what changed to your netbook? I never really used dplay_status... i prefered the "connection" variable.


pt2: the end of "Workshop25: Multiplayer" from
http://tutorial.3dgamestudio.net/index_d.htm
gives a hint about Hosting an online game...

the engines commandlines are listed in the manual.
http://www.conitec.net/manual_d/a-black.htm

I can't think of anything special to do when you put it on a server except to open up ports and use the right IP-address to connect (for LAN the local ip 192.168... for internet the ip you see on http://www.whatismyip.com/)
If you want to list multiple server to choose from like in the steam server browser it gets a little more complex, i guess ANET or GSTNET would help you with that.



Edit: uh the links aren't in english, sry for mixing languages.
here the tutorialpage http://tutorial.3dgamestudio.net/
cant find the commandline part in the english manual right now, but it should be there somewhere^^
Posted By: hopfel

Re: can't enter a session... :[ - 01/08/11 14:02

First, thank you for the answer of the second question, I think I should get it work with it. grin
It's ok, I'm german lol XD

Quote:
pt1: what changed to your netbook? I never really used dplay_status... i prefered the "connection" variable.

The problem is, that on the clients "dplay_id" is zero,
and so the whole code doesn't work.
Erm...
The differents between netbook and PC...
It's another systems software, another antivir...
But other multiplayer worked on my PC some months ago too,
I have no idea why it doesn't work now anymore, so I just want to know,
what COULD be the problem that I can't enter a session, so I can see where I have to look for the fault... crazy
thanks ^^

Problem solved, reinstall did the work... grin
Thank you again ^^
© 2024 lite-C Forums