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 Discussion / Hey has anyone tried this???

Author
Message
SpazDC
21
Years of Service
User Offline
Joined: 20th Oct 2004
Location: Hmm... Good question
Posted: 3rd Jul 2005 10:04
Has anyone tried to make a program like a chat room. So you can talk to multiple people at once! like in games. i have never been able to do so. can someone help me along. my game we so much better with it.

give me what i want and i will go away!
Chris K
22
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 3rd Jul 2005 21:28
It's been done by Ian M. Check the codebase.

My Showcase - It's DBpro-tastic
RUCCUS
21
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 6th Jul 2005 23:40
There's also a command that does this in like 1 line in DBP.


Current Projects: SHADE - Game Maker | Mecho - TGC Puzzle Entry | Halo Physics Engine | COLD - Polygonal Collision Detection
SpazDC
21
Years of Service
User Offline
Joined: 20th Oct 2004
Location: Hmm... Good question
Posted: 7th Jul 2005 07:08
but i dont have DBP!!!

give me what i want and i will go away!
RUCCUS
21
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 12th Jul 2005 01:41
Im not sure if it's in DBC, check the help files.


Current Projects: SHADE - Game Maker | Mecho - TGC Puzzle Entry | Halo Physics Engine | COLD - Polygonal Collision Detection
SpazDC
21
Years of Service
User Offline
Joined: 20th Oct 2004
Location: Hmm... Good question
Posted: 26th Jul 2005 04:53
man i cant find it!!! its hopeless... o well!

give me what i want and i will go away!
BearCDPOLD
22
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 26th Jul 2005 11:03
Search the forums for DarkTopia.


I'm going to eat you!
blanky
21
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 30th Jul 2005 20:49
Speak to Benjamin real nice, and he might even give you SimpleChat, one of his demos for Tempest (also his(!)).

Tempest is coming along real nice now - Even though it runs on UDP, it also has a 100% working Reliable Message System that can be turned on and off at a moment's notice..

...So you can make it so some messages your game sends always get through, while some of the less important ones that get fired 20 times a second anyway (player movement, etc.) .... don't always get through. Saves bandwidth.

And it's better than TCP/IP. It is.

Syntax Error - Learn to type, you fool!
master programmer
21
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 2nd Aug 2005 05:21 Edited at: 2nd Aug 2005 05:22
You can make one with DB Classic. There's a whole bunch of net game commands that may help. Although I'm still figuring them out for my Slayer: Battle Tanks 2 game (which will be on-line by the way), those codes should help you. If you own a DarkBASIC manual, it shouldn't be too hard.

------------------------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
blanky
21
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 3rd Aug 2005 14:18
...Yeah, could you please stop putting that logo and advertising your game everywhere?

Also, as you already should know, 'net game' commands are DirectPlay, DirectPlay is no longer supported by Microsoft (well, they're not going to update it for DX10) and they recommend you use things internal to W2k+XP (i.e., Winsock).

There are PLENTY of multiplayer plugins out there - just go out and pick one.

[Insert extremely witty comment here] :: Add me to MSN if you like, but don't expect any big favours [unless you like VB6]. ... IDK!!
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd Aug 2005 15:53
2 things:

1) rhett, i dont think the manual would help in this case (or are you talking about the bit 700+ page book?)

2) Blanky: what if he wants to advertise his game, would you go up to drew cameron and say "hey, gonna stop putting up pics of that ugly b!tch, katie holmes!"

Your signature has been erased by a mod because it's larger than 600x120...
David R
22
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 3rd Aug 2005 16:09
Yeah, but Drew's ad is part of his sig. And he doesn't constantly mention it in every message

[url=www.lightningstudios.co.uk][/url]
master programmer
21
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 3rd Aug 2005 23:57 Edited at: 5th Aug 2005 00:57
Blanky, have you ever noticed you are really mean on these forums? I've been dissed for countless things by you. These things don't really even matter, you just are really picky. My ad doesn't hurt anything. I just paste the stuff before I post. But, because your whining for me to stop using it, I will, and I'll use my .gif of my name I created.

David R,
You're using an ad right now too, for you studios.....what's different about mine?
[Grotesquely large sig image removed]
--------------------------------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
blanky
21
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 5th Aug 2005 00:05 Edited at: 5th Aug 2005 00:34
What the hell, there's not going to be a Tempest release any time this month, so I went and downloaded the first DBC-compatible multiplayer plugin I could find.

*UPDATE*.. A plugin that doesn't WORK. Watch this space, while I find another freaking one.. But, tomorrow...

Quote: "Client Socket (Winsock) Winsock plugin - allows raw network access - cybernetic wraith
http://www.dracsoft.com/zips/client_socket.zip
"


Well, either it's for DBP after all or the Readme's completely out of whack. Oh well.

..Ok, I had to code my own relay 'Server' so this plugin could work - http://blanky.clearphp.com/listener.exe. What goes in port 21 comes out port 22, and vice versa. Simple as that.

Make two copies of this code - For one of them, change the '21' in the Connect statement to '22', and then run BOTH of them (the server before even that), at the same time. (They don't need to start at the same time, though. Anything said, until both are connected, will be lost.)



(Sorry to SpazDC etc. for this)
@Master Programmer:
His is 28.22KB, and so takes about 5-7 seconds to load first time, meticolously loading downwards until the picture is before me.

Yours is 398.52kb, and, no kidding, i sat there for 2 minutes until it had loaded, in all of it's screamingly slow, 256-colour glory. A download finished before it had. And, again, THE CODEBASE IS NOT A FILE HOSTING AREA. You *can* get a ban spanning a few days for abusing a service of the site in such a way.

(56KBits/s = Theoretical 7kb/sec, actual ~ 3-4kb/sec).

[Insert extremely witty comment here] :: Add me to MSN if you like, but don't expect any big favours [unless you like VB6]. ... IDK!!
Call me coder
21
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 21st Aug 2005 21:24
go to codebase and search for "multiplayer" in all languages it shall appear as "multiplayer from connection to gameplay i think" it is for dbc enhanced so dl that patch and it works. I think you have to logon to the same ip address of the other people. just try it



TO ALL THOSE PROGRAMING PEOPLE OUT THERE!

Login to post a reply

Server time is: 2026-07-11 11:40:53
Your offset time is: 2026-07-11 11:40:53