"Skip" button, I do see it useful but if it worked as it should, it leaves my screen full of explosions and smoke so that you can hardly see anything or understand how everything really looks. :-(
Not a part of EA / Envision teams - My comments are only mine.
var BG = ClientLib.Vis.VisMain.GetInstance().get_Battleground();
var BattleMode = BG.get_Mode();
if (BattleMode == 1) { // that is Replay mode
BG.GIQUXI = true;
BG.VisUpdate(0);
}
you can't try this on console because GIQUXI is the method for the "CombatComplete" ( and the game has only the a get_CombatComplete and not set). (in a script i would find the methodname using regex per world). Any way the TABS script button instead set the replay speed to 10000 (instead of 1 default) and on uitick it resets it to 1.
The only difference i can observe is that while the official function does not follow the auto-scrolling setting ( the button on the right) just because it just assumes that the combat is over and refresh.. the TABS function plays with speed so you can observe the army with auto scrolling til the end.
well actually it definitely useless for me.. and we should start cleaning some code that gives only "weight" to the scripts. You can see in TACS that the also has removed that function. Maybe the game did not have one skiptoend function when these scripts were firstly coded.
they were checking ClientLib.Vis.VisMain.GetInstance().get_Battleground().get_Simulation().DoStep
that as long as i can understand is not a function of the game anymore
TACS ha yet the function in the script but not used (button code wasblock commented)
TABS has the same function but maybe someone fixed it adding replay speed to 10000 after seeing DoStep undefined.
TA_Tiberium_Alliances_Battle_Simulator_V2 - v22.05.04
- Patch for 22.2
- NOEVIL for all code
- New Fixes for simulation + ReplayBar + Date hidden
- New SkipSimulation Function (Need TESTING)
2 problems. The big one is that the df sim should be highlighted for any sim that has the most df damage. Period. These screenshots show that is not certain to be the case. The other problem also seen here is that the columns in some of them are being selected like you select text. That didn't used to happen.
Using Tempermonkey installed "test version" and removed both battle simulator from script pack. Same problem. Will continue with scriptpack version.
At the time of crash, there is nothing related to TABS v2 in console. Last line is about City Coloration script activated every 5 minutes. So, next is to disable coloration script (online presence by alliance members) and see does that help. Taking how often crash happens, there is a chance that interaction with 5 min. script is culprit. Also, if I recall correctly, nothing happens if I don't interact with script - ie. just look base (camp, outpost). Will check this.
I use Maelstrom ADDON City Online Status Colorer for SC 0.7.4 for years, so it is something recently introduced that breaks Chrome TAB. Chrome browser, not sure because since problem started there was update and I have same problem. Was change introduced in last 2 versions, possibly.
@Danpodan well that is strange. Other people are writing to me they have issues with last version of chrome that kick them out to signin. Can you describe the crash better? does it crash without scripts? Are there errors apart from messages in console? tomorrow i will publish the new version of city colorer (for 22.3) so you can try with it in tampermonkey. With such an issue you should try first without script... test.. than enable scripts one by one testing, it can be a good way to understand. Let me know.
Replies
Similar to "Go to the end fast".
The result is the snapshot I put before.
Perhaps it is simpler, to leave it as it is for now.
var BG = ClientLib.Vis.VisMain.GetInstance().get_Battleground();
var BattleMode = BG.get_Mode();
if (BattleMode == 1) { // that is Replay mode
BG.GIQUXI = true;
BG.VisUpdate(0);
}
you can't try this on console because GIQUXI is the method for the "CombatComplete" ( and the game has only the a get_CombatComplete and not set). (in a script i would find the methodname using regex per world). Any way the TABS script button instead set the replay speed to 10000 (instead of 1 default) and on uitick it resets it to 1.
The only difference i can observe is that while the official function does not follow the auto-scrolling setting ( the button on the right) just because it just assumes that the combat is over and refresh.. the TABS function plays with speed so you can observe the army with auto scrolling til the end.
they were checking ClientLib.Vis.VisMain.GetInstance().get_Battleground().get_Simulation().DoStep
that as long as i can understand is not a function of the game anymore
TACS ha yet the function in the script but not used (button code wasblock commented)
TABS has the same function but maybe someone fixed it adding replay speed to 10000 after seeing DoStep undefined.
It's obsolete code to me.
https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/blob/Testing/TA_Tiberium_Alliances_Battle_Simulator_V2.user.js
Are you sure ????
Maybe you want to wrote TABS:
https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/blob/Testing/TA_Tiberium_Alliances_Battle_Simulator_V2.user.js
Nice, work fine in 22.1 and 22.2 worlds. ;-)
- Patch for 22.2
- NOEVIL for all code
- New Fixes for simulation + ReplayBar + Date hidden
- New SkipSimulation Function (Need TESTING)
https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/blob/Testing/TA_Tiberium_Alliances_Battle_Simulator_V2.user.js
- Patch for 22.2
- NOEVIL for all code
- New Fixes for simulation + ReplayBar + Date hidden
- New SkipSimulation Function
https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/blob/master/TA_Tiberium_Alliances_Battle_Simulator_V2.user.js
TA_Tiberium_Alliances_Battle_Simulator_V2.user.js 22.05.12
Bug fixes for timers + Report Watch
https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/blob/Testing/TA_Tiberium_Alliances_Battle_Simulator_V2.user.js
http://prntscr.com/vP8wOR6oG2wL
http://prntscr.com/c6sgLyywq4Re
http://prntscr.com/c6sgLyywq4Re
http://prntscr.com/0g4dTyJl5DpN
http://prntscr.com/nL0o8bQTfKRI
http://prntscr.com/4tdeM0YlIM9L
TABS 22.05.18 is crashing Chrome browser v. 104.0.5112.101 (latest stable).
TACS 3.77 so far did not crash, but it feels like going back in history - no latest best option and manual refresh for every change.
https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/raw/Testing/TA_Tiberium_Alliances_Battle_Simulator_V2.user.js
then if you have problem please give me more info about the crash you are experiencing ( this includes errors in console F12 etc). Thanks
If you have installed SoO pack and install a "test version" from repository don't forget to deactivated original script in Script's menu.
Same problem. Will continue with scriptpack version.
At the time of crash, there is nothing related to TABS v2 in console.
Last line is about City Coloration script activated every 5 minutes.
So, next is to disable coloration script (online presence by alliance members) and see does that help. Taking how often crash happens, there is a chance that interaction with 5 min. script is culprit. Also, if I recall correctly, nothing happens if I don't interact with script - ie. just look base (camp, outpost). Will check this.
I use Maelstrom ADDON City Online Status Colorer for SC 0.7.4 for years, so it is something recently introduced that breaks Chrome TAB. Chrome browser, not sure because since problem started there was update and I have same problem. Was change introduced in last 2 versions, possibly.