This commit is contained in:
Hri7566 2022-06-04 19:27:14 +02:00
parent 31609d83ae
commit 8e326f0503
17 changed files with 373 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bot2022.db/002785.log Normal file

Binary file not shown.

BIN
bot2022.db/002787.ldb Normal file

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-001359 MANIFEST-002781

View File

@ -1,5 +1,20 @@
2022/04/07-02:11:18.873047 7f130ffff700 Recovering log #1358 2022/06/03-08:43:48.822914 7f7c737fe700 Recovering log #2779
2022/04/07-02:11:18.873240 7f130ffff700 Level-0 table #1360: started 2022/06/03-08:43:48.872382 7f7c737fe700 Level-0 table #2782: started
2022/04/07-02:11:18.876138 7f130ffff700 Level-0 table #1360: 318 bytes OK 2022/06/03-08:43:48.887981 7f7c737fe700 Level-0 table #2782: 176854 bytes OK
2022/04/07-02:11:18.879394 7f130ffff700 Delete type=0 #1358 2022/06/03-08:43:48.893873 7f7c737fe700 Delete type=3 #2777
2022/04/07-02:11:18.879436 7f130ffff700 Delete type=3 #1356 2022/06/03-08:43:48.893929 7f7c737fe700 Delete type=0 #2779
2022/06/03-08:47:06.934097 7f7c71ffb700 Compacting 1@0 + 1@1 files
2022/06/03-08:47:06.956926 7f7c71ffb700 Generated table #2784@0: 8439 keys, 406891 bytes
2022/06/03-08:47:06.956945 7f7c71ffb700 Compacted 1@0 + 1@1 files => 406891 bytes
2022/06/03-08:47:06.957597 7f7c71ffb700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/03-08:47:06.957752 7f7c71ffb700 Delete type=2 #2780
2022/06/03-08:47:06.958186 7f7c71ffb700 Delete type=2 #2782
2022/06/04-16:57:02.852650 7f7c71ffb700 Level-0 table #2786: started
2022/06/04-16:57:02.930114 7f7c71ffb700 Level-0 table #2786: 461206 bytes OK
2022/06/04-16:57:02.936040 7f7c71ffb700 Delete type=0 #2783
2022/06/04-17:02:02.847864 7f7c71ffb700 Compacting 1@0 + 1@1 files
2022/06/04-17:02:02.902929 7f7c71ffb700 Generated table #2787@0: 8544 keys, 405308 bytes
2022/06/04-17:02:02.902963 7f7c71ffb700 Compacted 1@0 + 1@1 files => 405308 bytes
2022/06/04-17:02:02.913134 7f7c71ffb700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/04-17:02:02.913631 7f7c71ffb700 Delete type=2 #2784
2022/06/04-17:02:02.915502 7f7c71ffb700 Delete type=2 #2786

View File

@ -1,5 +1,12 @@
2022/04/07-02:10:48.753270 7f7779ffb700 Recovering log #1354 2022/06/02-20:49:48.138190 7f838dffb700 Recovering log #2776
2022/04/07-02:10:48.754642 7f7779ffb700 Level-0 table #1357: started 2022/06/02-20:49:48.138276 7f838dffb700 Level-0 table #2778: started
2022/04/07-02:10:48.756540 7f7779ffb700 Level-0 table #1357: 728 bytes OK 2022/06/02-20:49:48.160210 7f838dffb700 Level-0 table #2778: 317 bytes OK
2022/04/07-02:10:48.758772 7f7779ffb700 Delete type=0 #1354 2022/06/02-20:49:48.163924 7f838dffb700 Delete type=3 #2774
2022/04/07-02:10:48.758843 7f7779ffb700 Delete type=3 #1352 2022/06/02-20:49:48.163959 7f838dffb700 Delete type=0 #2776
2022/06/02-20:54:38.777033 7f836ffff700 Compacting 2@0 + 1@1 files
2022/06/02-20:54:38.858733 7f836ffff700 Generated table #2780@0: 8406 keys, 401353 bytes
2022/06/02-20:54:38.858769 7f836ffff700 Compacted 2@0 + 1@1 files => 401353 bytes
2022/06/02-20:54:38.863823 7f836ffff700 compacted to: files[ 0 1 0 0 0 0 0 ]
2022/06/02-20:54:38.864098 7f836ffff700 Delete type=2 #2775
2022/06/02-20:54:38.865348 7f836ffff700 Delete type=2 #2778
2022/06/02-20:54:38.870225 7f836ffff700 Delete type=2 #2773

Binary file not shown.

BIN
bot2022.db/MANIFEST-002781 Normal file

Binary file not shown.

274
ppl.json Normal file
View File

@ -0,0 +1,274 @@
{
"6421f67bd74213a3e8df13cc": {
"_id": "6421f67bd74213a3e8df13cc",
"name": "Csys Bridge | discord.gg/4Gqjhpbybs",
"color": "#791008",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "6421f67bd74213a3e8df13cc",
"x": 200,
"y": 100
},
"c649910153f09f5087685ba2": {
"_id": "c649910153f09f5087685ba2",
"name": "7566",
"color": "#8d3f50",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "c649910153f09f5087685ba2",
"x": "39.50",
"y": "7.74"
},
"638201641712994f3ad24ded": {
"_id": "638201641712994f3ad24ded",
"name": "Hyperflame Finder Bot (v1.0.5) { ^help }",
"color": "#00aadb",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "638201641712994f3ad24ded",
"x": 200,
"y": 100
},
"78a11a25c966d62d0231a135": {
"_id": "78a11a25c966d62d0231a135",
"name": "DVD",
"color": "#000000",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "78a11a25c966d62d0231a135",
"x": "54.00",
"y": "98.57"
},
"4d354eaddf02eedc6211034c": {
"_id": "4d354eaddf02eedc6211034c",
"name": "a bot [=help]",
"color": "#e51c8d",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "4d354eaddf02eedc6211034c",
"x": "53.20",
"y": "99.10"
},
"d025f09344561e48afea9146": {
"_id": "d025f09344561e48afea9146",
"name": "𝕮𝖗𝖎𝖒𝖘𝖔𝖓 [-help]",
"color": "#960e13",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "d025f09344561e48afea9146",
"x": 200,
"y": 100
},
"b40df99cc2ca6f503fba77cb": {
"_id": "b40df99cc2ca6f503fba77cb",
"name": "Bouncer [//help]",
"color": "#2524a5",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "b40df99cc2ca6f503fba77cb",
"x": 200,
"y": 100
},
"67e3714197272d2a83dccefb": {
"_id": "67e3714197272d2a83dccefb",
"name": "Hyperbot (v1.3.2) { ::help }",
"color": "#00ccff",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "67e3714197272d2a83dccefb",
"x": "79.50",
"y": "50.34"
},
"141777bd0f408111c5fc7ad9": {
"_id": "141777bd0f408111c5fc7ad9",
"name": "[discord.gg/k44Eqha]",
"color": "#f140ae",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "141777bd0f408111c5fc7ad9",
"x": "10.00",
"y": "2.00"
},
"062beabb7bc34ff563c9741b": {
"_id": "062beabb7bc34ff563c9741b",
"name": "DataBot (keeper | !help)",
"color": "#00a9b4",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "062beabb7bc34ff563c9741b",
"x": "87.20",
"y": "39.90"
},
"a8c86bb6e74c9ec8900e061a": {
"_id": "a8c86bb6e74c9ec8900e061a",
"name": "Qhy 「 qhelp 」 ",
"color": "#ffd700",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "a8c86bb6e74c9ec8900e061a",
"x": "89.90",
"y": "42.61"
},
"bda277170be950cdf8bf705d": {
"_id": "bda277170be950cdf8bf705d",
"name": "✧𝓐𝓝𝓞𝓝𝓨✧ 「 𝚊𝚑𝚎𝚕𝚙 」",
"color": "#b9f2ff",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "bda277170be950cdf8bf705d",
"x": "18.22",
"y": "49.95"
},
"39fe14bbb5e756b4916d1c7c": {
"_id": "39fe14bbb5e756b4916d1c7c",
"name": "Agent 1 (Callie)",
"color": "#f42069",
"id": "39fe14bbb5e756b4916d1c7c",
"x": "17.87",
"y": "36.83"
},
"a41651bf8a46bafc5548dad6": {
"_id": "a41651bf8a46bafc5548dad6",
"name": "Loopis",
"color": "#fb98f3",
"tag": {
"text": "OWNER",
"color": "#aa0000"
},
"id": "a41651bf8a46bafc5548dad6",
"x": 200,
"y": 100
},
"51da04264767b5b6a45b66e8": {
"_id": "51da04264767b5b6a45b66e8",
"name": "Anonymous",
"color": "#b776b8",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "51da04264767b5b6a45b66e8",
"x": 200,
"y": 100
},
"d96f0e6a8785a917f90a47d3": {
"_id": "d96f0e6a8785a917f90a47d3",
"name": "[??] MelonBot",
"color": "#febaad",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "d96f0e6a8785a917f90a47d3",
"x": "-4.47",
"y": "52.38"
},
"d5cdcac49fa3da4eb078af60": {
"_id": "d5cdcac49fa3da4eb078af60",
"name": "Improster8",
"color": "#0a6afa",
"id": "d5cdcac49fa3da4eb078af60",
"x": "29.04",
"y": "87.52"
},
"c9b24baebcf6a664432c90d2": {
"_id": "c9b24baebcf6a664432c90d2",
"name": "♩Stingray Bob♩",
"color": "#ff0000",
"id": "c9b24baebcf6a664432c90d2",
"x": "20.78",
"y": "90.62"
},
"ead940199c7d9717e5149919": {
"_id": "ead940199c7d9717e5149919",
"name": "๖ۣۜH͜r̬i͡7566",
"color": "#b3f070",
"id": "ead940199c7d9717e5149919",
"x": "99.56",
"y": "7.22"
},
"e8297560cbf5248e619fdea0": {
"_id": "e8297560cbf5248e619fdea0",
"name": "๖ۣۜPhoenix ᴼʷᴼ ( Foonix#0001 )",
"color": "#fb98f3",
"id": "e8297560cbf5248e619fdea0",
"x": "44.38",
"y": "37.84"
},
"081c0c7405bdce8bb5344ab2": {
"_id": "081c0c7405bdce8bb5344ab2",
"name": "⨣༺๖ۣۣۜᏖᏗᏬᏋᏒᏁ༻⨣〚∧〛",
"color": "#bf94ff",
"id": "081c0c7405bdce8bb5344ab2",
"x": "42.90",
"y": "13.81"
},
"eb27f99657e9c2cbb6986f8c": {
"_id": "eb27f99657e9c2cbb6986f8c",
"name": "Anonymous",
"color": "#bd2055",
"id": "eb27f99657e9c2cbb6986f8c",
"x": "9.51",
"y": "76.60"
},
"0e6bcda90f846a04920ed31d": {
"_id": "0e6bcda90f846a04920ed31d",
"name": "Asuka ^-^",
"color": "#000000",
"id": "0e6bcda90f846a04920ed31d",
"x": "59.39",
"y": "86.19"
},
"de328727de4b466f4f5f1b65": {
"_id": "de328727de4b466f4f5f1b65",
"name": "Phy (qhy) 「 phy!bird 」",
"color": "#ffd700",
"id": "de328727de4b466f4f5f1b65",
"x": "77.81",
"y": "80.96"
},
"4db6526f7a4fc2bb2fe4f09d": {
"_id": "4db6526f7a4fc2bb2fe4f09d",
"name": "BOT Notname [ $help ]",
"color": "#8bfdfb",
"id": "4db6526f7a4fc2bb2fe4f09d",
"x": "25.84",
"y": "99.87"
},
"8107156a27514cebcb65195d": {
"_id": "8107156a27514cebcb65195d",
"name": "Fishing",
"color": "#abe3d6",
"tag": {
"text": "BOT",
"color": "#5555ff"
},
"id": "8107156a27514cebcb65195d",
"x": 200,
"y": 100
}
}

25
saveParticipantData.js Normal file
View File

@ -0,0 +1,25 @@
require("dotenv").config();
let Client = require("./src/mppt-client.js");
let client = new Client("wss://mppclone.com:8443", process.env.MPPCLONE_TOKEN);
let fs = require('fs');
client.start();
client.setChannel("✧𝓓𝓔𝓥 𝓡𝓸𝓸𝓶✧");
// let _id = "c9b24baebcf6a664432c90d2";
function rrggbbrand(){var a = Math.floor(Math.random() * 256).toString(16); return a.length < 2 ? "0"+a : a};
let j = {};
client.on("ch", () => {
// let color = `#${rrggbbrand()}${rrggbbrand()}${rrggbbrand()}`;
// console.log(color);
// client.sendArray([{m:'setcolor', _id:_id, color:color}]);
// client.sendArray([{m:'setcolor', _id:_id, color:"#000000"}]);
// client.sendArray([{m:'setname', _id:_id, name:"Anonymous"}]);
j = client.ppl;
fs.writeFileSync('ppl.json', JSON.stringify(j, undefined, 4));
process.exit();
});

2
saved_colors.txt Normal file
View File

@ -0,0 +1,2 @@
Bouncer #2524a5
Lapis #3a77d9

View File

@ -1155,7 +1155,7 @@ module.exports = (bot) => {
}); });
}, false); }, false);
var TOO_MANY_FISH = 2500; var TOO_MANY_FISH = 50;
bot.addCommand('take', 0, msg => { bot.addCommand('take', 0, msg => {
db.getLocation(msg.p._id, location => { db.getLocation(msg.p._id, location => {

View File

@ -312,4 +312,4 @@ Client.prototype.stopNote = function(note) {
this.noteBuffer.push({d: Date.now() - this.noteBufferTime, n: note, s: 1}); this.noteBuffer.push({d: Date.now() - this.noteBufferTime, n: note, s: 1});
} }
} }
}; };

37
test.js Normal file
View File

@ -0,0 +1,37 @@
require("dotenv").config();
let Client = require("./src/mppt-client.js");
let client = new Client("wss://mppclone.com:8443", process.env.MPPCLONE_TOKEN);
client.start();
// client.setChannel("test/fishing");
// client.setChannel("✧𝓓𝓔𝓥 𝓡𝓸𝓸𝓶✧");
client.setChannel("The Dev Channel");
// let _id = "de328727de4b466f4f5f1b65";
// let _id2 = "e42cecb0ed0ed03639dfd4be";
//
let _id = "fb1573d271464fef2ff4be93";
function rrggbbrand(){var a = Math.floor(Math.random() * 256).toString(16); return a.length < 2 ? "0"+a : a};
client.on("ch", () => {
// let color = `#${rrggbbrand()}${rrggbbrand()}${rrggbbrand()}`;
// console.log(color);
// client.sendArray([{m:'setcolor', _id:_id, color:color}]);
// client.sendArray([{m:'setcolor', _id:_id, color:""}]);
// setInterval(() => {
// client.sendArray([{m:'setname', _id:_id, name:"Not Lapis"}]);
// client.sendArray([{m:'setname', _id:_id2, name: "Not Lapis"}])
// process.exit();
// }, 25);
client.sendArray([{m:"setname", _id:_id, name:"Autoplayer the retard"}]);
// client.sendArray([{m: "settag", _id: "ead940199c7d9717e5149919", tag: { text: "hri", color: "#9900ff" }}])
// for (let p of Object.values(client.ppl)) {
// let name = p.name + " 😩";
// client.sendArray([{m:'setname', _id: p._id, name:name}]);
// }
process.exit();
});