Forum Discussion
o0netquik0o
4 years agoSeasoned Rookie
@iguanaworld please let me know these variables:
var nextLevelInfo = ClientLib.Data.MainData.GetInstance().get_Player().get_PlayerResearch().GetResearchItemFomMdbId(ClientLib.Base.Tech.GetTechIdFromTechNameAndFaction(ClientLib.Base.ETechName.Research_BaseFound, player.get_Faction())).get_NextLevelInfo_Obj();
var TechID = ClientLib.Data.MainData.GetInstance().get_Player().get_PlayerResearch().GetResearchItemFomMdbId(ClientLib.Base.Tech.GetTechIdFromTechNameAndFaction(ClientLib.Base.ETechName.Research_BaseFound, player.get_Faction()));
the game looks for the second one and if it is "null" it doesn ot continue in calculate MCV costs.
the error you get should be show after in the code when it actually tries to .get_NextLevelInfo_Obj() from TechID.
var nextLevelInfo = ClientLib.Data.MainData.GetInstance().get_Player().get_PlayerResearch().GetResearchItemFomMdbId(ClientLib.Base.Tech.GetTechIdFromTechNameAndFaction(ClientLib.Base.ETechName.Research_BaseFound, player.get_Faction())).get_NextLevelInfo_Obj();
var TechID = ClientLib.Data.MainData.GetInstance().get_Player().get_PlayerResearch().GetResearchItemFomMdbId(ClientLib.Base.Tech.GetTechIdFromTechNameAndFaction(ClientLib.Base.ETechName.Research_BaseFound, player.get_Faction()));
the game looks for the second one and if it is "null" it doesn ot continue in calculate MCV costs.
the error you get should be show after in the code when it actually tries to .get_NextLevelInfo_Obj() from TechID.
About Tiberium Alliances Technical Issues
Having problems running the game or a script? Get help with Command and Conquer: Tiberium Alliances with the community!
1,447 PostsLatest Activity: 7 hours agoRelated Posts
Recent Discussions
- 7 hours ago
- 3 days ago
- 4 days ago
- 6 days ago
- 6 days ago