Jump to content

Matteo

Member
  • Posts

    96
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Matteo

  1. Hi, As default in sources, you cannot exceed mob hp's by ~21,4 million because there some part of the game where a percentage calculation happens. When calculating the percentage it multiplies the current HP with 100 then divide by the full HP. At the multiplying part it runs out of Int limits and because of that things get buggy. I dont really want to change the datatype of HP stuff in the whole source. I've made a "ghetto" fix but im looking for better solutions. Suggestions? Or just multiply after dividing? Like (currentHP / maxHP) * 100? WARNING: !!GHETTO CODE!! Thanks!
  2. Hi, Im looking for someone who can create or who have a Trading house which is able to manage trading with goldbars (because the server's max yang is 2.000.000.000 and its cannot be increased because of the gameplay). PM me if you are have one or code one!
  3. What do you recommend then? Own VPS with NGINX and stuff?
  4. Hi, I'm looking at [Hidden Content] this web hosting. What are your experiences with the packages? Which one is enough for a metin2 webserver with around 1k~ online player (in terms of usage)? Thank you!
  5. Hi, I have a little problem with my PetSystem, i also have a Costume Mount System. So when i ride a mount and have a pet summoned and warp the pet's bonus is given twice until i remount or change equipment etc. Here is my PetSystem.cpp and quest if thats help: PetSystem.cpp: [Hidden Content] Quest: [Hidden Content] Thank you!
  6. v142 toolset, 10.0 sdk, c++17 works well.
  7. Hi, i have the following problem: If i move a little closer: Another place: Any idea? (Fog turned off, with fog its all good because the fog "covers" it.)
  8. Yes, i did the same thats why i wrote "after i compiled"....
  9. VS2019, after i compiled the discordrpc.lib, this error occurs:
  10. I've removed this feature from my client source. Still works, no problem.
  11. Hi, I need a function on server side which returns true/false if the mob is a Boss. I want to use it in battle.cpp as pkVictim->IsBoss(). Did someone already developed it? Thank you!
  12. Hi guys, It's maybe released somewhere else, but i ran into this with 300-400 player on my server and one of them injected a little python script which invites mobs or npcs into guild and party or forces guild skills on mobs or npcs. If that happens the core will crash since there is no checks for that. input_main.cpp Find in case GUILD_SUBHEADER_CG_ADD_MEMBER:: if (!ch->IsPC()) Replace: if (!ch->IsPC() || !newmember->IsPC()) Find in CInputMain::PartyUseSkill: if (pch) ch->GetParty()->SummonToLeader(pch->GetPlayerID()); Replace: if (pch) { if (pch->IsPC()) ch->GetParty()->SummonToLeader(pch->GetPlayerID()); } Add at the beginning of the CInputMain::PartyInvite function: if (!ch) return; In the same function find: if (!pInvitee || !ch->GetDesc() || !pInvitee->GetDesc()) Replace: if (!pInvitee || !ch->GetDesc() || !pInvitee->GetDesc() || !pInvitee->IsPC() || !ch->IsPC()) Add at the beginning of the CInputMain::PartyInviteAnswer function: if (!ch) return; In the same function find: if (!pInviter) Replace: if (!pInviter || !pInviter->IsPC()) Have a nice day!
  13. I've tested it, and works great! Why are you caring about someone else's opinion? Who cares what he/she thinks... I've implemented it, and works well, lags are gone. Big thanks!
  14. Don't forget that, it works in Win8 compatibility mode or Win7, but without the compatibility mode it is crashing.
  15. Big thanks for @HITRON for the solution! EterPythonLib/PythonWindowManager.cpp Find: void CWindowManager::__ClearReserveDeleteWindowList() { for (auto pWin : m_ReserveDeleteWindowList) delete pWin; m_ReserveDeleteWindowList.clear(); } Replace: void CWindowManager::__ClearReserveDeleteWindowList() { // The above code not need, cause is cleaning it anyway from the vector i think. m_ReserveDeleteWindowList.clear(); } #closerequest
  16. Hi, I have a client source and with vs2019 compatible Extern. The only thing i've got is crash when i try to teleport. When i start it in compatibility mode like Windows8, its totally working. If not, then crashing. I've investigated the crash with VS debugging, but i couldn't figure out what the heck is the problem, and how can i resolve it. Here's some pictures. What do you guys think is wrong? Kind Regards, Minton
  17. Matteo

    Aeldra - Closed?

    You are really is just an asshole Do you want to start a shit remake of metin2 in turkey and now you are reporting metin2 servers? lmao. Or you just forgot how m2m got the fame? Don't you remember? And Magic To Master is got "famous" because of M2M. But don't forget about karma, you will get what you deserve Or you just got mad, because nobody liked and bought your shitty remake of the game? Or what?
  18. Hi, I have a server with around 200 players, and the game is lagging. If i start up the server, its okay no problem, but as time passing by its getting worse and worse... after 24 hours there is 2-3 second lag spikes, especially when a notice comes. I also suspecting the whole "affect system", i have around 140k record in the player/affect table. Server is dedicated, 8 core Xeon, 12G RAM, 1/1 gbps (dedicated also) internet, 2x500hdd in raid1. Im looking for a developer who can explore this problem and solve it. Im also intrested in any performance related code/system/bugfix etc. If you are intrested please DM me here. Have a nice day, Minton
  19. fun fact: mysql> SELECT * FROM item WHERE count > 200; Empty set new crash... randomly, only the first channel. another three is running fine.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.