![](https://metin2.dev/uploads/theme-resources/set_resources_31/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://metin2.dev/uploads/theme-resources/set_resources_31/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
Alucardo
-
Posts
49 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Alucardo
-
-
Try to add antiflag for wolfman in item_proto
-
If you want to count how much mobs a player kill you can make it with a quest.
-
line 980 change with:
self.tooltipItem = uiToolTip.ItemToolTip()
-
Post uiOfflineShop.py
-
In PythonPlayerModule:
Search: {"GetItemAttribute", playerGetItemAttribute, METH_VARARGS},
After this make a new line and paste:
{"GetItemBind", playerGetItemBind, METH_VARARGS},And in PythonSafeBox:
Search: {"GetMallSize", safeboxGetMallSize, METH_VARARGS},
After this make a new line and paste:
{"GetItemBind", safeboxGetItemBind, METH_VARARGS},
{"GetMallItemBind", safeboxGetMallItemBind, METH_VARARGS},
-
1
-
-
game.py
def __InGameShop_Show(self, url):
if constInfo.IN_GAME_SHOP_ENABLE:
self.interface.OpenWebWindow(url)delete : if constInfo.IN_GAME_SHOP_ENABLE:
-
Why you dont compile it on host?
-
You need to edit introempire.py and remove yellow empire
-
uitaskbar.py:
def __RampageGauge_Click(self):
print "rampage_up"
net.SendChatPacket("/in_game_mall")
# gift icon hide when click mall icon
self.wndGiftBox.Hide()
-
Lzo may be changed i think
-
did you edit tables.h from common?
-
Questlib.lua and cube quest
-
Can you post game.py
-
In char_battle.cpp
Try to change in thi function DWORD AdjustExpByLevel(const LPCHARACTER ch, const DWORD exp)
if (PLAYER_EXP_TABLE_MAX < ch->GetLevel())
withif (PLAYER_EXP_TABLE_MAX <= ch->GetLevel())
-
2
-
-
In ItemData.h do you have type 97?
-
Try to compile with gmake all or to compile libthecore
-
i think you can't do it , but you can use team viewer to do that from school.
-
Here:
m_pToggleSlotImage = NULL;
#ifdef ENABLE_HIGHLIGHT_SYSTEM
for (int i = 0; i < 3; ++i)
{
m_apSlotActiveEffect = NULL;
}
#else
m_pBaseImageInstance = NULL;
}Replace with:
m_pToggleSlotImage = NULL;
#ifdef ENABLE_HIGHLIGHT_SYSTEM
for (int i = 0; i < 3; ++i)
{
m_apSlotActiveEffect = NULL;
}
#endif
m_pBaseImageInstance = NULL;
} -
Here :
#else
if (m_pSlotActiveEffect)
{
m_pSlotActiveEffect->SetPosition(ix, iy);
m_pSlotActiveEffect->Render();
}
#endif
}RenderLockedSlot();
}Rplace with:
#else
if (m_pSlotActiveEffect)
{
m_pSlotActiveEffect->SetPosition(ix, iy);
m_pSlotActiveEffect->Render();
}
#endif
}
}RenderLockedSlot();
} -
The acce can't be found in msm files.
-
Hi dev, with this edit in your binary source you can pass through mobs npc and pets.
Edit in GameLib/ActorInstanceCollisionDetection.cpp
Search:
BOOL CActorInstance::TestActorCollision(CActorInstance & rVictim) { if (rVictim.IsDead()) return FALSE;
Add after:
if (rVictim.GetRace() == 30000) return FALSE;
This work for shops, you can add mobs or npc very easy only add a new if statement like:
if (rVictim.GetRace() == 30000 || rVictim.GetRace() == 34001) return FALSE;
-
2
-
-
Hi dev's i am new here aand i want to start with a tutorial for unlimited Arrows
First we need to edit in game->cahr_battle.cpp
Search this function
void CHARACTER::UseArrow(LPITEM pkArrow, DWORD dwArrowCount)
Now replace all function with this:
void CHARACTER::UseArrow(LPITEM pkArrow, DWORD dwArrowCount)
{if(pkArrow->GetValue(5)!=1)
{
int iCount = pkArrow->GetCount();
DWORD dwVnum = pkArrow->GetVnum();
iCount = iCount - MIN(iCount, dwArrowCount);
pkArrow->SetCount(iCount);
if (iCount == 0)
{
LPITEM pkNewArrow = FindSpecifyItem(dwVnum);
sys_log(0, "UseArrow : FindSpecifyItem %u %p", dwVnum, get_pointer(pkNewArrow));
if (pkNewArrow)
EquipItem(pkNewArrow);
}
}}
Done with source. Now python
Search in uitooltip.py
Spoilerif item.ITEM_TYPE_WEAPON == itemType: self.__AppendLimitInformation() self.AppendSpace(5) if item.WEAPON_FAN == itemSubType: self.__AppendMagicAttackInfo() self.__AppendAttackPowerInfo() else: self.__AppendAttackPowerInfo() self.__AppendMagicAttackInfo() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) self.AppendWearableInformation()
And delete this line : self.__AppendMetinSlotInfo(metinSlot)
And add after:
Spoilerif itemSubType == item.WEAPON_ARROW and itemvalue5 == 1: bHasRealtimeFlag = 0 for i in xrange(item.LIMIT_MAX_NUM): (limitType, limitValue) = item.GetLimit(i) if item.LIMIT_REAL_TIME == limitType: bHasRealtimeFlag = 1 if bHasRealtimeFlag == 1: self.AppendMallItemLastTime(metinSlot[0]) else: self.__AppendMetinSlotInfo(metinSlot)
Ok all its ready now protos.
Item_proto.txt :
Spoiler79501 화살표 화살통1 ITEM_WEAPON WEAPON_ARROW 1 ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_WOLFMAN | ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP | ANTI_SAFEBOX ITEM_STACKABLE | ITEM_SLOW_QUERY WEAR_ARROW NONE 100000 0 0 0 0 REAL_TIME 86400 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 17 4 0 25 0 1 0 0 0 79502 화살표 화살통7 ITEM_WEAPON WEAPON_ARROW 1 ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_WOLFMAN | ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP | ANTI_SAFEBOX ITEM_STACKABLE | ITEM_SLOW_QUERY WEAR_ARROW NONE 550000 0 0 0 0 REAL_TIME 604800 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 17 4 0 25 0 1 0 0 0 79503 화살표 화살통15 ITEM_WEAPON WEAPON_ARROW 1 ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_WOLFMAN | ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP | ANTI_SAFEBOX ITEM_STACKABLE | ITEM_SLOW_QUERY WEAR_ARROW NONE 0 0 0 0 0 REAL_TIME 1296000 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 17 4 0 25 0 1 0 0 0 79504 화살표 화살통30 ITEM_WEAPON WEAPON_ARROW 1 ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_WOLFMAN | ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP | ANTI_SAFEBOX ITEM_STACKABLE | ITEM_SLOW_QUERY WEAR_ARROW NONE 0 0 0 0 0 REAL_TIME 2592000 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 17 4 0 25 0 1 0 0 0
Item_names.txt:
Spoiler79501 Tolba Arcasului 79502 Tolba Arcasului 79503 Tolba Arcasului 79504 Tolba Arcasului
Or simply put on value5 from an arrow 1. That's All
Incredible problem ishop client
in Community Support - Questions & Answers
Posted
Any syserr?