Forum Discussion

attacke1234's avatar
1 year ago

Programming an userscript. API or Documentation?

I don't find informations or documantations about the Game-API. Anybody an idea about that?

8 Replies

  • @attacke1234 The main source of script data has been other scripts I am thinking.
    And changes to web environments about a decade ago made them by far the only obvious source.
    Then there is the concept of"api" to run applications in a browser? Not easy to figure out....
  • gamerdruid's avatar
    gamerdruid
    Hero+
    1 year ago

    I think that the information was shared 10y ago - no recent sharing of documentation or info.

  • As far I can tell while understanding little about the subject....

    The scripts look like API examples themselves.

    But I don't understand how they get them to run without the browsers preloading and shipping them....

    I just avoid them. 

  • gamerdruid's avatar
    gamerdruid
    Hero+
    1 year ago

    I don't understand them either but I know the calls to make (entry points) were shared and when they were changed they were shared again.  That is a few years ago now,

    @leo7044know and understands these things much more than me!


  • @attacke1234 wrote:

    I don't find informations or documantations about the Game-API. Anybody an idea about that?


    What do you need in special / what do you want to build?

    Link to API-Description: https://eaassets-a.akamaihd.net/cncalliancesgame/cdn/data/144376/ClientLib.js.txt

    Link to *.js-File how the API is build on ClientSide: https://eaassets-a.akamaihd.net/cncalliancesgame/cdn/data/144376/data_en_US_rebalancingi.js

    Documentation to GUI-Objects: https://qooxdoo.org/qxl.apiviewer/#

    Demo to GUI-Objects: https://qooxdoo.org/qxl.demobrowser/#


    @OOtle5f wrote:
    @attacke1234The main source of script data has been other scripts I am thinking.
    And changes to web environments about a decade ago made them by far the only obvious source.
    Then there is the concept of"api" to run applications in a browser? Not easy to figure out....

    To be honest it is quite easy. Use the Network-Tab of your Browser-Dev-Tools. Most Basic-Requests are not even encrypted.


    @b97cbae3213388ee wrote:

    As far I can tell while understanding little about the subject....

    The scripts look like API examples themselves.

    But I don't understand how they get them to run without the browsers preloading and shipping them....

    I just avoid them. 


    Oh no, do not avoid them. Breath them, love them, enjoy them. There are so many things you can do 🙂 Imagine you could inject all viruses of alliance (for fortress-hit) with one click or get a WhatsApp-Message / call when you get attacked in PvP.

  • b97cbae3213388ee's avatar
    b97cbae3213388ee
    Seasoned Veteran
    1 year ago

    I skimmed some scripts years ago and i have been concerned about a host or server the caller can't see.

    I just don't know enough about web development to know for sure.

    I am of that generation that views the web suspiciously. 😇

  • leo7044's avatar
    leo7044
    Hero+
    1 year ago

    @b97cbae3213388ee wrote:

    I skimmed some scripts years ago and i have been concerned about a host or server the caller can't see.

    I just don't know enough about web development to know for sure.

    I am of that generation that views the web suspiciously. 😇


    The online-game is just a website with XHR-Requests in background. So everything is visible and you can make reverse-engeneering on how things work.

  • Chaosukian's avatar
    Chaosukian
    Rising Novice
    1 year ago

    hey leo do you have any other links to the eaassets or even a copy of the guides? The links are no longer working.

    Well, not for me anyway

Featured Places

Node avatar for Tiberium Alliances Technical Issues

Tiberium Alliances Technical Issues

Having problems running the game or a script? Get help with Command and Conquer: Tiberium Alliances with the community!Latest Activity: 2 days ago
1,692 Posts