7 years ago
Does anyone know more about the ClientLib properties/functions?
I am trying to fix the Maelstorm code for getting loot data below:
It looks like the get_Buildings().d properties have been replaced. An error is thrown and the rest of codes got skipped because of it.
I can select the city/camp using this command below (I have the camp/city id)
But then I am stuck trying to find the property of ncity object to get the loot data.
Does anyone still have the old thread that showed how to code a script? I am hoping that it will have some info there to get the loot data.
Any help is appreciated.
- var buildings = ncity.get_Buildings().d;
It looks like the get_Buildings().d properties have been replaced. An error is thrown and the rest of codes got skipped because of it.
I can select the city/camp using this command below (I have the camp/city id)
- ncity = ClientLib.Data.MainData.GetInstance().get_Cities().GetCity(id);
But then I am stuck trying to find the property of ncity object to get the loot data.
Does anyone still have the old thread that showed how to code a script? I am hoping that it will have some info there to get the loot data.
Any help is appreciated.