Release for return of what i askd for:
_______________Quote:
case "giveall":
{
if (CSocket.Client.isPM)
{
if (Command.Length > 2)
{
switch (Command[1].ToLower())
{
case "cps":
{
foreach (KeyValuePair<int, ClientSocket> Clients in Nano.ClientPool)
{
int cps = Convert.ToInt32(Command[2]);
Clients.Value.Client.CPs += cps;
Clients.Value.Send(ConquerPacket.Chat(0, "Event", Clients.Value.Client.Name, "you got " + cps + " gold for being online you money is now " + Clients.Value.Client.CPs + ".", Struct.ChatType.Top));
Clients.Value.Send(ConquerPacket.Status(Clients.Va lue, 2, Clients.Value.Client.CPs, Struct.StatusTypes.InvCPoints));
}
break;
}
case "money":
{
foreach (KeyValuePair<int, ClientSocket> Clients in Nano.ClientPool)
{
int money = Convert.ToInt32(Command[2]);
Clients.Value.Client.Money += money;
Clients.Value.Send(ConquerPacket.Chat(0, "Event", Clients.Value.Client.Name, "you got " + money + " gold for being online you money is now " + Clients.Value.Client.Money + ".", Struct.ChatType.Top));
Clients.Value.Send(ConquerPacket.Status(Clients.Va lue, 2, Clients.Value.Client.CPs, Struct.StatusTypes.InvCPoints));
}
break;
}
case "levelup":
{
foreach (KeyValuePair<int, ClientSocket> Clients in Nano.ClientPool)
{
int NewLevel = CSocket.Client.Level + 1;
if (NewLevel <= 135)
{
CSocket.Client.Level = NewLevel;
CSocket.Client.Exp = 0;
CSocket.Send(ConquerPacket.Status(CSocket, 2, CSocket.Client.Level, Struct.StatusTypes.Level));
ConquerPacket.ToLocal(ConquerPacket.Effect(CSocket .Client.ID, "LevelUp"), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
Clients.Value.Send(ConquerPacket.Chat(0, "Event", Clients.Value.Client.Name, "you got leveled up for being online.", Struct.ChatType.Top));
}
}
break;
}
}
}
}
break;
}
I also need to know where Gold Drop Rate is.. I want Gold Droprate to be just like LastCo's money drop rate.. how do i change that??
Quote:
BTW I AM USING 5095