Hi,
I'm having two problems with Xkore 2.
The first is that the Xkore_ID in config.txt isn't working the server name is always Ragnarok Online.
An the second problem is that my server allows ascii in name, so my char name has a · in the name, My name is displayed wrong in the info panel and I can't send pm's cause my name will show as ·nome·
2.0.6 | Xkore 2 Bugs
Moderators: Moderators, Developers
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: 2.0.6 | Xkore 2 Bugs
There is no Xkore_ID in the source code either, i guess that config option got depreciated.
Give some more info on the 2nd problem, your description is very vague.
Are you trying to send a pm trough openkore or trough the ragnarok online client?
What do you mean by info pannel? The servers control pannel?
[EDIT]
hmm i think that someone forgot to put in Xkore_ID in XKore2.pm
altough, this option is only used for the naming of screenshots and such here is the patch:
I do not agree on the naming of the config option tough, since its not possible to do in XKore 1.
Give some more info on the 2nd problem, your description is very vague.
Are you trying to send a pm trough openkore or trough the ragnarok online client?
What do you mean by info pannel? The servers control pannel?
[EDIT]
hmm i think that someone forgot to put in Xkore_ID in XKore2.pm
altough, this option is only used for the naming of screenshots and such here is the patch:
I do not agree on the naming of the config option tough, since its not possible to do in XKore 1.
Code: Select all
Index: XKore2.pm
===================================================================
--- XKore2.pm (revision 6583)
+++ XKore2.pm (working copy)
@@ -48,7 +48,8 @@
serverType => $config{serverType},
rpackets => \%rpackets,
mapServer => $mapServer,
- sessionStore => $sessionStore
+ sessionStore => $sessionStore,
+ name => $config{XKore_ID}
);
$accountServer = new Network::XKore2::AccountServer(
host => $publicIP,
Last edited by Technology on 03 Nov 2008, 18:48, edited 3 times in total.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
Re: 2.0.6 | Xkore 2 Bugs
The name bug seems like XKore is using $char->name() instead of $char->{name} as someone was having the same problem in another thread (which I trashed because they ignored my help).
cs : ee : realist
Re: 2.0.6 | Xkore 2 Bugs
Here is a screenshot of the problem.
I'm tring to send a pm trough the ragnarok online client.
The info panel that I'm talking about is in the upper right of the screen it displays my name HP SP etc.
I'm tring to send a pm trough the ragnarok online client.
The info panel that I'm talking about is in the upper right of the screen it displays my name HP SP etc.
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: 2.0.6 | Xkore 2 Bugs
in src\Base\Ragnarok\CharServer.pm >> sub process_0065 >>
no encoding 'utf8';
use bytes;
...
$char->{name};
When use bytes is in effect, the encoding is temporarily ignored, and each string is treated as a series of bytes.
For that ASCII character in your name:
Unicode code point: U+00B7
character: ·
UTF-8 (hex.): c2 b7
name : MIDDLE DOT
So, first it displays C2 (as 1rst part of the UTF-8 in hex) as being U+00C2 (in Unicode) or  (LATIN CAPITAL LETTER A WITH CIRCUMFLEX)
secondly it displays B7 (as 2nd part of that UTF-8 in hex) as being U+00B7 (in Unicode) or · (MIDDLE DOT)
Basically, this name is in UTF-8, but we tell kore not to use UTF-8... hmm
on a sidenote:
Can you PM someone ingame trough the RO client normally? (without xkore2)
no encoding 'utf8';
use bytes;
...
$char->{name};
When use bytes is in effect, the encoding is temporarily ignored, and each string is treated as a series of bytes.
For that ASCII character in your name:
Unicode code point: U+00B7
character: ·
UTF-8 (hex.): c2 b7
name : MIDDLE DOT
So, first it displays C2 (as 1rst part of the UTF-8 in hex) as being U+00C2 (in Unicode) or  (LATIN CAPITAL LETTER A WITH CIRCUMFLEX)
secondly it displays B7 (as 2nd part of that UTF-8 in hex) as being U+00B7 (in Unicode) or · (MIDDLE DOT)
Basically, this name is in UTF-8, but we tell kore not to use UTF-8... hmm
on a sidenote:
Can you PM someone ingame trough the RO client normally? (without xkore2)
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
Re: 2.0.6 | Xkore 2 Bugs
Thanks for your explanation it was realy helpfull, now I can understand what`s happening.
Yes I can pm other people in game trough the RO client without xkore2, I play in bRO and you can create a char name with ascii without client modification, I think it`s because we use caracters like ã,é,ì,ô in portuguese.
Edit:
I tested the patch and it`s working thanks!
Yes I can pm other people in game trough the RO client without xkore2, I play in bRO and you can create a char name with ascii without client modification, I think it`s because we use caracters like ã,é,ì,ô in portuguese.
Edit:
I tested the patch and it`s working thanks!
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: 2.0.6 | Xkore 2 Bugs
xkore 2 related, this feature is unsupported atm.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!