Also to test against "a layer overlapping" with Z-index greater than that bar... please try to resize you game window to check if that can "free" the little bar from focusing. Thanks. (SOrry but i can't reproduce the issue from my side.
ANother try: when the arrows stop working try to execute this full code in console
for (var r, u, f = ClientLib.Data.MainData.GetInstance().get_Cities().get_AllCities().d, e = null, o = ClientLib.Data.MainData.GetInstance().get_Cities().get_CurrentCityId(), i = null, t = Object.keys(f), n = 0; n < t.length; n++)
if (o === parseInt(t[n])) {
i = n;
break
}
if (i !== null) {
for (i === t.length - 1 && (i = -1),
r = 0,
n = i + 1; n < t.length; n++) {
if (u = f[t[n]],
u.get_IsGhostMode()) {
n === t.length - 1 && r === 0 && (r++,
n = -1);
continue
}
e = u.get_Id();
break
}
}
var n = e;
var i, u, t, r, f;
if (!isNaN(n) && n !== null) {
if (i = ClientLib.Data.MainData.GetInstance().get_Cities(),
u = qx.core.Init.getApplication(),
u.getMainOverlay().isVisible()) {
t = qx.core.Init.getApplication().getPlayArea();
switch (t.getViewMode()) {
case ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase:
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, n, -1, -1);
break;
case ClientLib.Data.PlayerAreaViewMode.pavmPlayerDefense:
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, n, -1, -1);
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerDefense, n, 0, 0);
break;
case ClientLib.Data.PlayerAreaViewMode.pavmPlayerOffense:
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, n, -1, -1);
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerOffense, n, 0, 0);
break;
default:
i.set_CurrentOwnCityId(n)
}
} else
i.set_CurrentOwnCityId(n);
r = i.get_CurrentOwnCity();
f = webfrontend.gui.alliance.AllianceMarkerNavs.getHomeMarker(r.get_PosX(), r.get_PosY());
ClientLib.Data.MainData.GetInstance().get_Alliance().SetSelectedHomeMarker(f)
}
Code executed and no changes... Arrows don't works.
"Undefined" message in console
Change to another base and back and... no, don't works
This time only attacking camps and outposts, no enemies. :-?
Not a part of EA / Envision teams - My comments are only mine.
that should do the same as clicking little arrows in bar. So the base should switch. Also i need to know if the arrows are clickable (turns red when on over) or not. Did you try resizing the screen?
It has happened again, this time I have resized the browser window and no, I do not regain control of the arrows or the name base.
I have executed the code and what I have seen this time (probably the previous one I missed because the bases were so similar) is that every time I executed it, it changed to the next base.
After executing the code I have resized the browser and no, this time I have not regained control.
Not a part of EA / Envision teams - My comments are only mine.
Are you attacking camps directly from basescanner while viewing at base (you will see the base view change at every camp scanned)? I found a similar situation when you do a scan with base view opened ... and while you can click on arrows it won't change base because it is set to camp and not own city. I need to know what exactly you do when attacking camps before the issues. For example: when the attack finishes what are you doing to view the main base ? use side buttons to select base? Also when you selected a base with right buttons does the issue go away ?
I'm using only wrapper and TAC, no problem is not present now:
Let's see if I can explain it in a few words...
I have all the scripts activated (only the ones that I use, which are in the screenshot above) and I attack camps (even without using the baseScanner) using the TACS and once the attack is over I click on "return to base" and no longer arrows work.
Other times, after the attack I click "return to battlefield" and then double click on a base in the right column and the arrows no longer work.
ok so but if said the also with TACS disabled the issue is still happening... and wrapper should not have any code involved in base switching... the issue could be in the game itself maybe when using many bases (not my case) . It should be tested more without any scripts. just a try if run this code when issue is present what happens?
if (qx.core.Init.getApplication().getMainOverlay().isVisible()) qx.core.Init.getApplication().getPlayArea().setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, ClientLib.Data.MainData.GetInstance().get_Cities().get_CurrentOwnCity().get_Id(), -1, -1);
i don't know it just reset the view to owncity... anyway til i can't reproduce the problem is up to all you help me find the cause of the issue. ANothe question: when the issue comes up, can you see tooltips on hovering graphics objects? see screen for example
Replies
Code executed and no changes... Arrows don't works.
"Undefined" message in console
Change to another base and back and... no, don't works
This time only attacking camps and outposts, no enemies. :-?
What kind of change in the base should I notice?
No, I didn't try to change the screen size, I'm also writing it down to try it.
It has happened again, this time I have resized the browser window and no, I do not regain control of the arrows or the name base.
I have executed the code and what I have seen this time (probably the previous one I missed because the bases were so similar) is that every time I executed it, it changed to the next base.
After executing the code I have resized the browser and no, this time I have not regained control.
Also
What simulator are you using? did you use simulations before attacks?
I have the advertising blocker (AdBlock Plus) deactivated and after a single attack the base change control has been deactivated.
I have run the code posted by Netquik twice and found that it switches to the following base after each run.
I have also verified that when the use of the base change arrows is blocked they stop lighting when hovering over them.
The simulator I'm using is:
TACS (Tiberium Alliances Combat Simulator) 3.80
The error keeps occurring.
They were only running:
Autorepair 1.0.4
BaseScanner AIO 1.9.4
Tomorrow, more tests. ;-)
Edited:
I deactivated TamperMoney and play for a while, the error was not present.
I'm using only wrapper and TAC, no problem is not present now:
Let's see if I can explain it in a few words...
I have all the scripts activated (only the ones that I use, which are in the screenshot above) and I attack camps (even without using the baseScanner) using the TACS and once the attack is over I click on "return to base" and no longer arrows work.
Other times, after the attack I click "return to battlefield" and then double click on a base in the right column and the arrows no longer work.
Edited:
I'm attacking just now without use BaseScanner and only three scritps active and the problem is not present.
Scripts:
· Wrapper
· TACS
· Warchief Upgrade base
A world with 9 bases crashed too with the same problem.
I'll try with this code, what can I wait with him?