MyChar.[COLOR="Red"]Rank[/COLOR] = 1;
MyChar.[COLOR="red"]Donation [/COLOR]+= 500000000;
'COServer_Project.Character' does not conatain a definiton of 'Rank' and no extension method 'Rank' accepting a first argument of type'COServer_Project.Charcacter'could be found (yo are missing a using directive or an assembly refernce?)
'COServer_Project.Character' does not conatain a definiton of 'Donation' and no extension method 'Donation' accepting a first argument of type'COServer_Project.Charcacter'could be found (yo are missing a using directive or an assembly refernce?)
i couldn't because i don't have the packets. and thats my point why do something if you can't do it properly.Quote:
i think you should do it since you just talk alot, i really want you to release something ok...release nobility working the real way since you said you can do it
your an idiot , define the god damn Rank and Donation in character.cs ... It clearly SAYS What the problem is... geez learn to read or get a glasses.Quote:
ok this is maybe a main problem
and that is will ALL MyChar.Rank and MyChar.DonationCode:MyChar.[COLOR="Red"]Rank[/COLOR] = 1; MyChar.[COLOR="red"]Donation [/COLOR]+= 500000000;
its underlined Red so its an error
The error for Rank Describes:
The error for Donation describesCode:'COServer_Project.Character' does not conatain a definiton of 'Rank' and no extension method 'Rank' accepting a first argument of type'COServer_Project.Charcacter'could be found (yo are missing a using directive or an assembly refernce?)
The UID of the NPC is the same but those are the main problemsCode:'COServer_Project.Character' does not conatain a definiton of 'Donation' and no extension method 'Donation' accepting a first argument of type'COServer_Project.Charcacter'could be found (yo are missing a using directive or an assembly refernce?)
Help:???: ?
first part of my whole guide...follow the steps pleaseQuote:
ok this is maybe a main problem
and that is will ALL MyChar.Rank and MyChar.DonationCode:MyChar.[COLOR="Red"]Rank[/COLOR] = 1; MyChar.[COLOR="red"]Donation [/COLOR]+= 500000000;
its underlined Red so its an error
The error for Rank Describes:
The error for Donation describesCode:'COServer_Project.Character' does not conatain a definiton of 'Rank' and no extension method 'Rank' accepting a first argument of type'COServer_Project.Charcacter'could be found (yo are missing a using directive or an assembly refernce?)
The UID of the NPC is the same but those are the main problemsCode:'COServer_Project.Character' does not conatain a definiton of 'Donation' and no extension method 'Donation' accepting a first argument of type'COServer_Project.Charcacter'could be found (yo are missing a using directive or an assembly refernce?)
Help:???: ?
Quote:
i couldn't because i don't have the packets. and thats my point why do something if you can't do it properly.
xDQuote:
your an idiot , define the god damn Rank and Donation in character.cs ... It clearly SAYS What the problem is... geez learn to read or get a glasses.
make it better then :DQuote:
Not bad could be better.. Why are so many effects being sent?
hmm.. ok..Quote:
i couldn't because i don't have the packets. and thats my point why do something if you can't do it properly.
they made the titanic right but it hit an iceberg?Quote:
first part of my whole guide...follow the steps please
xD
make it better then :D
hmm.. ok..
why did the people make titanic if they couldn't do it right?
why did the wright brothers make the airplane if for a while they couldnt do it right?
why is USA fighthing everyone trying to make peace if they cant do it right?
answer my questions and those will be the answer of yours.
case 95:
{
uint Donation = (uint)((Data[15] << 24) + (Data[14] << 16) + (Data[13] << 8) + Data[12]);
if (MyChar.Silvers >= Donation)
{
MyChar.Silvers -= Donation;
MyChar.Donation += Donation;
if (MyChar.Donation >= 800000000)
{
switch (MyChar.Model)
{
case 1003:
case 1004: MyChar.Rank = 1; World.SendMsgToAll(MyChar.Name + " is a King now! ", "SYSTEM", 2010); break;
case 2001:
case 2002: MyChar.Rank = 2; World.SendMsgToAll(MyChar.Name + " is a Queen now! ", "SYSTEM", 2010); break;
}
return;
}//King/Queen
if (MyChar.Donation <= 800000000 && MyChar.Donation >= 500000000)
MyChar.Rank = 4;//Prince
if (MyChar.Donation <= 500000000 && MyChar.Donation >= 200000000)
MyChar.Rank = 3;//Duke
if (MyChar.Donation <= 200000000 && MyChar.Donation >= 100000000)
MyChar.Rank = 5;//Earl
if (MyChar.Donation <= 100000000 && MyChar.Donation >= 50000000)
MyChar.Rank = 7;//Baron
if (MyChar.Donation <= 50000000 && MyChar.Donation >= 30000000)
MyChar.Rank = 6;//Knight
switch (MyChar.Rank)
{
case 0: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You have no rank right now.", 2010)); break;
case 1:
case 2: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You reached the last rank.", 2010));break;
case 3: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You can become a Prince.", 2010));break;
case 4: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You can become a King or a Queen.", 2010));break;
case 5: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You can become a Duke.", 2010));break;
case 6: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You can become a Baron.", 2010));break;
case 7: SendPacket(General.MyPackets.SendMsg(MessageId, "System", "", "Your donation is: " + MyChar.Donation + ". You can become a Earl.", 2010));break;
}
MyChar.SaveRank();
MyChar.SaveDonation();
World.UpdateSpawn(MyChar);
}
}break;
Quote:
public void SendRank()
{
for (int i = 8; i > 0; i--)
{
if (Rank == i)
MyClient.SendPacket(General.MyPackets.String(UID, 10, "letter" + i));
}
if (Rank == 1)
MyClient.SendPacket(General.MyPackets.String(UID, 10, "coronet4"));
if (Rank == 2)
MyClient.SendPacket(General.MyPackets.String(UID, 10, "coronet4"));
}