need 39.dll(soc) help

Posted by HomerTheDragoon on Dec. 3, 2006, 12:56 p.m.

Alright I've recently been studying the 39.dll. And im having troubles with a couple of things. One, im working on a lobby waiting room where you wait for the host to start the game. Ive been able to manage this in mplay however soc(39.dll) is much different. Can someone help me set this up?

Other news: Well im starting to convert me Block mini games Game to online. Which is why I asked the question above. I wont be releaseing any demos for it forawhile.

Other Other News: I recently busted out the dream cast, and damn its fun. NfL 2k is epic. Its soo good for how old it is. I loved dream cast, to bad it had some problems and failed.

Also im accepting any minigame ideas you guys might have for my mini game Game. The link is in my previous blog.

Comments

KaBob799 18 years ago

I have a dreamcast but I needto get good games…

42.dll =0

Kaz 18 years ago

What are you having problems with? The host accepting or the client joining?

squeakyreaper 18 years ago

I don't know a thing about 39.dll. I use mplay. I really need to learn, eh?

HomerTheDragoon 18 years ago

seeing how many people have connected and what not

Also do i open up to sockets? for two clients?

HomerTheDragoon 18 years ago

mplay seems to slow to use. Just even the connecting process takes much longer then 39.dll(aka soc)

SleepinJohnnyFish 18 years ago

To detect how many people are connected, you could have to count them as they join and leave, during the tcpaccept() process.

And you don't need to open up sockets for the clients with 39DLL. Only the server needs open ports.

HomerTheDragoon 18 years ago

yah ment does the server have to open a socket for each person per client. setting up soc is much harder then mplay. But isnt to hard once u got the stuff set up. :/.

HomerTheDragoon 18 years ago

hmm i cant get it to work :/

HomerTheDragoon 18 years ago

this is what i have

if !global.host exit
sock = tcpaccept(listen, 1);
if(sock>0)
{
  
  global.otherplayer[player] = sock;
player+=1
sock=-10
}
if player=2 {room_goto(rm_wait); closesocket(listen);}
[code]

It adds players once but then when another person joins it sets it back to 0... :/

Theodore III 18 years ago

I just use mplay.

Whats so good about using 39.dll?