Shop Bug...

All Helbreath Server Source Discussion here.
Post Reply
juanduran
noob
Posts: 19
Joined: Sat Dec 04, 2004 1:21 am

Post by juanduran »

These files have exploit fixed so now you can place all npc's in shop withouth any problems such as deposit or buy magic

<span style='font-size:17pt;line-height:100%'>Thx's goes to BigChief cause i didint did anything important here</span>

P.D: must extract files in the game source directory and then build

Attached File ( Number of downloads: 125 )
shopfix.rar
link is broken.. could someone fix the link or send me? plz??
omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »

pm me ur email, i have it.
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
juggalo2
Spamtastic
Posts: 1144
Joined: Sun Jul 17, 2005 5:28 pm

Post by juggalo2 »

you wanna posted for everone plz ty
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Remove the code that hypno put into the sources so can't deposit or buy magic outside of the normal places is easy to do... :unsure:
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
juanduran
noob
Posts: 19
Joined: Sat Dec 04, 2004 1:21 am

Post by juanduran »

the bug is fixed B) B) :) thanks
maku
Regular
Posts: 42
Joined: Sat Dec 11, 2004 5:10 am

Post by maku »

post the code for all <_<
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

maku wrote:post the code for all   <_<
Magic Shop Fix:

Search For:

Code: Select all

void CGame::RequestStudyMagicHandler(int iClientH, char * pName, BOOL bIsPurchase)
Then Erase This Line:

Code: Select all

if (m_pClientList[iClientH]->m_bIsInsideWizardTower == FALSE) return;
WareHouse Fix:

Search for:

Code: Select all

void CGame::RequestRetrieveItemHandler(int iClientH, char *pData)
then erase this line:

Code: Select all

if (m_pClientList[iClientH]->m_bIsInsideWarehouse == FALSE) return;
UPDATED Added 2 More Functions To WH Fix x)

Search For:

Code: Select all

BOOL CGame::bSetItemToBankItem(int iClientH, short sItemIndex)
Erase This Line:

Code: Select all

if (m_pClientList[iClientH]->m_bIsInsideWarehouse == FALSE) return FALSE;
Search For:

Code: Select all

BOOL CGame::bSetItemToBankItem(int iClientH, class CItem * pItem)
Erase This Line:

Code: Select all

if (m_pClientList[iClientH]->m_bIsInsideWarehouse == FALSE) return FALSE;
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
juggalo2
Spamtastic
Posts: 1144
Joined: Sun Jul 17, 2005 5:28 pm

Post by juggalo2 »

ty
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
maku
Regular
Posts: 42
Joined: Sat Dec 11, 2004 5:10 am

Post by maku »

THis code no work for me <_<
maku
Regular
Posts: 42
Joined: Sat Dec 11, 2004 5:10 am

Post by maku »

Shop fix :D Wh no <_< help plz
XsX
Regular
Posts: 32
Joined: Sat May 15, 2004 8:53 pm

Post by XsX »

maku wrote: Shop fix :D Wh no <_< help plz
wh code:

void warehouse(int youfound)
{
int no;
int yes;

switch(youfound) {
case 1:
no; //------------->error, replace no to yes
break;
}
return;
}


bye :ph34r:
maku
Regular
Posts: 42
Joined: Sat Dec 11, 2004 5:10 am

Post by maku »

XsX wrote:
maku wrote: Shop fix  :D  Wh no  <_<  help plz
wh code:

void warehouse(int youfound)
{
int no;
int yes;

switch(youfound) {
case 1:
no; //------------->error, replace no to yes
break;
}
return;
}


bye :ph34r:
:o great code lol :lol:
Post Reply