Jump to content

avertuss

Member
  • Content Count

    450
  • Joined

  • Last visited

  • Yangs

    91 [ Donate ]

Community Reputation

12 Neutral

About avertuss

  • Rank
    Noble

Profile Information

  • Gender
    Male
  • About Me


Recent Profile Visitors

1,755 profile views
  1. avertuss

    open

    pc.give_exp2(pc.get_next_exp() * 0.08) will give you 8%.
  2. Hi. I found error. I want to add description to horse riding skill depended on skill level so i tried like that elif player.SKILL_INDEX_RIDING == skillIndex: slotIndex = player.GetSkillSlotIndex(skillIndex) skillLevel = player.GetSkillLevel(slotIndex) self.AppendDefaultData(skillIndex) if skillLevel == 1: self.AppendSpace(5) self.AppendTextLine("Test1", self.NORMAL_COLOR) elif skillLevel == 20: self.AppendSpace(5) self.AppendTextLine("Test20", self.NORMAL_COLOR) It work's in 50%. I mean if i have 1 level it shows Test1 but when i have 20 level of that skill it also shows Test1. Any ideas?
  3. avertuss

    Should i replace for example if (!*arg1) to if (!*vecArgs[1]) or not?
  4. bool CHARACTER::DragonSoul_ActivateDeck(int deck_idx) { if (deck_idx < DRAGON_SOUL_DECK_0 || deck_idx >= DRAGON_SOUL_DECK_MAX_NUM) { return false; } if (DragonSoul_GetActiveDeck() == deck_idx) return true; DragonSoul_DeactivateAll(); if (!DragonSoul_IsQualified()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("żëČĄĽ® »óŔÚ°ˇ Č°ĽşČ­µÇÁö ľĘľŇ˝Ŕ´Ď´Ů.")); return false; } AddAffect(AFFECT_DRAGON_SOUL_DECK_0 + deck_idx, APPLY_NONE, 0, 0, INFINITE_AFFECT_DURATION, 0, false); m_pointsInstant.iDragonSoulActiveDeck = deck_idx; for (int i = DRAGON_SOUL_EQUIP_SLOT_START + DS_SLOT_MAX * deck_idx; i < DRAGON_SOUL_EQUIP_SLOT_START + DS_SLOT_MAX * (deck_idx + 1); i++) { LPITEM pItem = GetInventoryItem(i); if (NULL != pItem) DSManager::instance().ActivateDragonSoul(pItem); } } i changed nothing its clean function.
  5. Hi. When i want to activate dragon soul alchemy i got crash core. Syserr: checkpointing: CHECKPOINT shutdown: tics did not updated. gdb #0 0x28dc4f73 in thr_kill () from /lib/libc.so.7 No symbol table info available. #1 0x28dc31b1 in raise () from /lib/libc.so.7 No symbol table info available. #2 0x28d36353 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x082482b0 in checkpointing (sig=<optimized out>) at signal.c:29 No locals. #4 0x28c36408 in ?? () from /lib/libthr.so.3 No symbol table info available. #5 0x28c3583b in ?? () from /lib/libthr.so.3 No symbol table info available. #6 <signal handler called> No symbol table info available. #7 0x080a8847 in CHARACTER::GetInventoryItem (this=0x3666f800, wCell=930) at char_item.cpp:262 No locals. #8 0x081f23eb in CHARACTER::DragonSoul_ActivateDeck (this=0x3666f800, deck_idx=0) at char_dragonsoul.cpp:86 pItem = <optimized out> i = 1753023394 #9 0x080eb0bc in do_dragon_soul (ch=0x3666f800, argument=0xffbfac05 " activate 0", cmd=231, subcmd=0) at cmd_gm.cpp:4459 Any ideas?
  6. avertuss

    open

    GCC 4.8.3. I'm using GetMoveMotionSpeed in that function bool CHARACTER::SetSyncPosition(long x, long y) { long mx = GetX(); long my = GetY(); float fDist = DISTANCE_SQRT(mx - x, my - y); float motionSpeed = GetMoveMotionSpeed(); DWORD mduration = CalculateDuration(GetLimitPoint(POINT_MOV_SPEED), (int)((fDist / motionSpeed) * 1000.0f)); DWORD mstart = get_dword_time(); sync_hack = mstart + mduration; } Maybe there is something wrong?
  7. avertuss

    open

    I'm using CLANG-9
  8. avertuss

    open

    I know that there is nullptr but why if i didn't change that function. Btw I updated gdb and nothing change so Reading symbols from game... [New LWP 101185] [New LWP 100449] [New LWP 100457] [New LWP 100471] Core was generated by `./ch11'. Program terminated with signal SIGSEGV, Segmentation fault. #0 CHARACTER::IsPolymorphed (this=0x3a) at ./char.h:810 810 ./char.h: No such file or directory. [Current thread is 1 (LWP 101185)] (gdb) bt full #0 CHARACTER::IsPolymorphed (this=0x3a) at ./char.h:810 No locals. #1 CHARACTER::GetMotionMode (this=0x3a) at char.cpp:2773 dwMode = <error reading variable dwMode (Cannot access memory at address 0x0)> pkItem = <optimized out> #2 CHARACTER::GetMoveMotionSpeed (this=0x3a) at char.cpp:2812 dwMode = <optimized out> pkMotion = <optimized out> #3 0x000000a0 in ?? () No symbol table info available. #4 0x0000003a in ?? () No symbol table info available. #5 0x0000002b in ?? () No symbol table info available. #6 0x429066f8 in ?? () No symbol table info available. #7 0x43e0fff9 in ?? () No symbol table info available. #8 0x127f1e7f in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available. (gdb)
  9. Hi. I found problem in my source. When i want to attack(i just click spacebar) channel is crashing. BT c++ https://pastebin.com/XQ8hEYpV Any ideas? I'm using clang9. If i'm using old source with gcc it work's fine.
  10. avertuss

    open

    Solved, 2x return false XDDD
  11. Hi, I encountered a strange problem today. I can't put the metin strone in anything. syserr clean syslog Jan 12 11:40:32 :: Packet Analyze [Header 60][bufferLeft 17] Jan 12 11:40:32 :: CInputMain::Analyze() ==> Header [60] Jan 12 11:40:32 :: Test: USE_ITEM Kamień Duszy Magii+7 (inven 1, cell: 75) Jan 12 11:40:32 :: USE_ITEM Kamień Duszy Magii+7, Inven 1, Cell 80, ItemType 10, SubType 0 Jan 12 11:40:32 :: Packet Analyze [Header 3][bufferLeft 9] Jan 12 11:40:32 :: CInputMain::Analyze() ==> Header [3] Jan 12 11:40:32 :: ELO syserr client clean debug << SendItemUseToItemPacket(src=1, dst=20225) i added chat in uiattachmetin to check if button works well, he shows up. def Accept(self): net.SendItemUseToItemPacket(self.metinItemPos, self.targetItemPos) net.SendChatPacket("ELO") snd.PlaySound("sound/ui/metinstone_insert.wav") self.Close() Item proto 28700 28700 ITEM_METIN METIN_NORMAL 1 NONE NONE WEAR_WEAPON NONE 80000 2000000 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_PENETRATE_PCT 25 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 17 0 0 0 149 149 ITEM_WEAPON WEAPON_SWORD 2 ANTI_MUDANG ITEM_TUNABLE WEAR_WEAPON NONE 360000 2770000 13300 20 15 LEVEL 85 LIMIT_NONE 0 APPLY_ATT_SPEED 15 APPLY_NONE 0 APPLY_NONE 0 0 18 40 100 140 137 100 3 0
  12. Hi. How to block auto attack on player? I mean player can use aa on mob/metin/boss but not on player. Any idas?
  13. Hi. Someone has libs for freebsd 12.0 64 bits? I need for example ld-elf32.so.1: Shared object "libIL.so.1" not found, required by "game"
×
×
  • 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.