-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packet Errors #56
Comments
@DaAwesomeRazor
|
@DaAwesomeRazor |
Investigation resultsPorted only first part (packet ID 16 part 1) //reading eat events
for(var i=0;i<eaters_count;i++) {
var eater_id = packet.readUInt32LE(); //<-- reading 4 bytes
var eaten_id = packet.readUInt32LE(); //<-- reading 4 bytes
// NO MORE READING AT ALL!
... and problem is somewhere between 5 and 6 and we see that valid IDs starting with No valid IDs, no strings, no nothing. I don't understand where that data came from and how it got stuck inside packet. |
Ok still getting error, even though I updated the websocket |
Is it error " |
throw new RangeError('Trying to access beyond buffer length |
Told you guys, it's packet de-sync. It looks like socks lib or nodejs can't Le jeu. 14 janv. 2016 22:47, DaAwesomeRazor [email protected] a
|
@DeepSnowNeeL Yeah its probably socks because i can run that many bots using localAddress and its fine |
@pulviscriptor This needs to be fixed because I cant run my bots without being crashed every 5 minutes |
@DeepSnowNeeL
Are you using Since you have stable crashes, can i ask you try other SOCKS agents? You can google "node.js socks agent" and try some other lib than |
@DaAwesomeRazor |
After few hours having fun and dominating with bots i can say, |
Can I send you my script? and you tell me whats wrong? My script crashes a ton. When i updated ws it stopped the index out of range thing. But im still getting the buffer length. Im 95% sure its Socks5 because when I use localAddress it works fine. But localAddress is a pain in the ass so.. |
@DaAwesomeRazor hei can i send you a script maybe its yours but it work great ,there are only one problem with this websocket ws://razor.secureobscure.com:6578 |
@DaAwesomeRazor |
@pulviscriptor I think It is a problem with wifi. Something that the packets arent being sent on time. I dont get as many errors on my vpns, but when i use crappy internet the problems start. |
@harrydevelop Thats my script... It wont help me I already know what it does..Plus you need my bot servers :P |
@DaAwesomeRazor function onError (event) {
event.type = 'error';
event.target = target;
listener.call(target, event);
} do it function onError (event) {
try {
event.type = 'error';
event.target = target;
}catch(e){
//we don't care
}
listener.call(target, event);
} And fix all those crashes. It will work as temporary solution. |
@pulviscriptor K I will try that |
@DaAwesomeRazor if it dosent work i can ask to my university professor ,tell you tomorrow what is wrong :) |
@DaAwesomeRazor |
@pulviscriptor You think because im just using a lot of bots and really crappy socks proxies? |
try {} catch(e) {} wont work. We tried it, and no matter what we still keep getting errors like:
|
Here what i can say for you. var last_interval = (+new Date);
setInterval(function(){
var now = (+new Date);
console.log('delay: ' + (now-last_interval-interval) + 'ms');
last_interval = now;
}, 100); When delay reaches OVER 250 MILLISECONDS
It will work. You just getting new errors over and over again. I do not how much there places in code that causes crash. |
@pulviscriptor Ok so we saw that in the websocket code that there was throw new error. We replaced that with a console.log('websocket error!') so I dont think there are any more errors. I havent got any in a while. |
Lets keep it open until |
Just started using a new socks proxy list. Im already getting less packet errors |
|
when i run 70 132 mass bots this is the packet error i get
Packet error detected for packet: 10 0c 00 a5 88 28 00 e2 a7 29 00 5c d5 28 00 8d a5 29 00 59 a9 29 00 e5 a2 29 00 f1 57 29 00 ef a8 29 00 e5 97 29 00 80 a7 29 00 ca 87 00 00 00 47 a6 29 00 71 0b 00 00 3b ec ff ff 39 00 07 ff 71 00 00 00 4d a6 29 00 cd 0e 00 00 bc e9 ff ff 72 00 fe ff 07 00 00 00 00 a7 29 00 3c 0e 00 00 8e f0 ff ff 20 00 07 79 ff 00 00 00 d0 a7 29 00 56 05 00 00 e9 ec ff ff 0b 00 74 ff 07 00 00 00 e1 a7 29 00 9e fe ff ff a1 ed ff ff f6 04 20 07 ff 00 00 00 f9 a7 29 00 ee 08 00 00 c6 ed ff ff 39 00 07 ff 71 00 00 00 fa a7 29 00 5c 09 00 00 3a ee ff ff 39 00 07 ff 71 00 00 00 fb a7 29 00 e8 08 00 00 3a ee ff ff 39 00 07 ff 71 00 00 00 3a a8 29 00 e3 0d 00 00 c9 eb ff ff 43 00 ff 07 9c 00 00 00 00 00 00 00 02 00 00 00 29 90 29 00 22 94 29 00 82 7e 01 97 10 0c 00 45 a7 29 00 85 9d 29 00 f1 57 29 00 f3 a8 29 00 75 5a 29 00 db 9b 29 00 97 8a 29 00 88 a2 29 00 78 71 29 00 67 a5 29 00 86 94 29 00 78 a9 29 00 86 94 29 00 7b a9 29 00 5a 9c 29 00 7a a9 29 00 3d 1f 29 00 6f a9 29 00 3d 1f 29 00 6e a9 29 00 3d 1f 29 00 70 a9 29 00 1b a4 29 00 33 a8 29 00 5c d5 28 00 b8 07 00 00 5f f2 ff ff b6 02 07 ff df 00 00 00 c1 68 29 00 ca 07 00 00 0e ec ff ff 8f 00 82 07 ff 00 00 00 26 8e 29 00 8a 06 00 00 12 ee ff ff ec 00 76 07 ff 00 00 00 c6 9c 29 00 6f 0d 00 00 fe f0 ff ff 74 00 54 07 ff 00 00 00 5d 9d 29 00 38 08 00 00
35 says: Crash will be prevented, bot will be disconnected
C
This really needs to get fixed because it happens all the time. I think its internet because it doesnt happen when I run it on vps
The text was updated successfully, but these errors were encountered: