Jump to content
  • 0

Need some help in creating my Client


boanerges1

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  10/19/12
  • Last Seen:  

Hi all, /lv

I've been all day trying to setup my own server for about 20hours now /whisp . I am so newbie in this kind of stuff but I want to learn more about it I am getting so confused now that i really needed your help. I have followed mr. sharpnienero's guide, now I'm stuck in creating the client to get on the server. I have provided some screenshots to what I've got so far. I know I'm missing something or I've done something wrong. Please i really need your help I am not going to give up until I got this up and working :D

28595993.jpg

I think i have managed to run my server (screenshot above)

ss6e.jpg

here's the ragnarok client I used to sniffed 20120410 and I used ms.alexandria data files in making .grf files

ss3gg.jpg

here's my ragnarok files i downloaded all these in http://ratemyserver....wnload_kROLinks

ss4cs.jpg

and here's my clieninfo.xml

ss5l.jpg

and here's the client error i'm seeing and the text are all in korean though i set it to translate it into english.

I hope you guys can help and narrow down my problem and btw sorry for my bad english /??

Any help will be HIGHLY APPRECIATED! /no1

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

I had a simular problem, il find the links to my data folder and i can help with diffing ur client if you like

First i need you to go to ur src file, common, look for mmo.h

Find #define PACKETVER

and tell me what it says.

eg

#define PACKETVER 20111025

//#define PACKETVER 20111025

tell me what it says there

Edited by DarkWhoteva
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

ur grf .....check ur Data.ini and make sure your client read your grf files....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  10/19/12
  • Last Seen:  

thanks for the replies everyone! I got a new problem

"failed to connect to server" (i have tried all the logins in the "login" table that I have encoded manually in workbench I don't know if it is the right thing to register to the client)

ss7ax.jpg

and here's my data.ini configuration as i think is now correct.(below)

[Data]

1=klasikRO.grf

2=data.grf

3=rdata.grf

thanks again! /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  10/19/12
  • Last Seen:  

Check your paket via your DB folder.

db/packet_db.txt

packet_db_ver: 25

//packet_db_ver: default

thank you for your reply /no1

I added a packet ver in my db/packet_db.txt

packet_db_ver: 31
// packet_db_ver: default


//2011-03-15aRagexeRE
packet_ver: 31
0x01FD,15,repairitem,2
0x0202,26,friendslistadd,2
0x022D,5,hommenu,2:4
0x023B,36,storagepassword,0
0x0288,-1,cashshopbuy,4:8
0x02C4,26,partyinvite2,2
0x0436,19,wanttoconnection,2:6:10:14:18
0x0437,7,actionrequest,2:6
0x0438,10,useskilltoid,2:4:6
0x0439,8,useitem,2:4
0x07E4,-1,itemlistwindowselected,2:4:8
0x0802,18,bookingregreq,2:4:6
0x0803,4
0x0804,14,bookingsearchreq,2:4:6:8:12
0x0805,-1
0x0806,2,bookingdelreq,0
0x0807,4
0x0808,14,bookingupdatereq,2
0x0809,50
0x080A,18
0x080B,6
0x0811,-1,reqopenbuyingstore,2:4:8:9:89
0x0815,2,reqclosebuyingstore,0
0x0817,6,reqclickbuyingstore,2
0x0819,-1,reqtradebuyingstore,2:4:8:12
0x0835,-1,searchstoreinfo,2:4:5:9:13:14:15
0x0838,2,searchstoreinfonextpage,0
0x083C,12,searchstoreinfolistitemclick,2:6:10
0x035F,5,walktoxy,2
0x0360,6,ticksend,2
0x0361,5,changedir,2:4
0x0362,6,takeitem,2
0x0363,6,dropitem,2:4
0x0364,8,movetokafra,2:4
0x0365,8,movefromkafra,2:4
0x0366,10,useskilltopos,2:4:6:8
0x0367,90,useskilltoposinfo,2:4:6:8:10
0x0368,6,getcharnamerequest,2
0x0369,6,solvecharname,2

i got this from http://svn6.assembla...kets/Packet_db/

and this is my mmo.h

#ifndef PACKETVER
#define PACKETVER 20110315
//#define PACKETVER 20111116
#endif

and somebody told me to change my \src\mapclif.h

{// packet DB
MAX_PACKET_DB  = 0xA00,
MAX_PACKET_VER = 31, <<-----what packet ver did you used in db/packet_db.txt
MAX_PACKET_POS = 20,
};

and change my clientinfo to version 31(below)

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
  <connection>
  <display>klasikRO</display>
  <balloon>the balloon</balloon>
  <desc>description</desc>
  <address>203.87.174.42</address>
  <port>6900</port>
  <version>31</version> <<--changed this to what packet ver did you used in db/packet_db.txt
  <langtype>1</langtype>
  <registrationweb>flux.domain.com</registrationweb>
	<aid>
		<admin>2000000</admin>
<admin>2000001</admin>
<admin>2000002</admin>
	</aid>
	<loading>
		<image>loadingscreen01.jpg</image>
	</loading>
  </connection>
</clientinfo>

and after doing all those editing I rebuilt my rAthena, re-build my .grf file and run all my servers.

Still "failed to connect to server" /yawn

Edited by Emistry
Please use [CODEBOX] or Attachments for long contents.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

are you playing it inside localhost? your client and your server is in the same computer right?

change every IP to 127.0.0.1 as well as inside the clientinfo.xml, change it into <address>127.0.0.1</address>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  10/19/12
  • Last Seen:  

are you playing it inside localhost? your client and your server is in the same computer right?

change every IP to 127.0.0.1 as well as inside the clientinfo.xml, change it into <address>127.0.0.1</address>

Nope, I want to put it online. I think I'm having issue port forwarding the ports. Is contacting my ISP really necessary? or it is just with in my router's setting(firewall and such)?. I contacted my ISP and he said that they cannot do anything if the issue is regarding my router (I think the customer support agent of my ISP does not get what i meant about port forwarding?) /omg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

well, don't say port forwarding.

you can call the ISP and ask them to open ports for you. the ports you may need are:

80

6900

5121

6121

3306

that's all I guess..

Forwarding the ports to your PC has 2 steps:

1.) Computer Side:

- Open the LAN configuration, click the Details tab / button. copy the following:

- Default DNS Address

- Alternate DNS Address

- Default Gateway

- (You know the TCP/IP configuration right? LAN > Properties > TCP/IP config (IPv4) > Properties)

- click on the "Configure Manually". now, you need to enter some things:

- If Default Gateway is 192.168.x.*, then IP address = 192.168.x.6 or up to you

- Subnet Mask: yea, just use 255.255.255.0

- and the rest is the ones that you copied earlier

2.) Router Side:

- just forward it to your assigned PC's IP.

This method is used to lock an IP (e.g 192.168.1.6) to your PC's IP. If you don't lock it, the IP may be scrambled.

Maybe there's a simpler way, using DHCP Reservation and DHCP auto-call (auto assign or whatever it is) on the Router: D-Link DIR-600

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  12/08/12
  • Last Seen:  

thanks for the replies everyone! I got a new problem

"failed to connect to server" (i have tried all the logins in the "login" table that I have encoded manually in workbench I don't know if it is the right thing to register to the client)

ss7ax.jpg

and here's my data.ini configuration as i think is now correct.(below)

[Data]

1=klasikRO.grf

2=data.grf

3=rdata.grf

thanks again! /no1

where did u get the rdata.grf?
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...