[Help]CoEmu MagicArtisan

07/11/2009 10:04 imported_spitt_fire911#1
Can someone help me code a MagicArtisan ? Im not asking anyone to make it for me.. Just asking for help...

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
07/12/2009 13:44 xellios#2
Open PacketProcessor in gameserver proj. And look up the Upgrade items w/ Mets
And there you have a sample.
07/13/2009 00:01 imported_spitt_fire911#3
I got it ^.^ Ty