Mirage Source
http://www.miragesource.net/forums/

My Project
http://www.miragesource.net/forums/viewtopic.php?f=143&t=5930
Page 1 of 1

Author:  halla [ Wed Jul 08, 2009 8:49 am ]
Post subject:  My Project

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

Author:  halla [ Sun Jul 19, 2009 11:38 pm ]
Post subject:  Re: My Project

guess no one cares? :/

Author:  Doomy [ Mon Jul 20, 2009 12:00 am ]
Post subject:  Re: My Project

what is it

Author:  Toast [ Mon Jul 20, 2009 1:07 am ]
Post subject:  Re: My Project

Doomy wrote:
what is it


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

Author:  Doomy [ Mon Jul 20, 2009 1:43 am ]
Post subject:  Re: My Project

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

Author:  halla [ Mon Jul 20, 2009 3:11 pm ]
Post subject:  Re: My Project

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

Author:  Crowley [ Tue Jul 21, 2009 3:51 pm ]
Post subject:  Re: My Project

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

Other then that, it worked very well. :)

Author:  halla [ Tue Jul 21, 2009 4:39 pm ]
Post subject:  Re: My Project

Your correct and was fixed.

Author:  halla [ Sun Aug 02, 2009 12:50 am ]
Post subject:  Re: My Project

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

Author:  Nean [ Sun Aug 02, 2009 3:50 am ]
Post subject:  Re: My Project

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.

Author:  halla [ Sun Aug 02, 2009 2:35 pm ]
Post subject:  Re: My Project

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/