-
Posts
96 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Matteo
-
-
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!
-
12 hours ago, Speachless said:
Ovh doesn't close metin2 servers, but closes metin2 websites. Keep the website away from the host provider of the server if you want to avoid copyright issues.
What do you recommend then? Own VPS with NGINX and stuff?
-
Hi,
I'm looking at https://www.ovh.ie/web-hosting/ 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!
-
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: https://pastebin.com/UqVAxNZf
Quest: https://pastebin.com/M7q03gMj
Thank you!
-
Spoiler
v142 toolset, 10.0 sdk, c++17 works well.
- 1
-
As always, good job! Thank you!
- 1
-
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.)
-
13 hours ago, xAres said:
Yes, i did the same thats why i wrote "after i compiled"....
- 8
- 3
- 1
- 5
-
VS2019, after i compiled the discordrpc.lib, this error occurs:
Spoiler- 1
- 1
-
I've removed this feature from my client source. Still works, no problem.
- 1
-
1 hour ago, Mali61 said:
enum EMobRank { MOB_RANK_PAWN, MOB_RANK_S_PAWN, MOB_RANK_KNIGHT, MOB_RANK_S_KNIGHT, MOB_RANK_BOSS, MOB_RANK_KING, MOB_RANK_MAX_NUM };
if (GetMobRank() == MOB_RANK_BOSS)
Thank you! I got it!
- 1
-
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!
-
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!
- 8
-
28 minutes ago, Speachless said:
You're confusing a thing. All metin2 sources are configured to load the files from d:/ymir work. It's only for test-environment not for release.
Still my way has less performance loss. and there is no point to change. See the videos above.
This is my last time i enter any forum. Same shit happened in the past and i have no patience to argue like in the old days. Run tests before post.
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!
- 1
-
Don't forget that, it works in Win8 compatibility mode or Win7, but without the compatibility mode it is crashing.
-
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
- 1
- 2
-
I've sent it! Thank you!
-
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
- 1
-
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?
-
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 -
6 hours ago, Flourine said:
You increased item count?
No.
This is the new crash:
-
-
5 minutes ago, WeedHex said:
fun fact:
mysql> SELECT * FROM item WHERE count > 200; Empty set
new crash... randomly, only the first channel. another three is running fine.
-
23 minutes ago, WeedHex said:
You fucked up something show here your item_manager.cpp.
deleted link
Thank you.
Mob HP Bug
in Community Support - Questions & Answers
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
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!