Jump to content
  • 0

Is there a pre-comped client+server?


ScatteredCrystal

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

I've spent 14 hours configuring an rAthena server for scripting. I just wanted a localhost server because I've been asked to script. It has been a complete nightmare at every step of the way. Whereas a txt eAthena server took me 30 minutes to setup and run, still the rAthena gives me issues. The server seems to be working, finally getting a working client to actually connect was another chore. Now I finally have both, but when a character logs into the server, the client just disappears and the server side says connection close. I don't know if this is client or server at this point and I just don't care anymore. This is the single most ridiculous setup process I have ever dealt with and I had the joy of working as an intern at a company transitioning from Unix to Debian.

 

eAthena used to have some complete packages. A server, combined with a client where everything was just click and run( if you added a data.grf file). Has anyone made something like this for rAthena? I don't care if it's fairly old. If there is nothing on the forum, off site is okay. I also don't care about viruses. I can chuck the thing in Sandboxie, I just need something to test my scripts.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

There is no precompiled rathena package because you will have to setup mySQL on your own anyway.  I am guessing that is the part you had difficulty with?  Or are you having trouble with the client side part?

 

Setting up rAthena itself is just as easy as eathena, you edit 2 text files (for your IP), put your client date in mmo.h, compile, and you should be good to go.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  74
  • Reputation:   16
  • Joined:  05/08/12
  • Last Seen:  

Might I suggest you learn how to setup and compile your own server?

You will find no pre-compiled support here unless it is in learning how to do it yourself.

(seeing as an entire server can be built and configured in under 30 Min this should not be a problem.)

As for your client opening and then IMMEDIATELY closing, may I ask if you have a working audio device

attached to your computer? Ragnarok clients are temperamental when it comes to not having audio output

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

There could be a pre-compiled rAthena if it used rAsql(as I eventually settled on). Yes, I have a sound device. My client for the perfectly working eAthena server runs just fine. And as far as I know, issues related to sound crash at boot, or on map load, not after login, but before character selection.

Might I suggest you learn how to setup and compile your own server?

 

I'm a C++ programmer, I didn't even need to install a compiler to set this up :P I've configured multiple servers before. I did compile my own server. I used to host my own private Trickster server. I've set up an eAthena server several times. I've scripted for three servers in the past.

rAthena is a beast of another nature. For one thing, the documentation in the wiki is flat out wrong. The way it instructs you to set up both your subnet and connections between map and character server are in the incorrect order.

 

It is true that a good five hours of this was spent messing with mysql. The servers were all aware of each other's presence but kept closing connection and refusing to communicate. I eventually found out about rAsql. How rAsql fixed that problem I have no idea.

 

The bulk of my time has been spent reading and testing advise from forum threads, nearly every one of which offers different advise, and testing possible solutions. None of the solutions were particularly useful to me for a very long time. Eventually someone said of the subnet that it's really just random, try shuffling the order of the entries around until it works. Yeah, that was the final solution that worked for me on that front.

 

Following the client side creation guide in the wiki to a tee, leads to a client that tried to connect out to Gravity's ip. I fixed every file it mentions, but it is missing something. That's why I had to test multiple different client packs and grab multiple different SVNs to test each of them, all of which require reconfiguration. Eventually, I found Rytech's client pack, which indeed does connect to localhost. And that's where I am now.

 

 

Anyway, it sounds like I just need to tell them they need to find someone else to script for them. I can't get this to work and I'm very much sick of dealing with it. If there is nothing for me to download pre-made, I just don't care. I wanted to help them out with the new server, but nothing is worth this.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

You shouldn't ever have to mess with the subnet settings at all.  And it sounds like you didn't edit the /data/clientinfo.xml file in your client folder.  It's where you would type in your local IP so the client doesn't connect to gravity's server.

 

Also, your main problem was SQL, not rathena.  If you feel like trying it again, here's how you set it up in 3 simple steps.

 

1 - Download MySQL Workbench 5.2 CE and install.

2 - Create a database named ragnarok, with the password ragnarok

3 - Execute the main.sql and logs.sql files that come with rA

 

Wham, just solved all of your problems.

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