Jump to content
  • 0

unknown byte 0x970 - 20120410RagexRE - rAthena 17179 - kRO 20121001


JiKeidan

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  03/08/13
  • Last Seen:  

My apologies ahead of time for the longevity of this post.  I have been reading, religiously, the many posts on your wonderful eAthena and rAthena servers, trying to learn this server/client software and relationship over the last 2 days... nonstop.  Computer goes out for a smoke break with me.  I have since quit smoking =) "Hooray me!" /no1
 
That being said... this is going to be thorough, as I have seen this issue quite a few times, with limited explanation and just a few details seeming to be amiss on my setup.
 
As an overview:

rAthena 17179 on a GNU/Linux Debian 6.0.6 server.

PACKETVER=20120410 as per the ./configure --enable-packetver=20120410 (handy)


Athena Starting...
(c) 2003 Athena Project
modified by [email protected]

checking...
Check complete.
Looks good, a nice Athena!
Now Started Athena.
/\ ~/athena/trunk/ [Status]: Memory manager initialised: log/char-server_sql.leaks


rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/

http://rathena.org/board/

[Info]: SVN Revision: '17179'.
[Info]: Server supports up to '1024' concurrent connections.
[Status]: Memory manager initialised: log/map-server_sql.leaks


rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/

http://rathena.org/board/

[Info]: SVN Revision: '17179'.
[Info]: Server supports up to '1024' concurrent connections.
[Info]: Char Server IP Address : '192.168.1.20' -> '192.168.1.20'.
[Info]: Map Server Bind IP Address : '192.168.1.20' -> '192.168.1.20'.
[Status]: Memory manager initialised: log/login-server_sql.leaks


rAthena Development Team presents
___ __ __
_____/ | / /_/ /_ ___ ____ ____ _
/ ___/ /| |/ __/ __ \/ _ \/ __ \/ __ `/
/ / / ___ / /_/ / / / __/ / / / /_/ /
/_/ /_/ |_\__/_/ /_/\___/_/ /_/\__,_/

http://rathena.org/board/

[Info]: SVN Revision: '17179'.
[Info]: Server supports up to '1024' concurrent connections.
[Info]: Finished reading conf/msg_conf/login_msg.conf.
[Status]: Login server binding IP address : 192.168.1.20 -> 192.168.1.20
[Info]: Finished reading conf/import/inter_conf.txt.
[Info]: Finished reading conf/inter_athena.conf.
[Info]: Finished reading conf/import/login_conf.txt.
[Info]: Finished reading conf/login_athena.conf.
[Status]: Read information about 2 subnetworks.
[Info]: Finished reading conf/msg_conf/char_msg.conf.
[Status]: Login server IP address : 192.168.1.20 -> 192.168.1.20
[Status]: Character server binding IP address : 192.168.1.20 -> 192.168.1.20
[Status]: The login-server is ready (Server is listening on the port 6900).

[Status]: Character server IP address : jikeidan.dyndns.org -> 74.128.170.35
[Info]: Done reading conf/import/char_conf.txt.
[Info]: Done reading conf/char_athena.conf.
[Status]: Read information about 2 subnetworks.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Done reading conf/import/inter_conf.txt.
[Info]: Done reading conf/inter_athena.conf.
[Info]: Connect Character DB server.... (Character Server)
[Status]: Done reading '50' entries in 'db/re/exp_guild.txt'.
[Status]: Finished Reading GeoIP Database.
[Status]: Characters per Account: '9'.
[Info]: Map Server IP Address : 'jikeidan.dyndns.org' -> '74.128.170.35'.
[Status]: The char-server is ready (Server is listening on the port 6121).

[Info]: Finished reading conf/import/msg_conf.txt.
[Info]: Finished reading conf/msg_conf/map_msg.conf.
[Status]: Using SQL dbs: no
[Info]: Logging item transactions to table 'picklog'.
[Info]: Logging commands to table 'atcommandlog'.
[Info]: Connecting to the Map DB Server....
[Status]: connect success! (Map Server Connection)
[Info]: [sql]: Connecting to the Log Database ragnarok At localhost...
[Status]: [sql]: Successfully 'connected' to Database 'ragnarok'.
[Status]: Loading maps (using db/re/map_cache.dat as map cache)...
[Info]: Attempt to connect to login-server...
[Status]: Connecting to 192.168.1.20:6900
[Info]:
Connection request of the char-server 'MoonLightRO' @
74.128.170.35:6121 (account: 'ragnarok', pass: 'ragnarok', ip:
'192.168.1.20')
[Notice]: Authentication accepted (account: ragnarok, id: 1, ip: 192.168.1.20)
[Status]: Connection of the char-server 'MoonLightRO' accepted.
[Status]: Connected to login-server (connection #5).
[Status]: Awaiting maps from map-server.
[Info]: Successfully loaded '862' maps.
[Status]: Done reading '60' command aliases in 'conf/atcommand_athena.conf'.
[Status]: Done reading packet database from 'packet_db.txt'. Using default packet version: 32.
[Status]: Done reading '7149' entries in 're/item_db.txt'.
[Status]: Done reading '0' entries in 'item_db2.txt'.
[Status]: Done reading '190' entries in 'item_combo_db'.
[Status]: Done reading 'item_group_db.txt'.
[Status]: Done reading '1' entries in 'db/item_avail.txt'.
[Status]: Done reading '19' entries in 'db/re/item_noequip.txt'.
[Status]: Done reading '1727' entries in 'db/re/item_trade.txt'.
[Status]: Done reading '10' entries in 'db/item_delay.txt'.
[Status]: Done reading '10' entries in 'db/item_stack.txt'.
[Status]: Done reading '1057' entries in 'db/re/item_buyingstore.txt'.
[Status]: Done reading '1049' entries in 'db/re/skill_db.txt'.
[Status]: Done reading '818' entries in 'db/re/skill_require_db.txt'.
[Status]: Done reading '765' entries in 'db/re/skill_cast_db.txt'.
[Status]: Done reading '38' entries in 'db/re/skill_castnodex_db.txt'.
[Status]: Done reading '139' entries in 'db/re/skill_unit_db.txt'.
[Status]: Done reading '106' entries in 'db/re/skill_nocast_db.txt'.
[Status]: Done reading '263' entries in 'db/produce_db.txt'.
[Status]: Done reading '136' entries in 'db/create_arrow_db.txt'.
[Status]: Done reading '205' entries in 'db/abra_db.txt'.
[Status]: Done reading '17' entries in 'db/spellbook_db.txt'.
[Status]: Done reading '23' entries in 'db/magicmushroom_db.txt'.
[Status]: Done reading '133' entries in 'db/skill_reproduce_db.txt'.
[Status]: Done reading '25' entries in 'db/skill_improvise_db.txt'.
[Status]: Done reading '75' entries in 'db/skill_changematerial_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
[Status]: Done reading 'mob_chat_db.txt'.
[Status]: Done reading '1298' entries in 'db/re/mob_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_db2.txt'.
[Status]: Done reading '7359' entries in 'db/re/mob_skill_db.txt'.
[Status]: Done reading '0' entries in 'db/mob_skill_db2.txt'.
[Status]: Done reading '0' entries in 'db/mob_avail.txt'.
[Status]: Done reading 're/mob_branch.txt'.
[Status]: Done reading 're/mob_poring.txt'.
[Status]: Done reading 're/mob_boss.txt'.
[Status]: Done reading 'mob_pouch.txt'.
[Status]: Done reading 'mob_classchange.txt'.
[Status]: Done reading '6' entries in 'db/re/mob_race2_db.txt'.
[Status]: Done reading 'exp.txt'.
[Status]: Done reading '5324' entries in 'db/re/skill_tree.txt'.
[Status]: Done reading '35' entries in 'db/re/level_penalty.txt'.
[Status]: Done reading 'attr_fix.txt'.
[Status]: Done reading 'statpoint.txt'.
[Status]: Done reading '1' entries in 'conf/motd.txt'.
[Status]: Done reading '7' groups in 'conf/groups.conf'.
[Status]: Done reading '133' entries in 'db/re/job_db1.txt'.
[Status]: Done reading '132' entries in 'db/job_db2.txt'.
[Status]: Done reading '3' entries in 'db/size_fix.txt'.
[Status]: Done reading '5' entries in 'db/re/refine_db.txt'.
[Status]: Done reading '34' entries in 'db/castle_db.txt'.
[Status]: Done reading '15' entries in 'db/guild_skill_tree.txt'.
[Status]: Done reading '58' pets in 'pet_db.txt'.
[Status]: Done reading '0' pets in 'pet_db2.txt'.
[Status]: Done reading '13' entries in 'db/homunculus_db.txt'.
[Status]: Done reading '150' levels in 're/exp_homun.txt'.
[Status]: Done reading '82' entries in 'db/homun_skill_tree.txt'.
[Status]: Done reading '44' entries in 'db/mercenary_db.txt'.
[Status]: Done reading '118' entries in 'db/mercenary_skill_db.txt'.
[Status]: Done reading '12' elementals in 'db/elemental_db.txt'.
[Status]: Done reading '36' entries in 'db/elemental_skill_db.txt'.
[Status]: Done reading '2352' entries in 'quest_db.txt'.
[Info]: Done loading '13595' NPCs:
-'3190' Warps
-'215' Shops
-'10190' Scripts
-'3068' Spawn sets
-'45686' Mobs Cached
-'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '1605' NPCs.
[Status]: Server is 'ready' and listening on port '5121'.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 192.168.1.20:6121
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '6').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[Status]: Requested '34' guild castles from char-server...
[Status]: Map-Server 0 connected: 862 maps, from IP 74.128.170.35 port 5121.
[Status]: Map-server 0 loading complete.
[Info]: Loaded guild castle (0 - guild 0)
[Info]: Loaded guild castle (1 - guild 0)
[Info]: Loaded guild castle (2 - guild 0)
[Info]: Loaded guild castle (3 - guild 0)
[Info]: Loaded guild castle (4 - guild 0)
[Info]: Loaded guild castle (5 - guild 0)
[Info]: Loaded guild castle (6 - guild 0)
[Info]: Loaded guild castle (7 - guild 0)
[Info]: Loaded guild castle (8 - guild 0)
[Info]: Loaded guild castle (9 - guild 0)
[Info]: Loaded guild castle (10 - guild 0)
[Info]: Loaded guild castle (11 - guild 0)
[Info]: Loaded guild castle (12 - guild 0)
[Info]: Loaded guild castle (13 - guild 0)
[Info]: Loaded guild castle (14 - guild 0)
[Info]: Loaded guild castle (15 - guild 0)
[Info]: Loaded guild castle (16 - guild 0)
[Info]: Loaded guild castle (17 - guild 0)
[Info]: Loaded guild castle (18 - guild 0)
[Info]: Loaded guild castle (19 - guild 0)
[Info]: Loaded guild castle (20 - guild 0)
[Info]: Loaded guild castle (21 - guild 0)
[Info]: Loaded guild castle (22 - guild 0)
[Info]: Loaded guild castle (23 - guild 0)
[Info]: Loaded guild castle (24 - guild 0)
[Info]: Loaded guild castle (25 - guild 0)
[Info]: Loaded guild castle (26 - guild 0)
[Info]: Loaded guild castle (27 - guild 0)
[Info]: Loaded guild castle (28 - guild 0)
[Info]: Loaded guild castle (29 - guild 0)
[Info]: Loaded guild castle (30 - guild 0)
[Info]: Loaded guild castle (31 - guild 0)
[Info]: Loaded guild castle (32 - guild 0)
[Info]: Loaded guild castle (33 - guild 0)
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '34' guild castles from char-server.

 

2012-04-10aRagexRE.exe - diffed using Shin's Diff.


Snip1.PNG

Snip2.PNG

Snip3.PNG

 

The elustreous Alexandria's Data pack:

http://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/

 

Magicaltux's GRF builder:

http://rathena.org/board/topic/53305-grf-builder/

 

And finally, the basic kRO packages (data.grf, rdata.grf, dll's, and patchers) from:

http://ratemyserver.net/index.php?page=download_kROLinks

 

PROBLEM however, is...

[Status]: Request for connection (passwdenc mode) of JiKeidan (ip: 74.128.170.35).
[Notice]: Authentication accepted (account: JiKeidan, id: 2000000, ip: 74.128.170.35)
[Status]: Connection of the account 'JiKeidan' accepted.
[Info]: Closed connection from '74.128.170.35'.
[Info]: request connect - account_id:2000000/login_id1:42352243/login_id2:1142036348
[Info]: Loading Char Data (2000000)
[Error]: parse_char: Received unknown packet 0x970 from ip '74.128.170.35'! Disconnecting!

 

I have found that with my current version of rAthena, I shouldn't need to add a new mmo.h block and recompile... that fix seemed to be around the 15xxx era.
 

Given the outline, my method was:

Download ALL files mentioned

Create new folder: Ragnarok Online

Copy kRO dll's to folder

Make MYgrf.grf using Alexandria's data folder

Copy Alexandria's Data pack (data and all other linear folders) to Ragnarok Online folder (overwriting and merging)

Create DATA.INI using:

 

[data]
0=mygrf.grf
1=rdata.grf
2=data.grf

Create MyRagexRE.exe using Shin's "Differ" =P

Copy MyRagexRE.exe to Ragnarok Online folder

Copy MYgrf.grf to Ragnarok Online folder

 

When I load MyRagexRE.exe I get a login window asking for username and pass.

Having manually pushed an SQL entry into "login" db, it allows for 1 username, mine...

and a humble little password... **** and I log in.

I then go to create a new character, little guy pops up... I give him a nickname, choose a nifty hair dew and add some hue.....

Clicking OK hoping to be taken to my character stat negotiations, I am instead disconnected... the server displaying the error above.

 

I again apologize for the longevity of this post - but I can not figure out where I have gone wrong.  I'm pretty sure I just created a tutorial on how to set yourself up a client (leaving out the clientinfo.xml (to which i have used version 26? in accordance with Alexandria's default))

 

Any help is appreciated.



Ok, after having whiped the server, and re-installing it via SVN... now at r17185 I am able to create a character...

However, when I attempt to select the character and move into the map server, I'm disconnected:

 

 

[Status]: Connection of the account 'JiKeidan' accepted.
[Info]: Closed connection from '74.128.170.35'.
[Info]: request connect - account_id:2000000/login_id1:730444444/login_id2:331572222
[Info]: Loading Char Data (2000000)
[Info]: Created char: account: 2000000, char: 150000, slot: 0, name: JiKeidan
[Info]: Char load request (150000)
[Info]: Char load request (150000)
[Info]: storage load complete from DB - id: 2000000 (total: 0)
[Info]: Loaded char (150000 - JiKeidan):  status memo inventory cart storage skills friends hotkeys mercenary
[Info]: Selected char: (Account 2000000: 0 - JiKeidan)
[Info]: Subnet check [74.128.170.35]: WAN
[Info]: clif_parse: Disconnecting session #7 with unknown packet version (p:0x464d,l:19).
[Info]: Closed connection from '74.128.170.35'.

 

EDIT******

 

I have discovered my client version to be 30, rebuilding the grf and updating clientinfo.xml as necessary.

I've also set athena_login.conf to check for versions, and specified version 30...

as well in packet_db I have checked to make sure my client (again 20120410) is listed, as it is... under version 30... hopefully i'll have some decent results...



And to no avail... So now I know my client is version 30.

I know the server is checking for clients...

I know the server is specifying version 30.

I know the packet_db in fact HAS version 30 listed as 20120410...

And I know that i'm being kicked off due to

 

 

[Info]: clif_parse: Disconnecting session #7 with unknown packet version (p:0x464d,l:19).

 

Any one *elses* input is appreciated /ok
 



As well I'd like to add that I've done enough research to realize that the problem falls on skipping packet header obfuscation... makes sense.

 

I have tried diffing the client with Shin's differ, using Earthlingz's WDGSkipPacketHeaderObfuscation.dll ...

No change.  The option to "Skip packet header obfuscation" does not exist with or without that dll...

 

It does work with < 2012 exe's, however, I'd really much rather use 2012-04-10, as I've heard it's far more stable and allows for far greater customization of the game (once it's going /hum )

Edited by JiKeidan
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/11/13
  • Last Seen:  

Did you ever get this fixed man? I have been devouring this forum for answers and cannot for the life of me find a solution. I have read all of your posts regarding the matter and followed your trail, confirming where the error comes from and why it happens, however I can't find a fix for it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  03/08/13
  • Last Seen:  

I did, actually... sorry man i should have posted...

 

I don't know WHY my version of weediffgen Doesn't seem to work... but apparently it's the one on http://www.supportmii.com/ro1/Clients/ that is supposed to work... Earthlingz had released (if you've followed my trail) a .dll for the WDGSkipPacketHeaderObfuscation.dll in the plugins folder... but not every release of that was actually viable.  I never did come across one that was... And if I have to rediff my exe then i'm kinda screwed... but you have to find one that was released by ae4rie ???  and put it in the plugins folder, overwriting the previous one...

 

For whatever reason the 2012-04-10 clients seem to be hit or miss... of course there's a REASON for it... but i don't know what it is.

 

I'll do some messaging around and see if I can't find/get ahold of a viable copy of the necessary programs, as I'm going to need them to rebuild my clients a bit



Obfuscation (in software development) is the act of deliberately writing hard to follow code.

The 0x970 byte is something that was put in the client as a failsafe.  By "skipping packet header obfuscation", you are thereby forcing the client not to write those similar bytes into the packet headers coming through the network socket, and that's where the problem lies.  If you have gotten everything working and this is your only issue, then when you do get it corrected, you should have a working client. 

 

But i recommend you just give up and come join my project ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  03/08/13
  • Last Seen:  

did some more digging real quick...

 

http://sourceforge.net/projects/atwl/files/WeeDiffGen/

 

contains a DLL you might try.  let me know

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/11/13
  • Last Seen:  

Hey I found the fix for it. I hadn't included the packet_db for ver 29, but I had ver 30. Must of been because I started with a revision that didn't include it to begin with. After this painstaking quest to find out how to get 2012-04-10aRagexeRE I feel that I should write a complete checklist/guide since the steps involved really are a bit of a treasure hunt. Information is spread far too thin over these forums and too many people tirelessly point people to the search button when that information isn't there anymore due to outdated links.

 

If anyone does require additional help with this, I will gladly help.

 

EDIT: You need these two files to properly diff your client for 2012-04-10aRagexeRE

- http://supportmii.com/ro1/Clients/Weediff2012Pack_v5.7.7z

- http://aarnet.dl.sourceforge.net/project/atwl/WeeDiffGen/WDGSkipPacketHeaderObfuscation.dll

 

After downloading both files, replace the WDGSkipPacketHeaderObfuscation.dll that comes with Weediff2012Pack_v5.7.7z with the one you downloaded individually.

Edited by RifuI
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  03/08/13
  • Last Seen:  

Well if you've recently installed rAthena, that should be a deprecated fix - from what I understand.  As you said though ....

 

... Information is spread far too thin over these forums and too many people tirelessly point people to the search button when that information isn't there anymore due to outdated links. ...

 

and I myself and rather hazy on the solutions =P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/11/13
  • Last Seen:  

 
But i recommend you just give up and come join my project  ;)

 

What project would that be? I am actually interested in teaming up with someone as long as they share similar ideas. Hit me up in PM mate, would love to chat.

 

 
Well if you've recently installed rAthena, that should be a deprecated fix - from what I understand.  As you said though ....

 

Also you might want to check up on the definition of 'deprecated', your sentence sounds a bit odd hehe.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  03/08/13
  • Last Seen:  

lol tru nuf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  03/08/13
  • Last Seen:  

For those of you reading this right now, I'm having to rebuild a client exe for the game, as I am updating all my data files to the newer kRO release as of 04-12-2013 from the ratemyserver.com website.  So I am actually giving Riful's fix from a couple posts up a try myself, now... and I'll let you know how it works

 

            *                 *                  *                                 *                    *                   *

 

And it does work, quite nicely.  But to further detail...

 

His first link doesn't work directly... so go to http://supportmii.com/ro1/Clients/ and select the WeeDiff link...

then go to his second link http://sourceforge.net/projects/atwl/files/ and use the April, of 2013 link and download the WDGPacketHeaderObfuscation.R2.dll... then when you unzip the original weediff you download via the first link, you'll notice 2 packetheader .dll files in the plugins... packetheader*.dll and packetheader*.R2... leave the first one, write over the R2 with the one you downloaded individually, and that should do ya.  Works on the 04-2012 Ragexe.exe.

 

Hope it helps!

Edited by JiKeidan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...