Jump to content

KronosG

Member
  • Posts

    25
  • Joined

  • Last visited

  • Feedback

    0%

About KronosG

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

KronosG's Achievements

Community Regular

Community Regular (8/16)

  • Reacting Well
  • One Year In
  • Dedicated
  • Collaborator Rare
  • First Post

Recent Badges

11

Reputation

  1. You can test it with the following command * 72701 is just an example id.
  2. Hello, the tutorial is missing the client src part, here are the additions needed in order for the fix to work (probably still missing something). Locale_inc.h #define ENABLE_COMBO_ALWAYS_ENABLED Packet.h typedef struct SPlayerSkill { BYTE bMasterType; BYTE bLevel; time_t tNextRead; #ifdef ENABLE_COMBO_ALWAYS_ENABLED bool bComboStatus; #endif } TPlayerSkill; PythonNetworkStreamPhaseGame.cpp (needed to enter old accounts) bool CPythonNetworkStream::RecvSkillLevelNew() { TPacketGCSkillLevelNew packet; if (!Recv(sizeof(TPacketGCSkillLevelNew), &packet)) { Tracen("CPythonNetworkStream::RecvSkillLevelNew - RecvError"); return false; } CPythonPlayer& rkPlayer=CPythonPlayer::Instance(); rkPlayer.SetSkill(7, 0); rkPlayer.SetSkill(8, 0); for (int i = 0; i < SKILL_MAX_NUM; ++i) { TPlayerSkill & rPlayerSkill = packet.skills[i]; #ifndef ENABLE_COMBO_ALWAYS_ENABLED if (i >= 112 && i <= 115 && rPlayerSkill.bLevel) rkPlayer.SetSkill(7, i); if (i >= 116 && i <= 119 && rPlayerSkill.bLevel) rkPlayer.SetSkill(8, i); #endif rkPlayer.SetSkillLevel_(i, rPlayerSkill.bMasterType, rPlayerSkill.bLevel); } __RefreshSkillWindow(); __RefreshStatus(); //Tracef(" >> RecvSkillLevelNew\n"); return true; } This change in ClientManagerPlayer.cpp (db) seems to not be needed, default works for TMP4 Files. static char text[4096 + 1]; ➝ static char text[8192 + 1]
  3. What is the issue you're facing?
  4. Hey @ricardo1813, did you add the constinfo.py part? ACCOUNT_NAME = "NoName"
  5. Hey @Aigo! More than likely you found and installed an incomplete system. The type and subtype are correct so it's only natural it crashes if you put something else that you don't have defined in source. A bad sign is not having COSTUME_WEAPON inside ECostumeSubTypes. Unless you forgot to add code from some files, you could try finding/compare the rest of the code until you can complete your system. On last resort I'd recommend uninstalling that system. Best of luck.
  6. Hey @SFXTM, this is usualy configured on value3 inside item_proto. 0 → Sword 1 → Dagger 2 → Bow 3 → Two Hands 4 → Bell 5 → Fan From the line you posted it should be correct, but you can try different numbers with other classes, it could also be a source related issue. Best of luck.
  7. Hey @m2hosting! Essentially this was all I've changed from the original system. From: if app.ENABLE_REFINE_RENEWAL: self.checkBox = ui.CheckBox() self.checkBox.SetParent(self) self.checkBox.SetPosition(0, 90) self.checkBox.SetWindowHorizontalAlignCenter() self.checkBox.SetWindowVerticalAlignBottom() self.checkBox.SetEvent(ui.__mem_func__(self.AutoRefine), "ON_CHECK", True) self.checkBox.SetEvent(ui.__mem_func__(self.AutoRefine), "ON_UNCKECK", False) self.checkBox.SetCheckStatus(constInfo.IS_AUTO_REFINE) self.checkBox.SetTextInfo("Keep window open.") self.checkBox.Show() To: if app.ENABLE_REFINE_RENEWAL: self.checkBox = ui.ToggleSwitch() self.checkBox.SetParent(self) self.checkBox.SetPosition(-55, 70) self.checkBox.SetWindowHorizontalAlignCenter() self.checkBox.SetWindowVerticalAlignBottom() self.checkBox.SetEvent(ui.__mem_func__(self.AutoRefine), "ON_CHECK", True) self.checkBox.SetEvent(ui.__mem_func__(self.AutoRefine), "ON_UNCHECK", False) self.checkBox.SetCheckStatus(constInfo.IS_AUTO_REFINE) self.checkBox.SetTextInfo("Keep window open.", -10, 0) self.checkBox.Show() The ui.CheckBox() -> ui.ToggleSwitch() just how @ CONTROL said, changed position of the switch and added position in front of the text so that it would "detach" from the switch, probably an easier way of doing this, but that's how I did it.
  8. Maybe this will help, best of luck.
  9. Hey @silvano3, assuming you did g_strWebMallURL inside config.cpp, you should also look for ACMD(do_in_game_mall) inside cmd_general.cpp and inside channel cores the CONFIG files should have MALL_URL.
  10. Working flawlessly with auto refine option, after a little tinkering. It's the little details that count, thank you @ CONTROL!
  11. Same process find inside locale_list: energy_system.quest (Should be the only one I think). Comment or delete it, then recompile quests.
  12. Your locale language may differ, I'm assuming you have the default. Hey @ ramongen, head over to: /usr/metin2/server/share/locale/english/quest Find the file: locale_list Delete or comment any dragon_soul related quests. dragon_soul.quest, dragon_soul_refine.quest, dragon_soul_shop.quest, dragon_soul_daily_gift_mgr.quest, dragon_soul_daily_gift.quest
  13. Hey @Muffins, does this only happen in one map or more? Are you warping to the correct coordinates? Have you seen if map coordinates are overlapping with other maps? You can add this while testing. service.h - Add: #define ENABLE_GOHOME_IFNOMAP char.cpp - Search inside - if (!map_allow_find(index)): GetDesc()->SetPhase(PHASE_CLOSE); Replace: #ifdef ENABLE_GOHOME_IFNOMAP GoHome(); #else GetDesc()->SetPhase(PHASE_CLOSE); #endif Should look like this: if (!map_allow_find(index)) { // 이 곳으로 워프할 수 없으므로 워프하기 전 좌표로 되돌리자. sys_err("location %d %d not allowed to login this server", m_posWarp.x, m_posWarp.y); #ifdef ENABLE_GOHOME_IFNOMAP GoHome(); #else GetDesc()->SetPhase(PHASE_CLOSE); #endif return; }
  14. Don't forget Expanded Taskbar, otherwise you'll still be able to open the Dragon Soul Window. root/uitaskbar.py search: self.toggleButtonDict[ExpandedTaskBar.BUTTON_DRAGON_SOUL].SetParent(self) add below: self.toggleButtonDict[ExpandedTaskBar.BUTTON_DRAGON_SOUL].Hide()
  15. Hello, thanks for the clean base provided, I found a couple of things while testing the files, nothing game-breaking although simple fixes. Currently, missing this string in all of the locale strings. (Happens when you try to link something without a Glass of Insight.) "%s이 필요합니다."; "You need %s to do this."; Secondly, hovering over the passive skill Leadership (121) the tooltip is a little bugged and you'll get the following error in your client syserr. 1025 15:57:18812 :: Traceback (most recent call last): 1025 15:57:18812 :: File "ui.py", line 1474, in OnOverInItem 1025 15:57:18812 :: File "ui.py", line 87, in __call__ 1025 15:57:18813 :: File "ui.py", line 78, in __call__ 1025 15:57:18813 :: File "uiCharacter.py", line 649, in OverInItem 1025 15:57:18813 :: File "uiToolTip.py", line 1939, in SetSkillNew 1025 15:57:18813 :: File "uiToolTip.py", line 2309, in AppendPartySkillData 1025 15:57:18813 :: ValueError 1025 15:57:18813 :: : 1025 15:57:18813 :: unsupported format character ',' (0x2c) at index 29 1025 15:57:18813 :: This can be fixed by replacing all +%, with +%. in locale_game. Thirdly, Combo is only working on the first stage, haven't searched a fix for that (Only tested Warrior but I assume it would be the same for other classes). Lastly wanted to ask if you have any plans to enable linking alchemy in chat? Best regards.
×
×
  • 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.