Private server appears to be paused



  • I've launched a private server through the Screeps interface in Steam and connected to the local host.

    No game ticks are occurring on my local server; i.e., I can start the server, connect to it with the client, and place a Spawn, but nothing happens; my scripts are not run, my Safe Mode timer does not decrement.

    So I paused my Anti-Virus and the Safe Mode timer is now decrementing but nothing else has changed. This time I lauched screeps as an Administrator and again launched the server through the Screeps interface in Steam but it's still the same.

    I've added a simple scripts to just run a console message but nothing appears. And then I installed the TooAngel bot just to make sure I wasn't going mad. Added the TooAngel bot to a room, Low and behold TooAngel just sits there also.....

    Any ideas???

    Storage Log

    Loading mods from "S:\SteamLibrary\steamapps\common\Screeps\server\mods.json"

    • S:\SteamLibrary\steamapps\common\Screeps\server\example-mods\welcome-text.js Starting storage server Storage listening on 21027 [127.0.0.1:54084] Incoming connection [127.0.0.1:54085] Incoming connection [127.0.0.1:54086] Incoming connection [127.0.0.1:54088] Incoming connection

    engine_main

    Main loop reset! Stage: waitForUsers Game time set to 1033 Main loop reset! Stage: waitForUsers Game time set to 1034 Main loop reset! Stage: waitForUsers Game time set to 1035

    👍

  • Dev Team

    @avp2501 what's in the runner log?



  • @o4kapuk said in Private server appears to be paused:

    @avp2501 what's in the runner log?

    Loading mods from "S:\SteamLibrary\steamapps\common\Screeps\server\mods.json"

    • S:\SteamLibrary\steamapps\common\Screeps\server\example-mods\welcome-text.js

    Connecting to storage

    Starting CLI server

    STEAM_KEY environment variable is not found, trying to connect to local Steam client

    Starting game server (protocol version 14)

    SockJS v0.3.18 bound to "/socket"

    Game server listening on 0.0.0.0:21025

    CLI listening on localhost:21026

    Couldn't reload bot AI "simplebot": Error: ENOENT: no such file or directory, stat 'S:\SteamLibrary\steamapps\common\Screeps\server\node_modules@screeps\simplebot\src'

    [127.0.0.1:50601] Incoming CLI connection

    Running cronjob 'sendNotifications'

    Running cronjob 'roomsForceUpdate'

    Running cronjob 'genPowerBanks'

    Running cronjob 'genInvaders'

    Running cronjob 'purgeTransactions'

    Running cronjob 'recreateNpcOrders'

    Running cronjob 'calcMarketStats'

    Running cronjob 'deletePowerCreeps'

    Running cronjob 'genDeposits'

    Running cronjob 'genStrongholds'

    Running cronjob 'expandStrongholds'

    Sign in: REMOVED, IP=127.0.0.1, steamid=REMOVED

    GET /socket/info 1ms 200

    GET /socket/020/qf1zjd78/websocket 3ms (unfinished)

    Running cronjob 'roomsForceUpdate'

    Running cronjob 'roomsForceUpdate'

    Running cronjob 'sendNotifications'

    Running cronjob 'roomsForceUpdate'

    Running cronjob 'roomsForceUpdate'

    Running cronjob 'roomsForceUpdate'

    Running cronjob 'sendNotifications'

    Running cronjob 'roomsForceUpdate'



  • Checked folder 'S:\SteamLibrary\steamapps\common\Screeps\server\node_modules' and it only contains the TooAngel workshop mod

    Downloaded @screeps/simplebot from the workshop and that has now appeared in the folder after adding it to the server mod list. Expected this to already be a part of screeps. I've included the updated log below

    Loading mods from "S:\SteamLibrary\steamapps\common\Screeps\server\mods.json"

    • S:\SteamLibrary\steamapps\common\Screeps\server\example-mods\welcome-text.js Connecting to storage Starting CLI server STEAM_KEY environment variable is not found, trying to connect to local Steam client Starting game server (protocol version 14) SockJS v0.3.18 bound to "/socket" Game server listening on 0.0.0.0:21025 CLI listening on localhost:21026 [127.0.0.1:50932] Incoming CLI connection Running cronjob 'sendNotifications' Running cronjob 'roomsForceUpdate' Running cronjob 'genPowerBanks' Running cronjob 'genInvaders' Running cronjob 'purgeTransactions' Running cronjob 'recreateNpcOrders' Running cronjob 'calcMarketStats' Running cronjob 'deletePowerCreeps' Running cronjob 'genDeposits' Running cronjob 'genStrongholds' Running cronjob 'expandStrongholds' Running cronjob 'roomsForceUpdate' Running cronjob 'roomsForceUpdate' Running cronjob 'sendNotifications' Running cronjob 'roomsForceUpdate' Sign in: REMOVED, IP=127.0.0.1, steamid=REMOVED GET /socket/info 1ms 200 GET /socket/806/84vkvzeb/websocket 1ms (unfinished) Running cronjob 'roomsForceUpdate' Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.send (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:164:12) at ServerResponse.json (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:250:15) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41) Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.json (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:247:10) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:604:44 Running cronjob 'roomsForceUpdate' invalid room Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.send (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:164:12) at ServerResponse.json (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:250:15) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41) Unhandled rejection: Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:494:11) at ServerResponse.setHeader (_http_outgoing.js:501:3) at ServerResponse.header (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:719:10) at ServerResponse.json (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\express\lib\response.js:247:10) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q-json-response\q-json-response.js:17:14 at _rejected (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:844:24) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:870:30 at Promise.when (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:1122:31) at Promise.promise.promiseDispatch (S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:788:41) at S:\SteamLibrary\steamapps\common\Screeps\server\package\node_modules\q\q.js:604:44 Running cronjob 'sendNotifications' Running cronjob 'roomsForceUpdate' Running cronjob 'roomsForceUpdate'

  • Dev Team

    @avp2501 Do you have a file named engine_runner.log in your logs folder?



  • @o4kapuk No. I just have the below files located in "Screeps\server\logs"

    • backend.log

    • engine_main.log

    • engine_processor1.log

    • engine_processor2.log

    • storage.log


  • Dev Team

    @avp2501 please try to check the integrity of game files and try again. (Right-click on the game, properties, 'local files' tab, 'verify integrity of game files' button) If that won't help, please provide some details about your environment (OS kind and version, hardware specs, configuration specialty maybe?)



  • Ran the "verify integrity of game files" and all files are present.


  • Dev Team

    @avp2501 it should be fixed in the latest update (server version 4.1.8)