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.

alisonrag commented 3 years ago

Is this a official server? I never heard about this. Can you provide the website link so we can add to official server list?

farsmile90 commented 3 years ago

Hi chrislong93, my name Thi, and I'm stuck exactly like you (connected, but timeout...) , really need support ASAP pls!

chrislong93 commented 3 years ago

Is this a official server? I never heard about this. Can you provide the website link so we can add to official server list?

@alisonrag Hi there, thanks for noticing my post. It is an official server, right now its running a close beta week (until 12th of June) then will be open beta. Its officially distributed by VTC Games & Gravity in Vietnam.

I hope you guys can help in connecting to this server.

Website: https://ro.vtcgame.vn/ Download link: http://dl5.vtcgame.vn:8888/ragnarok/2021-06-07RO_CBT.exe

vclvclvn commented 3 years ago

shall we donate to encourage the developer. For me, it's fine. I'm willing to do so to have it done.

farsmile90 commented 3 years ago

Yeah, i love to donate if dev can make openkore run on VTC ragnarok. But let wait for the open beta first, now the server is close.

vclvclvn commented 3 years ago

they already do open beta. Could you help to check and make login config file?

ya4ept commented 3 years ago

image

Pureaznangel commented 3 years ago

It's ok! Try again now.

chumlacklx commented 3 years ago

Sever was open yesterday. Any developer success in finding sever address ? Plz reply and i can donate for you :)

Hello Chrislong, I'm vietnamese also =)) if you can plz contact and make friend via Facebook name Minh Triệu Đặng. I need a guild for vRO community

ya4ept commented 3 years ago

the server address is "roacc1.vtcgame.vn:6900", but it doesn't give anything

Pureaznangel commented 3 years ago

the server address is "roacc1.vtcgame.vn:6900", but it doesn't give anything

https://www.yougetsignal.com/tools/open-ports/ gives me result that port is opening on the server. I'll try another shot on this afternoon.

Thankx!

image

alisonrag commented 3 years ago

the server address is "roacc1.vtcgame.vn:6900", but it doesn't give anything

maybe ip block by region, here to login in other officials servers i need to use vpn

ya4ept commented 3 years ago

first prototype #3453

chumlacklx commented 3 years ago

sir ya4ept could you upload these file to openkore master plz ? i need to download zip file again for full features. I really don't know how to extract recvpackets.txt. Thank a lot !

sctnightcore commented 3 years ago

sir ya4ept could you upload these file to openkore master plz ? i need to download zip file again for full features. I really don't know how to extract recvpackets.txt. Thank a lot !

if u read #3453 .

it has all file :p

chumlacklx commented 3 years ago

how to create .pm file sir scrnightcore ? i attempt to use note pad to make .pm file is it ok ?

chumlacklx commented 3 years ago

image

still stuck :(

Pureaznangel commented 3 years ago

sir ya4ept could you upload these file to openkore master plz ? i need to download zip file again for full features. I really don't know how to extract recvpackets.txt. Thank a lot !

if u read #3453 .

it has all file Maybe I missed something but I could not find it, too. Please check.

chumlacklx commented 3 years ago

Anyone help with recvpacket.txt pls. It’s hard to extract i tried to use any tool helping extract on openkore ưiki but it doesn’t work

alisonrag commented 3 years ago

Anyone help with recvpacket.txt pls. It’s hard to extract i tried to use any tool helping extract on openkore ưiki but it doesn’t work

the client ragexe is packed with themida, need to find or make a unpacker, then try to extract recvpackets

ya4ept commented 3 years ago

all is ready!

chrislong93 commented 3 years ago

Anyone help with recvpacket.txt pls. It’s hard to extract i tried to use any tool helping extract on openkore ưiki but it doesn’t work

the client ragexe is packed with themida, need to find or make a unpacker, then try to extract recvpackets

Unpacking executable file packed with Themida is no smol task, it uses an extremely complex virtual machine environment combined with every anti-debug and anti-analysis trick in the books :(

TheSunShower commented 3 years ago

all is ready!

It's connected and botable now. However, autobuy caused disconnection, autosell works, and autostorage requires encryption key.

Lockmap sometime get stuck and requires reboot to work normally. Not sure if it is because of autosell.

ya4ept commented 3 years ago

@TheSunShower autosell is fixed: #3458 give me money for kafra, my name is kirama

chumlacklx commented 3 years ago

Glad to see everyone support on vRO. Thank so much

TheSunShower commented 3 years ago

Packet Parser: Unknown switch: 0918

Beginner's Fly Wing not recognized as a Fly Wing. Had to manually added as "teleportAuto_item1 Beginner's Fly Wing"

ya4ept commented 3 years ago

@TheSunShower how to get this package? use debugPacket_unparsed 2

ya4ept commented 3 years ago

storage fixed: #3458

c4c1n6kr3m1 commented 3 years ago

is it paid server? how to register ?

ya4ept commented 3 years ago

https://ro.vtcgame.vn/

TheSunShower commented 3 years ago

Auto attack works.

Self buff works.

Attack Skill require using names from referenced tables.

alisonrag commented 3 years ago

Auto attack works.

Self buff works.

Attack Skill doesn't work, it just stares at monsters. Config as followed:

Main Config:

attackAuto 2 attackDistance 8 attackUseWeapon 0 lockMap yuno_fild08

Skill Blocks:

attackSkillSlot Cold Bolt { lvl 10 dist 8 sp > 18 inLockOnly 1 notInTown 1 monsters Grand Peco }

attackSkillSlot Fire Bolt { lvl 10 dist 8 sp > 18 inLockOnly 1 notInTown 1 monsters Geographer }

seems like skills name are different, check: https://github.com/OpenKore/openkore/blob/master/tables/vRO/skillnametable.txt

type skills in console and try to use the same name, also try with: MG_FIREBOLT and MG_COLDBOLT

Pureaznangel commented 3 years ago

Use skill Id, instead. => Info => Skill to get one.

On Mon, Jul 12, 2021, 09:10 Alison @.***> wrote:

Auto attack works.

Self buff works.

Attack Skill doesn't work, it just stares at monsters. Config as followed:

Main Config:

attackAuto 2 attackDistance 8 attackUseWeapon 0 lockMap yuno_fild08

Skill Blocks:

attackSkillSlot Cold Bolt { lvl 10 dist 8 sp > 18 inLockOnly 1 notInTown 1 monsters Grand Peco }

attackSkillSlot Fire Bolt { lvl 10 dist 8 sp > 18 inLockOnly 1 notInTown 1 monsters Geographer }

seems like skills name are different, check:

https://github.com/OpenKore/openkore/blob/master/tables/vRO/skillnametable.txt

type skills in console and try to use the same name, also try with: MG_FIREBOLT and MG_COLDBOLT

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

TheSunShower commented 3 years ago

type skills in console and try to use the same name, also try with: MG_FIREBOLT and MG_COLDBOLT

Skill ID didn't work. These names works however.

Pureaznangel commented 3 years ago

Failed to gather Red Herb (6) : Timeout Gathering: Decayed Nail (8) You tried too long to move You tried too long to move You tried too long to move You tried too long to move Disconnected from Map Server, connecting to Account Server in 48 seconds...

Disconnection occurred serveral times.

chumlacklx commented 3 years ago

10FD561A-F403-4E78-846A-1ED431D9FF26

can’t tele although have fly wing in inventory

Pureaznangel commented 3 years ago

10FD561A-F403-4E78-846A-1ED431D9FF26

can’t tele although have fly wing in inventory

teleportAuto_useSkill 0 <=== if Teleport skill is unvailable

teleportAuto_item1 Beginner's Fly Wing <====== or anything else teleportAuto_item2

TheSunShower commented 3 years ago

The disconnection that happens frequently might be related to access token from VTC being timed out (No Msg 243)

On ROClient, a logout/login is required to restart a launcher with a timed out token

On OpenKore, need to physically close Terminal and relaunch OpenKore. If not it will gradually stack relog timer.

ya4ept commented 3 years ago

RO client can run longer than openkore without restarting? I need a test account with skills

TheSunShower commented 3 years ago

Example of disconnection on OpenKore

Connecting to Account Server... Connecting (roacc1.vtcgame.vn:6900)... connected Disconnecting (IP:6900)...disconnected The server has denied your connection for unknown reason (243).

this is the point where OpenKore cannot reconnect itself anymore.

ya4ept commented 3 years ago

try this #3459

PhiLongXP commented 3 years ago

try this #3459

Token is alive in 1 hour only, so renew when connect that should work.

Maybe this is ping-back send every 10 minutes. If there is no response in 3 times (resend every minute), will be disconnected from Map Server. image

playboyvntgn commented 3 years ago

@ya4ept I can't use auto storage because they need EncryptKey. Do you know EncryptKey of vRo server? I appreciate your help!

TheSunShower commented 3 years ago

I can't use auto storage because they need EncryptKey.

Fixed in latest master.

playboyvntgn commented 3 years ago

I can't use auto storage because they need EncryptKey.

Fixed in latest master.

Thank you I got it.

I have one more error, that's I can't use warp skill. After I cast it on ground, the bot disconnected immediately.

dc
chrislong93 commented 3 years ago

I can't use auto storage because they need EncryptKey.

Fixed in latest master.

autobuy still not working with the latest vRo_auth.pl update?

c4c1n6kr3m1 commented 3 years ago

send skill_use 0438 send skill_use_location 0366

abc9900 commented 3 years ago

Disconnect from map after few sec inactive/idle, so follow config/command can't be used.

chrislong93 commented 3 years ago

try this #3459

Token is alive in 1 hour only, so renew when connect that should work.

Maybe this is ping-back send every 10 minutes. If there is no response in 3 times (resend every minute), will be disconnected from Map Server. image

this is still an on-going issue, havent been fixed in the latest master

WHjskyJ commented 3 years ago

image Please help me, it disconnect