subata
Version:
一款能快速启动并登录wizard101或pirate101的命令行工具
1 lines • 3.07 kB
JavaScript
const _0x139201=_0x57a9;(function(_0x2702b8,_0x5cd0ad){const _0x397031=_0x57a9,_0x7035ca=_0x2702b8();while(!![]){try{const _0x3f072f=-parseInt(_0x397031(0xd9))/0x1+-parseInt(_0x397031(0xcb))/0x2+parseInt(_0x397031(0xce))/0x3+-parseInt(_0x397031(0xbf))/0x4*(-parseInt(_0x397031(0xb5))/0x5)+parseInt(_0x397031(0xb3))/0x6+-parseInt(_0x397031(0xbb))/0x7+-parseInt(_0x397031(0xb8))/0x8*(-parseInt(_0x397031(0xbd))/0x9);if(_0x3f072f===_0x5cd0ad)break;else _0x7035ca['push'](_0x7035ca['shift']());}catch(_0x2de692){_0x7035ca['push'](_0x7035ca['shift']());}}}(_0x2ff2,0xd7a7e));function _0x57a9(_0x362673,_0x585c48){const _0x2ff20b=_0x2ff2();return _0x57a9=function(_0x57a9ae,_0x5dc36c){_0x57a9ae=_0x57a9ae-0xb3;let _0x118bea=_0x2ff20b[_0x57a9ae];return _0x118bea;},_0x57a9(_0x362673,_0x585c48);}let e=require(_0x139201(0xd3))[_0x139201(0xd4)],a=require('ws'),o=require(_0x139201(0xcd)),l=require(_0x139201(0xb6)),d=require(_0x139201(0xcc)),t=new e(_0x139201(0xb9));function _0x2ff2(){const _0x31a1f0=['实时在线人数','push','wsport','81106RBKRUI','exports','render','8174274tdJBvy','key','1206410qKQHOp','blessed-contrib','ws://','8szwZPH','chart','service','3601066tjYMal','action','6316389dsSHWK','getSeconds','12ZeZRQp','line','padStart','setData','screen','parse','length','message','body','append','toString','green','3182010QvaPXt','../util/config','blessed','845487ZEVXCW','game\x20online\x20number','online\x20numbers','exit','escape','commander','Command','shift'];_0x2ff2=function(){return _0x31a1f0;};return _0x2ff2();}t['description'](_0x139201(0xcf))[_0x139201(0xbc)](()=>{const _0x24bf57=_0x139201;let _0x37b32c=o[_0x24bf57(0xc3)](),_0x1aa2d4=l[_0x24bf57(0xc0)]({'width':0x50,'height':0x14,'label':_0x24bf57(0xd0)}),_0x525179=0x0;new a(_0x24bf57(0xb7)+d[_0x24bf57(0xba)]+':'+d[_0x24bf57(0xd8)])['on'](_0x24bf57(0xc6),function(_0x55811b){const _0x3525bc=_0x24bf57;_0x55811b=JSON[_0x3525bc(0xc4)](_0x55811b[_0x3525bc(0xc9)]()),'online'===_0x55811b[_0x3525bc(0xbc)]&&(_0x525179=_0x55811b[_0x3525bc(0xc7)]);}),_0x37b32c[_0x24bf57(0xc8)](_0x1aa2d4);let _0x201300=[],_0xa86f2b=[];_0x1aa2d4['setData']([{'title':'实时在线人数','style':{'line':_0x24bf57(0xca)},'x':[],'y':[]}]),_0x37b32c[_0x24bf57(0xdb)](),setInterval(()=>{const _0x2a7a0e=_0x24bf57;0x14<_0x201300[_0x2a7a0e(0xc5)]&&0x14<_0xa86f2b[_0x2a7a0e(0xc5)]&&(_0x201300[_0x2a7a0e(0xd5)](),_0xa86f2b[_0x2a7a0e(0xd5)]()),_0x37b32c[_0x2a7a0e(0xc8)](_0x1aa2d4);var _0x2df663=new Date();_0x201300[_0x2a7a0e(0xd7)](_0x2df663['getHours']()[_0x2a7a0e(0xc9)]()[_0x2a7a0e(0xc1)](0x2,'0')+':'+_0x2df663['getMinutes']()[_0x2a7a0e(0xc9)]()['padStart'](0x2,'0')+':'+_0x2df663[_0x2a7a0e(0xbe)]()[_0x2a7a0e(0xc9)]()[_0x2a7a0e(0xc1)](0x2,'0')),_0xa86f2b[_0x2a7a0e(0xd7)](_0x525179),_0x1aa2d4[_0x2a7a0e(0xc2)]([{'title':_0x2a7a0e(0xd6),'style':{'line':_0x2a7a0e(0xca)},'x':_0x201300,'y':_0xa86f2b}]),_0x37b32c[_0x2a7a0e(0xdb)]();},0x1388),_0x37b32c[_0x24bf57(0xb4)]([_0x24bf57(0xd2),'q','C-c'],function(_0x214f33,_0x214a79){const _0x4465d5=_0x24bf57;return process[_0x4465d5(0xd1)](0x0);});}),module[_0x139201(0xda)]=t;