update
This commit is contained in:
parent
488bc83ad1
commit
876b5f20d2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000177
|
MANIFEST-000489
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
2022/01/18-16:59:11.704 2d64 Recovering log #176
|
2022/03/15-11:37:58.642339 7fefa67fc700 Recovering log #487
|
||||||
2022/01/18-16:59:11.704 2d64 Level-0 table #178: started
|
2022/03/15-11:37:58.705212 7fefa67fc700 Level-0 table #490: started
|
||||||
2022/01/18-16:59:11.707 2d64 Level-0 table #178: 446 bytes OK
|
2022/03/15-11:37:58.724919 7fefa67fc700 Level-0 table #490: 131633 bytes OK
|
||||||
2022/01/18-16:59:11.713 2d64 Delete type=0 #176
|
2022/03/15-11:37:58.762282 7fefa67fc700 Delete type=3 #485
|
||||||
2022/01/18-16:59:11.713 2d64 Delete type=3 #175
|
2022/03/15-11:37:58.762369 7fefa67fc700 Delete type=0 #487
|
||||||
|
2022/03/15-12:37:43.198784 7fefa4ff9700 Compacting 1@0 + 1@1 files
|
||||||
|
2022/03/15-12:37:43.233054 7fefa4ff9700 Generated table #492@0: 1614 keys, 64785 bytes
|
||||||
|
2022/03/15-12:37:43.233104 7fefa4ff9700 Compacted 1@0 + 1@1 files => 64785 bytes
|
||||||
|
2022/03/15-12:37:43.234931 7fefa4ff9700 compacted to: files[ 0 1 0 0 0 0 0 ]
|
||||||
|
2022/03/15-12:37:43.235125 7fefa4ff9700 Delete type=2 #490
|
||||||
|
2022/03/15-12:37:43.235493 7fefa4ff9700 Delete type=2 #488
|
||||||
|
|
|
@ -1,3 +1,13 @@
|
||||||
2022/01/18-16:58:50.679 59bc Recovering log #174
|
2022/03/15-06:20:46.015723 7f4e74ff9700 Recovering log #484
|
||||||
2022/01/18-16:58:50.683 59bc Delete type=0 #174
|
2022/03/15-06:20:46.015851 7f4e74ff9700 Level-0 table #486: started
|
||||||
2022/01/18-16:58:50.683 59bc Delete type=3 #172
|
2022/03/15-06:20:46.017869 7f4e74ff9700 Level-0 table #486: 377 bytes OK
|
||||||
|
2022/03/15-06:20:46.020536 7f4e74ff9700 Delete type=3 #482
|
||||||
|
2022/03/15-06:20:46.020581 7f4e74ff9700 Delete type=0 #484
|
||||||
|
2022/03/15-08:01:33.573536 7f4e677fe700 Compacting 3@0 + 1@1 files
|
||||||
|
2022/03/15-08:01:33.582497 7f4e677fe700 Generated table #488@0: 1576 keys, 62904 bytes
|
||||||
|
2022/03/15-08:01:33.582529 7f4e677fe700 Compacted 3@0 + 1@1 files => 62904 bytes
|
||||||
|
2022/03/15-08:01:33.588153 7f4e677fe700 compacted to: files[ 0 1 0 0 0 0 0 ]
|
||||||
|
2022/03/15-08:01:33.588372 7f4e677fe700 Delete type=2 #478
|
||||||
|
2022/03/15-08:01:33.588928 7f4e677fe700 Delete type=2 #486
|
||||||
|
2022/03/15-08:01:33.589514 7f4e677fe700 Delete type=2 #480
|
||||||
|
2022/03/15-08:01:33.589606 7f4e677fe700 Delete type=2 #483
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
burgerass
|
|
@ -13,7 +13,8 @@ module.exports = class Bot extends StaticEventEmitter {
|
||||||
"2ffc3744fbc1bc6c6ef4a330",
|
"2ffc3744fbc1bc6c6ef4a330",
|
||||||
"a41651bf8a46bafc5548dad6",
|
"a41651bf8a46bafc5548dad6",
|
||||||
"ead940199c7d9717e5149919",
|
"ead940199c7d9717e5149919",
|
||||||
"8107156a27514cebcb65195d"
|
"8107156a27514cebcb65195d",
|
||||||
|
"e1e7e489ec8d635d980c65cd"
|
||||||
];
|
];
|
||||||
this.prefix = "/"; // never change this
|
this.prefix = "/"; // never change this
|
||||||
|
|
||||||
|
|
|
@ -208,24 +208,24 @@ module.exports = (bot) => {
|
||||||
if(err) throw err;
|
if(err) throw err;
|
||||||
var text = part.name+" caught "+aOrAn(size)+" "+size+" "+type + "!";
|
var text = part.name+" caught "+aOrAn(size)+" "+size+" "+type + "!";
|
||||||
console.log(type);
|
console.log(type);
|
||||||
// client.sendArray([{m: "admin message", password: new String(data).trim(),
|
MPPClient.client.sendArray([{m: "admin message", password: new String(data).trim(),
|
||||||
// msg: {"m": "notification", "id":"Fish-caught","targetUser": "room", "target": "#piano", "duration": "7000", "class":"short","html": "<img src=\"https://multiplayerpiano.com/fishing-bot/"+type+".png\"/><br>"+sanitize(text)}}]);
|
msg: {"m": "notification", "id":"Fish-caught","targetUser": "room", "target": "#piano", "duration": "7000", "class":"short","html": "<img src=\"https://multiplayerpiano.com/fishing-bot/"+type+".png\"/><br>"+sanitize(text)}}]);
|
||||||
MPPClient.client.sendArray([{
|
// MPPClient.client.sendArray([{
|
||||||
m: 'custom',
|
// m: 'custom',
|
||||||
data: {
|
// data: {
|
||||||
m: 'notification',
|
// m: 'notification',
|
||||||
id: 'Fish-caught',
|
// id: 'Fish-caught',
|
||||||
targetUser: 'room',
|
// targetUser: 'room',
|
||||||
target: '#piano',
|
// target: '#piano',
|
||||||
duration: '7000',
|
// duration: '7000',
|
||||||
class: 'short',
|
// class: 'short',
|
||||||
html: '<img src="https://multiplayerpiano.com/fishing-bot/'+type+'.png"/><br>'+sanitize(text)
|
// html: '<img src="https://multiplayerpiano.com/fishing-bot/'+type+'.png"/><br>'+sanitize(text)
|
||||||
},
|
// },
|
||||||
target: {
|
// target: {
|
||||||
mode: 'subscribed',
|
// mode: 'subscribed',
|
||||||
global: false
|
// global: false
|
||||||
}
|
// }
|
||||||
}]);
|
// }]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -4,8 +4,10 @@ const Client = require('./mppt-client.js');
|
||||||
module.exports = class MPPClient {
|
module.exports = class MPPClient {
|
||||||
static start(token) {
|
static start(token) {
|
||||||
this.client = new Client('wss://mppclone.com:8443', token);
|
this.client = new Client('wss://mppclone.com:8443', token);
|
||||||
|
// this.client = new Client('wss://mpp.hri7566.info:8443');
|
||||||
this.client.start();
|
this.client.start();
|
||||||
this.client.setChannel('✧𝓓𝓔𝓥 𝓡𝓸𝓸𝓶✧');
|
// this.client.setChannel('✧𝓓𝓔𝓥 𝓡𝓸𝓸𝓶✧');
|
||||||
|
this.client.setChannel('test/fishing');
|
||||||
this.bindEventListeners();
|
this.bindEventListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue