*BUMP*
-Sam
[VB6] Gray's client server [VB6]
Were Do We Add The "MAIN function. "sip()"
Quote:
Quote:
Wow i must say your coding is ugly as hell..
Code:
Code:
Wait What client is this producing? Habbo Client? Or Just a Game there making..?
Quote:
is this the actuall server + client or just the server?
This is the server, look in the client section for the client.
Well this isnt the server it's a tutorial, look in the server source for it.
Well this isnt the server it's a tutorial, look in the server source for it.
Quote:
Hey, here is a quick tutorial on how to create a server for the client:
Alphaseacity created by gray.
You can download the client here:
http://sourcecode.mmoccforum.com/alphaseacity.zip
We are going to work with Mikey's VB multiuser server, to save time.
You can download it, here:
http://sourcecode.mmoccforum.com/Mik...ser_server.zip
Now we have all the nessecary components.
Right, open up Mikey's server source in visual basic 6.0
Now, on frmMain, increase the height of the form just enouh to fit another panel in there that has a few buttons in.
Now, add a pael that stretches to the width and remainign height of the form. Change the caption to:
Tools
Thats the simple part.
Now, open up the code editor.
Find and replace:
"sckListen.LocalPort = 2300"
Change it to:
"sckListen.LocalPort = 37120"
Now that the ports are set, the client will transmit data to the server.
But, the server doesnt know how to handle that data.
So, lets start off with an alert.
Draw a command button on the panel with the caption "tools" and doubel click it to access its action.
Type or copy and paste this code in:
Code:
Alphaseacity created by gray.
You can download the client here:
http://sourcecode.mmoccforum.com/alphaseacity.zip
We are going to work with Mikey's VB multiuser server, to save time.
You can download it, here:
http://sourcecode.mmoccforum.com/Mik...ser_server.zip
Now we have all the nessecary components.
Right, open up Mikey's server source in visual basic 6.0
Now, on frmMain, increase the height of the form just enouh to fit another panel in there that has a few buttons in.
Now, add a pael that stretches to the width and remainign height of the form. Change the caption to:
Tools
Thats the simple part.
Now, open up the code editor.
Find and replace:
"sckListen.LocalPort = 2300"
Change it to:
"sckListen.LocalPort = 37120"
Now that the ports are set, the client will transmit data to the server.
But, the server doesnt know how to handle that data.
So, lets start off with an alert.
Draw a command button on the panel with the caption "tools" and doubel click it to access its action.
Type or copy and paste this code in:
Code:
Good Job, Alot of people will be interested in this, +Rep
Edit, Can't give any 2 you atm
Edit, Can't give any 2 you atm
Lol, no worrys.
It took me a while to understand the packets but its quite simpel when you get to know them
It took me a while to understand the packets but its quite simpel when you get to know them
It works, thats the first time I have seen it working since I released it(I lost the source). I am impressed by your effort into making this work.
Thanks gray, all in a few weeks work
Now people can develop your client easier.
Now people can develop your client easier.
Source maybe (H)
If i agve out source, nobody would learn, plus, theres mikys multiuser source there anywho, which is the base.
This just adds packets and allows multiple connections.
Mikey's server is multi-user...isn't it?
Quote:
A BUG:
I dont know if this is jsut me, but it doesnt let more than 1 person log in, if it happens to someone else, tell me, and ill create a different tutorial.
I dont know if this is jsut me, but it doesnt let more than 1 person log in, if it happens to someone else, tell me, and ill create a different tutorial.
Recovered from /coding-tutorials/10715-vb6-grays-client-server-vb6-2.html · captured 2008.