[Src]->Get merien set on cityhall

Codes submitted by developers and people of outpost. Come here to get codes for your client sources.
ADDKiD
<3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

I still dont' get it... I'm a retarded noob... If you did screenshots or something, I would probably be able to get it.. I got angels fine, but I fucked up on them... and another question about Angels... If I took the same src code for FriendsList, would I be able to add them to Gail?
BlueChristmas
Loyal fan
Posts: 216
Joined: Wed Apr 19, 2006 12:19 am

Post by BlueChristmas »

ADDKiD wrote: I still dont' get it... I'm a retarded noob... If you did screenshots or something, I would probably be able to get it.. I got angels fine, but I fucked up on them... and another question about Angels... If I took the same src code for FriendsList, would I be able to add them to Gail?
why would you want to put friendslist on gail? friends list should be on a dialog on its own
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

hey i see on mistake
look here
#define DRAW_DIALOGBOX_CITYHALL_MENU80 "Merien's Cap (EK 650 - Contrib 200)"
#define DRAW_DIALOGBOX_CITYHALL_MENU81 "Merien's Armor (EK 1100 - Contrib 300)"
#define DRAW_DIALOGBOX_CITYHALL_MENU82 "Merien's Robe (EK 1000 - Contrib 200)"
#define DRAW_DIALOGBOX_CITYHALL_MENU83 "Merien's Hauberk (EK 600 - Contrib 100)"
#define DRAW_DIALOGBOX_CITYHALL_MENU84 "Merien's Leggings (EK 800 - Contrib 150)"
#define DRAW_DIALOGBOX_CITYHALL_MENU87 "Here are the available MERIEN
See there are MENU81. 82 and so on
but here you got 49 50 51 and so on:
  // MERIEN HERO CAP AKI KEDE!!!!!!
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 155) && (msY <= sY + 170))
  { if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 945;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 946;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 945;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 946;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU49,strlen(DRAW_DIALOGBOX_CITYHALL_MENU49));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO ARMOR
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 185) && (msY <= sY + 200))
  {  if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 947;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 948;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 947;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 948;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU50,strlen(DRAW_DIALOGBOX_CITYHALL_MENU50));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO ROBE
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 215) && (msY <= sY + 230))
  { if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 949;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 950;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 949;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 950;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU51,strlen(DRAW_DIALOGBOX_CITYHALL_MENU51));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO HAUBERK
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 245) && (msY <= sY + 260))
  { if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 951;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 952;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 951;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 952;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU52,strlen(DRAW_DIALOGBOX_CITYHALL_MENU52));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO LEGGINGS
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 275) && (msY <= sY + 290))
  {  if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 953;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 954;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 953;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 954;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU53,strlen(DRAW_DIALOGBOX_CITYHALL_MENU53));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
<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' />
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

it tells me TakeItemName is undecleared and i have to change to TakeHeroItemName.
<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' />
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

Tafka12 wrote: it tells me TakeItemName is undecleared and i have to change to TakeHeroItemName.
can't just declare it? char m_cTakeItemName[100]; ?
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

It's also 1 option.
<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' />
EvilHit
Loyal fan
Posts: 356
Joined: Sun Jan 16, 2005 3:20 am

Post by EvilHit »

mine worked fine when i tested it
Blizaga
Regular
Posts: 68
Joined: Sat Jul 08, 2006 7:39 pm

Post by Blizaga »

Tafka12 wrote: hey i see on mistake
look here
#define DRAW_DIALOGBOX_CITYHALL_MENU80 "Merien's Cap (EK 650 - Contrib 200)"
#define DRAW_DIALOGBOX_CITYHALL_MENU81 "Merien's Armor (EK 1100 - Contrib 300)"
#define DRAW_DIALOGBOX_CITYHALL_MENU82 "Merien's Robe (EK 1000 - Contrib 200)"
#define DRAW_DIALOGBOX_CITYHALL_MENU83 "Merien's Hauberk (EK 600 - Contrib 100)"
#define DRAW_DIALOGBOX_CITYHALL_MENU84 "Merien's Leggings (EK 800 - Contrib 150)"
#define DRAW_DIALOGBOX_CITYHALL_MENU87 "Here are the available MERIEN
See there are MENU81. 82 and so on
but here you got 49 50 51 and so on:
  // MERIEN HERO CAP AKI KEDE!!!!!!
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 155) && (msY <= sY + 170))
  { if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 945;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 946;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 945;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 946;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU49,strlen(DRAW_DIALOGBOX_CITYHALL_MENU49));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO ARMOR
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 185) && (msY <= sY + 200))
  {  if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 947;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 948;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 947;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 948;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU50,strlen(DRAW_DIALOGBOX_CITYHALL_MENU50));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO ROBE
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 215) && (msY <= sY + 230))
  { if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 949;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 950;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 949;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 950;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU51,strlen(DRAW_DIALOGBOX_CITYHALL_MENU51));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO HAUBERK
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 245) && (msY <= sY + 260))
  { if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 951;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 952;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 951;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 952;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU52,strlen(DRAW_DIALOGBOX_CITYHALL_MENU52));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
  // MERIEN HERO LEGGINGS
  if ((msX >= sX + 35) && (msX <= sX + 220) && (msY >= sY + 275) && (msY <= sY + 290))
  {  if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 953;
    if((m_bAresden == TRUE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 954;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 1)) iReqItemID = 953;
    if((m_bAresden == FALSE) && (m_pCharList[m_cCurFocus-1]->m_sSex == 2)) iReqItemID = 954;
    ZeroMemory(m_cTakeItemName,sizeof(m_cTakeItemName));
    memcpy(m_cTakeItemName,DRAW_DIALOGBOX_CITYHALL_MENU53,strlen(DRAW_DIALOGBOX_CITYHALL_MENU53));
    m_stDialogBoxInfo[13].cMode = 13;
    m_stDialogBoxInfo[13].sV1=iReqItemID;
    PlaySound('E', 14, 5);
  }
<span style='color:green'>Those numbers are a little bug, it only changes what it says in the draw dialog box, but thanks for posting it.
About your other post, you have to declare the TakeItemName, or whatever you want to name it on the header (I would name it TakeMerien hehe).</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

well
I changed it to get DKSet from CH man
i have 4 different types
Warr M
Warr W
Mage M
Mage W

but it gives only 1 item instead of 5

i have it with iReqItemID = 8, 39, 393, 3939, 29292;

Separated with commas but gives 1 :S
<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' />
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

Tafka12 wrote: well
I changed it to get DKSet from CH man
i have 4 different types
Warr M
Warr W
Mage M
Mage W

but it gives only 1 item instead of 5

i have it with iReqItemID = 8, 39, 393, 3939, 29292;

Separated with commas but gives 1 :S
put them on seperate lines?
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

how?

<a href='http://www.hot.ee/carvanho/DKSet.txt' target='_blank'>http://www.hot.ee/carvanho/DKSet.txt</a>

take from there n show
<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' />
Blizaga
Regular
Posts: 68
Joined: Sat Jul 08, 2006 7:39 pm

Post by Blizaga »

<span style='color:green'>If you only get one item it's probably HG server side problem, why you want to get all at the same time, follow the same pattern as the hero it is, it's the same armor, robe, cap, helm, etc, etc, etc, etc, etc...</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

omg i can't put it give 40 items...
Stupid... "follow the same pattern"
<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' />
Blizaga
Regular
Posts: 68
Joined: Sat Jul 08, 2006 7:39 pm

Post by Blizaga »

<span style='color:green'>Sheez man hahaha, you are trying to simplify a big ass code by putting some commas. Find some help elsewhere if you don't like it.</span>
<a href='http://imageshack.us' target='_blank'><img src='http://img224.imageshack.us/img224/2738/screenqu8.jpg' border='0' alt='user posted image' /></a><br>drajwer draw<br><a href='index.php?showtopic=7299' target='_blank'>index.php?showtopic=7299</a>
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

Don't tell me what to do.

I want it to give you 5 items (Helm, berk, legs, armor and sword) in 1 time. Don't come teach me.
<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' />
Post Reply