Jump to content

Abel(Tiger)

Active+ Member
  • Posts

    196
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    0%

Everything posted by Abel(Tiger)

  1. If you don't know the essential things why are you even trying to copy something ? Pay someone who understand what i said above .
  2. Just replace that function with POINT corespondent. item.GetApplyPoint( item.APPLY_ATTBONUS_HUMAN ) == POINT_ATTBONUS_HUMAN = 43 Or copy aApplyInfo[MAX_APPLY_NUM] from constants.cpp (server) and make a simple function to get point corespondent for apply.
  3. Don't spam this topic with your developer skills, boiz. Just download and use it or put it in Recycle Bin.
  4. The code is blow minding, I wonder how much they pay their developers...
  5. M2 Download Center Download Here ( Internal ) I think they forgot to cythonize =)) I don't recommend to use that code, is ugly ... [Hidden Content]
  6. "equip" and "unequip" EVENTS not FUNCTIONS ... when 19.equip begin syschat("You equiped a weapon.") end when 19.unequip begin syschat("You unequiped a weapon.") end
  7. I already told you some days ago you can't do that with actual metin2 quest events. You need new quest events for that like "equip" and "unequip"... Or try with "use" event, It might work.
  8. Replace: #include "CRC32_inc.h" With: #include "../EterBase/CRC32.h" // OR #include "CRC32.h"
  9. Download Rubinum / Inception source and copy / paste from there, or you don't know to copy / paste ?
  10. [Hidden Content] Is not the original structure but is a close one...
  11. if pc.get_wear(4) == 469 then syschat("You have weapon 469 equiped.") end -- 4 is slot number, check the list i posted abobe -- 469 is weapon vnum
  12. Ofc it crash when you call function GetVnum() through a null pointer bool CItem::IsExceptions(DWORD dwVnum) { switch (dwVnum) { case 30036: return true; break; } return false; } bool CItem::IsItemBox() { //LPITEM item; // why ? return (GetType() == ITEM_MATERIAL && !IsExceptions(GetVnum())); // Just call GetVnum() or like that: this->GetVnum() }
  13. if (item->GetVnum() > 80002 && item->GetVnum() <= 80008) { if (item->GetValue(1) + GetGold() > 1999999999) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cant have more gold.")); return false; } //ChatPacket(CHAT_TYPE_INFO, LC_TEXT("you have got %d gold"), item->GetValue(1)); //Already is in python PointChange(POINT_GOLD, item->GetValue(1)); item->SetCount(item->GetCount() - 1); }
  14. For inventory problem: ## uiselectitem.py ## Search: for i in xrange(player.INVENTORY_PAGE_SIZE*2): ## Replace with: for i in xrange(player.INVENTORY_PAGE_SIZE * player.INVENTORY_PAGE_COUNT): For +3 stones: -- guild_building_melt.quest -- Search: if item.vnum < 28000 or item.vnum >= 28300 then -- Replace with: if item.vnum < 28000 or item.vnum >= 28400 then
  15. It should save in database horse appearance when you call that function "horse.set_appearance(20114)" and on the next login should summon horse with new appearance. You forget some steps from Alina's tutorial or the tutorial is wrong.
  16. Try like that : quest mount_system begin state start begin ------------------------------------------------------------- when login with horse.is_riding() begin horse.set_appearance(horse.get_appearance()) end ------------------------------------------------------------- when 71124.use begin horse.set_appearance(20114) if pc.is_polymorphed() then syschat("Nu poti calarii cat esti transformat.") elseif pc.is_riding() then syschat("Nu poti invoca un mount cat timp calaresti!") else if true == horse.is_summon() then horse.unsummon() else horse.summon() end end end end end
  17. Post the quest, who the f*** can help you without files ?
  18. I speak about source server side checks , not python ... Take : SetExchangeTime() // GetExchangeTime() like example.
  19. Same shit, cancel change channel event when add new item and make a 10 secunde timer after add new item . (Is not that hard)
  20. Block change channel 10 seconds after make a new shop... But there are more duplicate bugs in ken offline shop.
  21. Replace "cmdchat("anti_bot_exit_now")" with "pc.disconnect_with_delay(10)" and will disconnect player from server not from client. PS: I don't recommend quest with unlimited timer.
  22. And if "the bot" remove that "anti_bot_exit_now" from game.py ? Go in that topic and search function "int pc_disconnect_with_delay(lua_State * L)"
×
×
  • 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.