Mirage Source
My Project - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24)
+----- Forum: Visual Basic 6 (https://mirage-engine.uk/forums/forumdisplay.php?fid=32)
+----- Thread: My Project (/showthread.php?tid=2921)



My Project - halla - 08-07-2009

Well im going to post different things here as my project goes on. So far have it able to connect with multiple connections, can boot people, can send server messages, can create account, can login. Basic things. Anyways if anyones bored take a look and let me know what kind of things I can optimize or how I can do them better. Im sure im not doing everything as good as it can be plus its best to clean it up before I get even farther.

http://rapidshare.com/files/253324281/Project.rar.html

Keep in mind im still learning but laugh or comment as you please lol


Re: My Project - halla - 19-07-2009

guess no one cares? :/


Re: My Project - Doomy - 20-07-2009

what is it


Re: My Project - Toast - 20-07-2009

Doomy Wrote:what is it

Lmao. He just gave you an explanation of what is it.


Re: My Project - Doomy - 20-07-2009

i mean is it an orpg engine? a chat client? idk what it is


Re: My Project - halla - 20-07-2009

Its very basic so really it could be anything but down the road probably some sort of game


Re: My Project - Crowley - 21-07-2009

1. Great start Smile
2. On the form where one creates an account, you have User name, Password, and instead of Repeat Password you put, Repeat User name. Tongue

Other then that, it worked very well. Smile


Re: My Project - halla - 21-07-2009

Your correct and was fixed.


Re: My Project - halla - 02-08-2009

Still wondering if anyone will download and give me some pointers or areas to improve at


Re: My Project - Nean - 02-08-2009

One thing I noticed instantly is:

Code:
Dim r
, that's a no-no. When not declaring a specific type it automatically defines it as a variant, which is very slow. I'd probably go with Dim R as String, or Dim R as Long. Either one should work.

Also using counters in For...Next loops is slower, instead of Next I just put Next.

Also put
Code:
Option Explicit
in your forms and whatnot, that makes it so you have to dim your variables. Things could get out of hand otherwise. Generally bad practice to not use it, unless you're using a different Option.

Nest your code, it's hard to read.

Also I noticed you use
Code:
""
, instead use
Code:
VbNullString
. Most of the time this is better.

Also if you have variables and whatnot you're not using, delete them. They take up space.

Might be more, I'll look over it more thoroughly later.


Re: My Project - halla - 02-08-2009

Thanks for actually replying.

The code for reading and writing INIs I got from somewhere I forget where so I didn't even really look over it much but I changed the Dim R.

the "" part I knew was a better way but some reason it slipped my mind what I had to put so I just used that.

More replies are welcome.