-
Posts
45 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Chookez
-
-
-
A slightly more optimized code for the second solution.
CWhisper* CPythonChat::CreateWhisper(const char* c_szName) { auto itor = m_WhisperMap.find(c_szName); CWhisper* pWhisper; if (itor == m_WhisperMap.end()) { pWhisper = CWhisper::New(); m_WhisperMap.emplace(c_szName, pWhisper); } else { pWhisper = itor->second; } return pWhisper; }
I'm sorry to bother you.
- 1
- 1
-
-
Optimized version for best performance.
tmpLoadStepList = [step[0] for step in self.loadStepList] missingSteps = set(range(tmpLoadStepList[0], tmpLoadStepList[-1] + 1)).difference(tmpLoadStepList) self.loadStepList += [(progress, lambda: None) for progress in missingSteps] self.loadStepList.sort()
- 1
-
It works perfectly fine.
- 1
- 1
-
5 hours ago, karona200 said:
Where i can find the system target info complete? this is just a fix..
https://letmegooglethat.com/?q=Metin2+Target+information+system
- 1
-
char_battle.cpp
Search:
if (!cannot_dead) { PointChange(POINT_HP, -dam, false); }
Change:
if (!cannot_dead) { if (GetHP() - dam <= 0) dam = GetHP(); PointChange(POINT_HP, -dam, false); }
Borrowed from MARTY's source.
-
SOLVED! ExceptionSender function was missing from the source.
Hello everyone.
I need a little help with client-side syserr, i don't know exactly how long, but if something isn't good, it doesn't log.
Specifically, he writes just that, nothing else, for any type of error.
-
3 hours ago, Cryptex said:
if i send alchemy and accept he told me i have inventory full...
Open exchange.cpp file, and search this:
if (0 == s_vDSGrid[wBasePos])
Change wBasePos to wPos.
Like this:
if (0 == s_vDSGrid[wPos])
-
HI there!
I found it in Mainline.
A little mistake:
- 1
-
I appreciate your help.
As soon as I have time, I'll test it.
Works perfectly, the thread can be locked.
- 1
-
Hi.
I need a little help in this code:
case 84014: case 84015: case 84016: case 84017: case 84018: { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) { return false; } if (item2->IsExchanging()) { return false; } if (item2->IsEquipped()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CANT_USE_ON_EQUIPPED_ITEM")); return false; } if (item2->GetType() != ITEM_COSTUME) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CAN_USE_ONLY_COSTUMES")); return false; } if (item2->GetVnum() >= 74001 && item2->GetVnum() <= 75612) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("CANT_USE_ON_SIMPLE_HAIR")); return false; } long day = item->GetValue(0) * 60 * 60 * 24; ITEM_MANAGER::instance().RemoveItem(item); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("COSTUME_TIME_EXTENDED")); item2->SetSocket(0, item2->GetSocket(0) + day); } break;
How to specify that the time does not exceed 30 days on a costume?
-Thanks in advance.
-
I added this:
horse.set_level(horse.get_level())
Immediately after the skill selection, it will now update normally.
Not the best solution, but it works.
-
Yes, I have been researching it at source, but all the associated functions are the same as the original.
That's why I'm in trouble with this error, but I think I’ll start reviewing my changes to see if anything comes up.
It's about a 3-year-old project, so it will take a while.
- 1
-
I using this quest: https://pastebin.com/n4XT4XZ1
On another server, it works.
My trouble is that if I select the abilities, it will be useless as in the picture.
However, if I teleport, it all works right away.
-
Hi there.
The problem in brief: When I select an ability, it is updated only after teleportation.
They are useless before that:
A little confusing for me.
If you know the reason, don’t keep it to yourself.
- 1
-
-
Hi guys.
I have a little problem, when i wanna add ore to accessory.
Small video of error: https://metin2.download/video/6YjzUz17NF8mEC4OVSR3OhKBWxib5D6B/.mp4
However the bonus is given by the ore.
Only the "socket" is not visible with the ore.
Someone could help me?
- 1
-
-
I was a little confused yesterday, it seems.
PythonMinimap.cpp
Search this:
else if (pkInstEach->IsNPC()
Change to:
else if (pkInstEach->IsNPC() && !pkInstEach->IsInvisibility())
And then add this to this function:
if (pkInstEach->IsPet() || pkInstEach->IsMount()) continue;
Like this:
Its done. Now open InstanceBase.cpp
Search this function:
void CInstanceBase::GetBoundBox(D3DXVECTOR3 * vtMin, D3DXVECTOR3 * vtMax)
After this function add this:
BOOL CInstanceBase::IsPet() { if (GetRace() >= 34001 && GetRace() <= 34021) return true; return false; } BOOL CInstanceBase::IsMount() { if (GetRace() >= 20101 && GetRace() <= 20109) return true; return false; }
Here you can change how long they are hidden, by ID.
Now open: InstanceBase.h
Search this:
void SetDuelMode(DWORD type);
Add after:
BOOL IsPet(); BOOL IsMount();
- 1
-
Open: PythonMinimap.cpp
Search:
else if (pkInstEach->IsNPC() && !pkInstEach->IsInvisibility())
Add this:
if (pkInstEach->IsPet() || pkInstEach->IsMount()) continue;
Like this:
It hides them all.
- 1
-
Version of Files : 40K
Hello.
Someone can help me in this problem?
https://www.youtube.com/embed/An701E5khVc
It does not show the number of pieces properly.
In which function is it worth looking?
Thanks in advance.
-Chookez
- 1
-
If you want '.png' support, then add this line: (ScriptLib/Resource.cpp)
m_resManager.RegisterResourceNewFunctionPointer("png", NewImage);
After this:
m_resManager.RegisterResourceNewFunctionPointer("jpg", NewImage);
- 1
-
Change this section:
if app.ENABLE_CLEAR_CHAT: CHAT_WINDOW_WIDTH += 20
To this:
if app.ENABLE_CLEAR_CHAT: CHAT_WINDOW_WIDTH = 620
- 1
I need an old Lib, pkg provides cannot find it.
in File Requests
Posted