Jump to content
Sign in to follow this  
Ron

Developer Launcher - Binary & Source Code

Recommended Posts

Update 2019-11-08

Warning: If you use RU nation codes, you need to edit RF.cs and adjust the US packet to RU. Look for 0xD4 and 0xD0.

Logging in will fail if you do not adjust your nation code. The binary built below is compatible with US nation codes. The 2232 files shared here work best with RU nation codes.

Keep this difference in mind when setting up your server.



Update 2018-05-03

I've compiled a launcher that is ready to go for local testing use. This launcher will allow you to easily bypass the update emulator required by the official game launcher. This launcher connects to 127.0.0.1 only. Compile from source to use a different IP.

Copy RFLauncher.exe to your client, enter your account information, then click Start Game.

RFLauncher Binary Download:

You must be a registered member of RF-Dev and logged in to view this content.

 

Original Post 2017-09-11

This is a developer friendly launcher designed for 2.2.3. Using this launcher, you can avoid having to set up the legacy update emulators to make the default RF launcher work properly... which is known to be quite a tedious and insecure process.

You will be happy to know that this is a full source code release, not just a binary release. I am freely releasing the source as this was a minimal effort project, and I think this is a big step in helping people learn how to make your own game launchers. I left the application very "whitelabel" so you can easily adapt this for your own purposes.

That being said, you will need to know some programming and have experience with Visual Studio to utilize these files. The project was developed in Visual Studio 2017 Community using C# .NET.

I hope the community finds this release useful. Remember to press thanks/like to show support for future projects.

 

Download

You must be a registered member of RF-Dev and logged in to view this content.
 

Configuration Information

Reference RF.cs for information on how this all works. Search for the following code in RF.cs to adjust server connection settings for remote servers. Default settings are for local environments.

You must be a registered member of RF-Dev and logged in to view this content.

 

Known Issues

  • On the first connection attempted, error code #4 can be thrown. Login appears to work fine afterwards so this was considered a non-issue for the purposes of this launcher. I may re-visit this and fix it at a later time but for now I'm happy with the results.

 

Screenshots

image.png.7a13bdd82df8e79ca87d76e6c83fdcf4.png

image.png.c4295aeffc62a93f4e6660c6f0a9f161.png

Edited by Ron
Clarify nation code requirements

Share this post


Link to post
Share on other sites
You must be a registered member of RF-Dev and logged in to view this content.

The packet handling logic would need to be adjusted to support this. To figure it out you'll need to research the login server packet structures. The current logic connects to zone #1 (world_0) regardless of server list.

Most people only use one zone so I didn't consider this a priority to code in. Maybe later if I ever re-visit this.

Share this post


Link to post
Share on other sites

A compiled launcher for local testing on 127.0.0.1 has been added to the main post. This will allow users unfamiliar with source code to easily test their server configurations locally without having to compile from source or set up the update emulator.

Share this post


Link to post
Share on other sites

After changing IP for a local test (192.XXX.XXX.XXX) :

- Any wrong ID/PW combinaison is not showing a "Wrong ID or PW" message, any solution please ? (1)

- After clicking "Start Game" button : if ID/PW was correct, "RF_Online.bin" process start and game show up. BUT if ID/PW was incorrect, "RF_Online.bin" process appears to be running but no any window is showing up (the game doesn't start) and i receive no any error message, any solution please ? (2)

- I changed "RF_Online.bin" name to "RF_Onnline.bin", the procces don't start but the message "ERROR! RF_Online.bin not found!" doesn't appear , any solution please ? (3)

-> The multiple game running detection is working, i get the "RF Online client is alrady being run." warning message.

 

Thanks for your efforts and your time.

Edited by wooltestup2142

Share this post


Link to post
Share on other sites
You must be a registered member of RF-Dev and logged in to view this content.

We are working on improving these bugs. I will release an updated version when we release our upcoming server files.

For now you can obtain the latest source from our gitlab. It has some bugfixes. With the latest code make sure your game client is set to English (en-gb).

Share this post


Link to post
Share on other sites

Hello and thanks for your answer, i am keeping an eye on it.

I am facing a new problem and i hope you can give me some help, it is about client connexion to server.

  • Server setup for LAN [192.168.XXX.XXX], client set on the same IP [192.168.XXX.XXX], All works fine, game start.
  • Server setup for WAN [external ip], client set on the same IP [external ip], i am facing "Unable to connect to the server! (error code: 1)" and the server is not receiving any data, which means the communication between client and server cannot be etablished (working fine with basic launcher set on [external ip]).

Can i have some help or informations on that ?

Thanks a lot !

WTU2142

Edited by wooltestup2142

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...