Game-Elites
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Game Elites is offering you all kind of Hacks, Bots, Tips and Tools.
 
HomeLatest imagesSearchRegisterLog in

 

 [Release] Nobility

Go down 
2 posters
AuthorMessage
LeGend
NOOB!
NOOB!
LeGend


Posts : 18
Join date : 2009-05-09
Age : 31
Location : California

[Release] Nobility Empty
PostSubject: [Release] Nobility   [Release] Nobility EmptySat May 09, 2009 4:43 pm

Ok first go to Client.cs and search for: if (MyChar.PrayStone > 0

And add this above:

Quote :

if (MyChar.EmpirePosition == 6) //&& MyChar.EmpireDonation > 5000000) //&& MyChar.EmpireDonation < 15999999)
SendPacket(General.MyPackets.String(MyChar.UID, 10, "letter3"));
if (MyChar.EmpirePosition == 5) //&& MyChar.EmpireDonation > 15000000) //&& MyChar.EmpireDonation < 24999999)
SendPacket(General.MyPackets.String(MyChar.UID, 10, "letter1"));
if (MyChar.EmpirePosition == 4) //&& MyChar.EmpireDonation > 25000000) //&& MyChar.EmpireDonation < 34999999)
SendPacket(General.MyPackets.String(MyChar.UID, 10, "letter5"));
if (MyChar.EmpirePosition == 3) //&& MyChar.EmpireDonation > 35000000) //&& MyChar.EmpireDonation < 49999999)
SendPacket(General.MyPackets.String(MyChar.UID, 10, "letter4"));
if (MyChar.EmpirePosition == 2) //&& MyChar.EmpireDonation > 50000000) //&& MyChar.EmpireDonation < 69999999)
SendPacket(General.MyPackets.String(MyChar.UID, 10, "coronet3"));
if (MyChar.EmpirePosition == 1) //&& MyChar.EmpireDonation > 70000000)
SendPacket(General.MyPackets.String(MyChar.UID, 10, "coronet4"));

Ok now add this in Character.cs:


Quote :
public int EmpireDonation = 0;
public int EmpirePosition = 0;

Search for public bool AddExp(ulong Amount, bool CountMisc)


And add this below

Quote :
Quote:
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 2.0);
else if (EmpirePosition == 1)
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 0.30);
else if (EmpirePosition == 2)
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 0.25);
else if (EmpirePosition == 3)
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 0.20);
else if (EmpirePosition == 4)
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 0.15);
else if (EmpirePosition == 5)
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 0.10);
else if (EmpirePosition == 6)
Exp += (ulong)((Amount * DataBase.ExpRate * AddExpPc * (Convert.ToDouble(Potency) / 100 + 1)) * 0.05

Now go to Database.cs and search for: Save.WriteString("Character", "PrevJob", Convert.ToString(Charr.PrevJob));

And add this below:


Quote :
Quote:
Save.WriteString("Character", "EmpireDonation", Convert.ToString(Charr.EmpireDonation));
Save.WriteString("Character", "EmpirePosition", Convert.ToString(Charr.EmpirePosition));

Seach for: Charr.MAWH4 = Info.ReadValue("Warehouse", "MAWH4");

And below add:


Quote :

Charr.EmpirePosition = (ushort)Convert.ToInt32(Info.ReadValue("Character" , "EmpirePosition"));
Charr.EmpireDonation = (ushort)Convert.ToInt32(Info.ReadValue("Character" , "EmpireDonation"));

Now go to Other.cs and search forublic static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl)

And below add:


Quote :

double EmpirePosition = 0;

Now in World.cs search for: SpawnTo.MyClient.SendPacket(General.MyPackets.Guil dName(Me.GuildID, Me.MyGuild.GuildName));

And add this below:


Quote :

SpawnTo.MyClient.SendPacket(General.MyPackets.Spaw nEntity(Me));
if (Me.EmpirePosition == 6)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter3"));
if (Me.EmpirePosition == 5)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter1"));
if (Me.EmpirePosition == 4)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter5"));
if (Me.EmpirePosition == 3)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter4"));
if (Me.EmpirePosition == 2)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "coronet3"));
if (Me.EmpirePosition == 1)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "coronet4"));

Now search for: Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "zf2-e128"));

And add this below:


Quote :

if (SpawnWho.EmpirePosition == 6)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter3"));
if (SpawnWho.EmpirePosition == 5)

Search for: SpawnTo.MyClient.SendPacket(General.MyPackets.Spaw nEntity(Me))

And add below:


Quote :

if (Me.EmpirePosition == 6)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter3"));
if (Me.EmpirePosition == 5)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter1"));
if (Me.EmpirePosition == 4)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter5"));
if (Me.EmpirePosition == 3)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "letter4"));
if (Me.EmpirePosition == 2)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "coronet3"));
if (Me.EmpirePosition == 1)
SpawnTo.MyClient.SendPacket(General.MyPackets.Stri ng(Me.UID, 10, "coronet4"));
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter1"));
if (SpawnWho.EmpirePosition == 4)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter5"));
if (SpawnWho.EmpirePosition == 3)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter4"));
if (SpawnWho.EmpirePosition == 2)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "coronet3"));
if (SpawnWho.EmpirePosition == 1)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "coronet4"));

Now still in World.cs search for: Charr.MyClient.SendPacket(General.MyPackets.GuildN ame(Me.GuildID, Me.MyGuild.GuildName));

And add this below:


Quote :

if (Me.EmpirePosition == 6)
Charr.MyClient.SendPacket(General.MyPackets.String (Me.UID, 10, "letter3"));
if (Me.EmpirePosition == 5)
Charr.MyClient.SendPacket(General.MyPackets.String (Me.UID, 10, "letter1"));
if (Me.EmpirePosition == 4)
Charr.MyClient.SendPacket(General.MyPackets.String (Me.UID, 10, "letter5"));
if (Me.EmpirePosition == 3)
Charr.MyClient.SendPacket(General.MyPackets.String (Me.UID, 10, "letter4"));
if (Me.EmpirePosition == 2)
Charr.MyClient.SendPacket(General.MyPackets.String (Me.UID, 10, "coronet3"));
if (Me.EmpirePosition == 1)
Charr.MyClient.SendPacket(General.MyPackets.String (Me.UID, 10, "coronet4"));
Search for: Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "zf2-e128"));

And add below:


Quote :

if (SpawnWho.EmpirePosition == 6)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter3"));
if (SpawnWho.EmpirePosition == 5)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter1"));
if (SpawnWho.EmpirePosition == 4)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter5"));
if (SpawnWho.EmpirePosition == 3)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "letter4"));
if (SpawnWho.EmpirePosition == 2)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "coronet3"));
if (SpawnWho.EmpirePosition == 1)
Me.MyClient.SendPacket(General.MyPackets.String(Sp awnWho.UID, 10, "coronet4"));

Sorry forgot to add the npc, Here it is, i wont explain how to add it, its obvious.
Quote :

if (CurrentNPC == 10000)//Donation NPC By Sealtiel
{
SendPacket(General.MyPackets.NPCSay("Hello I am Ranks NPC.I can provide you being on such a rank If you pay right Amount Of Money =]"));
SendPacket(General.MyPackets.NPCLink("Im rich!!I want to be a King! - 70kk of Silvers!", 1));
SendPacket(General.MyPackets.NPCLink("Im rich!!I want to be a Queen!! - 50kk of Silvers!", 2));
SendPacket(General.MyPackets.NPCLink("Im rich!!I want to be a Soldier!! - 35kk of Silvers!", 3));
SendPacket(General.MyPackets.NPCLink("Im rich!!I want to be a Squire!!! -25kk of Silvers!", 4));
SendPacket(General.MyPackets.NPCLink("Im rich!!I want to be a Mentor!! - 15kk of Silvers!", 5));
SendPacket(General.MyPackets.NPCLink("Im rich!!I want to be a Nooble!! - 5kk of Silvers!", 6));
SendPacket(General.MyPackets.NPCLink("How much I have donated So far?", 7));
SendPacket(General.MyPackets.NPCLink("Im going!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
And:

Quote :

if (CurrentNPC == 10000)//Donation NPC By Sealtiel
{
if (Control == 1)
{
if (MyChar.Silvers >= 70000000)
{
MyChar.Silvers -= 70000000;
MyChar.EmpireDonation += 70000000;
MyChar.EmpirePosition = 1;
DataBase.SaveChar(MyChar);
World.UpdateSpawn(MyChar);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.NPCSay("Congratulatio ns you have Became a King!!You are The Most Powerful Person!"));
SendPacket(General.MyPackets.NPCLink("Yea Time to Rape Some asses!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You dont have the money you cheater !!!"));
SendPacket(General.MyPackets.NPCLink("Woops I forgot my Wallet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 2)
{
if (MyChar.Silvers >= 50000000)
{
MyChar.Silvers -= 50000000;
MyChar.EmpireDonation += 50000000;
MyChar.EmpirePosition = 2;
DataBase.SaveChar(MyChar);
World.UpdateSpawn(MyChar);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.NPCSay("Congratulatio ns you have Became a Queen!!!You are The Most Powerful Person!"));
SendPacket(General.MyPackets.NPCLink("Yea Time to Rape Some asses!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You dont have the money you cheater !!!"));
SendPacket(General.MyPackets.NPCLink("Woops I forgot my Wallet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 3)
{
if (MyChar.Silvers >= 35000000)
{
MyChar.Silvers -= 35000000;
MyChar.EmpireDonation += 35000000;
MyChar.EmpirePosition = 3;
DataBase.SaveChar(MyChar);
World.UpdateSpawn(MyChar);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.NPCSay("Congratulatio ns you have Became a Prince!!!You are The Most Powerful Person!"));
SendPacket(General.MyPackets.NPCLink("Yea Time to Rape Some asses!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You dont have the money you cheater !!!"));
SendPacket(General.MyPackets.NPCLink("Woops I forgot my Wallet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 4)
{
if (MyChar.Silvers >= 25000000)
{
MyChar.Silvers -= 25000000;
MyChar.EmpireDonation += 25000000;
MyChar.EmpirePosition = 4;
DataBase.SaveChar(MyChar);
World.UpdateSpawn(MyChar);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.NPCSay("Congratulatio ns you have Became a Duke!!!You are The Most Powerful Person!"));
SendPacket(General.MyPackets.NPCLink("Yea Time to Rape Some asses!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You dont have the money you cheater !!!"));
SendPacket(General.MyPackets.NPCLink("Woops I forgot my Wallet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 5)
{
if (MyChar.Silvers >= 15000000)
{
MyChar.Silvers -= 15000000;
MyChar.EmpireDonation += 15000000;
MyChar.EmpirePosition = 5;
DataBase.SaveChar(MyChar);
World.UpdateSpawn(MyChar);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.NPCSay("Congratulatio ns you have Became a Earl!!!You are The Most Powerful Person!"));
SendPacket(General.MyPackets.NPCLink("Yea Time to Rape Some asses!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You dont have the money you cheater !!!"));
SendPacket(General.MyPackets.NPCLink("Woops I forgot my Wallet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 6)
{
if (MyChar.Silvers >= 5000000)
{
MyChar.Silvers -= 5000000;
MyChar.EmpireDonation += 5000000;
MyChar.EmpirePosition = 6;
DataBase.SaveChar(MyChar);
World.UpdateSpawn(MyChar);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
SendPacket(General.MyPackets.NPCSay("Congratulatio ns you have Became a Knight!!!You are The Most Powerful Person!"));
SendPacket(General.MyPackets.NPCLink("Yea Time to Rape Some asses!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You dont have the money you cheater !!!"));
SendPacket(General.MyPackets.NPCLink("Woops I forgot my Wallet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 7)
{
SendPacket(General.MyPackets.NPCSay("Dear"+ MyChar.Name + "Your Current Donation Is" + MyChar.EmpireDonation + ".Keep working To be king,good luck"));
SendPacket(General.MyPackets.NPCLink("Thanks Sir!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
It works just perfectly.
Back to top Go down
Fusion
NOOB!
NOOB!
Fusion


Posts : 6
Join date : 2009-05-08

[Release] Nobility Empty
PostSubject: Hello   [Release] Nobility EmptySat May 09, 2009 11:17 pm

Ummm I Have PowerSource And i cant find The Firs Thing To Start With May u help me?
Back to top Go down
LeGend
NOOB!
NOOB!
LeGend


Posts : 18
Join date : 2009-05-09
Age : 31
Location : California

[Release] Nobility Empty
PostSubject: Re: [Release] Nobility   [Release] Nobility EmptySat May 09, 2009 11:26 pm

Fusion wrote:
Ummm I Have PowerSource And i cant find The Firs Thing To Start With May u help me?

add it somewhere by ur welcome message
Back to top Go down
Sponsored content





[Release] Nobility Empty
PostSubject: Re: [Release] Nobility   [Release] Nobility Empty

Back to top Go down
 
[Release] Nobility
Back to top 
Page 1 of 1
 Similar topics
-
» [Release] Free Cps by Npc
» [Release] Day & Night
» [Release] Lucytime aka BlessSkill
» [Release]Console Commands
» [RELEASE] GUILD CONTROLLER

Permissions in this forum:You cannot reply to topics in this forum
Game-Elites :: Conquer Online 2 :: CO2 Programming-
Jump to: