EA Forums - Banner

22.3 Patch and Scripts disruption - WORKING LAB

Replies

  • 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.
  • Next time, next time... O:-)
    Not a part of EA / Envision teams - My comments are only mine.
  • 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.

    gt5ih9536oh0.png


    "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.
  • but executing the code the base changes?
  • I only noticed that I couldn't use the base change arrows, nor access the base name change.

    What kind of change in the base should I notice?
    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?
  • I clicked on each of the arrows and even on the base name but it didn't change from one base to another, nor could the base name be edited.

    No, I didn't try to change the screen size, I'm also writing it down to try it.
    Not a part of EA / Envision teams - My comments are only mine.
  • After attacked two camps the problem starts.

    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.
  • o0netquik0o
    471 posts Member
    edited April 8
    Ok. Have you check if the buttons turn red when pointer on over?
    Also
    What simulator are you using? did you use simulations before attacks?
    Post edited by o0netquik0o on
  • Uff, aver, finally I was able to try.

    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.

    o5h402txqdvv.png

    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
    Always testing something
  • I have reactivated the ad blocker, I have also deactivated the combat simulator (TACS) and I have only used the internal one.

    The error keeps occurring.

    They were only running:

    Autorepair 1.0.4
    BaseScanner AIO 1.9.4

    Tomorrow, more tests. ;-)
    Always testing something
  • iguanaworld
    546 posts Member
    edited April 8
    Autorepair deactivated and problems still live.

    Edited:

    I deactivated TamperMoney and play for a while, the error was not present.
    Always testing something
  • so you were using only basescanner?
  • o0netquik0o
    471 posts Member
    edited April 8
    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 ? 0wu2xeal0dqk.png
  • so you were using only basescanner?

    I'm using only wrapper and TAC, no problem is not present now:

    of78bol8jl1v.png

    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.
    Always testing something
  • iguanaworld
    546 posts Member
    edited April 8
    I'm not sure the problem is BaseScanner yet.

    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
    Always testing something
  • 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);
    
  • No, no, not with many.
    A world with 9 bases crashed too with the same problem.

    I'll try with this code, what can I wait with him?
    Always testing something
  • 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 5c6dvd86uhw8.png8gy9i6d6iwe5.png5fvqhma3odyu.png


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.