Jump to content
  • 0

Problem with PC hosted server.


klaw

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/24/13
  • Last Seen:  

I've looked through ALL of the topics on the forum, and done EVERY step that it asks for, including what the rA Wiki says to do. I'm going to post everything you guys need, as well as explain the problem the best I can. 

 

All of my servers connect without errors, I can connect just fine (127.0.0.1) set in MY clientinfo.xml inside my grf. I uploaded my complete folder (not with MY grf, but an exact copy with the exact same clientinfo.xml -- only with my WAN IP instead of my local ip). The person that is trying to connect keeps getting this error:

 

[status]: Connection of account 'Xyndor' accepted.

[info]: Closed connection from '67.219.88.126'.

[Notice]: Abnormal end of connection (ip: xx.xxx.xx.xxx): Unknown packet 0x65

[info]: Closed connection from 'xx.xxx.xx.xxx'.

 

On the login server.

 

I am using 2012-04-10aRagexeRE_S

and also used the default

2012-04-10aRagexeRE

 

Here are all of my settings:

 

packet_db.txt

 

packet_db_ver: default
(I also tried 30)

 

packet_db.txt

 

//2012-04-10aRagexeRE
packet_ver: 30
0x01FD,15,repairitem,2
0x089C,26,friendslistadd,2
0x0885,5,hommenu,2:4
0x0961,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
0x091C,26,partyinvite2,2
0x094B,19,wanttoconnection,2:6:10:14:18
0x0369,7,actionrequest,2:6
0x083C,10,useskilltoid,2:4:6
0x0439,8,useitem,2:4
0x0945,-1,itemlistwindowselected,2:4:8
0x0815,-1,reqopenbuyingstore,2:4:8:9:89
0x0817,2,reqclosebuyingstore,0
0x0360,6,reqclickbuyingstore,2
0x0811,-1,reqtradebuyingstore,2:4:8:12
0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0835,2,searchstoreinfonextpage,0
0x0838,12,searchstoreinfolistitemclick,2:6:10
0x0437,5,walktoxy,2
0x0886,6,ticksend,2
0x0871,5,changedir,2:4
0x0938,6,takeitem,2
0x0891,6,dropitem,2:4
0x086C,8,movetokafra,2:4
0x08A6,8,movefromkafra,2:4
0x0438,10,useskilltopos,2:4:6:8
0x0366,90,useskilltoposinfo,2:4:6:8:10
0x0889,6,getcharnamerequest,2
0x0884,6,solvecharname,2
0x08E5,41,bookingregreq,2:4    //Added to prevent disconnections
0x08E6,4
0x08E7,10,bookingsearchreq,2
0x08E8,-1
0x08E9,2,bookingdelreq,2
0x08EA,4
0x08EB,39,bookingupdatereq,2
0x08EC,73
0x08ED,43
0x08EE,6
0x08EF,6,bookingignorereq,2
0x08F0,6
0x08F1,6,bookingjoinpartyreq,2
0x08F2,36
0x08F3,-1
0x08F4,6
0x08F5,-1,bookingsummonmember,2:4
0x08F6,22
0x08F7,3
0x08F8,7
0x08F9,6
0x08FA,6
0x08FB,6,bookingcanceljoinparty,2
0x0907,5,moveitem,2:4
0x0908,5
0x08D7,28,battlegroundreg,2:4 //Added to prevent disconnections
0x08CF,10 //Amulet spirits
0x0977,14 //Monster HP Bar
mmo.h
#ifndef PACKETVER
	#define PACKETVER 20120410
	//#define PACKETVER 20111116
#endif
clif.h
enum
{// packet DB
	MAX_PACKET_DB  = 0xA00,
	MAX_PACKET_VER = 30,
	MAX_PACKET_POS = 20,
};
subnet_athena.conf
subnet: 255.255.255.0:127.0.0.1:127.0.0.1
subnet: 255.255.255.0:50.26.33.61:50.26.33.61
subnet: 255.255.255.0:192.168.1.226:192.168.1.226
char_athena.conf
login_ip: 192.168.1.226
char_ip: 50.26.33.61
map_athena.conf
char_ip: 192.168.1.226
map_ip: 50.26.33.61
My clientinfo.xml
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
   <connection>
      <display>CalamityRO</display>
      <balloon></balloon>
      <desc></desc>
      <address>127.0.0.1</address>
      <port>6900</port>
      <version>30</version>
      <langtype>1</langtype>
      <registrationweb>calamityro.com/cp</registrationweb>
        <aid>
            <admin>2000000</admin>
			<admin>2000001</admin>
			<admin>2000002</admin>
        </aid>
        <loading>
            <image>loadingscreen01.jpg</image>
        </loading>
   </connection>
</clientinfo>
His clientinfo.xml
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
   <connection>
      <display>CalamityRO</display>
      <balloon></balloon>
      <desc></desc>
      <address>50.26.33.61</address>
      <port>6900</port>
      <version>30</version>
      <langtype>1</langtype>
      <registrationweb>calamityro.com/cp</registrationweb>
        <aid>
            <admin>2000000</admin>
			<admin>2000001</admin>
			<admin>2000002</admin>
        </aid>
        <loading>
            <image>loadingscreen01.jpg</image>
        </loading>
   </connection>
</clientinfo>
To reiterate: everything is the same on both of our folders except the clientinfo.xml. It says "Disconnected from server" and gives me the error in the login server when he attempts to login.

It looks kinda like a char server problem, but changing the IP of the char server makes neither of us able to connect. I can try it again to get the error message if necessary.

Also, I unchecked read data folder first, unchecked the lua thing, and check the packet header in the diff(s) I made.

UPDATE:

When I change char_ip in map_athena.conf

[Status]: Connecting to 50.26.33.61:6121
[Status]: Logging in to char server . . .
[Warning]: Connection to Char Server lost.
Downloading the latest SVN from scratch and going to redo everything. Hopefully this fixes all of the issues :) Will update when I know for sure. Edited by Xyndor
Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Xyndor,

In your map/char/login conf files, do not use your LAN IP. Use your WAN IP for all the IP entries.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/24/13
  • Last Seen:  

Does that include the bind_ip? Because changing all of the entries I listed still gives the same error I posted.

Edited by Xyndor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Xyndor,

 

Make sure you are using the WAN IP and not "192.168.1.226".

 

You shouldn't be using the bind_ip, it should be commented out.

//bind_ip:
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/24/13
  • Last Seen:  

I am, and still getting the same error.

bind_ips are commented out and all are set to WAN

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Xyndor,

Have you set up port forwarding for your map/char ports?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/24/13
  • Last Seen:  

Yeah, I have. I just got your trial hosting though...so idgaf about this. I'll just buy your hosting when I get paid tomorrow. Tired of trying to get this to work lol

/thread

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Xyndor,


Ah alright. If you need any help with the Trial package; please let me know!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  06/24/13
  • Last Seen:  

Try using WAN ip and make sure your 'clientinfo.xml' is version 30.

is your IP address static?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

make sure you have static IP,
if it's dynamic, then you know what's your problem. /heh

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