Jump to content

AlexxD

Inactive Member
  • Posts

    161
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by AlexxD

  1. Hi metin2dev, I have a problem by quests, and the problem is that, when in quest I have for example some functions: and after that I have In client, for 'OK' word, or 'Cancel' or 'Continue' I have this: [Hidden Content] And the problem is: [Hidden Content] There needs to be 'OK', not empty grey space.. If someone know how to fix, let me know that.
  2. I'll edit this function, first I saw that people need to block 2 items for the same type, and after I saw in client that 2 same vnums doesn't works.
  3. Yeah, and if you have wolfman too, add this: isCostumeWeapon = item.COSTUME_TYPE_WEAPON_SWORD == itemSubType or item.COSTUME_TYPE_WEAPON_DAGGER == itemSubType or item.COSTUME_TYPE_WEAPON_BOW == itemSubType or item.COSTUME_TYPE_WEAPON_TWOHAND == itemSubType or item.COSTUME_TYPE_WEAPON_BELL == itemSubType or item.COSTUME_TYPE_WEAPON_FAN == itemSubType or item.COSTUME_TYPE_WEAPON_CLAW == itemSubType
  4. Search: PyModule_AddIntConstant(poModule, "COSTUME_TYPE_HAIR", CItemData::COSTUME_HAIR); in PythonItemModule.cpp from UserInterface and add after it: PyModule_AddIntConstant(poModule, "COSTUME_TYPE_WEAPON", CItemData::COSTUME_WEAPON);
  5. def __OnValueUpdate(self): ui.EditLine.OnIMEUpdate(self.inputValue) text = self.inputValue.GetText() money = 0 if text and text.isdigit(): try: money = long(text) except ValueError: money = 1000000000000 self.moneyText.SetText(self.moneyHeaderText + localeInfo.NumberToMoneyString(money)) replace with this, and if doesn't works, then I don't know, maybe you forgot something in source/binary.
  6. root. uicommon, you have at the lasts lines. def OnUpdate. Change int(text) to long(text)
  7. So, you didn't changed all things.. You have to change python part too.
  8. For me? Of course, otherwise, I'll never say 'no tested' things.
  9. Non edited files from binary, have this: make it like this:
  10. This is the code from source with this 'syserr problem': Good, if you saw there 'sys_err("FDWATCH: peer null in event: ident %d", fdwatch_get_ident(m_fdWatcher, idx));' then you'll see that the whole function is int CClientManager::Process(). Good, now take a look on item_proto if there's a problem and solve it. There are lines with mistakes(item_proto server)
  11. There's no chance to NOT work if you done these.. Take a look back. If you use python27, use 'K' value not PyLong_AsLongLong or 'LL' or another values.
  12. Look at what you edited/changed from last source, and you'll find the problem.
  13. Points, value, amounts? You did it for ELK/GOLD/ARGUMENTS for exchange and shop, but you still need to chance GetStatus, SetStatus functions from client/userinterface, you need to change virtual void from AbstractPlayer.h from virtual int to virtual long long(or your *fcking* value)
  14. You have different hearders pack in pachet.h from client to server. I had the same problem, it was from packet.
  15. Then try to change game, and if that doesn't works, try to change binary and that's all my ideas..
  16. If you changed skill_proto once, it will be useless to change it again with mine, or your friends though. Verify your last modified files and check with your backups one(if you have this backup) and if you don't have backup then download a source from the Internet and check those files with your files. Maybe you forgot/commented/added a line that doesn't need to be there.
  17. Then you need to modify x and y, and don't wait to modify the title position, if you forget to do that, the title will no longer be on middle of the tab.
  18. If you want to resize the image, with 'bar' and also that slots, you need to find .sub file, and if you want to change the number of slots you need to change in .py file from uiscript number of x_slot and y_slot if I'm right, and in source part though, in each file for each system. Example: if you change max slots in exchance, open exchance.cpp and find m2 grid function, and replace 3, 4 with your x and y slots.
  19. Put this in GameType.h and in length.h from common folder add this:
  20. If you have python27 you can try "K" value, not "ULL" or "LL", or PyLong_AsLongLong or etc. Or you don't chance PointChange function.
  21. If your shoulders have different codes, change my codes here: if itemVnum >= 85001 and itemVnum <= 85008: with your codes if itemVnum >= FIRST_SHOULDER_IN_ITEM_PROTO and itemVnum <= LAST_SHOULDER_IN_ITEM_PROTO:
  22. Hi devs, today I'll share you the fix for Absorbation Rate that doesn't show, if it doesn't. In uitooltip.py from root search: if isCostumeAcce != 0: if metinSlot != 0: absChance = int(metinSlot[1]) if absChance > 0: self.AppendSpace(5) self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR) replace with: if itemVnum >= 85001 and itemVnum <= 85008: if metinSlot != 0: absChance = int(metinSlot[1]) if absChance > 0: self.AppendSpace(5) self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR) !!!! Keep an eye on TABULATORS. Image: [Hidden Content] Rata de absortie: Absorbation Rate You need to combine two shoulders to show the Absorbation Rate. If your shoulders have different CODES in item_proto, put the right codes here: if itemVnum >= 85001 and itemVnum <= 85008:
  23. Thanks for reply but i have the same thing in my source I don't think there's from source.. You have in char.cpp this: inet_ntoa(GetDesc()->GetAddr().sin_addr), GetGold(), g_bChannel, GetMapIndex(), GetAlignment()); I think you edited like that: snprintf(buf, sizeof(buf), "%s %lld %d %ld %d", inet_ntoa(GetDesc()->GetAddr().sin_addr), GetGold(), g_bChannel, GetMapIndex(), GetAlignment()); Right? Then, the python part is not compatible with long long version, or in your binary something's missing..
×
×
  • 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.