Forum Discussion

nefrontheone's avatar
nefrontheone
Seasoned Traveler
2 months ago

Script with problems in PTE - Movements

Hi o0netquik0o 

It's been a few days since I sent you the email, but due to personal issues I hadn't been able to until now.

I imagine that you've already been told that in the new PTE there are some scripts that are giving errors, I saw a message from @vindicator1395 but I've detected another one.

 

TA_TheMovement.user.js

https://prnt.sc/whHuh0OhYx11

In the list of possible alliances to which to assign the ruin of a destroyed base, not all possible alliances appear, not even the nearby alliance that is going to destroy it soon appears.

And also a complaint/request due to my advanced age and my vision problems:
When the name of an enemy alliance appears in the assignment list, the color red is used (right?) because on the black background the name can barely be read and on many occasions I am not able to read it.

Would it be possible to assign a brighter red color?

This way, with the high contrast, it would be more visible for people like me, with vision problems.

Thank you so much for your help!

If you need more information, you know where to find me.

Greetings

  • Nice, we can try it !

    @version        1.0.8.3

    Much better !!!

     

  • EE_kalyn's avatar
    EE_kalyn
    Icon for Envision Team rankEnvision Team

    Hi nefrontheone 
    Thanks for reporting! We will look into it.

    Regarding the readability of the colors: we already have this issue on our list of improvements for future updates. :)

    Best,
    Kalyn (Envision Entertainment Dev Team)

    • nefrontheone's avatar
      nefrontheone
      Seasoned Traveler

      Hi EE_kalyn 
      I know your interest in solve the problem with colours for people con eye's problems!
      Thank you.
      Maybe this fault was for an external script too for same reason.
      Big Thanks !

  • o0netquik0o's avatar
    o0netquik0o
    Seasoned Rookie

    Hi nefrontheone I'm reading this message only now. I did not receive any email.
    Where are infos about issues with PTE?
    For themovement actually i unable to test what you are noticing but i will try.
    For the color i can check it out

  • o0netquik0o's avatar
    o0netquik0o
    Seasoned Rookie

    Ok i modify the script for testing.

    I see red is quite unreadable... i will have some tests

    • nefrontheone's avatar
      nefrontheone
      Seasoned Traveler

      Where is the new version?

      I can't found in Testing branch: 

       

      • o0netquik0o's avatar
        o0netquik0o
        Seasoned Rookie

        nefrontheone 
        https://github.com/netquik/CnCTA-SoO-SCRIPT-PACK/blob/Testing/TA_TheMovement.user.js
        I modified only colours.

        For the issue regarding missing alliances i think i can't do much... the script takes alliances relationships from 

        ClientLib.Data.MainData.GetInstance().get_Alliance().get_Relationships()


        filtered by "confirmed" ones

        for testing i would need to be in an alliance with many relationships and verify.. not my case.

        Let me know if colors change is good enough

  • o0netquik0o's avatar
    o0netquik0o
    Seasoned Rookie

    Regarding Alliance relationships missing...
    First we need to understand if the issue shows up only on PTE or on all worlds
    Then we can go deep in the script (or game) code comparing get_Relationships() results against what the game shows in Alliance.
    Just a testing note for all.

    • nefrontheone's avatar
      nefrontheone
      Seasoned Traveler

      In real worlds too !!

      Not only in PTE.

      Wow, now looks nice:

      TY !!!!

      ---

      About:

      For the issue regarding missing alliances i think i can't do much... the script takes alliances relationships from 

      ClientLib.Data.MainData.GetInstance().get_Alliance().get_Relationships()


      filtered by "confirmed" ones

      I'm not sure why it does this, since in the world that gave me the problem the alliance existed and did not appear in the selection list.

      I should get a list of alliances that exist on the server and are active. But this is beyond me. O:-)



      • o0netquik0o's avatar
        o0netquik0o
        Seasoned Rookie

        Ok let me know if is really better and acceptable .. for colors.. so i will update the script.

        Now for alliances... As I said the script let you plan ruin ONLY for alliances you have relationships with
        so the list should be the same as generated from the code i posted above (you can try it on console)
        BUT
        it filters that list by confirmed relationships ( that means that if a send a diplomacy request to an alliance, that alliance will be in relationship list but not confirmed so not in themovement plan ruin for menu)
        the script for the list does just that, anything else.