Ways to Network.
Quote:OK, if so, they'll be able to play without membership, unless you jump through some hoops.
Well, in a manner of speaking...
They will only be able to play with poeple they know (IP address know)
Quote:The server app I'm talking about is the server software you have two write. You need to write the game, and then a central server application which is what you wre asking about in the first place. (The server that takes all your IP numbers and controls them)
Ok, is this a compiled application or CGI/PHP/ASP?
I have no idea where to start (for the server stuff)?
Hey thanks for the quick reply
Global warming is caused by hobos and mooses
Work through with the tutorials and I think stuff will clear up.
Ok,
I found that that if CGI or PHP can get IP's then I can implement a login on a free server...
But if the computer freezez in the middle of a game the logout won't be recorded...
Meaning I'll have to log them out by hand...
Unless I add a logout page for that type of problem...
Then if poeple get there password they can log them out whenever...
Wreaking havoc on the player...
(and makes the game less entertaining if they have to do all kinds of technical stuff)
THANK!!!
I found that that if CGI or PHP can get IP's then I can implement a login on a free server...
But if the computer freezez in the middle of a game the logout won't be recorded...
Meaning I'll have to log them out by hand...
Unless I add a logout page for that type of problem...
Then if poeple get there password they can log them out whenever...
Wreaking havoc on the player...
(and makes the game less entertaining if they have to do all kinds of technical stuff)
THANK!!!
Global warming is caused by hobos and mooses
YIKES,
I tryed telnet (in terminal)
telnet->telnet (my host name) 3490 (enter)
and it sits there saying:
trying 0.000.354.0 (IP address) (not exactly the same)
I'm trying the app 5.1 (server-stream-socket)
now the app wont quit (doesn't show up in force quit)
exactly how long am I suppost to wait...
I'll work with it a little bit longer..............
I tryed telnet (in terminal)
telnet->telnet (my host name) 3490 (enter)
and it sits there saying:
trying 0.000.354.0 (IP address) (not exactly the same)
I'm trying the app 5.1 (server-stream-socket)
now the app wont quit (doesn't show up in force quit)
exactly how long am I suppost to wait...
I'll work with it a little bit longer..............
Global warming is caused by hobos and mooses
I didn't put:
telnet (my host name)
I put my host name in the place of "(my host name)"
telnet (my host name)
I put my host name in the place of "(my host name)"
Global warming is caused by hobos and mooses
Yeah, I got that.
OK, so for some reason the server-stream-socket isn't working on your machine… tough luck, I don't really have the time to help you there (deadline coming up) but I'll give you a couple of tips:
• In the Terminal, you're in UNIX. Hence, you kill any app by hitting Ctrl-C (or closing the terminal window)
• I'm curious, what did you put to connect to yourself? Your IP number or "localhost"? Try localhost. (It should give you 127.0.01 for an IP back)
• To make sure nothing is really fishy with your machine, enter System Preferences, File Sharing and make sure FTP is turned on. Then telnet localhost 21 (21 is the port number for FTP) You should now be ftp:ing to yourself. Type "bye" and hit enter.
Hope this helps, if not, post back.
OK, so for some reason the server-stream-socket isn't working on your machine… tough luck, I don't really have the time to help you there (deadline coming up) but I'll give you a couple of tips:
• In the Terminal, you're in UNIX. Hence, you kill any app by hitting Ctrl-C (or closing the terminal window)
• I'm curious, what did you put to connect to yourself? Your IP number or "localhost"? Try localhost. (It should give you 127.0.01 for an IP back)
• To make sure nothing is really fishy with your machine, enter System Preferences, File Sharing and make sure FTP is turned on. Then telnet localhost 21 (21 is the port number for FTP) You should now be ftp:ing to yourself. Type "bye" and hit enter.
Hope this helps, if not, post back.
Ok,
it says:
telnet connect to address ::1: Connection refused
then says:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost FTP server(lukemftpd 1.1) ready
I then type bye and enter...
I get the error:
500 '"bye"': command not understood
(I expected this) (but it could still be "fishy")
I'll work with it a little more and see if I can get it to work...
I was trying the computer name (found in sharing prefs) not localhost...
(it was probebly that)
Thanks for the quick reply,
BinarySpike
it says:
telnet connect to address ::1: Connection refused
then says:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost FTP server(lukemftpd 1.1) ready
I then type bye and enter...
I get the error:
500 '"bye"': command not understood
(I expected this) (but it could still be "fishy")
I'll work with it a little more and see if I can get it to work...
I was trying the computer name (found in sharing prefs) not localhost...
(it was probebly that)
Thanks for the quick reply,
BinarySpike
YESSSSSS!!!!!!!!!!!
I got it!!!!!!!!
I had to change just the correct port number (3490) instead of 21
YESSSSS!!!!!!!!!!!!!
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I got it!!!!!!!!
I had to change just the correct port number (3490) instead of 21
YESSSSS!!!!!!!!!!!!!
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Global warming is caused by hobos and mooses
Ok, all I need now is the static IP of my server and the information on how to connect
(so that the php document (or perl) will activate)
and I'll be all set

THANKS EVERYBODY.
(so that the php document (or perl) will activate)
and I'll be all set

THANKS EVERYBODY.
Global warming is caused by hobos and mooses
Oh, just for anybody looking here...
PHP can create a server app that logs-in and logs-out the IP addresses
(You create a time-out for computers that freeze and a logout for computers that logout)
So all in all you have about a 30 second delay (very good)
PHP can create a server app that logs-in and logs-out the IP addresses

(You create a time-out for computers that freeze and a logout for computers that logout)
So all in all you have about a 30 second delay (very good)
Global warming is caused by hobos and mooses
This is just a silly idea but you could easily have your server side app also write data to the msql server for your website to keep track of who's online and who's not. Keep the server updating the database and the users on the client end simply query the database. Only downside is that if you have limited bandwith on your server it could cause quite a drain. That's how I'd approach it though. This way, also, your website could show who is online and who is not.
We need a thread de-bumper. So we can kill zombified threads. Or, if we have one, we need to inform Kelvin of said feature's existence.
step 3) ...
step 4) Profit!!!
step 3) ...
step 4) Profit!!!
---Kelvin--
15.4" MacBook Pro revA
1.83GHz/2GB/250GB
kelvin Wrote:We need a thread de-bumper. So we can kill zombified threads. Or, if we have one, we need to inform Kelvin of said feature's existence.
step 3) ...
step 4) Profit!!!
Yea ok but whats step 3?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| java network api | San_Andreas | 1 | 2,872 |
May 1, 2008 08:05 AM Last Post: AndyKorth |
|
| Getting network connection for a specified PID | Florian | 6 | 4,503 |
Dec 23, 2006 03:46 AM Last Post: Florian |
|
| Network Code Design | Bachus | 5 | 4,214 |
Sep 26, 2004 06:54 PM Last Post: arcnon |
|
| Network Servers - whose connected to me? | Zenith | 3 | 4,291 |
Oct 2, 2003 04:29 PM Last Post: Steven |
|
| Multiplayer Network Connection | BeyondCloister | 11 | 5,255 |
May 13, 2003 10:11 PM Last Post: WaaMatt |
|

