Openkore cannot detect a particular character of mine.

International

Moderator: Moderators

Message
Author
shashadwag
Noob
Noob
Posts: 5
Joined: 24 Dec 2012, 13:42
Noob?: No

Openkore cannot detect a particular character of mine.

#1 Post by shashadwag »

I have updated my openkore/have downloaded the latest.I have 9 characters in my account and the last character which i have created cannot be detected by openkore,first i thought it was the slot which was not being detected,but then i even switched the slots,still it is not able to detect.I have checked on char block sizes,still not solved.

User avatar
ChrstphrR
Testers Team
Testers Team
Posts: 42
Joined: 09 May 2010, 17:30
Noob?: No
Location: Northern Alberta, Canada

Re: Openkore cannot detect a particular character of mine.

#2 Post by ChrstphrR »

Sorry for the late reply, but this should now be fixed.

I added revision 8857 to the svn repository which extends the fix for twRO for this same issue, so that it solves it for iRO (and makes it easier for other serverTypes to adapt and fix the same issue in the future).

Tested on my own account that has WAY more than 3 characters, that was stuck at the character selection server for many months. Please test this fix and confirm.
Revision: 8857
http://sourceforge.net/p/openkore/code/8857
Author: chrstphrr
Date: 2014-03-30 19:09:00 +0000 (Sun, 30 Mar 2014)
Log Message:
-----------
Affects only src/Network/Receive/ServerType0.pm
Changes:
Modified sub received_characters so that iRO supports the newer 099D packet, like twRO. Changed comparison to a match in a list, so that when we discover more serverTypes support this packet, they can be easily added.
This change allows iRO to support more than 3 character slots when multiple 099D packets are sent from the server.

Benign changes:

Added comment header to sub shop_sold
Added comment header to sub skill_use_location

Modified Paths:
--------------
openkore/trunk/src/Network/Receive/ServerType0.pm

Modified: openkore/trunk/src/Network/Receive/ServerType0.pm
===================================================================
--- openkore/trunk/src/Network/Receive/ServerType0.pm 2014-03-29 20:24:10 UTC (rev 8856)
+++ openkore/trunk/src/Network/Receive/ServerType0.pm 2014-03-30 19:09:00 UTC (rev 8857)
@@ -4413,7 +4413,11 @@
}

# FIXME better support for multiple received_characters packets
- if ($args->{switch} eq '099D' && $masterServer->{serverType} eq 'twRO') {
+ ## Note to devs: If other official servers support > 3 characters, then
+ ## you should add these other serverTypes to the list compared here:
+ if (($args->{switch} eq '099D') &&
+ ($masterServer->{serverType} ~~ ['twRO', 'iRO'])
+ ) {
$net->setState(1.5);
if ($charSvrSet{sync_CountDown} && $config{'XKore'} ne '1') {
$messageSender->sendToServer($messageSender->reconstruct({switch => 'sync_received_characters'}));
@@ -4744,6 +4748,8 @@
$args->{spirit}, $args->{undead}), "list";
}

+# Your shop has sold an item
+# Need a hook.
sub shop_sold {
my ($self, $args) = @_;

@@ -5040,6 +5046,10 @@
});
}

+
+# Skill used on a set of map tile coordinates.
+# Examples: Warp Portal/Teleport, Bard/Dancer skills, etc.
+#
sub skill_use_location {
my ($self, $args) = @_;

Post Reply