Jump to content

Ikarus_

Developer
  • Posts

    402
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    0%

Everything posted by Ikarus_

  1. post under spoiler all the reference to SKIN_COSTUME_SYSTEM all the code part had u edited to add it (if that is the free released version only) if i can not see the code , i can not help you.
  2. item_desc.txt in locale , search the value for the white words. for other line : pastebin link where MY_VNUM_SASH is the value of sash
  3. in addition to mesh files, it also imports the skeleton file before the export in gr2
  4. what kind of obejct is self.parentWindow ? search the initialize line of it. if it is a class object , post the class
  5. Sei Italiano eh asd. Stai inviando i quote tradotti ahah. Non voglio parlare in Italiano altrimenti nessun altro capisce , però non hai inviato gli "#include" all'inizio del packet.h del game/src Send the "#include" at the beginning of packet.h if you have not "#include" at beginning of file , add : #include "../../common/service.h" if your "#define __SEND....BLABLA" line is in that file no man I do not think so.
  6. Is not the same man .. if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos) or attachedItemVNum == 70063 or attachedItemVNum == 70064: self.wndItem.SetUsableItem(TRUE) self.ShowToolTip(overSlotPos) return that's right not copy paste by this code because the web page have not "tab" write it like that without paste it
  7. Sorry i mean 59 man. Search this TARGET_INFO_SUBRACE in locale_interface.txt ( if there isn't it , search in locale_game.txt ) and post it. Search in client source (userinterface/packet.h) the header number 59 and post it. The line "#define __SEND_TARGET_INFO__" is included into packet.h (game src)? post the "#include" at the beginning of packet.h Which file did you put "#define __SEND_TARGET_INFO__"?
  8. I'm not a guesser, and so having not way to see what you did , I can not tell you the fix that's best to do.... I can tell u a "dirty" methods to resolve the problem...... change this: if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos): with this : if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos) or attachedItemVNum == ID_OF_YOUR_WRONG_ITEM: where ID_OF_YOUR_WRONG_ITEM is a number (vnum of your problematic item) this is a shit method man , but probably it works.... If you want to fix with a much cleaner method , post everything we need. edited with correct if statement , sorry
  9. this syserr is from db? it says "The connections with channel are crashed". So this syserr is not the key to solving the problem. Post syserr and syslog of a channel, under spoiler please.
  10. In the past I saw a bug like this. Try putting a final space on all the lines of the local_interface.txt and locale_game.txt files. (U can do it automatically with some programs)
  11. the channel error describes an unknown header packet. This happens in two cases: If you did not insert the "case HEADER_NUMBER_56" (with another name obviously) in input_main.cpp, or if you did not run the "Set" for the package Set (HEADER_NUMBER_56, sizeof (struct_packet_num_56), false) ; (with another name obviously) I recommend you to review the installation of the system in the following files in game / src: packet.h, packet_info.cpp, input_main.cpp The second error is most likely caused by the first ... it speaks of a missing value not found while it try to write race information (the string formats are incomplete). So now fix the first problem , after that we can see for second (if it persists)
  12. Is the same things.... for the relative part of the green image on item
  13. No man , I just read the python code responsible for the effect in question. def OverInItem(self, overSlotPos): overSlotPos = self.__InventoryLocalSlotPosToGlobalSlotPos(overSlotPos) self.wndItem.SetUsableItem(False) if mouseModule.mouseController.isAttached(): attachedItemType = mouseModule.mouseController.GetAttachedType() if player.SLOT_TYPE_INVENTORY == attachedItemType: attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedItemVNum = mouseModule.mouseController.GetAttachedItemIndex() if self.__CanUseSrcItemToDstItem(attachedItemVNum, attachedSlotPos, overSlotPos): self.wndItem.SetUsableItem(True) self.ShowToolTip(overSlotPos) return self.ShowToolTip(overSlotPos) if self.__CanUseSrcItemToDstItem -> green image on item that methods : def __CanUseSrcItemToDstItem(self, srcItemVNum, srcSlotPos, dstSlotPos): "대상 아이템에 사용할 수 있는가?" if srcSlotPos == dstSlotPos: return False if item.IsRefineScroll(srcItemVNum): if player.REFINE_OK == player.CanRefine(srcItemVNum, dstSlotPos): return True elif item.IsMetin(srcItemVNum): if player.ATTACH_METIN_OK == player.CanAttachMetin(srcItemVNum, dstSlotPos): return True elif item.IsDetachScroll(srcItemVNum): if player.DETACH_METIN_OK == player.CanDetach(srcItemVNum, dstSlotPos): return True elif item.IsKey(srcItemVNum): if player.CanUnlock(srcItemVNum, dstSlotPos): return True elif (player.GetItemFlags(srcSlotPos) & ITEM_FLAG_APPLICABLE) == ITEM_FLAG_APPLICABLE: return True else: useType=item.GetUseType(srcItemVNum) if "USE_CLEAN_SOCKET" == useType: if self.__CanCleanBrokenMetinStone(dstSlotPos): return True elif "USE_CHANGE_ATTRIBUTE" == useType: if self.__CanChangeItemAttrList(dstSlotPos): return True elif "USE_ADD_ATTRIBUTE" == useType: if self.__CanAddItemAttr(dstSlotPos): return True elif "USE_ADD_ATTRIBUTE2" == useType: if self.__CanAddItemAttr(dstSlotPos): return True elif "USE_ADD_ACCESSORY_SOCKET" == useType: if self.__CanAddAccessorySocket(dstSlotPos): return True elif "USE_PUT_INTO_ACCESSORY_SOCKET" == useType: if self.__CanPutAccessorySocket(dstSlotPos, srcItemVNum): return True; elif "USE_PUT_INTO_BELT_SOCKET" == useType: dstItemVNum = player.GetItemIndex(dstSlotPos) item.SelectItem(dstItemVNum) if item.ITEM_TYPE_BELT == item.GetItemType(): return True return False so the problem is probably the type/flags of item assigned (into proto) to the item in question.
  14. You have wrote an wrong check for empty inventory space (exchange.cpp)... Delete all for cicle and replace it with this cicle for(i = 0 ; i < INVENTORY_MAX_NUM ; i++) { if (! (item = victim->GetInventoryItem (i))) { continue; } if(i < INVENTORY_MAX_NUM/4) { s_grid1.Put(i , 1 , item->GetSize() ); } else if( i < (INVENTORY_MAX_NUM/4) * 2) ) { s_grid2.Put(i - INVENTORY_MAX_NUM/4 , 1 , item->GetSize() ); } else if( i < (INVENTORY_MAX_NUM/4 ) * 3 ) { s_grid3.Put(i - (INVENTORY_MAX_NUM/4*2) , 1 , item->GetSize() ); } else { s_grid4.Put(i - (INVENTORY_MAX_NUM/4*3) , 1 , item->GetSize() ); } } not tested but i think it works fine.. Bye Bye
  15. Man , i think the best method to stop the crashes is to block all chat packet with "strange char name". If you haven't the skills to filter chat packet , send me a private message. i'm Sorry for the bad English .-.
  16. M2 Download Center Download Here ( Internal ) Hello Community! I'm Ikarus (nickname on skype), I'm here today to give you a new complete taskbar (graphics + code) The graphics were created entirely by K3aX(nickname on skype). The Code instead was written by me. I hope someone will enjoy it! Download: CODE GRAPHICS Bye Bye
×
×
  • 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.