CaptainLucifer
-
Posts
20 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by CaptainLucifer
-
-
-
On 6/25/2022 at 3:52 PM, Syreldar said:
Okay? How do you plan on blocking the player from actually hitting another player with those?
Even assuming you wanted to apply a solution as dirty as "If they hit a player while on mount, they dismount", no such trigger exists by default in Metin2's sources.
Quotestate start begin
when login begin
cleartimer("kontrol")
loop_timer("kontrol", 1)
end
when kontrol.timer begin
if pc.is_mount() then
if pc.get_local_x() == 500 and pc.get_local_y() == 500 then
syschat("İn lan aşşa ")
pc.unmount()
else return end
else return end
end
endWhat do you think about it.
-
2 minutes ago, Syreldar said:
That's not something you can do via quest, no.
But we have pc.is_pvp and pc.is_mount, pc.unmound quest functions?
-
Hello,
I want players with mounts not to be able to attack other players while on their mounts.
Can it be dne with this quest?
-
18 minutes ago, Syreldar said:
This solution fixes the issue that you presented. So it's the appropriate solution.
If it generates another bug, post it and we'll try to fix it, else, don't look for something that doesn't exist.
Attacking the character is blocked. It doesn't take damage.
-
On 6/7/2022 at 10:38 PM, Syreldar said:
It's worth noting that this bug only ever occurs if the mental warrior stands absolutely still doing nothing, and so it's not relevant anyhow under normal circumstances, but:
ActorInstanceSync.cpp:
bool CActorInstance::IsPushing() { return m_PhysicsObject.isBlending(); }
to:
bool CActorInstance::IsPushing() { return !IsResistFallen() && m_PhysicsObject.isBlending(); }
This is not a solution.
Even when the mental warrior is standing still, his coordinate must be transmitted to the opposite side when he is pushed.
We really need help on this issue.
Is there really no one on this forum who knows how to fix it?
-
On 1/25/2022 at 12:04 PM, Karbust said:
BUMP
BUMP
-
Hello,
I need a tested offline shop with a high player. Can salesmen contact me?
-
On 1/9/2022 at 6:12 AM, Artix96it said:
Help me please...
Has anyone ever made this mistake?
Bro you fixed?
If you fixed, please tell me how?
-
5 hours ago, Wakanim said:
It's client souce part problem, not server
if i remember i found the fix months ago
Can you share with us?
-
-
14 hours ago, Vaynz said:
"Let's kill source, and find best solution comment sync yeah.."
This fix worked for my server, the bug apperead since 2020 February when Microsoft updated our windows.
Char.cpp & Char.h game source and there is fix
Char.h - search float m_fSyncTime; Change with DWORD m_fSyncTime; Char.cpp - search if (get_float_time() - m_fSyncTime < 0.2f) Change with if (get_dword_time() - m_fSyncTime < 50) Search m_fSyncTime = get_float_time(); Change with m_fSyncTime = get_dword_time(); Search if (get_float_time() - m_fSyncTime >= 3.0f) Change with if (get_dword_time() - m_fSyncTime >= 100)
No sir, not work
-
1 hour ago, ReFresh said:
@CaptainLucifer I just found a piece of code which could fix that problem.
char.cpp:
// Find this: m_bOpeningSafebox = false; //And below change this: m_fSyncTime = get_float_time()-3; //To this: m_fSyncTime = get_dword_time()-3; //Then find: bool CHARACTER::CanMove() const //And in this function change this: if (get_float_time() - m_fSyncTime < 0.2f) //To this: if (get_dword_time() - m_fSyncTime < 50) //Then find this: bool CHARACTER::SetSyncOwner(LPCHARACTER ch, bool bRemoveFromList) //And in this function find this: m_fSyncTime = get_float_time(); //And change it to: m_fSyncTime = get_dword_time(); //Then find this: bool CHARACTER::IsSyncOwner(LPCHARACTER ch) const //And in this function find this: if (get_float_time() - m_fSyncTime >= 3.0f) //And change to this: if (get_dword_time() - m_fSyncTime >= 100)
char.h
//Find this: float m_fSyncTime; //And change to this: DWORD m_fSyncTime;
Let me know if these changes solved your problem.
https://metin2.download/picture/88I6Hq2f6e6dq6M4wTBA80lcogz3Z158/.png
Still same
-
51 minutes ago, Mitachi said:
Yeah, I also had the exact same bug. I was sure I fixed it the way above, it's a bug I fixed in 2018. After a few combos it happens.
If I find anything else, I'll let you know, unfortunately in 2018 I wasn't using git, otherwise it would have taken me 5 seconds to tell you the solutionFirst,
Thank you for solution. But i agreed with @Sierra Still same.
If you can find true fix and share with us, i'll really glad.
-
10 minutes ago, ReFresh said:
@CaptainLucifer It's not only for the warrior but for all characters. I have the same issue.
This is really interesting bug. I've been searching everywhere for days and can't find a solution.
-
Hello guys,
Is there any solution to this problem experienced on many servers?
- 1
- 1
Help whit a Bug offline shop system
in Paid Support / Searching / Recruiting
Posted · Edited by CaptainLucifer
Hello,
I am looking for solution for the following problems.
1. While a player is purchasing an item from the Offline Market, if the owner of the offline market simultaneously removes the item, the player receives an item with the number 255 and the enchantment code 255 for 0 yang.
2. When you remove an item from the Offline Market in a different channel while the inventory is full, the item will disappear.
offline_shop.cpp : https://paste.tc/ff-17355-1
offlineshop_manager.cpp : https://www.paste.tc/a1-67266-6
input_p2p.cpp : https://www.paste.tc/a5-49754-4
Thank you for your help! ♥
Since we have been scammed too many times by foreign people who are not members of the forum, first half the work is done and then the payment is sent.