[src] Fixed /dkset

Codes already submitted by people of the forums.
Drajwer
<3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

I based on diuudes /dkset command that doesnt work and it doesnt work for battle mages. So i fixed:

Code: Select all

void CGame::GetDkSet(int iClientH) //by drajwer
{
	class CItem * pItem;
	int dkM[]={706,707,708,710};
	int dkW[]={724,725,726,728};
	int dmM[]={711,712,713,913};
	int dmW[]={729,730,731,914};
	int weapon, iItemID, i, iEraseReq;
	if(m_pClientList[iClientH] == NULL) return;
	if(m_pClientList[iClientH]->m_iLevel < 180) return;
	for (i = 0; i <= 4; i++)
	{
  pItem = new class CItem;
  iItemID=-1;
  if (m_pClientList[iClientH]->m_cSex == 1)
  {
  	if (m_pClientList[iClientH]->m_iStr > 100)
  	{
    iItemID=dkM[i];
  	}
  	else
  	{
    iItemID=dmM[i];
  	}
  }
  else
  {
  	if (m_pClientList[iClientH]->m_iStr > 100)
  	{
    iItemID=dkW[i];
  	}
  	else
  	{
    iItemID=dmW[i];
  	}
  }
  if (i == 4)
  {
  	if (m_pClientList[iClientH]->m_iStr > m_pClientList[iClientH]->m_iInt)
  	{
    weapon=709;
  	}
  	else
  	{
    weapon=714;
  	}
  	iItemID = weapon;
  }
  if (iItemID != -1) //if any error occures, dont crash character
  {
  	_bInitItemAttr(pItem, iItemID);
  	pItem->m_sTouchEffectType = DEF_ITET_UNIQUE_OWNER;
  	pItem->m_sTouchEffectValue1 = m_pClientList[iClientH]->m_sCharIDnum1;
  	pItem->m_sTouchEffectValue2 = m_pClientList[iClientH]->m_sCharIDnum2;
  	pItem->m_sTouchEffectValue3 = m_pClientList[iClientH]->m_sCharIDnum3;
  	_bAddClientItemList(iClientH, pItem, &iEraseReq);
  	SendItemNotifyMsg(iClientH, DEF_NOTIFY_ITEMOBTAINED, pItem, NULL);
  }
	}
}
First it gives u set then checks who are you (war, mage or battle mage) and gives you right weapon. Enjoy.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

Nice one ;) must test it if i have enough time.
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

You can take it on many ways :

Image
Image
Image
Image
Image

PS. yes, yes.. i have working crafting with jewels and wares B)
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
theblue2
noob
Posts: 28
Joined: Tue Sep 06, 2005 1:42 pm

Post by theblue2 »


Drajwer your client source my e-mail send rewsiwon@naver.com

and i am your re-email new angel part image , new ring part image,

new necklace part image, new normal part image sprite file send.


€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

Cool theblue2 i want sprites too :lol: nah joke... hey drajwer is it me or that command hall is different of the normal one ? :blink:
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

i dont share my client cuz i can say i have fully 3.62 client (3.72 beta) with fixed majestic upgrade and mailbox (only server gets mail list and sends to client and client displays it) :P give me better offer.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

Drajwer wrote: i dont share my client cuz i can say i have fully 3.62 client (3.72 beta) with fixed majestic upgrade and mailbox (only server gets mail list and sends to client and client displays it) :P give me better offer.
This is my offer www.petardas.com
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

Drajwer wrote: i dont share my client cuz i can say i have fully 3.62 client (3.72 beta) with fixed majestic upgrade and mailbox (only server gets mail list and sends to client and client displays it) :P give me better offer.
You got everything from Outpost (Client sources) and all and now if you have made anything you tell ppl to fuck off.
Not very nice to keep everything on your own, release too <_<
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

Yea Drajwer you aren't like Snoopy or Diuuude they share all they have but you... you are shit man... just get yours Stuffs and get them inside your ass and don't post anything you have and then you won't share it.
<span style='color:blue'>Helbreath Thermal</span> <span style='color:green'>BETA</span> <span style='color:red'>Soon</span>:<br><br>www.youporngay.com<br><br><img src='http://img264.imageshack.us/img264/1041 ... piopk7.jpg' border='0' alt='user posted image' /><br><img src='http://img257.imageshack.us/img257/3762 ... eakxj1.jpg' border='0' alt='user posted image' /><br><img src='http://arthur.crepin.free.fr/images/use ... mpsons.png' border='0' alt='user posted image' /><br><img src='http://img329.imageshack.us/img329/5797/pesgamerrr3.gif' border='0' alt='user posted image' /><br><br><u><b>BLACK GAY LIST:</b></u><br><br><span style='color:red'>€M4NU€L</span>:<br>I look like a girl and he's always complaining someone.
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

find my posts - i share everything just except crafting. stfu.

And on whos topic you are? Mine. With what? With dkset.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
beer_boy12
Regular
Posts: 54
Joined: Mon Feb 28, 2005 2:43 am

Post by beer_boy12 »

iam very stupid.... soo plzz tell me where u put this code... do i hex it into the client or sumthing?? plzz tell me
BlueChristmas
Loyal fan
Posts: 216
Joined: Wed Apr 19, 2006 12:19 am

Post by BlueChristmas »

beer_boy12 wrote: iam very stupid.... soo plzz tell me where u put this code... do i hex it into the client or sumthing?? plzz tell me
far from hexing.. try c++
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
beer_boy12
Regular
Posts: 54
Joined: Mon Feb 28, 2005 2:43 am

Post by beer_boy12 »

oh... so its not ezy to put in?
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

its "ezy" just pust codes and compile.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Firestorm
Loyal fan
Posts: 260
Joined: Fri Apr 07, 2006 10:29 pm

Post by Firestorm »

There is one reason why Mailbox isnt shared because its fucking useless it change nothing on the gameplay before this kind of features getting shared the gameplay should be changed.

Thats my comment:

Mailbox is fucking useless!
Post Reply