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 / Lan games?

Author
Message
smartypants
21
Years of Service
User Offline
Joined: 27th Apr 2004
Location: At is computer
Posted: 21st Dec 2004 11:24
Hello, I've been wanting to make a multi player game but I don't have any idea on how to do it. I have DBCe but the examples don't even work... Is there even a way to do multi player with DBCe? if so could someone give me an idea on how to do it?

I have 3 computers in my house all hooked together by a LAN. They all get to the internet through one computer and I think that causes them to all have the same internet IP address. That might be the reason why the examples work...

any help would be appreciated, thanks!

King of the asked question
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 21st Dec 2004 11:54
my games all ran fine ona lan ...
2 problems your having:

1 - each PC has its own IP address on a LAN.
Assuming your using a router and not simply
making a split on the cable ...
The IP addresses for each PC is assigned by your router.
I'm using a DI-614. If I gain admin access to the router,
it lists all PC connected to the router and thier IPs.

2 - You might be trying to connect to the LAN IP address
that is assigned by your ISP. That just won't work
You need to try and connect to the IP that your LAN
assigned to your host PC ...

3 - Don't forget about firewall issues.
Ali M Oldboy
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location: England, UK
Posted: 21st Dec 2004 16:15
Well said, waffle


Nukesoft :: Explosive Games :: If your 555, then I'm 666! Whats it like to be a heretic?!
smartypants
21
Years of Service
User Offline
Joined: 27th Apr 2004
Location: At is computer
Posted: 21st Dec 2004 20:28
Thank you! little busy right this min but i'll try it out later today!

King of the asked question
smartypants
21
Years of Service
User Offline
Joined: 27th Apr 2004
Location: At is computer
Posted: 22nd Dec 2004 23:42 Edited at: 22nd Dec 2004 23:45
ok... I can't find my router, we use a OnQ Ethernet hub and I can only find an IP address that I got from a site that used port tracer... and I used the site on my other computers and it gave me the same thing so I don't know if they have different IP addresses or not.

King of the asked question
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 23rd Dec 2004 02:35
Go on:

- Start
- Settings
- Network Connections
- Local Area Network
- Properties
- TCP/IP
- Properties

IP should be there.
smartypants
21
Years of Service
User Offline
Joined: 27th Apr 2004
Location: At is computer
Posted: 24th Dec 2004 08:43
Thank you very much!! now I have there IP adresses... but i can't figure out how to send information from one to the other, i got them (the 2 computers) to join the same game, but when i try to send an integer nothing gets sent... or recived.. or displayed i don't know whats going wrong. The examples that DBC came with arnt helping, this is what i got...


can anyone tell me what i'm doing wrong? or point me at a good tutoral?

King of the asked question

Login to post a reply

Server time is: 2025-05-24 07:41:55
Your offset time is: 2025-05-24 07:41:55