|
-
Oct 12th, 2000, 09:27 AM
#1
Thread Starter
Addicted Member
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]
-
Oct 13th, 2000, 04:07 AM
#2
Thread Starter
Addicted Member
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?
-
Oct 13th, 2000, 10:06 AM
#3
Fanatic Member
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"
-
Oct 13th, 2000, 10:44 AM
#4
Thread Starter
Addicted Member
Ye, the test server had to be rebooted, and I didnt restart the services properly. its back now.. cheers for that
-
Oct 13th, 2000, 12:00 PM
#5
Fanatic Member
I'm connected. What shall I do now?
-
Oct 13th, 2000, 06:08 PM
#6
Thread Starter
Addicted Member
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..
-
Oct 13th, 2000, 06:10 PM
#7
Thread Starter
Addicted Member
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..
-
Oct 17th, 2000, 07:51 AM
#8
Thread Starter
Addicted Member
Ok, last time, just bringing it to the top.. ill quit if theres no replys to this one..
-
Oct 17th, 2000, 07:57 AM
#9
PowerPoster
Hm, i logged in and tried the commmands, dont look like it works...
-
Oct 17th, 2000, 08:04 AM
#10
Thread Starter
Addicted Member
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...
-
Oct 17th, 2000, 08:29 AM
#11
PowerPoster
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
-
Oct 17th, 2000, 08:49 AM
#12
Thread Starter
Addicted Member
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)
-
Oct 17th, 2000, 08:56 AM
#13
-
Oct 17th, 2000, 09:00 AM
#14
Thread Starter
Addicted Member
Mailed.. cheers
-
Oct 17th, 2000, 09:05 AM
#15
PowerPoster
Ok, but I cant connect to my local server... it seems to open a internet connection?
-
Oct 17th, 2000, 09:09 AM
#16
Thread Starter
Addicted Member
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 :|
-
Oct 17th, 2000, 09:13 AM
#17
PowerPoster
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
-
Oct 17th, 2000, 09:19 AM
#18
Thread Starter
Addicted Member
Hmmmmmmm, very strange, I havent even altered the connection system.. bugger, you might try a different port, sometimes they become locked...
-
Oct 17th, 2000, 10:18 AM
#19
PowerPoster
yes, worked fine
-
Oct 17th, 2000, 10:25 AM
#20
Thread Starter
Addicted Member
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.
-
Oct 17th, 2000, 10:36 AM
#21
-
Oct 17th, 2000, 10:43 AM
#22
Thread Starter
Addicted Member
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?
-
Oct 17th, 2000, 10:48 AM
#23
Thread Starter
Addicted Member
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?
-
Oct 17th, 2000, 11:09 AM
#24
PowerPoster
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|