Over Levelling Fix

All Helbreath Server Source Discussion here.
Post Reply
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>
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

if (m_pClientList[iClientH]->m_iLevel >= 251){
m_pClientList[iClientH]->m_iLevel -= 1;
}
:ph34r:
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

use the majestic from 3.0 source :D works fine for me :D :D
omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »

Cleroth wrote:
if (m_pClientList[iClientH]->m_iLevel >= 251){
m_pClientList[iClientH]->m_iLevel -= 1;
}
:ph34r:
well it works >.<
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

omar_omiez wrote:
Cleroth wrote:
if (m_pClientList[iClientH]->m_iLevel >= 251){
m_pClientList[iClientH]->m_iLevel -= 1;
}
:ph34r:
well it works >.<
:ph34r:
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »

Cleroth wrote:
omar_omiez wrote:
Cleroth wrote: :ph34r:
well it works >.<
:ph34r:
zzz.......
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

omar_omiez wrote:
Cleroth wrote:
omar_omiez wrote: well it works >.<
:ph34r:
zzz.......
:ph34r:
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

This will work like original Majestic..

Under BOOL CGame::bCheckLevelUp(int iClientH)

Code: Select all

if (m_pClientList[iClientH] == NULL) return FALSE;
	if (m_pClientList[iClientH]->m_iLevel >= m_iPlayerMaxLevel) {
  if (m_pClientList[iClientH]->m_iExp >= m_iLevelExpTable[m_iPlayerMaxLevel + 1]) {
  	m_pClientList[iClientH]->m_iExp = m_iLevelExpTable[m_iPlayerMaxLevel];
  	SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_EXP, NULL, NULL, NULL, NULL);
  	if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 0) {
    m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 0;
  	}
  	m_pClientList[iClientH]->m_iGizonItemUpgradeLeft++;
  	if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft > 50) {
    m_pClientList[iClientH]->m_iGizonItemUpgradeLeft = 50;
  	}
  	SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_GIZONITEMUPGRADELEFT, m_pClientList[iClientH]->m_iGizonItemUpgradeLeft, 1, NULL, NULL, NULL);
  }
	}
Ex:
Exp Decreased XxXxXxX
Item Upgrade Is Possible!

you just need to code the Weapons upgrade or Take it from 3.0 source By Hypno..
James!
Member
Posts: 134
Joined: Sat Jan 01, 2005 12:09 am

Post by James! »

Cleroth wrote:
omar_omiez wrote:
Cleroth wrote: :ph34r:
zzz.......
:ph34r:
:ph34r:
<img src='http://img.photobucket.com/albums/v482/ ... ingFan.jpg' border='0' alt='user posted image' /><br><a href='http://www.hbdreams.com.ar' target='_blank'><b>- Helbreath Dream Team -</a></b><br><a href='http://www.dreamforums.com.ar/top50' target='_blank'><b>- Dream Top 50 Owner Admin -</a></b><br>- <b>Contacto Por Mail</b> : <a href='mailto:james@dreamforums.com.ar'>james@dreamforums.com.ar</a>
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

NO useless responses.

First Warning
Girlfriends are dedicated hookers.
KLKS
Loyal fan
Posts: 218
Joined: Sun Feb 22, 2004 2:32 pm

Post by KLKS »

didnt i solve this problem already by introducing int64 ??
damn musta got lost in the sands of time ;)
Cleroth
Loyal fan
Posts: 416
Joined: Wed Jun 16, 2004 7:08 pm

Post by Cleroth »

charlie wrote: NO useless responses.

First Warning
i r teh ninja :ph34r:
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
Post Reply