Forum Discussion

Santoruga's avatar
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:

  • 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.
No RepliesBe the first to reply

Featured Places

Node avatar for Tiberium Alliances Technical Issues

Tiberium Alliances Technical Issues

Having problems running the game or a script? Get help with Command and Conquer: Tiberium Alliances with the community!Latest Activity: 1 day ago
1,685 Posts