heRO 2018 - Timeout on Map server.

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

Message
Author
nelsvoon27
Noob
Noob
Posts: 6
Joined: 21 Feb 2018, 02:15
Noob?: Yes

heRO 2018 - Timeout on Map server.

#1 Post by nelsvoon27 »

Hello there,

I have recently been trying to bot on the server heRO http://www.hero-server.net/

I have attempted the suggestions from this post that was posted quite a few years ago, http://forums.openkore.com/viewtopic.php?f=7&t=211288
and even included the fix that SkylorD has given but to no avail.

However, I am still getting the issue where Openkore connects to the server but times out on the Map Server as seen from the attachment I have put on this post.

I have also included my servers.txt as the IP address for the server has been updated since then.

Please do let me know how I can go about to remedy this situation.

Thank you!
Attachments
timeout on map server.
timeout on map server.
servers.txt
servers.txt
(13.49 KiB) Downloaded 431 times

sctnightcore
Developers
Developers
Posts: 235
Joined: 09 Apr 2017, 07:23
Noob?: No
Location: Thailand

Re: heRO 2018 - Timeout on Map server.

#2 Post by sctnightcore »

packet key :p

nelsvoon27
Noob
Noob
Posts: 6
Joined: 21 Feb 2018, 02:15
Noob?: Yes

Re: heRO 2018 - Timeout on Map server.

#3 Post by nelsvoon27 »

sctnightcore wrote:packet key :p
Thanks for your reply man.

I have noticed that packet key part as originally posted by roplayer 34 saying:
From the revpackets: #packet_key: 0x16cf3301 0x1f472b9b 0x0b4a3cd2
But I have no real idea as to what I should do with this information nor where do I put it. Would you mind giving me a hand by telling me what this information does (if it isn't too much of a hassle) and also how I can incorporate it into Openkore. Or if you know where I can find the information to learn about fixing this in my openkore.

I've tried looking it up but always swing back to this page,

http://openkore.com/index.php/Packet_Length_Extractor

which I don't believe has the right information I'm looking for in this issue.

Thanks again for your reply mate!

sctnightcore
Developers
Developers
Posts: 235
Joined: 09 Apr 2017, 07:23
Noob?: No
Location: Thailand

Re: heRO 2018 - Timeout on Map server.

#4 Post by sctnightcore »

get from peek !

nelsvoon27
Noob
Noob
Posts: 6
Joined: 21 Feb 2018, 02:15
Noob?: Yes

Re: heRO 2018 - Timeout on Map server.

#5 Post by nelsvoon27 »

sctnightcore wrote:get from peek !
Thanks again for your reply man.

I've downloaded PEEK and followed steps in this page,

http://forums.openkore.com/viewtopic.php?f=6&t=207278

But it seems that I still can't get the right solution, while using the PEEK from
https://github.com/MStr3am/PEEK
I get an error saying "Packet Length Extractor could not be run"

Whereas when I used the other one,
https://github.com/ThemonChan/PEEK

It runs but nothing happens, then I tried entering the code,

Code: Select all

#!/usr/bin/env/perl

use strict;
use warnings;

package iwant_myrecvpackets;

my %packets;

&start();

sub start {
&main();
system("pause");
}

sub main {
my ($message, $file, $input, $output, $files, $found) = 0;
$found = -1;
   foreach (<*>) {
   $files .= $_."\n";
   if (-d $_ && $_ =~ /^Output$/ig) { $found = 1;};
   }
      if ($files =~ /(recvpackets.+\.ini)/ig) {
      #$message = "Type 1 from ThemonChan.\n";
      $file = $1;
      } elsif ($files =~ /(packetlengths.+\.ini)/ig) {
      #$message .= "Type 2 from MrStr3am\n";
      $file = $1;
      } elsif (substr(Win32::GetCwd(), eval (length(Win32::GetCwd()) - 6), length(Win32::GetCwd()) ) ne 'Output') {
      $message = "\nDo you have sure this file is inside \'Output\' folder?\n";
         if ($found eq 1) {         #If we aren't inside output folder, we could be on root, check for existance!
         $message .= "Please bro, move this script to \'Output\' folder! I can see it\n";
         }
      } else {
      $message = "\nPlease, start PEEK first to extract recvpackets initial file.\nThen run this script again.\nIf you've already done it, Try asking on OK forum\n";
      } if (substr(Win32::GetCwd(), eval (length(Win32::GetCwd()) - 20), length(Win32::GetCwd()) ) !~ /([P][E][E][K]([-]?[m][a][s][t][e][r])?)|ThemonChan|MrStr.am/ig) {
      $message .= "Please, move this script to PEEK/Output folder!\n";
      }
goto end if ($message);

open $input, "<$file" or $message = "Can't open the input file\n";
open $output, ">recvpackets.txt" or $message = "Can't create recvpackets output file\n";

goto end if ($message);

read_lines($input);
get_output($output);
close_handles($input, $output);

end:

printf("Length = %d packets\nPackets were extracted with success...\n", eval(keys %packets)) if (!$message);
printf("Errors:%d\n%s\n", eval($message && 1), $message) if ($message);
return 1;
}

sub close_handles {
my ($dw1, $dw2) = @_;
   close($dw1);
   close($dw2);
return 1;
}

sub read_lines {
my $file = shift;
my ($lines, $packetid);
   while (<$file>) {
   $lines = $_;
      if ($lines =~ /0x(0...) = ((-)?\d+)/ig) {
      undef $packetid;
      $packetid = uc($1);
         if (!exists($packets{$packetid})) {
         $packets{$packetid} = $2;
         }
      }
   }
return 1;
}

sub get_output {
my $file = shift;
   foreach my $value (sort keys %packets) {
   print $file "$value $packets{$value}\n";
   }
return 1;
}

1;
and saving it as recvoutput.pl but when I move it to the Output folder and "run" it, it just opens as a notepad file. and I don't get to
8. file will appear: recvpackets.txt
Is there something else that I'm missing?

sctnightcore
Developers
Developers
Posts: 235
Joined: 09 Apr 2017, 07:23
Noob?: No
Location: Thailand

Re: heRO 2018 - Timeout on Map server.

#6 Post by sctnightcore »

download perl

nelsvoon27
Noob
Noob
Posts: 6
Joined: 21 Feb 2018, 02:15
Noob?: Yes

Re: heRO 2018 - Timeout on Map server.

#7 Post by nelsvoon27 »

sctnightcore wrote:download perl
Sorry but if you don't mind me asking, where do I find perl?

I mean I've searched forum after forum to find a solution for this >.>

Thanks again for your reply.

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: heRO 2018 - Timeout on Map server.

#8 Post by fadreus »

nelsvoon27 wrote:Sorry but if you don't mind me asking, where do I find perl?
Google

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

nelsvoon27
Noob
Noob
Posts: 6
Joined: 21 Feb 2018, 02:15
Noob?: Yes

Re: heRO 2018 - Timeout on Map server.

#9 Post by nelsvoon27 »

Well thanks for the replies. Doubt I'd make it so ggz. Gonna just forget it.

Thanks again guys.

qq6346144
Noob
Noob
Posts: 14
Joined: 12 Mar 2018, 12:25
Noob?: Yes
Location: shanghai china

Re: heRO 2018 - Timeout on Map server.

#10 Post by qq6346144 »

i can help you

Post Reply