Jump to content

Jodie

Member
  • Posts

    38
  • Joined

  • Last visited

  • Feedback

    0%

About Jodie

Informations

  • Gender
    Not Telling

Recent Profile Visitors

1001 profile views

Jodie's Achievements

Explorer

Explorer (4/16)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

4

Reputation

  1. Yeah, they're changing a lot things at the moment
  2. It depends on who wants to add those things but you're right Meanwhile, you forgot GUILDBANK, PET_FEED and so on - Jodie
  3. Then use, pc.get_guild(). It returns guild id if you have a guild. Otherwise it will return zero. guild.get_name(player.get_guild()) - Jodie
  4. int guild_get_name(lua_State * L) { if (!lua_isnumber(L, 1)) { lua_pushstring(L, ""); return 1; } CGuild * pkGuild = CGuildManager::instance().FindGuild((DWORD) lua_tonumber(L, 1)); if (pkGuild) lua_pushstring(L, pkGuild->GetName()); else lua_pushstring(L, ""); return 1; } That means, you have to enter the guild id. The function will return empty string if you don't - Jodie
  5. I was looking at metin2client.bin about the new functions. I wanted to share one function with you. They're probably using this for new systems. So, let's do this Open PythonPlayerModule.cpp PyObject * playerWindowTypeToSlotType(PyObject * poSelf, PyObject * poArgs) { int iWindowType = 0; if (!PyTuple_GetInteger(poArgs, 0, &iWindowType)) return Py_BuildException(); return Py_BuildValue("i", WindowTypeToSlotType(iWindowType)); } Search this { "SendDragonSoulRefine", playerSendDragonSoulRefine, METH_VARARGS }, Add this { "WindowTypeToSlotType", playerWindowTypeToSlotType, METH_VARARGS }, Open GameType.h and search this BYTE SlotTypeToInvenType(BYTE bSlotType); After add this BYTE WindowTypeToSlotType(BYTE bWindowType); Open GameType.cpp and add this. BYTE c_aWindowTypeToSlotType[WINDOW_TYPE_MAX] = { RESERVED_WINDOW, // SLOT_TYPE_NONE SLOT_TYPE_INVENTORY, // SLOT_TYPE_INVENTORY RESERVED_WINDOW, // SLOT_TYPE_NONE SLOT_TYPE_SAFEBOX, // SLOT_TYPE_SAFEBOX SLOT_TYPE_MALL, // SLOT_TYPE_MALL SLOT_TYPE_DRAGON_SOUL_INVENTORY, // SLOT_TYPE_DRAGON_SOUL_INVENTORY RESERVED_WINDOW, // SLOT_TYPE_NONE RESERVED_WINDOW, // SLOT_TYPE_NONE }; BYTE WindowTypeToSlotType(BYTE bWindowType) { if (bWindowType >= WINDOW_TYPE_MAX) return RESERVED_WINDOW; return c_aWindowTypeToSlotType[bWindowType]; } - Jodie
  6. I just liked the new guild system. The new dungeon looks fine (Graphic) but it doesn't fit for metin2. I think, they can do better than this. - Jodie
  7. Personally, why did you open your topic at this section? Whatever, your problem is about hook. (Detours.h) http://bfy.tw/6i6m - Jodie
  8. You could try to increase the mob's attack speed or you could increase the attention of the monster in the source files. - Jodie
  9. Just look at UserInterface.cpp and find 'python2.lib' with 'python27.lib' if you're using python 2.7. 'python22.lib' if you don't. - Jodie
  10. The first error is saying that you don't have resist_claw column in your mob_proto.sql. It will be okay if you add that column in your mob_proto.sql. The second error is saying that there is a query problem about monarch. - Jodie
  11. Errorlog.txt is only working when you're using your binary in distribute mode or release mode. You can debug your executable file(metin2client.bin) with Visual Studio if you know a bit visual studio. We can't do anything for you at the moment. At least, we don't know the error exactly. - Jodie
  12. Those things are wrong. It should be like this if you don't using acce and weapon costume system. WEAR_RING1 should be 21 WEAR_RING2 should be 22 WEAR_BELT should be 23 - Jodie
  13. Yes, it does. I'm just saying that I showed you a way about that. - Jodie
  14. Actually, you can learn this with kraizy.tar.gz if you really want to learn how to compile the source files. - Jodie
×
×
  • 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.