-
Posts
196 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Mano
-
-
31 minutes ago, Ikarus_ said:
I guess that GetMaxHP returned 0 for some reason, and that is why it crashed. You can solve it by simply checking that GetMaxHP is different from 0 in that if.
Test this fix and report if it helped you:
// replace this if (GetMaxHP() >= 0) iTmpPercent = (GetHP() * 100) / GetMaxHP(); //with this if (GetMaxHP() > 0) iTmpPercent = (GetHP() * 100) / GetMaxHP();
Yeah that solved the problem, so somehow BroadcastAllianceHP is setting mast hp to 0 or idk why the mast is destroyed right after the timer ends
Edit: Turns out mob_proto.txt data is the reason and max_hp field is missed up
-
12 minutes ago, Ikarus_ said:
It would be helpful to post the char_battle.cpp file or at least what it contains at line 2530 and around.
I'm running test server and i got that core downer because of this block
Spoilerif (test_server)
{
int iTmpPercent = 0; // @fixme136
if (GetMaxHP() >= 0)
iTmpPercent = (GetHP() * 100) / GetMaxHP();if(pAttacker)
{
pAttacker->ChatPacket(CHAT_TYPE_INFO, "-> %s, DAM %d HP %d(%d%%) %s%s",
GetName(),
dam,
GetHP(),
iTmpPercent,
IsCritical ? "crit " : "",
IsPenetrate ? "pene " : "",
IsDeathBlow ? "deathblow " : "");
}ChatPacket(CHAT_TYPE_PARTY, "<- %s, DAM %d HP %d(%d%%) %s%s",
pAttacker ? pAttacker->GetName() : 0,
dam,
GetHP(),
iTmpPercent,
IsCritical ? "crit " : "",
IsPenetrate ? "pene " : "",
IsDeathBlow ? "deathblow " : "");
}This line exactly
SpoileriTmpPercent = (GetHP() * 100) / GetMaxHP();
Edit: if i deactivated test server it works and there is no core crash but the mast is destroyed right after counter timer ends
https://metin2.download/picture/1e97P10iU39HjN9be33bqBsycEm2stuD/.png
-
Thanks for the amazing work you do and for publishing such system that cost you time and work
There is a core crash problem tho, maybe you can check what's wrong
https://metin2.download/picture/3RdcFkFv0mb07LtE3mIHW46Lk6YiYFfT/.png
Thank you again
-
Thanks for sharing
- 1
- 1
-
Hey all,
I'm trying to compile libjpeg on vs17 but each time i run the compile command i got this error
SpoilerNMAKE : fatal error U1052: file 'makefile.win' not found
I'm following the steps from this https://stackoverflow.com/questions/12652178/compiling-libjpeg
I don't know what is the problem and i really need help
Edit : i fixed it i just was using the wrong makefile (makefils.vs is the one working for vs17)
Kind regards
-
Spoiler
It's solo, solo everybody
-
thanks guys for your help but i don't get it till now
-
4 minutes ago, 3bd0 said:
Follow this toturial
http://www.dahlsys.com/misc/compiling_ijg_libjpeg/index.html
it doesn't help
-
1 minute ago, 3bd0 said:
rebuild jbeglib with VS17
it's not a project so i can't build it
They are 5 files with no sln file so i can't build it
If you tell me how to do that i'd be grateful
-
2 minutes ago, tierrilopes said:
Jpeglib
i don't understand ? what do you mean ?
-
2 minutes ago, Chyu ^^ said:
Also you can choose an old toolset and you don't need to recompile anything.
I updated the toolset to the new one
-
4 minutes ago, Galet said:
I don't remember, just compile what's vs2017 asks you to
I did but this error remain unsolved
-
5 minutes ago, Galet said:
Hello,
You just need to compile the lib with visual studio 2017
is there anything besides cryptopp that needs to be compiled ?
-
Hey there,
I started using vs17 cause it helps me alot with my study but i can't compile metin2 source code on it due to this error
Error LNK1104 cannot open file 'libjpeg-MT.lib'
There were other errors but i managed to fix 'em but for this i didn't solve it
Any suggestions ?
Kind regards.
-
1 hour ago, charparodar said:
I've watched up to season 8x05 but then my series restarted and I stopped watching xD
Well, I recommend you to get back and watch it as it's began to be so epic from season 9
-
Nowadays i'm watching Supernatural series and I'm on season 10 now
- 1
-
9 minutes ago, ABoWaLy said:
iam not asking about this >>
i know the fix for this ..
in NewPetSystem.cpp .. search
void CNewPetActor::ItemCubeFeed(int type)
and paste it
if (ITEM_WEAPON == itemxp->GetType() && itemxp->IsEquipped()) return ;
iam asking about weapon costume .. when unwear it .. it is Keep appearances
Got it.
It's also from instancebase.cpp
If you're using martysama source that mean you will not face problem like that
-
11 hours ago, ABoWaLy said:
make it in your files first
this is beta2 SF with martysama Source .. it will be free for all in lb-h
So what? i'm happy that you can do it
Already fixed months and months ago
-
about sash you've to check instancebase.cpp and check the way you added the system
pet feeding equipped item bug is easy to fix you just have to return if the item is equipped
-
Working perfect!
Thanks
-
skill_proto.sql
-
-
Hey all
This Error is in auth SYSERR
SpoilerHandshakeProcess: handshake retry limit reached! (limit 32 character !NO CHARACTER!)
Does anybody know how to fix this error ?
I can pay for fix if needed ..
Kind regards
-
you have to edit both file for new sashes
Ship Defense (Hydra Dungeon)
in Features & Metin2 Systems
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
make sure that the value of max_hp is set right on mob_proto.txt