Clone bug on MMO

Have some feedback for Life is Feudal? Post it here!
User avatar
Zohann
 
Posts: 97
Joined: 10 Jan 2016, 21:05

Clone bug on MMO

Post by Zohann » 22 Mar 2017, 10:36



A cloned character and an original one have the common inventory (you take from the clone and it dissapears from the original character), common skill mechanic (skill of the original character drops if you kill the clone), when you push trade on the clone the trade window appears on the original guy, as well You are Dead window if you kill the clone. Everything we found so far.
Image

User avatar
Zohann
 
Posts: 97
Joined: 10 Jan 2016, 21:05

Re: Clone bug on MMO

Post by Zohann » 22 Mar 2017, 11:38

Sorry for a bit of delay. Found this video just recently, browsing my guildsmate's youtube channel.
Image


Alakar
Beta Tester
 
Posts: 202
Joined: 23 Jan 2015, 07:39

Re: Clone bug on MMO

Post by Alakar » 23 Mar 2017, 03:43

Its an old bug with the server not properly removing characters with no controllers.

Code: Select all
function removeInvalidPlayers()
{
   if (isobject(ClientGroup))
   {
   %players = 0;
   %count = MissionCleanup.getCount();
   for (%i=0;%i<%count;%i++)
   {
      %obj = MissionCleanup.getObject(%i);
      if (!isObject(%obj)) {
      continue;
      }
      if (%obj.getClassName() $= "Player")
      {
         if(%obj.getControllingClient() == 0)
         {
            %players++;
            %obj.SafeDeleteObject();
         }
      }
   }
   if (%players)
   {
      echo("Removed Clones:" SPC %players);
   }
   }
}


Used to use that to check for and remove them.

Return to Feedback Section