solution to game untrusted
*level 6
let c=0;
map.defineObject('attackDrone1', {
'type': 'dynamic',
'symbol': 'd',
'color': 'red',
'onCollision': function (player) {
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) => { |
/** | |
* 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 { |
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'; |
class Plugin { | |
constructor() { | |
} | |
draw(ctx) { | |
const viewport = ui.getViewport(); | |
ctx.save(); | |
//ctx.fillStyle = "red"; | |
//ctx.strokeStyle = "red"; | |
//ctx.strokeStyle = "dashed"; |
solution to game untrusted
*level 6
let c=0;
map.defineObject('attackDrone1', {
'type': 'dynamic',
'symbol': 'd',
'color': 'red',
'onCollision': function (player) {
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() |
<?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: |
package main | |
import ( | |
"encoding/pem" | |
"errors" | |
"crypto/x509" | |
"crypto/rsa" | |
"crypto/rand" | |
"fmt" | |
"encoding/base64" |
const maxIdle = 2 | |
const address = "127.0.0.1:6379" | |
var pool = redis.Pool{ | |
MaxIdle: maxIdle, | |
Dial: func() (redis.Conn, error) { | |
return redis.Dial("tcp", address) | |
}, | |
TestOnBorrow: func(c redis.Conn, t time.Time) error { |