Jump to content

Bizzy

Inactive Member
  • Posts

    41
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Bizzy

  1. struct FCFight
    {
    	LPCHARACTER pkLeaver;
    	DWORD stateType;
    	FCombatFight(LPCHARACTER ch, DWORD state) : pkLeaver(ch), stateType(state) {}
    
    	void operator() (LPENTITY ent)
    	{
    		if (ent->IsType(ENTITY_CHARACTER))
    		{
    			LPCHARACTER ch = static_cast<LPCHARACTER>(ent);
    			if (ch && ch->IsPC())
    			{
    				switch (stateType)
    				{
    					case C_FIGHT_ADD:
    					{
    						TargetInfo * pInfo = CTargetManager::instance().GetTargetInfo(ch->GetPlayerID(), COMBAT_FIGHT_INDEX, pkLeaver->GetVID());
    						if (!pInfo)
    							CTargetManager::Instance().CreateTarget(ch->GetPlayerID(), C_ZONE_INDEX_TARGET, pkLeaver->GetName(), C_FIGHT_INDEX,pkLeaver->GetVID(), NULL, ch->GetMapIndex(), "1");
    					}
    					break;
    
    					case C_FIGHT_REMOVE:
    						CTargetManager::instance().DeleteTarget(ch->GetPlayerID(), C_FIGHT_INDEX, pkLeaver->GetName());
    						break;
    				}
    			}
    		}
    	}
    };

     

  2. Hello,

    when i compiling the source i become this error. i used freebsd 12.1 and i dont understand the problem

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    i try NULL to nullptr but still same error when i try NULL to 0 gamecore

     

    Pls help me or say me how i can fix that.

  3. mysql_real_connect: Access denied for user 'admin'@'localhost' (using password: YES)
    AsyncSQL: closing mysql connection.
       failed, retrying in 5 seconds
       failed, retrying in 5 secondsSuccess COMMON
    connecting to MySQL server (hotbackup)
    CREATING DIRECT_SQL
    AsyncSQL: locale euckr
    mysql_real_connect: Access denied for user 'admin'@'localhost' (using password: YES)
    AsyncSQL: closing mysql connection.

    i dont know how i can edit this fixed!!!!!

     

    but server source compile

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    • Metin2 Dev 11
    • kekw 1
    • Eyes 3
    • Sad 1
    • Confused 2
    • Scream 1
    • Good 9
    • Love 5
    • Love 13
  4. Hello @all,

     

    this is i think my first Release pls dont hate me for my codestyle im a noob :)

     

    https://metin2.download/picture/OR0Hqox99AQYNEvG3FWUFtAgljk4n53p/.gif

     

    Install:

     

    Search in uiinventory.py: def RefreshBagSlotWindow(self): inside this: self.wndItem.DeactivateSlot(slotNumber)

     

    add: 

    				if itemVnum >= 72723 and itemVnum <= 72726:
    					metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]# <!> globalSlotNumber may be different <!>
    					if isActivated:
    						self.wndItem.ActivateSlot(i, (238.00 / 255.0), (000.00 / 255.0), (000.00 / 255.0), 1.0)
    					else:
    						self.wndItem.DeactivateSlot(slotNumber)
    				
    				if itemVnum >= 72727 and itemVnum <= 72730:
    					metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]# <!> globalSlotNumber may be different <!>
    					if isActivated:
    						self.wndItem.ActivateSlot(i, (000.00 / 255.0), (000.00 / 255.0), (238.00 / 255.0), 1.0)
    					else:
    						self.wndItem.DeactivateSlot(slotNumber)

    this is all pls dont hate me .....

     

    have a nice day all :)

    • Metin2 Dev 3
    • Scream 1
    • Good 2
    • Love 6
  5.  

    Hello @all,

     

    i have a problem with the command: /go a/b/c and /ip clear complete inventory

     

    first: when a use /ip client crashed no sysrr 

    2: when a used /go a/b/c then client stuck on the loading screen like: https://metin2.download/picture/0v3JtA7wvydQ4qH77BWSLqx7C1Sh456Z/.gif

    and idk what happend...

     

    is it serverside or clientside (i think server but idk)

    can me anyone give me a info or help ty :)

     

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