[req] Small Modifications...

Submit your code requests, and if you are good at coding come help others with their requests.
Post Reply
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

If you cannot do it, at least point me where I should head at and check/mess around a bit with it and see if I can at least get to something ^_^

1) When crusade is going on, make it so the ek in towns will not count, so only eks on middleland will count, that will make more people to play the sade the way it should be played, I think.

2) Make the magic "Recall" effect like the scroll one. So you cannot use the magic recall withouth 10 seconds damage.

Forgot others...I know there were more...will post laterz.
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>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

I think this will work ight for the first one...recommended by Tbone :P

Code: Select all

  	if((memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cLocationName, "elvine", 6) == 0) || (memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cLocationName, "aresden", 7) == 0)){
  	m_bEnemyKillMode = FALSE; 
  	}
And of course on the EnemyKillRewardHandler function.

Under the part where it checks for the sade...
if (m_bIsCrusadeMode == TRUE) {
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>
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

locobans wrote:
2) Make the magic "Recall" effect like the scroll one. So you cannot use the magic recall withouth 10 seconds damage.
currently for unedited servers waiting for scrolls is client side because we made a hack for it :P so i would say it could be done server side fairly easy but ive never really looked at the source for more hen 5 mins at a time so yer
Girlfriends are dedicated hookers.
omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »

anyone else can make the 10 seconds effect? i cant seem to lol.
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Another lil modification :D

I'm trying to find where it's stored on HGSource the multipliers of the stats of an item when dropped or the max % it can be on an armor.

Ie: I want to change that max MP Recovery % a dropped hauberk could have be 49% as an example. Or if not change the multiplier wich default is +7 to change to something else.

I ve found this part on source, function CalcTotalItemEffect and tried to change it but didin't worked out, so wrong one.

Code: Select all

switch (dwSWEType) {
case 0:  break;
case 1:  m_pClientList[iClientH]->m_iAddPR += (int)dwSWEValue*7; break;
case 2:  m_pClientList[iClientH]->m_iAddAR += (int)dwSWEValue*7; break;
case 3:  m_pClientList[iClientH]->m_iAddDR += (int)dwSWEValue*7; break;
case 4:  m_pClientList[iClientH]->m_iAddHP += (int)dwSWEValue*7; break;
case 5:  m_pClientList[iClientH]->m_iAddSP += (int)dwSWEValue*7; break;
case 6:  m_pClientList[iClientH]->m_iAddMP += (int)dwSWEValue*7; break;
case 7:  m_pClientList[iClientH]->m_iAddMR += (int)dwSWEValue*7; break;
case 8:  m_pClientList[iClientH]->m_iDamageAbsorption_Armor[m_pClientList[iClientH]->m_pItemList[sItemIndex]->m_cEquipPos] += (int)dwSWEValue*3; break;
case 9:  m_pClientList[iClientH]->m_iAddAbsMD += (int)dwSWEValue*3; break;
case 10: m_pClientList[iClientH]->m_iAddCD    += (int)dwSWEValue; break;
case 11: m_pClientList[iClientH]->m_iAddExp   += (int)dwSWEValue*10; break;
case 12: m_pClientList[iClientH]->m_iAddGold  += (int)dwSWEValue*10; break;
}
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>
omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »


- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Awesome...will add it 2 the source.

Thanks
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>
€M4NU€L
Outpost bitch
Posts: 517
Joined: Sat Nov 19, 2005 9:07 pm
Location: I watch gay porn
Contact:

Post by €M4NU€L »

HeHeHe me eather :lol: :D :P B)
<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