Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Zininzinin
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Zininzinin

    @Zininzinin

    4
    Posts
    873
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Zininzinin Follow

    Posts made by Zininzinin

    • RE: pushing code

      Nice mods! Is there a place to post private server mods to yet? Also, I've edited the grunt-screeps to allow integration with my private server mod:

      https://github.com/zininzinin/grunt-screeps

      https://github.com/zininzinin/code-push-sceeps

      posted in Private servers
      Zininzinin
    • RE: pushing code

      Aww poo. You beat me to it. I just finished adding auth to my code push method, but it could use some touch up. Now i just need to pull request for grunt-screeps to be able to hit this.

      {"email": "test@test.com", "password": "pass", "branch":"default","modules":{"main":"require(\"hello\");","hello":"console.log(\"Hello World!\");"}}

      posted in Private servers
      Zininzinin
    • RE: pushing code

      Woot! I got a v1 of a mod to do this. Note that there is no authentication for this meaning that anyone can push any code for any player. I'm working on getting auth to work, but for those like me just using private server as a personal PTR, it works.

       

      https://github.com/zininzinin/code-push-sceeps

      Call Example:

      {"email": "test@test.com", "branch":"default","modules":{"main":"require(\"hello\");","hello":"console.log(\"Hello World!\");"}}

      posted in Private servers
      Zininzinin
    • RE: pushing code

      @Finndibaen See the readme section on Authentication.

       

      I will say that looking at the code it is possible to implement your own version of this through mods. If you look in the examples there is a /api/test/ endpoint. You might be able to reimplement the official screeps api/user/code by forwarding the auth token? I'm looking into what it would take to implement this mod. 

      posted in Private servers
      Zininzinin