Jump to content

r00t3r

Member
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by r00t3r

  1. 9 hours ago, VegaS said:

    I think  this is best method.

    // Costume

    
    UPDATE `item` SET `socket0`='4233600' WHERE 41001 <= vnum && vnum <= 41135;

    //  Hair

    
    UPDATE `item` SET `socket0`='4233600' WHERE 73001 <= vnum && vnum <= 75620;

     

    Quote: How can change from source to no remove costumes if have 0 time?

    Method shit ( check this ):

    
    void CItem::StartRealTimeExpireEvent()
    {
    	if (m_pkRealTimeExpireEvent)
    		return;
    	for (int i=0 ; i < ITEM_LIMIT_MAX_NUM ; i++)
    	{
    		if (LIMIT_REAL_TIME == GetProto()->aLimits[i].bType || LIMIT_REAL_TIME_START_FIRST_USE == GetProto()->aLimits[i].bType)
    		{
    			item_vid_event_info* info = AllocEventInfo<item_vid_event_info>();
    			info->item_vid = GetVID();
    			m_pkRealTimeExpireEvent = event_create( real_time_expire_event, info, PASSES_PER_SEC(1));
    			sys_log(0, "REAL_TIME_EXPIRE: StartRealTimeExpireEvent");
    			return;
    		}
    	}
    }

     

    
    	for (int i=0 ; i < ITEM_LIMIT_MAX_NUM ; i++)
    	{
    		if (LIMIT_REAL_TIME == item->GetLimitType(i))
    		{
    			if (item->GetLimitValue(i))
    			{
    				item->SetSocket(0, time(0) + item->GetLimitValue(i)); 
    			}
    			else
    			{
    				item->SetSocket(0, time(0) + 60*60*24*7); 
    			}
    
    			item->StartRealTimeExpireEvent();
    		}

     

    Code is not working . 

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

  2. Hello world :)

    I keep thinking about movingg from 2089m to 40k

    Bun encountered a problem.

    In game 2089m, players have 0 timp at costumes, if i move to 40k, when you login in game, costumes automaticaly will removed from your character because you already have 0 timp on costumes.

    How can change from source to no remove costumes if have 0 time . 

    Sorry for my bad english :) . 

  3. Db

    SYSERR: May 23 11:27:43.509663 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: May 23 11:27:43.509718 :: Process: FDWATCH: peer null in event: ident 22
    SYSERR: May 23 11:27:43.509733 :: Process: FDWATCH: peer null in event: ident 23
    SYSERR: May 23 11:27:43.509748 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: May 23 11:27:43.509763 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: May 23 11:27:43.709997 :: Process: FDWATCH: peer null in event: ident 21

     

     

     

  4. Hello, I recently opened a server after some time of inactivity , I started working on 40k , source ..
    Everything ok until I started taking crash .
    We analyzed game.core with gdb , none of game only some trouble with the lib 's.
    I analyzed syslog , I noticed something strange give_exp , I rebuilt quest and put some time when you can buy exp .
    Now morning I wake up again game.core
    I took every exploit in a row , I have solved .
    In db , syseror from time to time occur: peer null ident event
    We have not found any resolution , I thought I could somehow stop source of this error , but we did not find .
    Before the crash taken , processes up to 100 % .
    Look . - » https://metin2.download/picture/i4Lt01k6ni1Uyp39S0vYK6HTvmKjTf36/.png
    If anyone can help me , and I get to pay.

    Sorry for my bad english :) . 

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