Openkore.com

OpenKore Forums
It is currently 17 Aug 2018, 02:06

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 01:15 
Offline
Noob
Noob

Joined: 21 Feb 2018, 02:15
Posts: 6
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:
File comment: timeout on map server.
Capture.PNG
Capture.PNG [ 43.64 KiB | Viewed 1276 times ]
File comment: servers.txt
servers.txt [13.49 KiB]
Downloaded 57 times
Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 03:24 
Offline
Developers
Developers

Joined: 09 Apr 2017, 07:23
Posts: 214
Location: Thailand
packet key :p


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 03:32 
Offline
Noob
Noob

Joined: 21 Feb 2018, 02:15
Posts: 6
sctnightcore wrote:
packet key :p


Thanks for your reply man.

I have noticed that packet key part as originally posted by roplayer 34 saying:

Quote:
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!


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 19:08 
Offline
Developers
Developers

Joined: 09 Apr 2017, 07:23
Posts: 214
Location: Thailand
get from peek !


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 21:15 
Offline
Noob
Noob

Joined: 21 Feb 2018, 02:15
Posts: 6
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,

Quote:
Code:
#!/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

Quote:
8. file will appear: recvpackets.txt


Is there something else that I'm missing?


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 22:07 
Offline
Developers
Developers

Joined: 09 Apr 2017, 07:23
Posts: 214
Location: Thailand
download perl


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 22:18 
Offline
Noob
Noob

Joined: 21 Feb 2018, 02:15
Posts: 6
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.


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 28 Feb 2018, 22:33 
Offline
Halfway to Eternity
Halfway to Eternity
User avatar

Joined: 17 Nov 2017, 23:32
Posts: 359
Location: Genting Highland, Malaysia
nelsvoon27 wrote:
Sorry but if you don't mind me asking, where do I find perl?


Google

_________________

Wiki & Google are your best allies.
iRO server supporter.
Image


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 01 Mar 2018, 01:02 
Offline
Noob
Noob

Joined: 21 Feb 2018, 02:15
Posts: 6
Well thanks for the replies. Doubt I'd make it so ggz. Gonna just forget it.

Thanks again guys.


Top
 Profile  
 
 Post subject: Re: heRO 2018 - Timeout on Map server.
PostPosted: 12 Mar 2018, 23:13 
Offline
Noob
Noob

Joined: 12 Mar 2018, 12:25
Posts: 7
Location: shanghai china
i can help you


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group