OpenKore / openkore

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

Random item, player and monster detection issue #3749

Open ricksanchezisagoodman opened 1 year ago

ricksanchezisagoodman commented 1 year ago
  1. The full inventory is messed up and openkore will call autostorage thinking items needed to be present in the inventory are not are not there ei. healing potions, awakening etc. Openkore randomly detects monsters and players as NPC: screenshot3 C**E is the player is masked her name for her own protection 😆 This usually happens when I this appears in the console: screenshot4
    • Summary: This is my server setup:
      ip XX.XX.XXX.XXX
      port 6900
      master_version 1
      version 55
      serverType kRO_RagexeRE_2015_11_04a
      secureLogin 0
      secureLogin_type 0
      secureLogin_requestCode
      secureLogin_account 0
      serverEncoding Western
      storageEncryptKey 0x050B6F79, 0x0202C179, 0x0E20120, 0x04FA43E3, 0x0179B6C8, 0x05973DF2, 0x07D8D6B, 0x08CB9ED9
      addTableFolders kRO/RagexeRE_2015_11_04a;translated/kRO_english
      charBlockSize 147
      pinCode 1104
      charDeleteDateType 1
      blockingPlayerCancel 1
      rankingSystemType 1
      itemListType 1
      ignoreAntiCheatWarning 0
      private 1
      sendCryptKeys 0x4C17382A, 0x29961E4F, 0x7ED174C9

      At first I thought the recvpackets.txt are wrong. So I went digging in the wiki and let me to PEEK's extraction method since my exe is more than 6MB (14mb to be exact). After successfully getting the recvpackets, I did some test run and issue persisted. I also notice that the recvpackets.txt are exactly the same as the ones from kRO_RagexeRE_2015_11_04a.

I have noticed a few scenarios where it is happening.

  1. When openkore relogs there is a higher chance this will happen, I noticed this since by old practice, I always enable relogAfterStorage. And so I disabled it. But it still happens.
  2. When openkore experiences timeout and reconnects, when my internet timeouts for a bit.
  3. Since my private server has @autoloot feature, it randomly happens when item is added in the inventory. This made me curious and so I set itemsTakeAuto 0 and all 0 in pickupitems.txt. Still issue happens.

My temporary fix is to close and open the executable until it happens again.

alisonrag commented 1 year ago

The full inventory is messed up and openkore will call autostorage thinking items needed to be present in the inventory are not are not there ei. healing potions, awakening etc.

usually means wrong servertype, but first u can try: https://openkore.com/wiki/itemListUseOldType

Openkore randomly detects monsters and players as NPC:

just increase in config your https://openkore.com/wiki/clientSight maybe to clientSight 20

ricksanchezisagoodman commented 1 year ago

Thanks for the reply @alisonrag I took your advice, seems its not working. Still getting the incorrect items and monster/player detection.

Can you suggest something else about the severType? as I mention on my original post, I extracted the recvpackets.txt using PEEK's method. All seems to be working until this random thing happens. I also tested different serverTypes, I am using kRO_RagexeRE_2015_11_04a I am using this one right now as this is the closes one to my exe's compilation date which is Nov 2, 2015. I tried before and after the kRO_RagexeRE_2015_11_04a all of them have the map disconnect issue on login. And it only seems kRO_RagexeRE_2015_11_04a works.

ricksanchezisagoodman commented 1 year ago

Just to update, it happens more often when bot reconnects and relogs. Had to close/open again the exe. @alisonrag any suggestions? I attached the recvpackets.txt that i extracted using PEEK's method. recvpackets-fromPeek.txt

ricksanchezisagoodman commented 1 year ago

@alisonrag just to udpate on the issue I did the following config and inventory seems stable now:

itemListType 0
itemListUseOldType 1

still mosnter detected as NPC is still a problem

ricksanchezisagoodman commented 1 year ago

Just realize bot also dont show if it uses attack skill:

skill usage

This is a monk killing Minos in pyramid, same for my other characters, Bowling bash, DS, Bash, firebolt not showing the message that i used the skill. Still same sever setup as mention in this thread.