Jump to content
  • 0

Map server problem, I assume? | Or perhaps subnet_athena..


SunDeath

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

It has been quite a while since I've touched anything RO-related, so I think my skills must have gotten rusty :)

Anyway, I've setup a new server using rA as base, and everything worked fine, I've setup the config files, the SQL database connection, port forwarding, etc.

I can use _M / _F to create a new account, the login server works fine too.

I can select / create a new character without a single problem too.

Then entering the map it errors.

This could be either a server-related problem or a client-related one but I've decided to put it here.

When opening the client it basically starts:

"Lua Files Source\Lua Files\DataInfo\PetInfo/lua:59: table index is nil"

"... Files Source\Lua Files\SprEditInfo\2DLayerDir_F.lua:13: table index is nil"

Now those two are easy, I'm just missing those files, easy fix.

It then opens the client and allows me to login.

It also allows me to select my character without any problems.

Then when I've selected it and press "ok" it tries to connect, and fails.

The map server shows the following:

"[Error]: chrif_authok: Data size mismatch! 39376 != 235984

[info]: Player AID:2000000/CID:150000 logged off."

I assume this is a problem in one of my src files, but I also have the feeling it could just be my client.

Anyone who knows for sure?

Edited by SunDeath
Link to comment
Share on other sites

18 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

what SVN are you using? and what Client?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

SVN Revision 15463

Client 2011-07-13cRagexeRE.exe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

can you try this i've uploaded the client i'm using http://www.mediafire.com/?4l25lq5gls38az5

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

I've tried it and it gave the same error, so i changed mmo.h from #define PACKETVER 20110713 to #define PACKETVER 20110517 and tried again after compiling, still gives the same error.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

must be your lua or data files ill try to upload mine just wait

try this:

http://www.mediafire.com/?p8f7d8u96a2zd17 lua files

Edited by ngek202
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

The Lua errors are now all gone, but the mapserver still won't let me in.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

what does the Map Server say?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

The same as before "[Error]: chrif_authok: Data size mismatch! 39376 != 235984

[info]: Player AID:2000000/CID:150000 logged off."

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

hmm when you compiled your Server did it have any Errors?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

No, compiling doesn't show any errors.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

hmm that's weird but I'm sure it's not Client issue.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

I've updated the SVN to revision 15503 (the one where TXT is no longer supported) and am using the client 2011-05-17b as provided by ngek202.

I've cleaned the solution without any errors, so I rebuilded the Login, Char and Map server.

"[Error]: chrif_authok: Data size mismatch! 39376 != 235984" -> Upon selecting the character

So I decided to clean it again, still no errors, this time I rebuilded the entire solution (Login, Char, Map, mapcache).

"[Error]: chrif_authok: Data size mismatch! 39376 != 235984" -> Upon selecting the character

It does not show any errors when compiling / cleaning, it also shows no errors upon opening of the client or any action taken whatsoever.

Selecting the character does NOT produce an error on the client side other than "Failed to connect".

The only error visible is "[Error]: chrif_authok: Data size mismatch! 39376 != 235984" which shows only on the map server console.

If only this problem would go away I could start placing NPCs and monsters to my liking :l

Edited by SunDeath
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

All errors are gone, I just got 2 more problems with my client files.

1) The Patcher (see: This Topic)

2) The login server doesn't read any connections.

The Login Server connects with the character and map server but when I open the client and try to login (the account does exist inside the MySQL Database) it gives me the message: "Failed to connect to server" the login server itself doesn't show a single thing.

None of the servers (Login, Character and Map) show a single warning or error message.

I've tried changing the clientinfo from my WAN IP to my LAN IP, that didn't change anything at all :l

Edited by SunDeath
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

have you did anything src side

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

Yes, the source is slightly altered.

edits I've made:

src/common/mmo.h

#define PACKETVER 20110713

#define MAX_ZENY 2000000000

#define MAX_GUILDLEVEL 99

#define MAX_QUEST_DB 20000

(not sure if I edited all of these entries)

#define MAIL_MAX_INBOX 30

#define MAIL_TITLE_LENGTH 40

#define MAIL_BODY_LENGTH 500

Then there's the following:

src/map/battle.c

99, 0, 1000, (max_lv entry)

src/map/map.h

#define MAX_LEVEL 1000

src/map/mob.h

#define MAX_MOB_DB 10000

Those are all edits I've made.

Edited by SunDeath
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

I had the size issue before, I'm trying to think of what the issue was.

If I remember, I'll post it here.

Sorry.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

I had the size issue before, I'm trying to think of what the issue was.

If I remember, I'll post it here.

Sorry.

Thank you, but that is already solved.

I don't quite remember what I did but I believe mine was caused because I forgot to edit a single line of code.

Actually, If I recall correctly (suddenly popped up when writing this lol) it was because I forgot to edit the battle.c for the max_level entry.

it got caused by having too high values for the storages + inventory combined.

Bumping for the login server not seeing me connect.

http://rathena.org/b...dpost__p__76285

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   2
  • Joined:  01/15/12
  • Last Seen:  

BUMPing with an update.

1) The Thor Patcher now fully works again - Thanks to Aeomin <3

2) After googling around again for a full day and reading and comparing both the eA and rA wiki (and partly the forums too) I thought I had the problem.

subnet_athena.conf.

It's original entrant being just subnet: 255.0.0.0:127.0.0.1:127.0.0.1

So I looked around for it's layout again, which is SUBNET_MASK:LAN_IP:LAN_IP.

which would make it:

subnet: 255.255.255.0:192.168.1.66:192.168.1.66

That however still didn't fix it, in fact, nothing changed.

So I tried replacing my LAN_IP with my WAN_IP, still to no avail.

The Login server still does NOT, AT ALL, see my connection.

There are 0 errors on any of the consoles, my clientinfo.xml contains my WAN_IP and all the IPs are configured correctly inside the import folder.

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...