Jump to content

Dafuq313

Inactive Member
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Dafuq313 last won the day on November 29 2016

Dafuq313 had the most liked content!

About Dafuq313

Informations

  • Gender
    Male

Recent Profile Visitors

1039 profile views

Dafuq313's Achievements

Contributor

Contributor (5/16)

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

Recent Badges

2

Reputation

  1. Hi, I can't move items inside the special storage system ( for example move an item from the first cell to the last cell ) or from the special storage system to the main inventory. I also can't put stones directly from the special storage system on armors/weapons. This is my __PutItem function from game.py ( I think this where the problem is coming from? ) def __PutItem(self, attachedType, attachedItemIndex, attachedItemSlotPos, attachedItemCount, dstChrID): if player.SLOT_TYPE_INVENTORY == attachedType or player.SLOT_TYPE_DRAGON_SOUL_INVENTORY == attachedType or player.SLOT_TYPE_SKILL_BOOK_INVENTORY == attachedType or player.SLOT_TYPE_UPGRADE_ITEMS_INVENTORY == attachedType or player.SLOT_TYPE_STONE_INVENTORY == attachedType or player.SLOT_TYPE_SANDIK_INVENTORY == attachedType: attachedInvenType = player.SlotTypeToInvenType(attachedType) if TRUE == chr.HasInstance(self.PickingCharacterIndex) and player.GetMainCharacterIndex() != dstChrID: if player.IsEquipmentSlot(attachedItemSlotPos) and player.SLOT_TYPE_DRAGON_SOUL_INVENTORY != attachedType: self.stream.popupWindow.Close() self.stream.popupWindow.Open(localeInfo.EXCHANGE_FAILURE_EQUIP_ITEM, 0, localeInfo.UI_OK) else: if chr.IsNPC(dstChrID): net.SendGiveItemPacket(dstChrID, attachedInvenType, attachedItemSlotPos, attachedItemCount) else: net.SendExchangeStartPacket(dstChrID) net.SendExchangeItemAddPacket(attachedInvenType, attachedItemSlotPos, 0) else: self.__DropItem(attachedType, attachedItemIndex, attachedItemSlotPos, attachedItemCount) I also tried changing that if inside "if TRUE..." to if player.IsEquipmentSlot(attachedItemSlotPos) and\ player.SLOT_TYPE_DRAGON_SOUL_INVENTORY != attachedType and\ player.SLOT_TYPE_UPGRADE_INVENTORY != attachedType and\ player.SLOT_TYPE_BOOK_INVENTORY != attachedType and\ player.SLOT_TYPE_STONE_INVENTORY != attachedType: self.stream.popupWindow.Close() self.stream.popupWindow.Open(localeInfo.EXCHANGE_FAILURE_EQUIP_ITEM, 0, localeInfo.UI_OK)
  2. I want to install shoulder sash system by lennt v0.3 but the problem is that the mob_proto and item_proto are .txt and I need them .sql I would do it by hand but I have no Idea what to put instead of "ITEM_MATERIAL" for example,in sql you have codes,the columns don't correspond either. So,does anyone have a txt to sql converter or the sql files for this system?
  3. I started with Fliege files and I just can't find the system for weapon skins,can someone link it to me?
  4. Hi,does anyone know how are bosses skills implemented? Let's say I want to add a new skill to the Blue Dragon that does aoe damage in a random area,how would I do it?
  5. I have two questions: 1.What serverfiles is recommended to start? I am looking for something as close to the gameforge version and as clean as possible
  6. I downloaded the multi bot of "iPush" ( you can search it on google ) and it has some problems that I don't know how to solve ( on metin2 aeldra ) The bot uses chr.GetInstanceType() == 2 to check for metin stones, it works flawlessly on map1/map2 but then it starts to crash 1)In the valley ( where lv 45 metins are ) it works only on ch5 2)In desert it works only on ch5 3)In Sohan/Forest/Fire country(where the level 75 metins are ) it doesn't work at all on any ch I find it really weird that it can find metins only on some chs/maps I check their type with nonplayer.GetTargetVID() and chr.GetInstanceType() and the types are still 2 so it should work but it deoesn't Has anyone an idea what is going on? It basically just skips those metin stones completely,it's like they don't exist,even if I don't check for their type and I just print in a file the names of every mob in an area,those metin stones are still invisible they are basically considered as NOT AN OBJECT. PS : printing out the names for metin stones map1/map2 or valley ch5 works because the script FIND THEIR OBJECTS...
  7. Is there a tutorial on how to unpack the client? I need to unpack metin2 aeldra to check some commands
  8. I was looking through a python bot and trying to understand what was going on in there and I saw that it uses "player.py" as in "import player" and other .py files Where can I find these files so I can understand what is actually happening? I am trying to replicate and create a bot myself ( a simple one that does some basic stuff ) for fun. Also,if there is anyone who knows really well python (metin2 related) and wants to answer questions from time to time please pm me ( I promise I won't spam you,I just need someone to ask questions to )
  9. I looked everywhere but did not find them... I am searching for the wolfman source files, both client side and server side, ONLY the wolfman's files, I don't want a serverfile with wolfman already implemented, I basically want to understand how to implement it myself and not just copy paste every code blindly, thanks.PS: a tutorial will be even more useful
  10. I want to understand how you can add a new skill and by seeing how to implement the wolfman I should get an idea, the thing is, in source there is nothing and as I understood the skills are defined somehow in skil.proto but I just don't understand how, for example, where does it say that ninja is invisible when using camouflaje until he attacks? I would expect that that should be defined using C++. What I am asking for is only the parts that are necessary to implement wolfman, not the whole files though so I can see what I modify.
  11. If I search for "GEOMKYUNG" (aura of the sword I think) I get this output: I looked up in those .cpp and .h files but did not find anything(you can see the lines in the output,only lines with RemoveAffect() etc). Where is the skill defined? If I want to create a new skill or modify this skill where do I actually need to look? Tried to look into that database and did not find anything,it's too big
  12. Has anyone tested this sf yet ? I see there are a lot of commentaries and I can't find someone to say something about bugs or backdoor [Hidden Content] Also,how i can search a source for backdoor ? With example would be perfect.
  13. Ok my bad,but nobody will give him for free so ...
  14. I don't think somebody made that already ( don't know for sure ),but if somebody did that,do you think he can give you a new tutorial for free ? It;s a lot to work so don't even try to find a "tutorial how to add a new empire" You need new maps,new interface for client and to change in source too.
×
×
  • 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.