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 / Okay. Now I want to make just a simple online chat application

Author
Message
Zaxtor99
12
Years of Service
User Offline
Joined: 27th Jul 2011
Location: Boise, Idaho, USA
Posted: 13th Jun 2012 02:02
Okay, I went through the examples and samples on DBC (Dark Basic Classic) but totally don't get the online stuff.

The samples multiplayer games don't seem to work at all. I sent my sister an stand alone executable of the little net game where you move the creature around the grid and can fire at each other. It asks her to enter my IP address, but it doesn't show her an existing game even though I am already on playing. Tried it the opposite way too to try and connect to her ip address and get in her game.. also didn't work.

Could someone PLEASE show me the code with REM statements explaining how everything works in the code to say make a simple chat app to allow say 4 people to connect together and simply chat? OR better yet have the client show a few simple questions and whoever types the correct answer first gets a point or something. Something real simple. I don't want some huge graphics and sound game that will make it confusing for me to understand how the multiplayer works with DB Classic.

I would greatly appreciate it.


- Zaxx
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 13th Jun 2012 08:16
With the creature example you mentioned just press OK and leave the box empty without entering an IP. The game will automatically search for open games. Also check that you're using TCP/IP and not something else.

I have an old DBC chat program lying around somewhere, I'll see if I can comment it a bit and upload it tonight (that is, if Latch or someone else doesn't get there before me).

TheComet

Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 18th Jun 2012 08:41
@Zaxtor99
Are you still interested in a basic chat program?

Enjoy your day.

Login to post a reply

Server time is: 2024-04-24 17:02:00
Your offset time is: 2024-04-24 17:02:00