OpenKore / openkore

A free/open source client and automation tool for Ragnarok Online
http://openkore.com
Other
1.29k stars 1.05k forks source link

Xkore2 = character error #695

Closed Zexeta closed 7 years ago

Zexeta commented 7 years ago

When using xkore 2 im getting character size errors. I tried different server versions and charactersizes but the best i could get is it to show a character of the opposite sex then disconnect soon as i selected it. Did anyone get this to actually work yet?

kaliwanagan commented 7 years ago

would be nice if you finally realize the ro server you're playing at isn't the only ro server out there :)

Zexeta commented 7 years ago

Fair enough, its iRO Odin, the new Re:start server. I have never had trouble getting xkore 2 working on other servers. I dont think the charblocksize n such people are giving out is actually correct?

kaliwanagan commented 7 years ago

Here's what you can do while someone who has an account in iRO Odin can help.

Download wireshark and capture packets coming and going. Follow the TCP conversation. Check the packet that comes with your character and count number of bytes it has.

You can do a cross check by setting debug on your config.txt so you can see the communication in openkore, which will help you highlight the corresponding packets in wireshark.

Zexeta commented 7 years ago

@kaliwanagan Is there a way i can private message you the packets?

kaliwanagan commented 7 years ago

better if you can do it yourself. then you don't have to depend on others to do it for you when you need them updated :)

Zexeta commented 7 years ago

Well i did do it and im getting 149 charblocksize which obviously didn't work so i apparently did something wrong. When i login with 147 charblocksize the char shows up the wrong gender and its location is unknown. It then disconnects soon as i try to load in.

kaliwanagan commented 7 years ago

try 145?

Zexeta commented 7 years ago

Sorry i meant 145 in the last post where i said 147.
145 = wrong sex, unknown location and disconnect 147 = char block error and can't even see the character.

Zexeta commented 7 years ago

Anyone have any suggestions on this? xkore1 is a laggy mess and causes my bot to die constantly zzzzzzz.

kaliwanagan commented 7 years ago

See if using power shell instead of double clicking start.exe will help.

Click on start, type powershell, then drag start.exe from openkore inside the powershell window, then press enter,

That should alleviate some if the lag (just a little bit)

kaliwanagan commented 7 years ago

So i created an account in iRO and it doesn't looks like a simple charBlockSize issue.

For now, xKore 1 and xKore 0 work properly; xKore 2 correctly connects to the server but isn't proxying the client properly.

kaliwanagan commented 7 years ago

So while xKore 2 doesn't work, xKore 3 (aka proxy) works.

This combines the features of both 1 and 2 where

This should give better performance than xKore 1. Try it out.

Zexeta commented 7 years ago

Yeah i am using 3 and its a bit better now. I just miss being able to run 4 or 5 bots then if someone screws with one of them or there is a problem i can open up the correct shortcut, login to the character through the client solve the problem and close the game again. Now i have to have the game open for each bot 100% of the time if i want to be able to do this sort of thing.

kaliwanagan commented 7 years ago

We'll look into it; it's a valid issue report but there really are very few devs right now that are free to help out. So no promises nor guarantees :(

ghost commented 7 years ago

Sir. It's a error that occurs only in private sv. not on official.

kaliwanagan commented 7 years ago

This is iRO restart. I can confirm the disconnection happens there after char server login.

I just fixed an issue with XKore 3 as well, it might be related.

ghost commented 7 years ago

Okay now the thing is come out. Since we have too a bug in 2013-15 servers using XKore2. I'll left this iRO problem to other. 'cause i can't test it. But for private i'll try to solve.

kaliwanagan commented 7 years ago

375 enabled some assertions added by EternalHarvest and it seems we have the culprits

(ss by @Henrybk ) https://i.gyazo.com/0a522b5744d8ed512c023447b097a6fa.png

17:12 < Henrybk> lastLoginIP and lastLoginTime are not defined
17:12 < Henrybk> by default
Zexeta commented 7 years ago

Hmm my kore never crashed like that when testing it. My client simply says disconnected after i try to select the character(wrong gender and unknown locaiton) and the bot itself continues running fine.

phamtrong204 commented 7 years ago

My case is same with @Zexeta, but my client show correct gender (unknown location)

tlinkin commented 7 years ago

bump :) sameas @Zexeta and @phamtrong204.

Wrong gender and unknown location, then disconnect at char select screen.

japs28 commented 7 years ago

My Girl account works well in xkore 2, but my Boy account got wrong gender and unknown location. IRO re:start

icewafu05 commented 7 years ago

@japs28 hi! how you manage to work xkore 2 on iRO Restart? please help.

alisonrag commented 7 years ago

working in this: char-server-xkore2-iro-restart map-server-xkore2-iro-restart

thinking about the best way to implement this in openkore, because this can be used by some private servers

c4c1n6kr3m1 commented 7 years ago

Don't forget to add ".gat" to map :)

Yakov-Chernogor commented 7 years ago

Any progress on that? Unknown area can be fixed by adding ".gat" to $field->baseName in src/Base/Ragnarok/CharServer.pm

alisonrag commented 7 years ago

@Naozumi2k

1287

alisonrag commented 7 years ago

fixed in #1287

jonlejonle commented 6 years ago

How to fix it? image I already change the XKore 0 to Xkore 1 see below image And I run the ragnarok see below image Please help me

alisonrag commented 6 years ago

@jonlejonle if openkore cant connect in xkore 0 your setting are wrong

jonlejonle commented 6 years ago

where to i find the setting to correct it, how to fix that with the setting of xkore 0