OpenKore / openkore

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

Unable to connect to server - Official Vietnam Ragnarok (server uses nProtect Gameguard) #3440

Closed chrislong93 closed 3 years ago

chrislong93 commented 3 years ago

------------------ Openkore Issues Template ------------------

image

I tried using Poseidon server also but the clientinfo.xml extracted using GRF is not similar to a clientinfo.xml template

<clientinfo>
    <servicetype>vietnam</servicetype>
    <servertype>primary</servertype>
    <passwordencrypt></passwordencrypt>
    <hideaccountlist></hideaccountlist>
    <extendedslot></extendedslot>

    <connection>
        <display>Vietnam Live</display>
        <desc>None</desc>
        <domain>roacc1.vtcgame.vn:6900</domain>
        <port>6900</port>
        <version>1</version>
        <registrationweb>http://www.ragnarok.co.kr</registrationweb>
        <aid>
            <admin>100001</admin><admin>100002</admin><admin>100003</admin><admin>100004</admin><admin>100005</admin><admin>100006</admin><admin>100007</admin><admin>100008</admin>
            <admin>100009</admin><admin>100010</admin><admin>100011</admin><admin>100012</admin><admin>100013</admin><admin>100014</admin><admin>100015</admin><admin>100016</admin>
            <admin>100017</admin><admin>100018</admin><admin>100019</admin><admin>100020</admin>

        </aid>
    </connection>

</clientinfo>

This server uses a custom client where you login ID & PW using a Patcher-like window, then the game will show up where you choose server & character. This was my steps using Wireshark:

1) IP & Port

image

2) Version & Master_version: Following TCP Stream I get this

image

I assume that the 1st line is version (from Hex 01 to Decimal: 1)

3rd line is master_version (from Hex 61 to Decimal: 97)

Then I stuck at Timeout on Account Server.

Other things I have tried but does not work:

Please help or advice where you can. Thank you very much everyone!

Let me know if you need to official game download link or the exe file uploaded.

TheSunShower commented 3 years ago

Please help me, it disconnect

It's not a disconnect. It's a crash when you set the AI to follow mode, caused by Routing issue. There should be an error.txt file with a crash log looking like this

Error message: Invalid Coordinates argument.

Stack trace: Trace begun at src\Task\Route.pm line 105 Task::Route::new('Task::Route', 'field', 'Field=HASH(0x78e6e04)', 'actor', 'Actor::You=HASH(0x4166574)', 'x', undef, 'y', undef, 'maxDistance', undef, 'maxTime', undef, 'distFromGoal', 1, 'pyDistFromGoal', undef, 'notifyUponArrival', undef, 'avoidWalls', undef) called at src\Actor.pm line 769 Actor::route('Actor::You=HASH(0x4166574)', undef, undef, undef, 'distFromGoal', 1) called at src\AI.pm line 538 AI::ai_route(undef, undef, undef, 'distFromGoal', 1) called at src\AI.pm line 285 AI::ai_partyfollow at src\AI\CoreLogic.pm line 2594 AI::CoreLogic::processFollow at src\AI\CoreLogic.pm line 159 AI::CoreLogic::iterate at src\functions.pl line 880 main::mainLoop_initialized at src\functions.pl line 75 main::mainLoop at src\Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x4e86ee4)') called at openkore.pl line 97 main::__start at start.pl line 136

Died at this line:

alisonrag commented 3 years ago

Please help me, it disconnect

It's not a disconnect. It's a crash when you set the AI to follow mode, caused by Routing issue. There should be an error.txt file with a crash log looking like this

Error message: Invalid Coordinates argument.

Stack trace: Trace begun at src\Task\Route.pm line 105 Task::Route::new('Task::Route', 'field', 'Field=HASH(0x78e6e04)', 'actor', 'Actor::You=HASH(0x4166574)', 'x', undef, 'y', undef, 'maxDistance', undef, 'maxTime', undef, 'distFromGoal', 1, 'pyDistFromGoal', undef, 'notifyUponArrival', undef, 'avoidWalls', undef) called at src\Actor.pm line 769 Actor::route('Actor::You=HASH(0x4166574)', undef, undef, undef, 'distFromGoal', 1) called at src\AI.pm line 538 AI::ai_route(undef, undef, undef, 'distFromGoal', 1) called at src\AI.pm line 285 AI::ai_partyfollow at src\AI\CoreLogic.pm line 2594 AI::CoreLogic::processFollow at src\AI\CoreLogic.pm line 159 AI::CoreLogic::iterate at src\functions.pl line 880 main::mainLoop_initialized at src\functions.pl line 75 main::mainLoop at src\Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x4e86ee4)') called at openkore.pl line 97 main::__start at start.pl line 136

Died at this line:

  • if (!defined $args{x} || !defined $args{y} || $args{x} < 0 || $args{y} < 0) { ArgumentException->throw(error => "Invalid Coordinates argument.");

seems like master $char->{party}{users}{$master{id}}{pos}{x} is not defined. it always happen or only happens when change map / lost master?

alisonrag commented 3 years ago

image Please help me, it disconnect

the error auto explain what you need to do... go to control/sys.txt and add vRO_auth to loadPlugins_list

abc9900 commented 3 years ago

Please help me, it disconnect

It's not a disconnect. It's a crash when you set the AI to follow mode, caused by Routing issue. There should be an error.txt file with a crash log looking like this Error message: Invalid Coordinates argument. Stack trace: Trace begun at src\Task\Route.pm line 105 Task::Route::new('Task::Route', 'field', 'Field=HASH(0x78e6e04)', 'actor', 'Actor::You=HASH(0x4166574)', 'x', undef, 'y', undef, 'maxDistance', undef, 'maxTime', undef, 'distFromGoal', 1, 'pyDistFromGoal', undef, 'notifyUponArrival', undef, 'avoidWalls', undef) called at src\Actor.pm line 769 Actor::route('Actor::You=HASH(0x4166574)', undef, undef, undef, 'distFromGoal', 1) called at src\AI.pm line 538 AI::ai_route(undef, undef, undef, 'distFromGoal', 1) called at src\AI.pm line 285 AI::ai_partyfollow at src\AI\CoreLogic.pm line 2594 AI::CoreLogic::processFollow at src\AI\CoreLogic.pm line 159 AI::CoreLogic::iterate at src\functions.pl line 880 main::mainLoop_initialized at src\functions.pl line 75 main::mainLoop at src\Interface.pm line 75 Interface::mainLoop('Interface::Console::Win32=HASH(0x4e86ee4)') called at openkore.pl line 97 main::__start at start.pl line 136 Died at this line:

  • if (!defined $args{x} || !defined $args{y} || $args{x} < 0 || $args{y} < 0) { ArgumentException->throw(error => "Invalid Coordinates argument.");

seems like master $char->{party}{users}{$master{id}}{pos}{x} is not defined. it always happen or only happens when change map / lost master?

It's always happen when idle, if master always active (moving/attacking...), kore will be ok. And when master inactive (sitting or simply do nothing), kore will disconnect after few sec.

Mage attack skill do not work, you can use it by console command, but can't do anything in config (i already changed all name/MG_FIREBOLT/FIRE BOLT/HoТa TiкЮn.....

ClarkNguyen commented 3 years ago

you guys can use skill ID in tables/SKILL_id_handle.txt instead skill name, it's work

ya4ept commented 3 years ago

I checked, buyAuto works without problems!

auto-disconnected and skill usage were corrected here: #3460

TheSunShower commented 3 years ago

I checked, buyAuto works without problems!

auto-disconnected and skill usage were corrected here: #3460

Can confirm autobuy/sell/storage works with out problem since the original post I made.

However, even when using the #3460 branch it doesn't stop the disconnecting problem. It helps with the relog though because no more stacking relog timer.

Pureaznangel commented 3 years ago

Me, too.

On Tue, Jul 13, 2021, 13:00 TheSunShower @.***> wrote:

I checked, buyAuto works without problems!

auto-disconnected and skill usage were corrected here: #3460 https://github.com/OpenKore/openkore/pull/3460

Can confirm autobuy/sell/storage works with out problem since the original post I made.

However, even when using the #3460 https://github.com/OpenKore/openkore/pull/3460 branch it doesn't stop the disconnecting problem. It helps with the relog though because no more stacking relog timer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenKore/openkore/issues/3440#issuecomment-878802926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3563TP4OEXKAJW6ELK6ILTXPJATANCNFSM46HNWDVQ .

chumlacklx commented 3 years ago

image Disconnect occur oftenly may be due to server had new updates this morning

TheSunShower commented 3 years ago

Disconnect occur oftenly may be due to server had new updates this morning

I was talking about the original disconnecting issue with the VTC token expiring and stacking timers. Refer to @PhiLongXP comment for more information.

chrislong93 commented 3 years ago

I checked, buyAuto works without problems! auto-disconnected and skill usage were corrected here: #3460

Can confirm autobuy/sell/storage works with out problem since the original post I made.

However, even when using the #3460 branch it doesn't stop the disconnecting problem. It helps with the relog though because no more stacking relog timer.

hmm weird I couldnt do autobuy with yesterday's master but I just downloaded the master again, the whole thing, and autobuy works.

However, I get disconnected every 2 minutes? Did something happen during this morning's maintenance?

TheSunShower commented 3 years ago

However, I get disconnected every 2 minutes? Did something happen during this morning's maintenance?

There are new files on the clients.

2021-07-13_live_data_124_124_1626097296.gpf 2021-07-13_live_data_124_124_1626097296.rgz 2021-07-13_live_data_126_126_1626104523.gpf 2021-07-13_live_data_127_127_1626145146.gpf

farsmile90 commented 3 years ago

However, I get disconnected every 2 minutes? Did something happen during this morning's maintenance?

There are new files on the clients.

2021-07-13_live_data_124_124_1626097296.gpf 2021-07-13_live_data_124_124_1626097296.rgz 2021-07-13_live_data_126_126_1626104523.gpf 2021-07-13_live_data_127_127_1626145146.gpf

Is there any solution to fix disconnected every 1 min ?

chrislong93 commented 3 years ago

image

Debug

sctnightcore commented 3 years ago

Discord server :p https://discord.gg/mPYvkJg7Du

hailua28 commented 3 years ago

abc How about this error?

TheSunShower commented 3 years ago

How about this error?

The stacking timer was fixed in #3460 but not in master yet.

chumlacklx commented 3 years ago

Anyone have idea how to fix disconnect every 1 min ?

chrislong93 commented 3 years ago

Discord server :p https://discord.gg/mPYvkJg7Du

@nqtoan86 need you to join us in the discussion

chumlacklx commented 3 years ago

Anyone help with usually disconnect every 30second plz :v

royalgarter commented 3 years ago

Anyone help with usually disconnect every 30second plz :v

@chumlacklx Flushing this thread won't help in any mean. Instead let's give our developers some detail clues if you have any.

chumlacklx commented 3 years ago

However, I get disconnected every 2 minutes? Did something happen during this morning's maintenance?

There are new files on the clients.

2021-07-13_live_data_124_124_1626097296.gpf 2021-07-13_live_data_124_124_1626097296.rgz 2021-07-13_live_data_126_126_1626104523.gpf 2021-07-13_live_data_127_127_1626145146.gpf

Anyone help with usually disconnect every 30second plz :v

@chumlacklx Flushing this thread won't help in any mean. Instead let's give our developers some detail clues if you have any.

image There are someone who found some new on updates change on 13 July. May be those files cause disconnect frequently.

ya4ept commented 3 years ago

It has nothing to do with protection: 2021-07-13_live_data_124_124_1626097296.gpf: idnum2itemresnametable.txt num2itemresnametable.txt 2021-07-13_live_data_124_124_1626097296.rgz System\iteminfo.lub 2021-07-13_live_data_126_126_1626104523.gpf questid2display.txt 2021-07-13_live_data_127_127_1626145146.gpf manner.txt

hailua28 commented 3 years ago

abc1 Can you give a simple guide?

ya4ept commented 3 years ago

https://openkore.com/wiki/Main_Page image

ClarkNguyen commented 3 years ago

@ya4ept do you have any idea why disconnected from map server happen every one minute? Maybe they implement some ping pong mechanism to keep accessToken alive in the client?

hailua28 commented 3 years ago

@ ya4ept bạn có biết tại sao cứ sau một phút lại bị ngắt kết nối với máy chủ bản đồ không? Có thể họ thực hiện một số cơ chế bóng bàn để giữ accessToken tồn tại trong máy khách?

Có xài Zalo không bạn cho mình xin Zalo để hỏi 1 chút nha !

sctnightcore commented 3 years ago

Discord server :p https://discord.gg/mPYvkJg7Du

ping

ya4ept commented 3 years ago

@ClarkNguyen they just turned on nProtect, until this moment it did not work:

image

OpenKore should respond to the request for 09CF or will be disabled. For this we need to fix Poseidon

Pureaznangel commented 3 years ago

Thanks for the useful information. This helps a lot.

On Wed, Jul 14, 2021, 16:39 ya4ept @.***> wrote:

@ClarkNguyen https://github.com/ClarkNguyen they just turned on nProtect, until this moment it did not work:

[image: image] https://user-images.githubusercontent.com/7117363/125600005-48e582db-e18f-41a6-a845-c349b4c1767e.png

OpenKore should respond to the request for 09CF or will be disabled. For this we need to fix Poseidon

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenKore/openkore/issues/3440#issuecomment-879748821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3563XXZAPFL3FWDOL3EU3TXVLLVANCNFSM46HNWDVQ .

TheSunShower commented 3 years ago

I can confirm that with the update on 13/07/2020 VTC turned on Gameguard so now please follow below instruction to start botting without getting disconnected.

Note that one PC can only run one Openkore. OpenKore/Poseidon should be run on VM while Ragexe client should be run natively because nProtect hate VM and nProtect detect OpenKore. Running multiple OpenKore on one machine resulting in them all disconnecting at once.

https://openkore.com/wiki/Main_Page image

At the moment everything are functional but it's quite limited as one bot per PC.

needHelp99 commented 3 years ago

i downloaded the latest version of Openkore, and opened Poseidon -> Openkore on a separate virtual machine. But it keeps losing connection. (This virtual machine does not install vRO of VTC, only Openkore, only one Openkore) please support me. Thanks for reading.

hailua28 commented 3 years ago

Tôi có thể xác nhận rằng với bản cập nhật ngày 13/07/2020 VTC đã bật Gameguard nên bây giờ hãy làm theo hướng dẫn dưới đây để bắt đầu bot mà không bị ngắt kết nối.

Lưu ý rằng một PC chỉ có thể chạy một Openkore. OpenKore / Poseidon nên được chạy trên VM trong khi ứng dụng khách Ragexe phải được chạy nguyên bản vì nProtect ghét VM và nProtect phát hiện OpenKore. Chạy nhiều OpenKore trên một máy dẫn đến tất cả chúng đều bị ngắt kết nối cùng một lúc.

https://openkore.com/wiki/Main_Page hình ảnh

Hiện tại, mọi thứ đều hoạt động nhưng nó khá hạn chế vì một bot trên mỗi PC.

abc2 I am still stuck in this error.

alisonrag commented 3 years ago

I am still stuck in this error.

the error auto explain what you need to do... go to control/sys.txt and add vRO_auth to loadPlugins_list

ClarkNguyen commented 3 years ago

@alisonrag current ragexe need be launch with the launcher, can't executable as standalone, how can I input "1rag1 /account:poseidon.xml" as parameter for ragexe?

ClarkNguyen commented 3 years ago

@hailua28

  1. Go to control folder, find sys.txt then open it with notepad.
  2. Find loadPlugins_list and add vRO_auth at the end of line. Example: loadPlugins_list macro,profiles,breakTime,raiseStat,raiseSkill,map,reconnect,eventMacro,item_weight_recorder,xconf,vRO_auth
TheSunShower commented 3 years ago

This is getting out of hand so just letting you know this is an issue discussion with VRO server not tech support to teach you how to use OpenKore. Join the discord link https://discord.gg/mPYvkJg7Du and select vro_vietnam chat for help. Don't do it here.

If you got the OpenKore working but something else came up feel free to post it here. If you couldn't even get the bot running please check out tutorial, or visit the discord for help.

chumlacklx commented 3 years ago

Finally vRO like cRO must use poseidon to bot. That is unhappy information :(

TheSunShower commented 3 years ago

OpenKore crash if it goes online before "followTarget" and try to route to target positon after "followTarget" go online. Suggestion to set bot to idle instead, or set "followTarget" position after target go online to avoid crashing.

wxstart cause any party command to force disconnection. Trade command works fine so I think it's just the issue with Party command.

hiepsichim commented 3 years ago

Disconnected from Map Server, connecting to Account Server in 44 seconds... Help me please :(

maichoi9x commented 3 years ago

Finally vRO like cRO must use poseidon to bot. That is unhappy information :(

ông ơi ông bot dc chưa.chỉ tôi với add zalo dc ko 0973578038 tôi tìm fb ông ko dc fb tôi : Hưng Ngô

maichoi9x commented 3 years ago

@hailua28

  1. Go to control folder, find sys.txt then open it with notepad.
  2. Find loadPlugins_list and add vRO_auth at the end of line. Example: loadPlugins_list macro,profiles,breakTime,raiseStat,raiseSkill,map,reconnect,eventMacro,item_weight_recorder,xconf,vRO_auth

ông ơi ông bot dc chưa.chỉ tôi với add zalo dc ko 0973578038 fb tôi : Hưng Ngô

ya4ept commented 3 years ago

@maichoi9x use only english please!

hiepsichim commented 3 years ago

@ya4ept Disconnected from Map Server, connecting to Account Server in 44 seconds... Can you explain it, please :(

maichoi9x commented 3 years ago

@maichoi9x use only english please!

sr i'm not speak english well ^^!

maichoi9x commented 3 years ago

@ya4ept Disconnected from Map Server, connecting to Account Server in 44 seconds... Can you explain it, please :(

add zalo help me pls 0973578038

hailua28 commented 3 years ago

hi @ya4ept

How to solve this problem ! abc 2

hailua28 commented 3 years ago

@ya4ept abc 3

chumlacklx commented 3 years ago

hi @ya4ept

How to solve this problem ! abc 2

Server has turned on Gameguard so you coudn’t run normally bot but poseidon can. Try the follow step on openkore main page and do step to step as guided

maichoi9x commented 3 years ago

chào @ ya4ept Làm thế nào để giải quyết vấn đề này ! abc 2

Máy chủ đã bật Gameguard nên bạn không thể chạy bot bình thường nhưng poseidon thì có thể. Hãy thử làm theo bước trên trang chính của openkore và thực hiện từng bước theo hướng dẫn

poseidon pls ... how to use it