Codes already submitted by people of the forums.
Kiruku
Loyal fan
Posts: 268 Joined: Wed Feb 22, 2006 12:00 pm
Contact:
Post
by Kiruku » Sat Jul 08, 2006 5:23 pm
this command gives +30 criticals and cost 3 Majestics
search (Game.cpp)
Code: Select all
if (memcmp(cp, "/summonall ", 11) == 0) {
AdminOrder_SummonAll(iClientH, cp, dwMsgSize - 21);
return;
}
AFTER ADD:
Code: Select all
if (memcmp(cp, "/criticals",10) == 0) {
PlayerOrder_GetCrits(iClientH);
return;
}
AT THE END OF FILE ADD:
Code: Select all
void CGame::PlayerOrder_GetCrits(int iClientH) {
{
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 3) {
m_pClientList[iClientH]->m_iSuperAttackLeft += 30;
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft -= 3;
}
}
}
Game.h
Add somewhere:
Code: Select all
// Criticals by Kiruku
void PlayerOrder_GetCrits(int iClientH);
Treax2
Loyal fan
Posts: 281 Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:
Post
by Treax2 » Sat Jul 08, 2006 10:16 pm
it dont works if u got 3 majestic i works if u got 4
Code: Select all
void CGame::PlayerOrder_Criticals(int iClientH)
{
char cTradeSuccesufl1[256];
if (m_pClientList[iClientH] == NULL) return;
if(m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 4 && m_pClientList[iClientH]->m_iSuperAttackLeft < 2500){
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft -= 5;
m_pClientList[iClientH]->m_iSuperAttackLeft += 30;
wsprintf(cTradeSuccesufl1, "Majestic count decreased 5 point , you got 30 criticals hit");
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_NOTICEMSG, NULL, NULL, NULL, cTradeSuccesufl1);
}
}
and 3 majestic is too low i think
Kiruku
Loyal fan
Posts: 268 Joined: Wed Feb 22, 2006 12:00 pm
Contact:
Post
by Kiruku » Sun Jul 09, 2006 7:51 am
Code: Select all
void CGame::PlayerOrder_GetCrits(int iClientH) {
{
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > [b]2[/b]) {
m_pClientList[iClientH]->m_iSuperAttackLeft += 30;
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft -= 3;
}
}
}
now it should work with 3 majestics i didnt know that the upper numbers needs to be smaller.... the number down is the cost the upper is how many u need for use right?
Tafka12
<3 bd long time
Posts: 772 Joined: Wed Dec 28, 2005 6:32 pm
Post
by Tafka12 » Sun Jul 09, 2006 10:17 am
you should add a check if criticals are higher then max and then set it to max criticals.
xmukox
Member
Posts: 175 Joined: Sun Sep 11, 2005 9:53 am
Post
by xmukox » Wed Jul 12, 2006 8:36 am
its sux ;F Critical Candy rox :F
Kiruku
Loyal fan
Posts: 268 Joined: Wed Feb 22, 2006 12:00 pm
Contact:
Post
by Kiruku » Wed Jul 19, 2006 8:47 am
lol i made 2 majestics for 50 crits on hbchaos... or crit candy for 3 crits max crits with crit candy = 310... i love it
xmukox
Member
Posts: 175 Joined: Sun Sep 11, 2005 9:53 am
Post
by xmukox » Wed Jul 19, 2006 1:04 pm
ya its nice bug better is criti candy and that command if i dont have mp bug i need crits i can buy in shop criti candy =] and if i have much mp i can get much crits :F
Kiruku
Loyal fan
Posts: 268 Joined: Wed Feb 22, 2006 12:00 pm
Contact:
Post
by Kiruku » Wed Jul 19, 2006 3:10 pm
lool dont make crit candys can buy in shop Oo i let them be dropped thats nice monsters drop them not rare ...
xmukox
Member
Posts: 175 Joined: Sun Sep 11, 2005 9:53 am
Post
by xmukox » Wed Jul 19, 2006 4:58 pm
if 1 criti candy = 1 criticals droped is sux ;F but in shop is better for nice cast :F
Kiruku
Loyal fan
Posts: 268 Joined: Wed Feb 22, 2006 12:00 pm
Contact:
Post
by Kiruku » Wed Jul 19, 2006 5:15 pm
lolz 1 crit candy =3 crits u can change it look at the source ... and criticals in shop Suck
BlueChristmas
Loyal fan
Posts: 216 Joined: Wed Apr 19, 2006 12:19 am
Post
by BlueChristmas » Wed Jul 19, 2006 5:45 pm
Kiruku wrote: lolz 1 crit candy =3 crits u can change it look at the source ... and criticals in shop Suck
stop rambling on about this lol :rolleyes:
xmukox
Member
Posts: 175 Joined: Sun Sep 11, 2005 9:53 am
Post
by xmukox » Thu Jul 20, 2006 2:47 pm
omg i know how to change how many crits u can get from criti candy ;<
Treax2
Loyal fan
Posts: 281 Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:
Post
by Treax2 » Sun Jul 23, 2006 8:19 pm
omg ur my master ...
but do that ... if u try eat crit cany and u dont ahve 3 majestic it says " not enough majestic points" if u have them then it will give ur crits and decrease maejstic!
Slayer
<3 bd long time
Posts: 947 Joined: Thu Mar 17, 2005 9:08 pm
Post
by Slayer » Mon Jul 24, 2006 12:01 am
Treax2 wrote: omg ur my master ...
but do that ... if u try eat crit cany and u dont ahve 3 majestic it says " not enough majestic points" if u have them then it will give ur crits and decrease maejstic!
Reading is hard yesh?
this command gives +30 criticals
and cost 3 Majestics
kkthxbai
Blizaga
Regular
Posts: 68 Joined: Sat Jul 08, 2006 7:39 pm
Post
by Blizaga » Tue Aug 01, 2006 3:59 am
<span style='color:green'>Thanks for the idea, I made one that requires Gold hehehe.</span>