[Help] Please read...

11/15/2009 07:01 UnoAmigos#1
Guys, my source is fully done,

Items
New Items
Quests
New Quests
NPCs
New NPCs
New Class (Merchant)
Every day Class War
Every Saturday City War
Guild War
Team War every 20 minutes
Quiz Show
Lottery
Poison Attack (Only Third Reborn)
New Three Skills for Third Reborn Only
Awesome Calculate Damage for every Attack/magic Attack
VIP map
Lobby
Custom Names/NPCs/Items
Free CPs from killing Mobs (Direct One)
Free Coins from Killing Mobs (Direct one)
Only one GM and Founder and thats UnoAmigos[GM]
Naruto Quest (I like this one)
New +n System (+9 Crystal, +10Crystal, +11 Crystal and +12 Crystal)

Lots of New

but i want to limit this server about 400 - 500 Only, how can i put/code (if code, where do i start)

You can add me [Only registered and activated users can see links. Click Here To Register...]

or just post your idea here...thanks
11/15/2009 07:02 UnoAmigos#2
#reserved for future post will be here, Thanks
11/15/2009 07:06 _legitimate_#3
nice. will you release it? go on msn
11/15/2009 08:54 ~*NewDuuDe*~#4
Just do a loop, then add a function in it for those who try to connect when the limit is reached.
11/15/2009 14:02 ImmortalYashi#5
Unnecessary you could just put a check for connected clients.
UnoAmigos i could help you out
11/15/2009 14:04 Korvacs#6
There will be an array of some sort which holds your connections, put a limit on the size of that array and put a check in to check if the array still has space while first accepting the incomming connection, if its full reject it with the server is full message.
11/15/2009 14:15 SimplyPerfection#7
Yes, exactly like Korvacs said.

One way it can look is like

Hashtable Connections = new Hashtable[450];

And then just do a check if connections is 450, etc etc.


Goodluck!
11/15/2009 14:25 Korvacs#8
Quote:
Originally Posted by SimplyPerfection View Post
Yes, exactly like Korvacs said.

One way it can look is like

Hashtable Connections = new Hashtable[450];

And then just do a check if connections is 450, etc etc.


Goodluck!
Code:
private Hashtable v_Conns = new Hashtable(450);
A check might look like:

Code:
if (this.v_Conns.Count == 450)
     Incomming.Disconnect();
Something like that would do.
11/15/2009 14:43 Kiyono#9
So why did you post the features first? bragging?
11/16/2009 06:47 UnoAmigos#10
Quote:
Originally Posted by Kiyono View Post
So why did you post the features first? bragging?
Just because i want it. Anyway, this is Patch 5017

Thanks anyway...:D

I will be online SOON so please join all of you...ADTY...
11/16/2009 09:07 Korvacs#11
Quote:
Originally Posted by UnoAmigos View Post
Just because i want it. Anyway, this is Patch 5017

Thanks anyway...:D

I will be online SOON so please join all of you...ADTY...
If we helped you then thank us >_>