Jump to content

Dafuq313

Inactive Member
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Dafuq313

  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.
  15. It's just an optional thing to have on a server. It isn't an offline shop or something like that, but, it's always good to have something else on the servers, stop being a closed-mind dude and start thinking forward, just saying, don't punch me :v Closed mind ? I just said that i don't like it because it's useless ( IT IS ).And no,is not always good to have something else on the server. This system is purely useless,you can write informations that are not yours ( facebook,skype,email etc ) and then somebody takes them and harras somebody else.Is this "good to have on the server" ... i think you are closed mind since you think so,you look forward ( like you said ) "is good to have something new" but you don't look in other ways "what impact would have this on the server".
  16. Personally,I don't like this system,it's useless,just another to make a server "cool" system
  17. Hi,i want to create my own server and my question is : is there an unbugged 40k source? i don't care if it has lycan or not,or some other systems ... i just want one unbugged AND if it is not clean ( it has new features ) those features to be in that thread ( so i can know what is modified and what i will modify ). And ofcourse it must not have backdoor xD.
  18. 1.I want to modify the skills ( their damage,their protection - some are magic some are physical - ) but i can't find them ... do you know where ? 2.How can i create a new bonus ? if you can give me the source of lycan ( because it has new bonuses ) it will be fine,i will guide myself with that ( i couldn't find the source of lycan,ONLY the files of lycan )
  19. Until you find the solution for this,make a quest which trades you money for that item.
  20. I was thinking that since you get more or less exp based on the difference on your lvl and mob's lvl : [Hidden Content]. If this thing is applying for yang too. So i searched in source and i found this in char.h : INT GetGold() const { return m_points.gold; } void SetGold(INT gold) { m_points.gold = gold; } bool DropGold(INT gold); INT GetAllowedGold() const; void GiveGold(INT iAmount); and in char.cpp: void CHARACTER::CreatePlayerProto(TPlayerTable & tab) { ... things tab.gold = GetGold(); ... things and : INT CHARACTER::GetAllowedGold() const { if (GetLevel() <= 10) return 100000; else if (GetLevel() <= 20) return 500000; else return 50000000; } The thing is that i still don't find what i am looking for ... If you know it,if you found it,please tell me i really want to know this thing ..
  21. Hi,I need a 10.1 freebsd x64 vdi ... because i am a noob and i cant install on my own .. i tried already so please dont give me a tutorial ... I just need a vdi FULL - where i need just to put my files thx
  22. Can you exmplain me why ? i didnt modify that line,i just added self.wndAP.SetText("%s PO" % (str(constInfo.ACHIEV_POINTS))) After
  23. I tried with this tut : [RELEASE] Coins in InventoryWindow. - Guides & HowTo - ********* OK,so i tried with that tutorial above to add a new line in inventory for coins ( not MD ) Uiinventory.py [Hidden Content] Game.py [Hidden Content] I deleted first part of game.py because was too long Sysser : [php] 0307 20:22:29455 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0307 20:22:49991 :: Traceback (most recent call last): 0307 20:22:49991 :: File "networkModule.py", line 247, in SetGamePhase 0307 20:22:49991 :: File "game.py", line 100, in __init__ 0307 20:22:49992 :: File "interfaceModule.py", line 288, in MakeInterface 0307 20:22:49992 :: File "interfaceModule.py", line 172, in __MakeWindows 0307 20:22:49992 :: File "uiInventory.py", line 262, in __init__ 0307 20:22:49992 :: File "uiInventory.py", line 399, in __LoadWindow 0307 20:22:49992 :: File "uiInventory.py", line 611, in RefreshStatus 0307 20:22:49993 :: NameError 0307 20:22:49993 :: : 0307 20:22:49993 :: global name 'locale' is not defined 0307 20:22:49993 :: Game.py : search for : #ACHIEVMENT "OsiagnieciaPunkty" : self.__Achievment, "achiev" : self.__ShowAchiev, #type|level/mob/boss|points The def are at the bottom of the file Uiinventory.py : search for : self.wndAP
×
×
  • 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.