SmokeRO. Server has denied your connection

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
isjan
Noob
Noob
Posts: 17
Joined: 22 May 2014, 09:28
Noob?: Yes
Location: Singapore

SmokeRO. Server has denied your connection

#1 Post by isjan »

I succesfully extracted this server info from the servers EXE.

[SmokeRO]
ip 128.199.216.169
port 6900
master_version 14
version 28
serverType kRO_RagexeRE_2011_11_02a

serverEncoding Western
charBlockSize 144
langType 1

*The IP, port, master version and version are extracted using WPE.
*serverType is extracted using PE viewer, Date Stamp is Oct 25, 2011



Recvpackets here:

Code: Select all

http://speedy.sh/uZAhF/recvpackets.txt
Games executable here:

Code: Select all

http://speedy.sh/SjZPU/Ragexe.exe

So when i run the bot using all the information above. I always get SERVER HAS DENIED YOUR CONNECTION.

Image

I followed everything from the Connectivity Guide for Openkore, and it still doesnt work.

The server has no protection (as far as i know)
Plus i've seen a buffer bot in town, so im quite sure that this server is bottable.

chrislong93
Human
Human
Posts: 46
Joined: 27 Mar 2014, 16:20
Noob?: No

Re: SmokeRO. Server has denied your connection

#2 Post by chrislong93 »

probably wrong server type. Date stamp is October, you're using Nov

isjan
Noob
Noob
Posts: 17
Joined: 22 May 2014, 09:28
Noob?: Yes
Location: Singapore

Re: SmokeRO. Server has denied your connection

#3 Post by isjan »

chrislong93 wrote:probably wrong server type. Date stamp is October, you're using Nov
I tried using ALL the kRO server types. Everything is a dead-end (Denied connection)

The one im using (the november) is the closest to the date.

Any more ideas on how to work make this work? Im willing to learn, i just need an advice on where to start.


**POST EDITED**

New findings.

I tried using serverType 8_2 and 8_4.
It can go inside the server. Can cast spells (via typing it manually) but the bot incorrectly identifies players as NPC.

So i was thinking that serverType 8_2 and 8_4 have something that is missing on kRO server types.
I need an expert advice here. I dont know if im on the right track. This server has no protection whatsoever, so i know openkore will work here. I just need to know why it doesnt work and how can i fix it.

I hope someone can enlighten me here.
TIA.

FTLY Bot
Human
Human
Posts: 24
Joined: 22 Aug 2012, 06:33
Noob?: No

Re: SmokeRO. Server has denied your connection

#4 Post by FTLY Bot »

I have also tried using serverType 8_4 and 8_2 . The character does not attack any monster and identify them as unknowns . :(

FTLY Bot
Human
Human
Posts: 24
Joined: 22 Aug 2012, 06:33
Noob?: No

Re: SmokeRO. Server has denied your connection

#5 Post by FTLY Bot »

Also , statuses such as buffs (Adrenaline Rush, Blessing, etc.) and items (Berserk Potion) are not recognized . I think the proper server info will fix all of these issues .

FTLY Bot
Human
Human
Posts: 24
Joined: 22 Aug 2012, 06:33
Noob?: No

Re: SmokeRO. Server has denied your connection

#6 Post by FTLY Bot »

Using serverType 8_1 properly recognizes skill names and statuses such as buffs but recognizes monsters as NPC that's why it doesnt' attack the monsters

isjan
Noob
Noob
Posts: 17
Joined: 22 May 2014, 09:28
Noob?: Yes
Location: Singapore

Re: SmokeRO. Server has denied your connection

#7 Post by isjan »

So we still need to figure out whats the correct server info despite the fact the PE viewer date stamp shows Oct 25, 2011

FTLY Bot
Human
Human
Posts: 24
Joined: 22 Aug 2012, 06:33
Noob?: No

Re: SmokeRO. Server has denied your connection

#8 Post by FTLY Bot »

I think that is what we need to do . I've sent you a private message on this matter . We can talk about there to avoid the delays of the replies in this post .

User avatar
SkylorD
Moderators
Moderators
Posts: 1166
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: SmokeRO. Server has denied your connection

#9 Post by SkylorD »

You should create a new serverType.

Paste in notepad and save as "RagexeRE_2011_10_25a.pm"

Send this file to src>>network>>send>>kRO>>RagexeRE_2011_10_25a.pm

Code: Select all

#########################################################################
#  OpenKore - Packet sending
#  This module contains functions for sending packets to the server.
#
#  This software is open source, licensed under the GNU General Public
#  License, version 2.
#  Basically, this means that you're allowed to modify and distribute
#  this software. However, if you distribute modified versions, you MUST
#  also distribute the source code.
#  See http://www.gnu.org/licenses/gpl.html for the full license.
########################################################################
package Network::Send::kRO::RagexeRE_2011_10_25a;

use strict;
use base qw(Network::Send::kRO::RagexeRE_2011_10_05a);

sub new {
	my ($class) = @_;
	my $self = $class->SUPER::new(@_);

	my %packets = (
		'0887' => ['friend_request', 'a*', [qw(username)]],#26
		'023B' => ['homunculus_command', 'v C', [qw(commandType, commandID)]],#5
		'08AB' => ['storage_password'],
		'08A8' => ['party_join_request_by_name', 'Z24', [qw(partyName)]],#26
		'0363' => ['map_login', 'a4 a4 a4 V C', [qw(accountID charID sessionID tick sex)]],#19
		'0368' => ['actor_name_request', 'a4', [qw(ID)]],#6
		'0369' => ['actor_action', 'a4 C', [qw(targetID type)]], 
		'08AD' => ['actor_info_request', 'a4', [qw(ID)]],
		'02C4' => ['skill_use', 'v2 a4', [qw(lv skillID targetID)]],#10 
		'0437' => ['character_move', 'a3', [qw(coords)]],#5	
		'0835' => ['item_take', 'a4', [qw(ID)]],
		'0893' => ['item_drop', 'v2', [qw(index amount)]],
		'0366' => ['skill_use_location', 'v4', [qw(lv skillID x y)]],
		'0887' => ['friend_request', 'a*', [qw(username)]],# len 26
		'035F' => ['sync', 'V', [qw(time)]],
		'0815' => ['actor_look_at', 'v C', [qw(head body)]],#5
	);
	$self->{packet_list}{$_} = $packets{$_} for keys %packets;

	
	my %handlers = qw(
	friend_request 0887
	homunculus_command 023B
	storage_password 08AB
	party_join_request_by_name 08A8
	map_login 0363
	actor_name_request 0368
	actor_action 0369
	actor_info_request 08AD
	skill_use 02C4
	character_move 0437
	item_take 0835
	item_drop 0893
	skill_use_location 0366
	friend_request 0887
	sync 035F
	actor_look_at 0815
	);
	
	$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;

	$self;
}





1;
Receive, same name , but you need to save it in src>>network>>receive>>kRO>>RagexeRE_2011_10_25a.pm

Code: Select all

#########################################################################
#  OpenKore - Packet Receiveing
#  This module contains functions for Receiveing packets to the server.
#
#  This software is open source, licensed under the GNU General Public
#  License, version 2.
#  Basically, this means that you're allowed to modify and distribute
#  this software. However, if you distribute modified versions, you MUST
#  also distribute the source code.
#  See http://www.gnu.org/licenses/gpl.html for the full license.
########################################################################
# Korea (kRO)
# The majority of private servers use eAthena, this is a clone of kRO

package Network::Receive::kRO::RagexeRE_2011_10_25a;

use strict;
use base qw(Network::Receive::kRO::RagexeRE_2011_10_05a);

1;

=pod
//2011-10-05aRagexeRE
0x01FD,15,repairitem,2
0x0835,26,friendslistadd,2
0x0885,5,hommenu,2:4
0x089B,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
0x083C,26,partyinvite2,2
0x0436,19,wanttoconnection,2:6:10:14:18
0x07EC,7,actionrequest,2:6
0x02C4,10,useskilltoid,2:4:6
0x0439,8,useitem,2:4
0x0889,-1,itemlistwindowselected,2:4:8
0x0361,18,bookingregreq,2:4:6
0x0803,4
0x0804,14,bookingsearchreq,2:4:6:8:12
0x0805,-1
0x0806,2,bookingdelreq,0
0x0807,4
0x0808,14,bookingupdatereq,2
0x0809,50
0x080A,18
0x080B,6
0x0365,-1,reqopenbuyingstore,2:4:8:9:89
0x0817,2,reqclosebuyingstore,0
0x035F,6,reqclickbuyingstore,2
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0202,2,searchstoreinfonextpage,0
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0437,5,walktoxy,2
0x0367,6,ticksend,2
0x0815,5,changedir,2:4
0x08A7,6,takeitem,2
0x023B,6,dropitem,2:4
0x08A4,8,movetokafra,2:4
0x0802,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x0887,6,getcharnamerequest,2
0x0368,6,solvecharname,2
0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
=cut
Test...

Recvpackets : http://pastebin.com/uAZTu4Ez
[SmokeRO]
ip 128.199.216.169
port 6900
master_version 14
version 28
serverType kRO_RagexeRE_2011_10_25a
recvpackets XXX.txt
charBlockSize 144
http://rathena.org/board/topic/71672-re ... om-server/

I used ragexe 2011_11_24a as base. After some errors, i changed for 2011_10_05a.

Here's working now... :D :lol:

I don't know if there's a patch like this. If there's, my apologies.
If not, now have.

Dude, i did this (Send/kRO/RagexeRE_2011_11_22a) :

Code: Select all

0x01FD,15,repairitem,2
+0x0891,26,friendslistadd,2
+0x089E,5,hommenu,2:4
0x0364,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
+0x0895,26,partyinvite2,2
+0x0835,19,wanttoconnection,2:6:10:14:18
+0x022D,7,actionrequest,2:6
+0x08A1,10,useskilltoid,2:4:6
+0x0439,8,useitem,2:4
0x0369,-1,itemlistwindowselected,2:4:8
0x0202,18,bookingregreq,2:4:6
0x0803,4
0x0804,14,bookingsearchreq,2:4:6:8:12
0x0805,-1
0x0806,2,bookingdelreq,0
0x0807,4
0x0808,14,bookingupdatereq,2
0x0809,50
0x080A,18
0x080B,6
0x0887,-1,reqopenbuyingstore,2:4:8:9:89
0x08A9,2,reqclosebuyingstore,0
0x088C,6,reqclickbuyingstore,2
0x089D,-1,reqtradebuyingstore,2:4:8:12
0x07EC,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0815,2,searchstoreinfonextpage,0
0x0366,12,searchstoreinfolistitemclick,2:6:10
+0x0892,5,walktoxy,2
+0x0899,6,ticksend,2
+0x0896,5,changedir,2:4
+0x0893,6,takeitem,2
+0x0436,6,dropitem,2:4
+0x08A4,8,movetokafra,2:4
+0x0362,8,movefromkafra,2:4
+0x08AD,10,useskilltopos,2:4:6:8
0x0363,90,useskilltoposinfo,2:4:6:8:10
+0x0898,6,getcharnamerequest,2
+0x035F,6,solvecharname,2
0x0907,5,moveitem,2:4
0x0908,5
0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
And replaced by : http://rathena.org/board/topic/71672-re ... om-server/
//2011-10-25aRagexeRE

Code: Select all

//2011-10-25aRagexeRE

0x01FD,15,repairitem,2

0x0887,26,friendslistadd,2
So 0887 = friend_request #26 len

And need to reconstruct the packet :

my %handlers = qw(
friend_request 0887
.......
);

I believe you'll receive some packet unparsed or parser. or maybe no.
Learn rules

User avatar
4epT
Developers
Developers
Posts: 617
Joined: 30 Apr 2008, 14:17
Noob?: No
Location: Moskow (Russia)
Contact:

Re: SmokeRO. Server has denied your connection

#10 Post by 4epT »

it's wrong?

Code: Select all

'02C4' => ['skill_use', 'v2 a4', [qw(lv skillID targetID)]],#10
'0815' => ['actor_look_at', 'v C', [qw(head body)]],#5
must:

Code: Select all

'07EC' => ['skill_use', 'v2 a4', [qw(lv skillID targetID)]],#10
'0894' => ['actor_look_at', 'v C', [qw(head body)]],#5
All my posts are made by machine translator!
¤ Manual ¤ Anti BotKiller ¤ Packet Extractor v3 ¤
Image
Image

Locked