[Req]forcerecall

Submit your code requests, and if you are good at coding come help others with their requests.
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

if u go shop u are ares and u can go elvine shop... i want fix this out i renamed shop to eshop instead of gshop but on gshop bug was too
search for this i ned edit there anything plz help

Code: Select all

look for iMapside = iGetMapLocationSide(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName);
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' border='0' alt='user posted image' />
BlueChristmas
Loyal fan
Posts: 216
Joined: Wed Apr 19, 2006 12:19 am

Post by BlueChristmas »

Kiruku wrote: if u go shop u are ares and u can go elvine shop... i want fix this out i renamed shop to eshop instead of gshop but on gshop bug was too
search for this i ned edit there anything plz help

Code: Select all

look for iMapside = iGetMapLocationSide(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName);
use search button there are tons of topics with this fix, and renaming shop wont help lol
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

thnx i cant find anything so please post the thread adress

Edit: i dont renamed shop for make that its help i renamed shop for ppls download sprites... then dont need replace old
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' border='0' alt='user posted image' />
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

i cant find anything sry i tried everything type on search so plz can help me now instead of always saying USE SEARCH? -.-
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' 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 »

<a href='index.php?showtopic=6896' target='_blank'>index.php?showtopic=6896</a>

try this.
<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' />
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

i cant find somethings on my source the functions arent there or something i use source by silvery from www.technohell.net plz help :/
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' 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 »

check some recall functions or smth
bInsideEnemyBuilding

and if they are FALSE change them to TRUE

I guess.
<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' />
Hepha
Regular
Posts: 31
Joined: Wed Dec 14, 2005 10:57 pm

Post by Hepha »

It replaces the function RequestTeleportHandler by the function RequestTeleportHandler of source of KLKS.
<img src='http://img174.imageshack.us/img174/9513 ... ionrv6.png' border='0' alt='user posted image' />
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

Tafka12 wrote: check some recall functions or smth
bInsideEnemyBuilding

and if they are FALSE change them to TRUE

I guess.
bInsideEnemyBuilding EXACT this i didnt found
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' border='0' alt='user posted image' />
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

can anyone send me the whole bInsideEnemyBuilding function? please
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' border='0' alt='user posted image' />
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

Kiruku wrote: can anyone send me the whole  bInsideEnemyBuilding function? please
here is what i did...

Client.cpp Change m_bIsInsideOwnTown To:

Code: Select all

m_bIsInsideEnemyBuilding = FALSE;
Client.h Change m_bIsInsideOwnTown To:

Code: Select all

BOOL m_bIsInsideEnemyBuilding;
Now On Game.cpp function

Code: Select all

void CGame::RequestInitDataHandler(int iClientH, char * pData, char cKey)
Search for:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideOwnTown = FALSE;
And Change To:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideEnemyBuilding = TRUE;
Few Lines Later You Will see:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideOwnTown = TRUE;
Change To:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideEnemyTown = TRUE;
Now On Function

Code: Select all

void CGame::CheckClientResponseTime()
Search For:

Code: Select all

if (m_pClientList[i]->m_bIsInsideOwnTown == TRUE)
and change to:

Code: Select all

if (m_pClientList[i]->m_bIsInsideEnemyBuilding == TRUE)
on function:

Code: Select all

int CGame::iClientMotion_Attack_Handler(int iClientH, short sX, short sY, short dX, short dY, short wType, char cDir, WORD wTargetObjectID, BOOL bResponse, BOOL bIsDash)
Search For:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideOwnTown == FALSE)
And Change it To:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideEnemyBuilding == TRUE)
Function:

Code: Select all

void CGame::RequestTeleportHandler(int iClientH, char * pData, char * cMapName, int dX, int dY)
Search for:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideOwnTown = FALSE;
and change it to:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideEnemyBuilding = TRUE;
Few Lines later you will see:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideOwnTown = TRUE;
Change to:

Code: Select all

m_pClientList[iClientH]->m_bIsInsideEnemyBuilding = TRUE;
this will fix ForceRecall. hope this works for u... works 100% for me

***EDITED***

a long time ago some one that i didnt remember the name posted the fix for 2.24b dont forget to add this check on:

Code: Select all

void CGame::SetForceRecallTime(int iClientH)
Search For:

Code: Select all

m_pClientList[iClientH]->m_iTimeLeft_ForceRecall = 1;
And Change to:

Code: Select all

m_pClientList[iClientH]->m_iTimeLeft_ForceRecall = iTL_;
And Under It Add:

Code: Select all

m_pClientList[iClientH]->m_bIsWarLocation = TRUE;
You're Done! ^^
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>
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

Just the same simply of slammer

<3 Slammer :lol:
<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.
Kiruku
Loyal fan
Posts: 268
Joined: Wed Feb 22, 2006 12:00 pm
Contact:

Post by Kiruku »

thanks a lot SlammeR :D
<img src='http://lichtdrache.lima-city.de/helbrea ... aramba.gif' border='0' alt='user posted image' />
xmukox
Member
Posts: 175
Joined: Sun Sep 11, 2005 9:53 am

Post by xmukox »

hmm

Code: Select all

 E:\Sources\HGServer 2.24d\Game.cpp(1786) : error C2039: 'm_bIsInsideEnemyTown' : is not a member of 'CClient'
        E:\Sources\HGServer 2.24d\Client.h(37) : see declaration of 'CClient'

Code: Select all

 HGserver.exe - 1 error(s), 0 warning(s)
that (1786) on game.cpp its

Code: Select all

 m_pClientList[iClientH]->m_bIsInsideEnemyTown = TRUE;
that (37) on Client.h is:

Code: Select all

 class CClient
  
{  <-- here

public:
how to fix it?
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

put it under the public: part
Post Reply