Jump to content

Kafa

Inactive Member
  • Posts

    269
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Kafa

  1. I made an update for the files.

    - Added 5th Character Wolfman.
    - Changed from 4 to 5 Slots for Characters.
    - /set Command implemented changing race & sex for GM
    - Added MaskTypes for Item proto like official
    - Added 4th Apply in Item Proto like official
    - Added new columns for mob Proto like official (for compitability) 
    - Added some more new points&applys
    - Resist fist column in .txt / .sql should work now
    - Fixed delimiter in dump proto for multiple race flags
    - Changed Loading of Mob/Item Proto In Db Source (improved code)
    - extended sockets to 5 (ITEM_SOCKET_MAX_NUM)
    - Current Protos can now be loaded without having to change something!
    - Fixed WEAR_SHIELD & WEAR_UNIQUE
    - Implemented Race Height feature
    - Replaced root with leaked gf root from 2018
    - added all defines in pythonapplicationmodule(commented)
    - Added reversed event functions from pengers release
    - increased visible box line count from 5 to 15
    - added missing function GetLoginID for character select.
    - Fixed "mse" syserr error due to costume aura items
    - Added Malis Last Play time system for official character select 

    - Implemented official dice system & fixed monarch notice

    - Implemented official soul bind system.

    - Implemented official character details system.

    - Implemented official loading tips

    - Fixed a bug when you reset your skill group where you need to relog to see the true skill level.

    - Implemented official loading of Maps

    - Fixed switching items that are equipped.

    -  and much more.

    If you want i can release it.

     

     

    spacer.png

     

    spacer.png

     

     

    • Metin2 Dev 1
    • Sad 1
    • Good 4
    • Love 4
  2. Just now, memett4545 said:
    
    
     [OK]         Compiling: BattleArena.cpp
    In file included from BattleArena.cpp:6:
    char_manager.h:127:2: error: 'BannerMapType' does not name a type; did you mean      'EBannerMapIndex'?
      BannerMapType BannerMap;
      ^~~~~~~~~~~~~
      EBannerMapIndex
    gmake: *** [Makefile:183: .obj/BattleArena.o] Error 1
    
      char_manager.cpp
      
      private:
    	BannerMapType BannerMap;
    	bool m_bIsLoadedBanners;

    i am getting an error :(

     

    You did something wrong. Check Server Source again.

  3. Just now, edwardcrkz said:

    It is not difficult to overcome this system but it is very good that you share it with people.

     

    Good luck.

    Exactly, lets still appreciate this. And ignore other people who say its easily bypassable. 

    • Confused 1
    • Good 1
  4. 2 hours ago, Mali61 said:

    I wanna ask you, even the official game does not put an obstacle to this.  Why should we do this?

    In official there is actually no one able to farm with 5 characters at the same time. one of the reasons to this is that the metin stone spawn is more rare (there are a lot more reasons)

     

    So in basically every private server you start full equipped because everyone is lazy. You can just open 5 characters go to a place where a lot of metin stones are and farm with 5 characters at the same time. This is a big problem, its making metin a tryhard game.

  5. Just now, Owsap said:

    Do you have the NPC's implemented?

    
    20127	Anniversary Banner 1
    20128	Anniversary Banner 2
    20129	Anniversary Banner 3
    20130	Anniversary Banner 4
    20131	Anniversary Banner 5
    20132	Anniversary Banner 6
    20133	Anniversary Banner 7
    20134	Solar Banner
    20135	Christmas Banner
    20138	Ramadan Banner
    20142	Halloween Banner
    20143	Easter Banner

     

    They're all implemented bro.

  6. Just now, Owsap said:

    Did you add the data files to your server files?
    And please show your char_manager.cpp and char_manager.h
     

    You can use https://metin2.dev/bin/ to paste your files.

    https://metin2.dev/bin/?9843fb5860c1b5e7#AVdfaLjB5Pnxn5nHcwGY8Y1MdPUD4wsENxighLVnQpDD .cpp

    https://metin2.dev/bin/?6fc610a9d34a3651#862m1UkGgDdd5i7Nm5DL7kqdR6kLJPSQpx8K3aA9EoGg .h 

     

    And yes bro, i do have data  files.

    • Metin2 Dev 1
    • Sad 1
  7. Just now, Owsap said:

    You must show us the problem, what errors are you having? You cannot expect help just by saying that it doesn't work or it crashes.
    Can you run the debugger (gdb)?

    First of all, if you don’t have the gdb package run the command: pkg install -y gdb


    Learn how-to here:

    In short these are the commands that you need:

    
    
    [root@localhost ~]# cd < Directory were .core is generated >
    [root@localhost ~]# gdb
    [root@localhost ~]# set gnutarget i386-marcel-freebsd
    [root@localhost ~]# file < Name of the core file >
    [root@localhost ~]# core < Name of the .core file >
    [root@localhost ~]# bt full
    [root@localhost ~]# backtrace

    Here is an example of how it should look like:

    
    
    [root@localhost ~]# cd /m2server/game/channel1/core1
    [root@localhost ~]# gdb
    [root@localhost ~]# set gnutarget i386-marcel-freebsd
    [root@localhost ~]# file game
    [root@localhost ~]# core game.core
    [root@localhost ~]# bt full
    [root@localhost ~]# backtrace
     Do you also have errors while compiling? If yes, show us the complete output of the compiler errors.

     

    252730RedInfo.pngPlease make sure before posting, you are submitting the issues regarding the post / system to avoid off-topic.


    Sincerely,
    Owasp.

     

    (gdb) bt full
    #0  CHARACTER::StartSlotMachine (this=0x524429c0, bBet=<optimized out>)
        at char.cpp:12602
            bSlot = <error reading variable bSlot (Cannot access memory at address 0x0)>
            iPrice = <optimized out>
            iFound = <optimized out>
            bJackPot = false
            iWinnings = 0
            GCPacket = <optimized out>
            iSlotMachineMltiplier = <optimized out>
            iSlotMachineReels = <optimized out>
    #1  0x08132759 in CInputMain::SlotMachine (this=<optimized out>,
        ch=<optimized out>,
        c_pData=0x2 <error: Cannot access memory at address 0x2>)
        at input_main.cpp:4088
            CGPacket = 0x2
    #2  CInputMain::Analyze (this=0x51fd5878, d=0x51fd5800, bHeader=170 '\252',
        c_pData=0x2b757000 "\252\002\001") at input_main.cpp:4378
            ch = <optimized out>
            iExtraLen = <error reading variable iExtraLen (Cannot access memory at address 0x0)>
    #3  0x0811b05e in CInputProcessor::Process (this=0x51fd5878,
        lpDesc=0x51fd5800, c_pvOrig=0x2b757000, iBytes=8,
    --Type <RET> for more, q to quit, c to continue without paging--
        r_iBytesProceed=@0xffbfb764: 0) at input.cpp:117
            iExtraPacketSize = <optimized out>
            bHeader = <optimized out>
            c_pszName = <optimized out>
            originalPacketSize = <optimized out>
            preAnalyzeSeq = <optimized out>
            c_pData = <optimized out>
            iPacketLen = <optimized out>
    #4  0x080f37a8 in DESC::ProcessInput (this=0x51fd5800) at desc.cpp:356
            tempbuf = <optimized out>
            lpBufferDecrypt = <optimized out>
            iSizeAfter = <optimized out>
            iBytesProceed = <optimized out>
            iSizeBuffer = 8
            bytes_read = <optimized out>
    #5  0x08234230 in io_loop (fdw=0x2a5b1480) at main.cpp:1042
            iRet = 0
            num_events = <optimized out>
            event_idx = 6
            d = 0x51fd5800
    #6  0x08233f02 in idle () at main.cpp:928
            pta = {tv_sec = 1617551188, tv_usec = 27569}
            process_time_count = 14
    --Type <RET> for more, q to quit, c to continue without paging--
            passed_pulses = <optimized out>
            t = 82627
            now = <optimized out>
    #7  0x08232675 in main (argc=1, argv=0xffbfec6c) at main.cpp:605
            sectree_manager = <optimized out>
            strPackageCryptInfoDir = <optimized out>
            mini_game = <optimized out>
            quest_manager = <optimized out>
            growth_pet_manager = <optimized out>
            switchbot = <optimized out>
            TempleOchao_manager = <optimized out>
            MeleyLair_manager = <optimized out>
            dsManager = <optimized out>
            SSManager = <optimized out>
            groupmatch_manager = <optimized out>
            dl_manager = <optimized out>
            threeway_war = <optimized out>
            spam_mgr = <optimized out>
            o9r = <optimized out>
            ba = <optimized out>
            profiler = <optimized out>
            polymorph_utils = <optimized out>
            SkillPowerByLevel = <optimized out>
    --Type <RET> for more, q to quit, c to continue without paging--
            trafficProfiler = <optimized out>
            desc_manager = <optimized out>
            zodiac_manager = <optimized out>
            horsename_manager = <optimized out>
            Monarch = <optimized out>
            OXEvent_manager = <optimized out>
            arena_manager = <optimized out>
            item_addon_manager = <optimized out>
            wedding_manager = <optimized out>
            marriage_manager = <optimized out>
            target_manager = <optimized out>
            building_manager = <optimized out>
            war_map_manager = <optimized out>
            priv_manager = <optimized out>
            banword_manager = <optimized out>
            refine_manager = <optimized out>
            dungeon_manager = <optimized out>
            mark_manager = <optimized out>
            guild_manager = <optimized out>
            p2p_manager = <optimized out>
            messenger_manager = <optimized out>
            log_manager = <optimized out>
            account_db = <optimized out>
    --Type <RET> for more, q to quit, c to continue without paging--
            db_manager = <optimized out>
            lzo_manager = <optimized out>
            pvp_manager = <optimized out>
            skill_manager = <optimized out>
            party_manager = <optimized out>
            motion_manager = <optimized out>
            mob_manager = <optimized out>
            shop_manager = <optimized out>
            item_manager = <optimized out>
            char_manager = <optimized out>

     

    And regarding to this topic. If i type /banner 1 easter nothing really happens, everything is correct.. 😕 

  8. Hey guys, i found a system released in owsap's github. I implemented it, but when i press the start button, my game crashes and my vdi says "Stackoverflow detected..."

     

    Here is the function 

    bool CHARACTER::StartSlotMachine(uint8_t bBet)
    {
    	if (!IsPC())
    		return false;
    
    	if (!GetDesc())
    		return false;
    
    	if (!CanWarp())
    		return false;
    
    	if (!m_bSlotMachineOpen)
    		return false;
    
    	if (m_pkSlotMachineEvent)
    	{
    		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Slot Machine] The machine is already running."));
    		return false;
    	}
    
    	if (bBet > SlotMachineBetMap.size() || bBet < 1)
    		bBet = 1;
    
    	int64_t iPrice = SlotMachineBetMap[bBet];
    	if (GetGold() < iPrice)
    	{
    		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Slot Machine] You don't have enough money to bet."));
    		return false;
    	}
    
    	uint8_t iSlotMachineMltiplier = quest::CQuestManager::instance().GetEventFlag("slot_machine_multiplier");
    	if (iSlotMachineMltiplier > 0)
    		bBet += iSlotMachineMltiplier;
    
    	uint8_t iSlotMachineReels = quest::CQuestManager::instance().GetEventFlag("slot_machine_reels");
    	for (uint8_t bSlot = 0; bSlot < ESlotMachine::MAX_SLOT_MACHINE_SLOTS; ++bSlot)
    	{
    		std::random_device rd;
    		std::mt19937 mt(rd());
    		std::uniform_real_distribution<> dist(1, (iSlotMachineReels > 0 ? iSlotMachineReels : ESlotMachine::MAX_SLOT_MACHINE_REELS));
    		m_bSlotMachineReel[bSlot] = static_cast<uint8_t>(dist(mt));
    	}

     

     

    Can someone help me?

  9. 7 hours ago, Insane said:

    Message me.
    I have full version working like official.

     

    You're reselling an leaked Version of a Growth Pet System. I don't recommend buying a Growth Pet System from someone else then our Big developers or Sonitex. DONT TRUST ANY ONE, THERE IS A REASON THEY CANT SELL IN METIN2DEV!

     

     

    • Think 1
  10. 1 hour ago, DevBlade said:

     

    Is it possible to change the code, so you can open the shops although the NPC is not on the current map? I think this would be the benefit of using this remote shop.


    no its not possible, you will need to modify the source structure, its simply not made for changes like that. You know? P2P (core to core communication) something like this exist for npc too.


    Google for npcToNpc communication. You can learn a lot my friend

    • Lmao 1
  11. 17 hours ago, peakzinho said:

    can you add me in discord please? Kaylee#3362

    I'm just remove in contants.cpp  // POINT_CONQUEROR_POINT  because if I leave it gives error to compile

    #ifdef ENABLE_CONQUEROR_LEVEL
        { POINT_SUNGMA_STR,                    },
        { POINT_SUNGMA_HP,                    },
        { POINT_SUNGMA_MOVE,                },
        { POINT_SUNGMA_INMUNE,                },
        //{ POINT_CONQUEROR_POINT,            },
    #endif

     

    dont remove  //{ POINT_CONQUEROR_POINT,            },

×
×
  • 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.