Exp Go To -
i tried to make high level(600) files but if someone reaches lvl 317(then is exp about 2 million or smth) then exp goes to - like -214720302 or smth and DC if log in... i think this is smth about main or HGserver so does anyone knows how to fix it?
<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' />
the exp value in server files is stocked in a variable that can't go up to lvl 317 Exp.
So if you want to change the max level, you should change the way exp is calculated in hgserver sources
Find this func in game.cpp
Fo leveling up to lvl 600, change the / 17 with / 40, this would make your players need less exp points to lvl up.
For exemple, lvl 100 will need 100 000 000 exp instead of 210 000 000 exp now (i don't know the real exp table so this is just an exemple)
Now edit the NPC.cfg and change the exp given by monsters (should be divided by 2).
By the way, just a line under in the sources, you have the func that calculate the skill ssn, change it if you want the skills of your players to grow faster
So if you want to change the max level, you should change the way exp is calculated in hgserver sources
Find this func in game.cpp
Code: Select all
int CGame::iGetLevelExp(int iLevel)
{
int iRet;
if (iLevel == 0) return 0;
iRet = iGetLevelExp(iLevel - 1) + iLevel * ( 50 + (iLevel * (iLevel / 17) * (iLevel / 17) ) );
return iRet;
}
For exemple, lvl 100 will need 100 000 000 exp instead of 210 000 000 exp now (i don't know the real exp table so this is just an exemple)
Now edit the NPC.cfg and change the exp given by monsters (should be divided by 2).
By the way, just a line under in the sources, you have the func that calculate the skill ssn, change it if you want the skills of your players to grow faster
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
ty, sorry but i suck in sources... can you tell me where can i find game.cpp file... wasn't on HB folder... put in search atm didn't find there too 
sorry if i bother

sorry if i bother
<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' />
I'd need packed source folder.. i found mine but that is programming language and dunno how to change...:S
so ty
so ty

<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' />
Download the HBx 2.24c C++ sources files or 3.01 c++ files. You can find it on this forum or on www.helbreathss.tk
Edit the game.cpp file with MS Visual studio (C++ 6.0 or .NET) and then compile the whole project (build > rebuild all). Now you have a new HGServer
Edit the game.cpp file with MS Visual studio (C++ 6.0 or .NET) and then compile the whole project (build > rebuild all). Now you have a new HGServer

<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
wow ty

<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' />
did you manage to make it working?
I tried and it worked fine, there is just a problem with the client... when you look at remaining exp for next level, it will show you the OLD exp you need and not the real exp. I don't know if it shows exp calculated by client or sent by hg...
I tried and it worked fine, there is just a problem with the client... when you look at remaining exp for next level, it will show you the OLD exp you need and not the real exp. I don't know if it shows exp calculated by client or sent by hg...
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
that program costs some money
i dont have credit card 
but the client i can't even find C8 00 00 00 in 3.52 client

but the client i can't even find C8 00 00 00 in 3.52 client
<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' />
I don't understand what does cost you money ? Why do you need a credit card for editing free hbx sources ???Tafka12 wrote: that program costs some moneyi dont have credit card
but the client i can't even find C8 00 00 00 in 3.52 client
And for your client, it should be packed, just download an unpacked client and hex it.
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
MS visual studio costs money...
and that wa unpacked i think
and that wa unpacked i think
<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' />
download on ftp or with emule... you didn't paid siementech for their source so why should you pay MS for Visual Studio ?
If you want i can compile you an HG... just say me what you need :-p
If you want i can compile you an HG... just say me what you need :-p
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
tell me what i need? 
good HG with EK announcer , majestic pts and rep upgrade... no bugs and exp not go minus on lvl 317...
thats what i need XD

good HG with EK announcer , majestic pts and rep upgrade... no bugs and exp not go minus on lvl 317...
thats what i need XD
<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' />