MMOCC the isometric world scene, 2006–now
Archive. Archived from the original MMOCC Forum (2006–2010), recovered from the Internet Archive. The forum is read-only history now — the scene talks on Discord. If you posted here and want something removed, get in touch.

[VB6] Gray's client server [VB6]

18 posts · vBulletin era
#1
*BUMP*


-Sam
#2
Were Do We Add The "MAIN function. "sip()"

Quote:
#3
Wow i must say your coding is ugly as hell..

Code:
#4
Wait What client is this producing? Habbo Client? Or Just a Game there making..?
#5
Quote:
#6
is this the actuall server + client or just the server?
#7
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.
#8
Quote:
#9
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:
#10
Good Job, Alot of people will be interested in this, +Rep

Edit, Can't give any 2 you atm
#11
Lol, no worrys.

It took me a while to understand the packets but its quite simpel when you get to know them
#12
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.
#13
Thanks gray, all in a few weeks work

Now people can develop your client easier.
#14
Source maybe (H)
#15


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.
#16
Mikey's server is multi-user...isn't it?
#17
Quote:
#18
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.

Recovered from /coding-tutorials/10715-vb6-grays-client-server-vb6-2.html · captured 2008.