[CODE] Force recall!!!

All Helbreath Server Source Discussion here.
Post Reply
koer
noob
Posts: 19
Joined: Tue Apr 27, 2004 1:09 pm

Post by koer »

Force recall dosnt seem to work maby som1 has fixed it i cant seem to find the problem.It informs the client all if fine but no force appears .


I realy hope som1 can help or sugest me som other forum where i could find som help

TY ty :rolleyes:
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

aint working right in 2.24b source :)
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>
orange
just visiting
Posts: 9
Joined: Wed Oct 01, 2003 2:15 pm

Post by orange »

ok, thats what i do to fix this problem, (using hbx source 2.24, from Hypno & co, sry i dont remember all names)...

firs in the function CheckForceRecallTime, at the end of the function, look for this lines

case 0: iTL_ = 20*m_sRaidTimeSunday; break; //ÀÏ¿äÀÏ 60º
}
}
if (m_pClientList[iClientH]->m_iTimeLeft_ForceRecall > iTL_)
//this line u have to change the "1" for "iTL_"
m_pClientList[iClientH]->m_iTimeLeft_ForceRecall = iTL_;
}

//le dice que esta en un mapa enemigo 31/01/2005
//u have to add this line too ******************
//this is cuz u are entering to an enemy town*******
m_pClientList[iClientH]->m_bIsWarLocation = TRUE;

//print valores en la pantalla del client
//wsprintf(cRepMessage, " (Check) - Tienes %d minutos para estar en este mapa.", m_pClientList[iClientH]->m_iTimeLeft_ForceRecall);
//ShowClientMsg(iClientH, cRepMessage);
//Add this return too, original function doesnt have
return ;

}


After that look for the void CGame::CheckClientResponseTime()

go down until u get somethin like : (llok for the code, comments are mine)

//remember the line adden in CheckForceRecallTime function??
//adding this line u make the next condition true, so the program will check the rest.

if ( (m_pClientList->m_bIsWarLocation == TRUE) ) {
// Crusade
if (m_bIsCrusadeMode == FALSE)
//here is the other problem, originally the next line was
// if (m_pClientList->m_bIsInsideOwnTown == TRUE)
// u are in enemy town, but not in your town, so the forcerecalltime will never decrease :(

// the line have to be like the next. FALSE
if (m_pClientList->m_bIsInsideOwnTown == FALSE)
m_pClientList->m_iTimeLeft_ForceRecall--;

if (m_pClientList->m_iTimeLeft_ForceRecall <= 0) {
m_pClientList->m_iTimeLeft_ForceRecall = 0;
m_pClientList->m_dwWarBeginTime = dwTime;
m_pClientList->m_bIsWarLocation = FALSE;
SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL);
RequestTeleportHandler(i, "1 ");
}
}

i hope u understand what i mean and i hope this work for u :P
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Compiled = no errors

Bug = fixed B)
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>
doxaux
just visiting
Posts: 6
Joined: Tue Oct 19, 2004 1:27 am

Post by doxaux »

Hey guys, can u help me with a big item problem, I've tried many ways to fix it but all I got is all wrong.

I just added a barbarian sword an other stuff to the shops and blacksmith, they appear in the list and they're ready to be bought. But at the time of buyin' them I can't get those items, I checked the lines on the contents 1 y 2 and the item configuration file that I added to the CONTENTS and the server file ( My version is 3.51)

I also put some other contents and sprites but those things were unable to solve my problem.

Can u tell me what it is? pleaaaaaaase
cocho
Loyal fan
Posts: 363
Joined: Sat Jan 24, 2004 10:33 pm
Location: Caracas - Venezuela
Contact:

Post by cocho »

remove the - before the price in both sides (client and server), also i tell u that the bs and shop list have limits, so dont try to put 30+ items there cus u wont be able to buy them
Snn
just visiting
Posts: 6
Joined: Tue Jul 27, 2004 6:53 am

Post by Snn »

orange wrote: ok, thats what i do to fix this problem, (using hbx source 2.24, from Hypno & co, sry i dont remember all names)...

firs in the function CheckForceRecallTime, at the end of the function, look for this lines

case 0: iTL_ = 20*m_sRaidTimeSunday; break; //ÀÏ¿äÀÏ 60º
}
}
if (m_pClientList[iClientH]->m_iTimeLeft_ForceRecall > iTL_)
//this line u have to change the "1" for "iTL_"
m_pClientList[iClientH]->m_iTimeLeft_ForceRecall = iTL_;
}

//le dice que esta en un mapa enemigo 31/01/2005
//u have to add this line too ******************
//this is cuz u are entering to an enemy town*******
m_pClientList[iClientH]->m_bIsWarLocation = TRUE;

//print valores en la pantalla del client
//wsprintf(cRepMessage, " (Check) - Tienes %d minutos para estar en este mapa.", m_pClientList[iClientH]->m_iTimeLeft_ForceRecall);
//ShowClientMsg(iClientH, cRepMessage);
//Add this return too, original function doesnt have
return ;

}


After that look for the void CGame::CheckClientResponseTime()

go down until u get somethin like : (llok for the code, comments are mine)

//remember the line adden in CheckForceRecallTime function??
//adding this line u make the next condition true, so the program will check the rest.

if ( (m_pClientList->m_bIsWarLocation == TRUE) ) {
// Crusade
if (m_bIsCrusadeMode == FALSE)
//here is the other problem, originally the next line was
// if (m_pClientList->m_bIsInsideOwnTown == TRUE)
// u are in enemy town, but not in your town, so the forcerecalltime will never decrease :(

// the line have to be like the next. FALSE
if (m_pClientList->m_bIsInsideOwnTown == FALSE)
m_pClientList->m_iTimeLeft_ForceRecall--;

if (m_pClientList->m_iTimeLeft_ForceRecall <= 0) {
m_pClientList->m_iTimeLeft_ForceRecall = 0;
m_pClientList->m_dwWarBeginTime = dwTime;
m_pClientList->m_bIsWarLocation = FALSE;
SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL);
RequestTeleportHandler(i, "1 ");
}
}

i hope u understand what i mean and i hope this work for u :P

nice .. its works perfect :D :D
Krelian
just visiting
Posts: 1
Joined: Thu Feb 03, 2005 1:02 am

Post by Krelian »

mass thanks for the fix =)
cypiate
noob
Posts: 10
Joined: Mon Jan 16, 2006 7:09 pm

Post by cypiate »

Force recal working but ...... Monster kill me in my town(Aresden) and i go to Aresden Jail ....... or monster kill me on Farm (aresden) and i go to Elvine Farm ... What happened?
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

cypiate wrote: Force recal working but ...... Monster kill me in my town(Aresden) and i go to Aresden Jail ....... or monster kill me on Farm (aresden) and i go to Elvine Farm ... What happened?
Depens wich nation you are like i mean if you are Lower than level 80 you will be send to Farm and if you are Civilian you will be send to Jails
<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.
Post Reply