Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Visual Basic? When the vision is darkened...? what?! oh man you're crazy

Author
Message
Jimmy Cool
23
Years of Service
User Offline
Joined: 6th Mar 2003
Location: United States
Posted: 28th Jul 2003 07:59
hey, thanks for reading his, you're a pal

i'm making a dedicated server for my simple little multiplayer game in VB.. i've got all the directplay crap done, i can connect to my server and view sessions and crap with a VB client, but when i connect with darkbasic i see no sessions, i'm thinking it's possible conflicting GUIDs, if you don't know what that is, then don't worry about it.. ok fine, with DP client and server have to have matching GUID numbers in order to form a more perfect union. atleast, that's what i've gathered, so that's what i'm thinking my problem is.. but if it's not or you know how to work around this GUID mess, please reply THANKS!
***********************************************
Me, i'll just be here crying my brains out
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 28th Jul 2003 11:24
not knowing a lot about this but what I have played about with....but are VB and DB useing the same port numbers?, DB likes to be "different" did you do a "perform checklist for net connections" and then "set net connection" ?, if you mean the perform checklist for net connections comes up with nothing then I have no idea, if you find a connection on the checklist then you need to scan that connection with "perform checklist for net sessions" to find the correct net session and then "perform checklist for net players" to find the net game players, so you do

perform checklist for net connections
<find the connection you want..the index is the connection no>
set net connection <using the connection no>
perform checklist for net sessions
<read names to find the session you want>
join net game <joins you to a net game session>
perform checklist for net players <find the id`s and local/host player>

if you do all that it should work (IIRC), but sending net data is full of weirdness, mostly due to my program errors (since I am not used to coding netgames...I think single player) and I only wrote a few demos to try it out when I was testing DB, cheers.

Mentor.

Dreamora
23
Years of Service
User Offline
Joined: 20th Sep 2002
Location: Switzerland
Posted: 28th Jul 2003 12:18
we had problems too with that, but when we tried to find sessions that made DBP by it self ... never found any session although we were 4 peoples in the chat ... game exists -> 1, net players -> 4, sessions -> 0

seems to be a bug within DBP

Jimmy Cool
23
Years of Service
User Offline
Joined: 6th Mar 2003
Location: United States
Posted: 28th Jul 2003 19:17
it's net sessions that don't show up, i've got them both using tcp/ip and the port shouldn't matter, apparantly directplay doesn't USE ports heh, so uh.. yeah.. no games show up

***********************************************
Me, i'll just be here crying my brains out
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 28th Jul 2003 20:52
Directplay *does* use ports, but it uses UDP across the internet, not TCP and so the ports are not persistent.

What you need is the GUID that DBPro uses ... but how you get this, I have no idea. Try emailing Lee and asking him.
Jimmy Cool
23
Years of Service
User Offline
Joined: 6th Mar 2003
Location: United States
Posted: 29th Jul 2003 05:32
yeah that's what i've been thinkin.. but how do i contact Lee? and does he even reply? lol

***********************************************
Me, i'll just be here crying my brains out

Login to post a reply

Server time is: 2026-07-23 02:37:52
Your offset time is: 2026-07-23 02:37:52