solution to game untrusted
*level 6
let c=0;
map.defineObject('attackDrone1', {
'type': 'dynamic',
'symbol': 'd',
'color': 'red',
'onCollision': function (player) {| <?xml version="1.0" encoding="utf-8"?> | |
| <CheatTable CheatEngineTableVersion="26"> | |
| <CheatEntries> | |
| <CheatEntry> | |
| <ID>19</ID> | |
| <Description>"cost no stamina(AOB)"</Description> | |
| <LastState/> | |
| <VariableType>Auto Assembler Script</VariableType> | |
| <AssemblerScript>{ Game : Stardew Valley.exe | |
| Version: |
| from matplotlib import pyplot | |
| from matplotlib import cm | |
| import numpy as np | |
| import random | |
| def show(image,name=None): | |
| pyplot.imshow(image, cmap='gray', interpolation='none') | |
| if name==None: | |
| pyplot.show() |
solution to game untrusted
*level 6
let c=0;
map.defineObject('attackDrone1', {
'type': 'dynamic',
'symbol': 'd',
'color': 'red',
'onCollision': function (player) {| class Plugin { | |
| constructor() { | |
| } | |
| draw(ctx) { | |
| const viewport = ui.getViewport(); | |
| ctx.save(); | |
| //ctx.fillStyle = "red"; | |
| //ctx.strokeStyle = "red"; | |
| //ctx.strokeStyle = "dashed"; |
| class Plugin { | |
| constructor() { | |
| let jump_contaienr = document.createElement("div"); | |
| jump_contaienr.style.width = '100%'; | |
| jump_contaienr.style.height = '26px'; | |
| jump_contaienr.style.display = 'block'; | |
| let idInput = document.createElement('input'); | |
| idInput.placeholder = 'planet id'; | |
| // idInput.style.color = 'black'; |
| /** | |
| * Remember, you have access these globals: | |
| * 1. df - Just like the df object in your console. | |
| * 2. ui - For interacting with the game's user interface. | |
| * | |
| * Let's log these to the console when you run your plugin! | |
| */ | |
| console.log(df, ui); | |
| class Plugin { |
| function print_score(players) { | |
| console.log(`total ${players.length}`); | |
| for (let player of players) { | |
| console.log(`${player.player}: ${player.score}`) | |
| } | |
| } | |
| function sort_players(m) { | |
| let a = Array.from(m); | |
| a.sort((a, b) => { |
| function print_score(players) { | |
| console.log(`total ${players.length}`); | |
| for (let player of players) { | |
| console.log(`${player.player}: ${player.score}`) | |
| } | |
| } | |
| function sort_players(m) { | |
| let a = Array.from(m); | |
| a.sort((a, b) => { |