Jump to content

Vectors_

Inactive Member
  • Posts

    34
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Vectors_

  1.  

     

     

     

     

    this in game core.. and log from syserr syslog channels.. but i need off logs from base log-> log table..how off in source db?

     

    Editing need all the cpp files.Remove sys_err and sys_log code

    Example;

    sys_log(0, "can't refine %d %s", GetPlayerID(), GetName());
    //sys_log(0, "can't refine %d %s", GetPlayerID(), GetName());
    

    By this , you will need days and days over days to clear all logs from everything. ( deleting every sys_log line would be .. awful as hell

    I'm still confused why do you want to remove this logs,  they can help you in everything.. like from who's hacking to what's happening on your server... 

     

    but table /var/db/mysql/log/log for 1 day can do 10Gb+..

     

    If you want to close the channel log the requirements of regulations for all cpp.
    /var/db/mysql/log 
    Try log.cpp file for it.Log off as commandlog etc

     

    hmm log.cpp from game source and will clean log from mysql?

     

    Mysql does not keep logs

  2.  

     

     

    this in game core.. and log from syserr syslog channels.. but i need off logs from base log-> log table..how off in source db?

     

    Editing need all the cpp files.Remove sys_err and sys_log code

    Example;

    sys_log(0, "can't refine %d %s", GetPlayerID(), GetName());
    //sys_log(0, "can't refine %d %s", GetPlayerID(), GetName());
    

    By this , you will need days and days over days to clear all logs from everything. ( deleting every sys_log line would be .. awful as hell

    I'm still confused why do you want to remove this logs,  they can help you in everything.. like from who's hacking to what's happening on your server... 

     

    but table /var/db/mysql/log/log for 1 day can do 10Gb+..

     

    If you want to close the channel log the requirements of regulations for all cpp.
    /var/db/mysql/log 
    Try log.cpp file for it.Log off as commandlog etc
  3. playersettingmodule.py change with

    		SKILL_INDEX_DICT = {
    			JOB_WARRIOR : { 
    				1 : (1, 2, 3, 4, 5, 0, 0, 0, 137, 0, 138, 0, 139, 0,), 
    				2 : (16, 17, 18, 19, 20, 0, 0, 0, 137, 0, 138, 0, 139, 0,), 
    				"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
    			},
    			JOB_ASSASSIN : { 
    				1 : (31, 32, 33, 34, 35, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 
    				2 : (46, 47, 48, 49, 50, 0, 0, 0, 137, 0, 138, 0, 139, 0, 140,), 
    				"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
    			},
    			JOB_SURA : { 
    				1 : (61, 62, 63, 64, 65, 66, 0, 0, 137, 0, 138, 0, 139, 0,),
    				2 : (76, 77, 78, 79, 80, 81, 0, 0, 137, 0, 138, 0, 139, 0,),
    				"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
    			},
    			JOB_SHAMAN : { 
    				1 : (91, 92, 93, 94, 95, 96, 0, 0, 137, 0, 138, 0, 139, 0,),
    				2 : (106, 107, 108, 109, 110, 111, 0, 0, 137, 0, 138, 0, 139, 0,),
    				"SUPPORT" : (122, 123, 121, 124, 125, 129, 0, 0, 130, 131,),
    			},
    		}
    
  4. Lycan map allow 7,27,47

     

    input_login.cpp search

    		table->x = CREATE_START_X(bEmpire) + number(-300, 300);
    		table->y = CREATE_START_Y(bEmpire) + number(-300, 300);
    

    Change with

    	if (Lycanmapstart && race == 8)
    	{
    		table->x = 808274 + number(-300, 300);
    		table->y = 935090 + number(-300, 300);
    	}
    	else
    	{
    		table->x = CREATE_START_X(bEmpire) + number(-300, 300);
    		table->y = CREATE_START_Y(bEmpire) + number(-300, 300);
    	} 

    config.h

    extern bool Lycanmapstart;

    config.cpp

    bool Lycanmapstart = true;
    

    and

    		TOKEN("LycanMap")
    		{
    			str_to_number(Lycanmapstart, value_string);
    			continue;
    		}
    	}
    

    I have not tested

    • Love 1
  5. Warez warez warez....
    cmd_general.cpp 
    ACMD(do_dice) 
    {
    	ch->ChatPacket(CHAT_TYPE_INFO, "You can't do that. Maxmi "); //You can edit the text 
    }
    
    Maxmi source  and metin2 rage client = bug bug bug
    Novices you :D
  6. Spoiler

    221758HMBIWv1.png.6ea25872f7a376969584bc

     

    Root uichat.py search;

    def __SendShoutChatPacket(self, text):

    Code block replace;

    http://pastebin.com/EvUxNRe2

        def __SendShoutChatPacket(self, text):
            import player
            if 1 == len(text):
                self.RunCloseEvent()
                return
                
            if app.GetTime() < self.lastShoutTime + 15:
                chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_SHOUT_LIMIT)
                self.__ResetChat()
                return
                
            a = net.GetServerInfo()
            Vectors = a[-3:]
            if not self.Vectors_Map():
                self.__SendChatPacket("[Lv." + str(player.GetStatus(player.LEVEL)) + " " + Vectors + "]: " + text[1:], chat.CHAT_TYPE_SHOUT)
            else:
                self.__SendChatPacket("[Lv. " + str(player.GetStatus(player.LEVEL)) + "]: " + text[1:], chat.CHAT_TYPE_SHOUT)
            self.__ResetChat()
            self.lastShoutTime = app.GetTime()
            
        def Vectors_Map(self):
            import background
            Engellenen_Mapler = [
                "season1/metin2_map_oxevent",
                "season2/metin2_map_guild_inside01",
                "season2/metin2_map_empirewar01",
                "season2/metin2_map_empirewar02",
                "season2/metin2_map_empirewar03",
                "metin2_map_dragon_timeattack_01",
                "metin2_map_dragon_timeattack_02",
                "metin2_map_dragon_timeattack_03",
                "metin2_map_skipia_dungeon_boss",
                "metin2_map_skipia_dungeon_boss2",
                "metin2_map_devilsCatacomb",
                "metin2_map_deviltower1",
                "metin2_map_t1",
                "metin2_map_t2",
                "metin2_map_t3",
                "metin2_map_t4",
                "metin2_map_t5",
                "metin2_map_wedding_01",
                "gm_guild_build",
                "metin2_map_duel"
                "metin2_map_gemi",
                "map_ismi1",
                "map_ismi2",
                "map_ismi3",
                "map_ismi4",
                "map_ismi5",
            ]
            if str(background.GetCurrentMapName()) in Engellenen_Mapler:
                return TRUE
    
            return FALSE 

    Example ox map;

    https://metin2.download/picture/z98Ls96cLziOxt3d0hYd1jQFg7xQAjfA/.png

     

     

    Kind Regards,

    Vectors

    • Metin2 Dev 2
    • Think 1
    • Good 1
    • Love 3
×
×
  • 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.