GithubHelp home page GithubHelp logo

ensingm2 / saliengame_idler Goto Github PK

View Code? Open in Web Editor NEW
162.0 162.0 79.0 197 KB

A Javascript Idler for the 2018 Steam Summer 'Salien' Minigame

License: GNU General Public License v3.0

JavaScript 100.00%
game javascript salien saliens steam

saliengame_idler's People

Contributors

asdfcyber avatar blazing360 avatar blole avatar dilbao avatar ensingm2 avatar harest avatar jap2-0 avatar karlcastle avatar lonedev6 avatar noodle- avatar robfreiburger avatar romb avatar saturate avatar szdc avatar zazcallabah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saliengame_idler's Issues

Code needs a refactor

Not much standardization or object structure went on the first few days since everything was moving so quickly. At some point I'd like to refactor this, and have everything be under a single object, without all globals, etc.

This will definitely mess with anyone currently working on PRs and things, so it'll likely have to wait a bit.

Leaving planet returns error

When running the script, the 'leave planet' button will not work.
Suggestion: detect button press and stop the current game.

Weird Error.

When I paste the code into console, I keep getting this error.

Uncaught SyntaxError: Identifier 'BotGUI' has already been declared
at :1:1

What does it mean and how can I fix it?

After Boss battle ends, the script doesn't update the EXP value in info box

As title said, the EXP value in info box is not updated when the boss battle is over. Although this is a minor issue, it could lead to misunderstanding that the boss battle doesn't give EXP at all.


I also have a question, how optimal the boss battle script for gaining the EXP? I heard some salien scripts put too high damage which makes the boss battle ends too fast thus getting lower EXP.

Steam API Down -> Status should not be "Running"

The Steam API just went down resulting in this error:

Retrying in 5s to update the grid (Retry #1). Error: 0: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: https://steamcommunity-a.akamaihd.net/public/javascript/jquery-1.11.1.min.js?v=.isFTSRckeNhC :: .send :: line 4"  data: no]

But the progress window still indicates a green "running" status. This should probably be changed to reflect the current state (either yellow, for automatic retrying, or red for an error state).

Stuck getting empty JSON responses on start_round

Not sure why yet. I kept receiving empty JSON responses while trying to start_round, x-eresult = 11.
Edit : Okay the error message with it is x-error_message | Already in zone game 2159. I've the feeling an error occured on the server-side here. Ideal treatment would be to detect this error number and leave the zone.
A part of the console log :

02:37:11,570 Waiting 5s and re-sending join attempt(Attempt #4).
Scratchpad/1:85:4
02:37:19,379
Array(25) [ <10 empty slots>, … ]
Scratchpad/4:64:2
02:37:19,380 Getting best zone
Scratchpad/1:85:4
02:37:19,380 #TerritoryControl_PlanetScience! - Zone 37 Progress: 0.4325965344905853 Difficulty: 1
Scratchpad/1:546:3
02:37:19,381 Found new best zone: 37
Scratchpad/1:643:4
02:37:19,681 Updating grid
Scratchpad/1:85:4
02:37:19,701 Successfully updated map data on planet: 24
Scratchpad/1:487:4
02:37:19,702 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:19,703 Waiting 5s and re-sending join attempt(Attempt #0).
Scratchpad/1:85:4
02:37:24,989 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:24,991 Waiting 5s and re-sending join attempt(Attempt #1).
Scratchpad/1:85:4
02:37:30,245 Updating grid
Scratchpad/1:85:4
02:37:30,479 Successfully updated map data on planet: 24
Scratchpad/1:487:4
02:37:30,480 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:30,481 Waiting 5s and re-sending join attempt(Attempt #2).
Scratchpad/1:85:4
02:37:35,728 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:35,729 Waiting 5s and re-sending join attempt(Attempt #3).
Scratchpad/1:85:4
02:37:38,045 Detected the game script is locked. Trying to unlock it.
Scratchpad/1:85:4
02:37:39,057
Array(25) [ <10 empty slots>, … ]
Scratchpad/4:64:2
02:37:39,058 Updating grid
Scratchpad/1:85:4
02:37:39,079 Successfully updated map data on planet: 24
Scratchpad/1:487:4
02:37:39,080 Getting best zone
Scratchpad/1:85:4
02:37:39,080 #TerritoryControl_PlanetScience! - Zone 37 Progress: 0.4329208731651306 Difficulty: 1
Scratchpad/1:546:3
02:37:39,081 Found new best zone: 37
Scratchpad/1:643:4
02:37:39,320 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:39,321 Waiting 5s and re-sending join attempt(Attempt #0).
Scratchpad/1:85:4
02:37:44,531 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:44,532 Waiting 5s and re-sending join attempt(Attempt #1).
Scratchpad/1:85:4
02:37:49,802 Updating grid
Scratchpad/1:85:4
02:37:49,853 Successfully updated map data on planet: 24
Scratchpad/1:487:4
02:37:49,854 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:49,856 Waiting 5s and re-sending join attempt(Attempt #2).
Scratchpad/1:85:4
02:37:55,110 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:37:55,111 Waiting 5s and re-sending join attempt(Attempt #3).
Scratchpad/1:85:4
02:38:00,369 Updating grid
Scratchpad/1:85:4
02:38:00,596 Successfully updated map data on planet: 24
Scratchpad/1:487:4
02:38:00,597 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:38:00,598 Waiting 5s and re-sending join attempt(Attempt #4).
Scratchpad/1:85:4
02:38:08,070
Array(25) [ <10 empty slots>, … ]
Scratchpad/4:64:2
02:38:08,071 Getting best zone
Scratchpad/1:85:4
02:38:08,071 #TerritoryControl_PlanetScience! - Zone 37 Progress: 0.43308737874031067 Difficulty: 1
Scratchpad/1:546:3
02:38:08,072 Found new best zone: 37
Scratchpad/1:643:4
02:38:08,316 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:38:08,317 Waiting 5s and re-sending join attempt(Attempt #0).
Scratchpad/1:85:4
02:38:13,616 Updating grid
Scratchpad/1:85:4
02:38:13,759 Successfully updated map data on planet: 24
Scratchpad/1:487:4
02:38:13,761 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:38:13,762 Waiting 5s and re-sending join attempt(Attempt #1).
Scratchpad/1:85:4
02:38:19,018 Error getting zone response (on start): 
Object { response: {} }
Scratchpad/1:248:6
02:38:19,019 Waiting 5s and re-sending join attempt(Attempt #2).

Stop Boss Fight Before hitting Level 25?

I have noticed that the badge rank and sale item drops don't appear from level-ups during the boss fights. But when I leveled up on regular fights this morning, I received the new rank and all the sale items I didn't get earlier.

What that means is that as we approach the highest level (25), we probably don't want to cross the level threshold during a boss fight (if you care about badge rank or sale items). Otherwise, we may never see the new rank or items if all our level-ups came during the boss fights. Maybe Valve will fix this bug on their end, maybe they won't. I didn't get Rank 4 until I hit a new level the non-boss way, and I just hit 21 in another boss fight and don't see the Rank 6 badge or sale item.

But it shouldn't be that hard to program in a disconnect shortly before we hit 26,400,000 XP. That way we can finish up the last bit through normal fights.

Test planet auto-updating

Hopefully the recent CORS error handling fixed the issues we were having here, but I'd like to test before enabling it by default.

There will also almost definitely be issues planet-switching while animations are disabled, due to the hooks/injects I put in place. Best fix might be to figure out animation toggling first (See #49), then on planet switch, enable animations, switch, then revert to previous animation enabled/disabled state.

Rework var/function structure into an object

Ties into refactoring with #48. Currently running this script through tampermonkey isn't entirely working, mostly due to my poor coding practice trying to get everything done quickly, and just using globals.

ex: auto_switch_planet is undefined when running via tampermonkey.

Add live-toggling of animations

Disabling animations currently breaks a lot of stuff in the UI, so you can't simply re-enable the function to my knowledge.

We should find a way to hook the function and can run it selectively, potentially decreasing the refresh rate, but at the very least allowing an explicit enable/disable toggle.

Stopped Progressing (Stuck on Zone?)

At some point I stopped progressing: I tried re-loading to no avail.

Here's what I think might be the relevant console messages:

 #TerritoryControl_PlanetBehind_the_Screen - Zone 75 Progress: 0.9954538941383362 Difficulty: 3
 Zone #75 has ended. Trying #75
 Round successfully started in zone #75

Maybe 75 is complete but is never actually reporting 100% on the check?

Game stalls on getting best zone

Occasionally, idler seems to stall on "Getting best zone". Seems to be when it finds that the zone it's on is already best, and then doesn't restart a round.

Happening with auto_switch_planet.active=true, Looks like when zone response fails out until max_retries.

Looking into this.

Disable timer of estimate time

I don't need this info and tried to create a checkbox to disable this funtion. Doesn't work. If you wish to finish that, I have create the checkbox for you. Check this: a1d4415

new update

on the battle map or plant its just saying initializing. thanks

Join Planet Error

Occasionally a 'Join Planet Error' popup pops up which blocks user input but does not stop the script.

Integrating boss battles (test available in the WIP branch)

Update : Anyone can test the feature by getting the script from the WIP branch.

New logic here that has nothing to do with all the old stuff. SteamDB already integrated some stuff. There's new urls to request : ITerritoryControlMinigameService/JoinBossZone with zone_position & access_token (similar to JoinZone). and ITerritoryControlMinigameService/ReportBossDamage with access_token & 3 param : &use_heal_ability=0&damage_to_boss=100&damage_taken=0 (values can vary, 100 may be too high i did between 5 and 74 i think, didn't check every request). This url must be requested every 5 seconds.

Difficulty isn't important here, it's more like an invasion of a zone afaik. So we need to also take that into account. Meaning we need to check every active planets even if we're in the wanted difficulty (3).

Also @ensingm2, we need to comment this in GetBestZone() for now (and change the condition of the previous if from !zone.captured to !zone.captured && !zone.boss) :

			/*if (zone.boss) {
				console.log("Zone " + idx + " with boss. Switching to it.");
				return idx;
			}*/

Possible error on brand new planet

I believe this error stems from the fix for issue #70. I think if you planet switch to a completely fresh planet, no 'best' zone is found (as we limit to zones with progress), as no zones have any progress yet.

Stop Animations bug

If you click Stop Animations and then cancel it on the browser prompt, the button will gray out and not let you use it

Disable joining to zone for 25 lvls

If player is 25 lvls he doesn't need more xp. So, we can just stay on the planet screen for timer and stay xp for players who didn't received 25 lvl.

Seems Boss update broke script entirely

Getting stuck on waiting 5s as the joins are failing, due to

X-eresult: 17
X-error_message: This is a boss zone. Update your cheats.

Nice, valve.

Unfortunately I'm on vacation and won't be able to modify this much. I can merge in PRs and test, though.

Stopped at planet selection

Script stopped at planet selection and do nothing. Worked again when I selected a planet manually. Reload of the page with game didn't help.

thank you

you are good scripter, wish you all the best )

I can't join any zone

Every time I'm getting

Successfully updated map data on planet: 38
VM108:274 Error getting zone response (on start): {response: {…}}
VM108:87 Waiting 5s and re-sending join attempt (Attempt #1).
VM108:274 Error getting zone response (on start): {response: {…}}
VM108:87 Waiting 5s and re-sending join attempt (Attempt #2).
VM108:87 Updating grid
VM108:515 Successfully updated map data on planet: 38
VM108:274 Error getting zone response (on start): {response: {…}}
VM108:87 Waiting 5s and re-sending join attempt (Attempt #3).
VM108:274 Error getting zone response (on start): {response: {…}}
VM108:87 Waiting 5s and re-sending join attempt (Attempt #4).

Damage in Boss Battle

I know we told about before. Actually script does 0 - 20 damage.

What about this algotithm:
_damage = math.floor(math.random * 1000 / boss_lost_hp)

So, than more boss has lost hp, then less damage.

The timer doesn't seem to work properly.

I'm running 2 accounts side by side and the timer doesn't add up.
On account1 I'm lvl 10 with ~1970000 xp with time left to level up at 10h 50m
On account2 I'm lvl 10 with ~1280000 xp with time left to level up at 4h 40m

Both in same difficulty target zone.

desktop screenshot

Estimated time to next level

Hey team!

I created the following, super ugly code:

var missingExp = gPlayerInfo.next_level_score - gPlayerInfo.score;
var nextScoreAmount = max_scores[INJECT_get_difficulty(target_zone)];
var roundTime = round_length + update_length;

var secondsLeft = missingExp / nextScoreAmount * roundTime;

var date = new Date(null);
date.setSeconds(secondsLeft);
var result = date.toISOString().substr(11, 8);

console.log('time left', result)

It get's the estimated time to the next level. Am I totally mistaken about this? If not, I'll create a feature for it in the GUI.

Map Graphical Update

It would be nice if the zone map could update periodically (after a tile is complete).

It's great that there's the progress shown display that was added recently, rather than it being all console statements. Though I would like to see the tiles fill in as they are completed, as a Nice To Have.

High mem- and cpu usage

This isn't a problem with the script, but rather with the game. On the other hand, it would be nice to not have a laptop that almost overheats while it idly "plays" a browser game.

I solved the problem by simply setting requestAnimationFrame = null in the debugger before pasting the script. It solves the overheating problem, with the downside that the interface no longer updates.

[Feature] Auto-select best planet available (toggable)

  • Implementing the functions required.
  • Fixing CORS issue when fetching the 5 active planets. Maybe delaying the requests could work. In the meantime, we tried to prevent any issue related to these empty responses. And the feature is disabled by default. Edit : Seems like Valve fixed their issue here.

At first i thought i'd prefer to choose my planet for the games but the odds are pretty low anyway so i'd rather focus on the XP. We'd still set this as a toggable option so anyone that want to stay on a specific planet can.

The url to fetch planets info is this one : https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanets/v0001/
It could be used alongside GetPlanet to search for the planet with the most high risk zones, medium risk if they're all at 0 high risk and low risk if both high & medium are at 0 everywhere.
It'd be triggered if our current zone has ended and GetBestZone() returns a difficulty zone below the previous one, or if the planet is completed.

Dunno if anyone want to do this, otherwise i'll probably* as i find this could be a good idea. Even if i think if lvl 12 isn't the lvl to get rank 6 badge, it'll not be far after.
*Later today aka somewhere after 2018-06-23 13:00 GMT. So if you want to do it before, enjoy :p.

Server Error: Script still said ✓ Running

I forgot to catch the error that was displayed, all I know is that Chrome had crashed (taking down one account with Meepen's script) and Firefox's instance was still "green" but when I looked at it more closely I saw that it was reporting a server error and was not active, but the status still read "✓ Running" in green, so I don't even know how long it had been like that (I was occasionally glancing at it and seeing the green status and going "cool" and tabbing away again).

Error was something along the lines of "too many ____" (e.g. too many connections, too many instances, something like that).

Reduce boss dps

Boss dies very fast, could you please reduce bot dps?

Developer of alternative (php) bot reduced dps to 1. As result overall dps of all players decreased, but still boss dies quite fast. Experience is not based on amount of damage done

I received 682k for last boss with reduced damage (overall dps ~200K). Few hours ago with full dps I received ~500k (overall dps ~300K+)

#86

Too much INJECT_update_grid() calls

The issue is probably due to the fact there's 2 retries in parallel, the AJAX error one if there's, and the empty response from a start / end round. We should probably delay the empty response retries from a start / end round until the AJAX error handling is done.
The script worked well for several hours but it ended +/- 1h ago. Here is a bit of the console log (at the end there's 2 TypeError: window.gGame.m_State.m_PlanetData.zones[zone_id||target_zone] is undefined, because we left the game before so it was equal to -1, not sure how it happened for now but it's almost certainly tied to the parallel thingy) :

12:20:24,480 Round successfully started in zone #61
Scratchpad/5:234:5
12:20:24,481
Object { response: {…} }
Scratchpad/5:235:5
12:20:24,486 Ending Round
Scratchpad/5:82:4
12:20:24,824 Updating grid
Scratchpad/5:82:4
12:20:24,859 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:24,863 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:24,864 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:20:24,867 Waiting 5s and re-sending score(Attempt #0).
Scratchpad/5:82:4
12:20:30,063 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:30,066 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:30,067 Ending Round
Scratchpad/5:82:4
12:20:30,564 Updating grid
Scratchpad/5:82:4
12:20:30,583 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:30,585 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:30,586 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:20:30,588 Waiting 5s and re-sending score(Attempt #1).
Scratchpad/5:82:4
12:20:35,916 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:35,919 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:35,955 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:35,957 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:35,959 Ending Round
Scratchpad/5:82:4
12:20:36,507 Updating grid
Scratchpad/5:82:4
12:20:36,547 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:36,550 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:36,551 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:20:36,553 Waiting 5s and re-sending score(Attempt #2).
Scratchpad/5:82:4
12:20:41,116 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:41,122 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:41,383 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:41,386 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:41,838 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:41,840 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:41,842 Ending Round
Scratchpad/5:82:4
12:20:42,106 Updating grid
Scratchpad/5:82:4
12:20:42,362 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:42,364 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:42,365 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:20:42,370 Waiting 5s and re-sending score(Attempt #3).
Scratchpad/5:82:4
12:20:46,392 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:46,396 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:46,660 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:46,662 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:47,117 Successfully updated map data on planet: 16
Scratchpad/5:454:4
12:20:47,623 Successfully updated map data on planet: 16
Scratchpad/5:454:4
12:20:47,625 Ending Round
Scratchpad/5:82:4
12:20:47,891 Updating grid
Scratchpad/5:82:4
12:20:48,211 Successfully updated map data on planet: 16
Scratchpad/5:454:4
12:20:48,212 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:20:48,214 Waiting 5s and re-sending score(Attempt #4).
Scratchpad/5:82:4
12:20:51,686 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:51,688 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:20:51,951 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:51,954 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:20:53,183 Ending Round
Scratchpad/5:82:4
12:20:53,458 Updating grid
Scratchpad/5:82:4
12:20:53,756 Successfully updated map data on planet: 16
Scratchpad/5:454:4
12:20:54,288 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=13. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:54,577 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=14. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:55,523 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=15. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:56,166 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=17. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:56,169
Array(18) [ <10 empty slots>, … ]
Scratchpad/5:576:2
12:20:56,171 Too many errors while searching a better planet. Let's continue on the current zone.
Scratchpad/5:629:3
12:20:56,171 Previous game detected. Ending it.
Scratchpad/5:82:4
12:20:56,171 Leaving game: 1412
Scratchpad/5:381:2
12:20:56,530 Left Zone #61
Scratchpad/5:82:4
12:20:57,188 Round successfully started in zone #61
Scratchpad/5:234:5
12:20:57,189
Object { response: {…} }
Scratchpad/5:235:5
12:20:57,435 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:20:57,438 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:22:49,997 Ending Round
Scratchpad/5:82:4
12:22:51,473 Successfully finished the round and got expected data back:
Scratchpad/5:342:5
12:22:51,475 Level:  11 
EXP:    3150325
Scratchpad/5:343:5
12:22:51,476
Object { response: {…} }
Scratchpad/5:344:5
12:22:52,092 Round successfully started in zone #61
Scratchpad/5:234:5
12:22:52,092
Object { response: {…} }
Scratchpad/5:235:5
12:24:43,678 Ending Round
Scratchpad/5:82:4
12:24:45,011 Successfully finished the round and got expected data back:
Scratchpad/5:342:5
12:24:45,012 Level:  11 
EXP:    3151525
Scratchpad/5:343:5
12:24:45,013
Object { response: {…} }
Scratchpad/5:344:5
12:24:45,638 Round successfully started in zone #61
Scratchpad/5:234:5
12:24:45,639
Object { response: {…} }
Scratchpad/5:235:5
12:26:37,203 Ending Round
Scratchpad/5:82:4
12:26:38,589 Successfully finished the round and got expected data back:
Scratchpad/5:342:5
12:26:38,590 Level:  11 
EXP:    3152725
Scratchpad/5:343:5
12:26:38,590
Object { response: {…} }
Scratchpad/5:344:5
12:26:39,217 Round successfully started in zone #61
Scratchpad/5:234:5
12:26:39,217
Object { response: {…} }
Scratchpad/5:235:5
12:26:41,907 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=13. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:26:43,075 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=14. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:26:43,604 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:26:43,886 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=17. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:26:43,889
Array(18) [ <10 empty slots>, … ]
Scratchpad/5:576:2
12:26:43,890 Too many errors while searching a better planet. Let's continue on the current zone.
Scratchpad/5:629:3
12:26:43,891 Previous game detected. Ending it.
Scratchpad/5:82:4
12:26:43,891 Leaving game: 1412
Scratchpad/5:381:2
12:26:44,278 Left Zone #61
Scratchpad/5:82:4
12:26:44,907 Round successfully started in zone #61
Scratchpad/5:234:5
12:26:44,907
Object { response: {…} }
Scratchpad/5:235:5
12:28:36,811 Ending Round
Scratchpad/5:82:4
12:28:37,175 Updating grid
Scratchpad/5:82:4
12:28:37,452 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:37,455 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:37,456 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:28:37,457 Waiting 5s and re-sending score(Attempt #0).
Scratchpad/5:82:4
12:28:37,459 Ending Round
Scratchpad/5:82:4
12:28:37,963 Updating grid
Scratchpad/5:82:4
12:28:38,002 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:38,004 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:38,005 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:28:38,007 Waiting 5s and re-sending score(Attempt #0).
Scratchpad/5:82:4
12:28:42,712 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:42,717 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:42,720 Ending Round
Scratchpad/5:82:4
12:28:43,079 Updating grid
Scratchpad/5:82:4
12:28:43,351 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:43,353 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:43,354 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:28:43,356 Waiting 5s and re-sending score(Attempt #1).
Scratchpad/5:82:4
12:28:43,620 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:43,623 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:43,625 Ending Round
Scratchpad/5:82:4
12:28:43,882 Updating grid
Scratchpad/5:82:4
12:28:44,139 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:44,141 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:44,142 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:28:44,143 Waiting 5s and re-sending score(Attempt #1).
Scratchpad/5:82:4
12:28:47,975 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:47,978 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:48,413 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:48,410 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:48,414 Ending Round
Scratchpad/5:82:4
12:28:48,881 Updating grid
Scratchpad/5:82:4
12:28:48,899 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:48,903 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:48,904 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:28:48,906 Waiting 5s and re-sending score(Attempt #2).
Scratchpad/5:82:4
12:28:49,213 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:49,215 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:49,249 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:49,251 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:49,253 Ending Round
Scratchpad/5:82:4
12:28:49,746 Updating grid
Scratchpad/5:82:4
12:28:49,764 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:49,767 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:49,768 Error getting zone response: 
Object { response: {} }
Scratchpad/5:336:6
12:28:49,769 Waiting 5s and re-sending score(Attempt #2).
Scratchpad/5:82:4
12:28:53,175 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:53,178 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:53,621 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:53,624 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:28:54,191 Successfully updated map data on planet: 16
Scratchpad/5:454:4
12:28:54,192 Ending Round
Scratchpad/5:82:4
12:28:54,449 Updating grid
Scratchpad/5:82:4
12:28:54,474 Successfully updated map data on planet: 16
Scratchpad/5:454:4
12:28:56,615 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=13. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:57,147 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=15. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:57,452 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:28:58,363
Array(18) [ <10 empty slots>, … ]
Scratchpad/5:576:2
12:28:58,364 Too many errors while searching a better planet. Let's continue on the current zone.
Scratchpad/5:629:3
12:28:58,364 Previous game detected. Ending it.
Scratchpad/5:82:4
12:28:58,365 Leaving game: 1412
Scratchpad/5:381:2
12:29:01,074 Left Zone #61
Scratchpad/5:82:4
12:29:01,445 Updating grid
Scratchpad/5:82:4
12:29:01,735 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:01,738 Retrying in 5s to update the grid (Retry #1). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:01,739 ReferenceError: reference to undefined property "-1"[En savoir plus]
Scratchpad/5:221:1
12:29:01,739
TypeError: window.gGame.m_State.m_Grid.m_Tiles[target_zone] is undefined[En savoir plus]
Scratchpad/5:221:1
12:29:02,044 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:02,046 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:02,326 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:02,328 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:02,611 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:02,612 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:02,614
TypeError: window.gGame.m_State.m_PlanetData.zones[zone_id] is undefined[En savoir plus]
Scratchpad/5:418:2
12:29:03,728 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:03,731 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:03,989 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:03,991 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:06,958 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:06,961 Retrying in 5s to update the grid (Retry #2). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:07,379 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:07,381 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:07,638 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:07,641 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:07,924 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:07,927 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:08,789 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:08,791 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:29:09,261 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:09,263 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:11,996 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:12,001 Retrying in 5s to update the grid (Retry #3). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:12,654 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:12,658 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:29:13,131 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:13,136 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:13,179 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:13,183 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:14,458 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:14,461 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:29:17,217 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:17,222 Retrying in 5s to update the grid (Retry #4). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:18,446 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:18,449 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:29:18,694 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:18,697 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:22,443 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:22,446 Retrying in 5s to update the grid (Retry #5). Error: 0: NetworkError: A network error occurred.
Scratchpad/5:82:4
12:29:23,737 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:23,740 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4
12:29:27,755 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://community.steam-api.com/ITerritoryControlMinigameService/GetPlanet/v0001/?id=16. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
12:29:27,760 Error updating the grid: 0: NetworkError: A network error occurred. (Max retries reached).
Scratchpad/5:82:4

Fix bug in Valve's code

in network.js, if CServerInterface.prototype.LeaveGameInstance() is called, and the ajax request is successful but the 'x-eresult' header is not set to '1' in the response, a copy-pasted error callback function will be called. The function error() is not defined in LeaveGameInstance as it is in the functions that call was copy-pasted from, leading to an error.

This should be fixed, as it can halt our script. Whether or not it's better to create an 'error' var that handles it, override the entire LeaveGameInstance() call, or some other solution, I'll have to look into.

Mentioned in issue #50 & PR #60

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.