-
Please find the relevant files/source at http://www.scumcity.co.uk/enkidu
Its only a winsock engine, login script, and some basic movement... And you have to follow these instructions.. ;)
The client is just a standard client I ripped off and altered a little. Ive no idea why its so big (30K), but rewriting that is the next task.
You can run the server locally, and use your own ip, or just run the client, and connect to my test server @ 195.226.34.52 port 2243
The live server only has a static list of usernames ATM, so please try not to stay logged in for to long, its allready straining at the load.
INSTRUCTIONS:-
Run Server.exe check the settings(You can change the port)
The click startup server
You can view the user list from the drop down menu.
Once the server is running, run client.exe, give it the right Ip address
and
port(The one selected before, default is 2243)
Commands are (who, south, north, east, west, e, w, n, s, tell USERNAME
MESSAGE,
disconnect, login USERNAME PASSWORD)
Username and password list....
tony, cheetham
guest, wierdo
will, hill
john, francis
You can "tell tony hello!"... but only if hes logged in, obviously. "who" is a good command for finding online users.
Just use 2 clients on different machines to try multiple users..
PLEASE give me any questions, ideas, comments. Mailto:[email protected]
-
Just bringing it back up to the top, I REALLY need some feedback, has anyone on here done this before? does it look ok? have I done it in a slow way?
-
When I try to test the client, and I click the connect button to connect to the test server. It gives me this error: "Connection is forcefully rejected. Error num: 10061"
-
Ye, the test server had to be rebooted, and I didnt restart the services properly. its back now.. cheers for that :)
-
I'm connected. What shall I do now?
-
Well, you can login, just use the command line..
login will hill
Then the usual MUD commands.. N S E W, and WHO tells you who is online, and Tell will let you talk to them.. its very limited until I get it so it lets you sign up online, but Im just interested in getting some feed back on speed, and reliability..
-
Just in case my other posts havent been to clear, if you run server.exe locally, then just connect to your local IP address with the client, and itll run locally, no need for my server. Or you can run JUST the client and connect to my test server..
-
Ok, last time, just bringing it to the top.. ill quit if theres no replys to this one..
-
Hm, i logged in and tried the commmands, dont look like it works...
-
I would try it locally.. just run the server, and his startup server. The live one is up and down at the moment, as Im using it for testing.... I would REALLY appreciate your giving it a quick bash fox, just to see if its even close...
-
Well I didnt download the source so I dont know what I missed to test out... lets see:
-I start server and listen
-Then I start client and connect
-Ok, now <login will hill>
-Server says "login successfully"
-Now I try to run another client, return error (address already in use) <tell hill hello> returns a subscript out of range -error now
-ok, restarted all, told me "hello", works.
-tested <who>, returns the name + "," (try this: [send left(names,len(names)-1])
-testing nwse commands, works fine ;)
well, cool ;)
-
You cant connect 2 client from one box ;) thats the way of the winsock, Im uploading a new copy of the client soon, with a much nicer interface, and (Wait for it) ERROR CHECKING!!!! neat ey? Lol Ill mail you a copy of the new client and server if youve got a few spare mins? (Its only about 100K for both)
-
-
-
Ok, but I cant connect to my local server... it seems to open a internet connection?
-
well, it all runs over tcp/ip, this assumes you have a net connection, and if you dont have a local area network running over tcp/ip, then youll need a live net connection.. its the only way Im afraid.. A local version is in the pipeline, once I figure out how *Shudder* Internal routing works in Windows.. Ohh if only this were linux :|
-
wheres the problem? in the last version I just connected to <localhost> or <127.0.0.1>...
Well, the problem is my firewall dont lets you thru since you try to connect to the net :(
-
Hmmmmmmm, very strange, I havent even altered the connection system.. bugger, you might try a different port, sometimes they become locked...
-
-
Ill admit, theres much in the way of gaming functionality ;) hehe, But the actual code is allowing me to add functions in a few seconds, Ive added a fighting system and a "update game world" function in less than 3 hours this afternoon. Obviously it also works over the net, with a little over 10,000 simultaneous connections, which is not bad.
-
Well, theoretically *maybe*... but:
1) You'd need at least a T3 connection ;)
2) You'd need 10,000 users *ggg*
3) Only 10,000? My progz support up to 65500 connections :D
-
Welll, Im hosting with planet, who have the most bandwidth of any hosting company in the world outside the US, I used to contract for them, and I regularly got more speed than my network card could handle. I doubt Ill actually have 10000 users Lol, but I can dream ey?
-
And I take it 65500 is the number of ports you have on your machine?(Standard TCP/IP stack). Im not using 1 port per user, there all sharing one, hence there only being space for 10,000, I suppose if I shared over the whole 65500 ports, I could have a theoretical(Highely bloody theoretical) 655000000 connections?
-
nope, windows wouldnt let you do that I think ;)
btw: I made a new demo, introducing my easy-to-use winsock class. download here (save as) the program and help me beta testing. unfortunately my firewall doesnt let others connect so you would need to start a server and give me your ip...
[Edited by Fox on 10-17-2000 at 12:14 PM]