Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/04/16 in all areas

  1. M2 Download Center Download Here ( Internal ) Hello guys.. So much people got problem with this system then i do FULL TuT exclusive for metin2dev All is tested and all works TuT included in all FILES.. New Link: Pass: When you find some bug post it here.. I will try to fix it.. Have Fun //EnZi EDITED: #New Link UPDATE cmd_general.cpp - Added some new code char_battle.cpp - Added some new code ProtoReader.cpp - Added some new code questlua_pc - Repaired code item_proto - Query for navicat Quest added UP LINK UPDATED fixed quest: [Hidden Content]
    1 point
  2. M2 Download Center Download Here ( Internal ) Hello, i think that will be nice to know how much slot add every belt. So i have investigated a little bit about that and i have done a mod. You need to change just uitooltip.py in the root. Search WARP_SCROLLS = [22011, 22000, 22010] And add this after: extra_slot = [0,1,2,4,6,9,12,16] Now search elif item.ITEM_TYPE_BELT == itemType: self.__AppendLimitInformation() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) self.__AppendAccessoryMetinSlotInfo(metinSlot, constInfo.GET_BELT_MATERIAL_VNUM(itemVnum)) And replace with elif item.ITEM_TYPE_BELT == itemType: self.__AppendLimitInformation() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot) self.AppendTextLine("Extra slots : %s " % extra_slot[item.GetValue(0)], self.SPECIAL_POSITIVE_COLOR) self.__AppendAccessoryMetinSlotInfo(metinSlot, constInfo.GET_BELT_MATERIAL_VNUM(itemVnum)) As you can see, just a textline has added. self.AppendTextLine("Extra slots : %s " % extra_slot[item.GetValue(0)], self.SPECIAL_POSITIVE_COLOR) Here you can change the text, and the color (self.SPECIAL_POSITIVE_COLOR) Hope that will be nice for you, Lup.
    1 point
  3. Hello community, I am searching for a full multi language system , fully unbugged that there will read the language from db and select the language that the player selected, to read the npcs from clientside and item_names that we pick up from client. I can pay with paysafe card , but if you don't want send me a PM and we will find a solution about payment!
    1 point
  4. Lol , you will disable only clientside the wolfman xDD
    1 point
  5. #pragma pack instructs the compiler to pack structure members with particular alignment. Most compilers, when you declare a struct, will insert padding between members to ensure that they are aligned to appropriate addresses in memory (usually a multiple of the type's size). This avoids the performance penalty (or outright error) on some architectures associated with accessing variables that are not aligned properly. For example, given 4-byte integers and the following struct: struct Test { char AA; int BB; char CC; }; The compiler could choose to lay the struct out in memory like this: | 1 | 2 | 3 | 4 | | AA(1) | pad.................. | | BB(1) | BB(2) | BB(3) | BB(4) | | CC(1) | pad.................. | and sizeof(Test) would be 4 × 3 = 12, even though it only contains 6 bytes of data. The most common use case for the #pragma (to my knowledge) is when working with hardware devices where you need to ensure that the compiler does not insert padding into the data and each member follows the previous one. With #pragma pack(1), the struct above would be laid out like this: | 1 | | AA(1) | | BB(1) | | BB(2) | | BB(3) | | BB(4) | | CC(1) | And sizeof(Test) would be 1 × 6 = 6. With #pragma pack(2), the struct above would be laid out like this: | 1 | 2 | | AA(1) | pad.. | | BB(1) | BB(2) | | BB(3) | BB(4) | | CC(1) | pad.. | And sizeof(Test) would be 2 × 4 = 8. Use pragma pack
    1 point
  6. Ymir Protection binary +lib knowledgeable person looking for
    1 point
  7. M2 Download Center Download Here ( Internal ) Hi. I'm releasing here my map. Size: 1x1 Download: Password: Best Regards, Mr.Slime
    1 point
  8. Then open a topic or send me a pm , if i 'llknow the solutions i will help you
    1 point
  9. M2 Download Center Download Here ( Internal ) quest clean_inventory begin state start begin when 9005.chat."Empty your inventory" begin say_title(mob_name(npc.get_race())) say("Inventory which you choose will be empty.") say("Pay attention when you make your choice.") say_reward("Choose the inventory which you want to empty.") local s = select("Inventory - I","Inventory - II","Remove all items","Cancel") if s == 1 then say("Do you really want to empty Inventory I?") if select("Yes","No") == 2 then return end clean_inventory.empty(0,44) elseif s == 2 then say("Do you really want to empty Inventory II?") if select("Yes","No") == 2 then return end clean_inventory.empty(45,89) elseif s == 3 then say("Do you really want to remove all items except") say("equipments?") if select("Yes","No") == 2 then return end clean_inventory.empty(0,89) else return end end function empty(a,b) for i=a, b do item.select_cell(i) item.remove() end end end end
    1 point
  10. 1 point
×
×
  • 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.