Jump to content
x13th

FREE - FluxCP with Master Account Integration

Recommended Posts

FluxCP with Master Account Integration

 

Hi everyone! I want to share my Simple FluxCP with master account. I've been coding this for the last 2 days using my free time. I have seen a lot of people asking for FluxCP with Master account so I decided to share this. Originally I was planning to do this via addons but there are too many things needed to change. Please take note that this is version 1.0 so if you found any bugs please open an issue on github.

 

I will also release next time the master account integrated with phpBB.

 

Repository: https://github.com/acelabini/FluxCP-MasterAccount

Clone:  https://github.com/acelabini/FluxCP-MasterAccount.git

Download: https://github.com/acelabini/FluxCP-MasterAccount/archive/master.zip

 

How to install?

Just clone or download the repository and follow this installation guide written by @Zack-

 

Configuration

Edit `config/application.php`

    'MasterAccount'	          => true,                   // Enable master account feature, setting this to false will revert back to normal fluxCP
    'MasterAccountPasswordHash'   => 'bcrypt',               // Master account password hashing algorithm, atm only bcrypt is available
    'MasterAccountMaxAccounts'    => 0,			     // Maximum game account per master account; 0 to disable

 

If you have any question, feel free to post it here.

 

Helpful?

image.png.037a4b757d12be474b2ece2395d823dd.png

Buy me a coffee

  

 

 

 

 

 

Screenshot_3.png

Screenshot_4.png

Screenshot_5.png

Screenshot_2.png

Screenshot_1.png

Edited by x13th
  • Upvote 4
  • Love 1
  • MVP 1
Link to comment
Share on other sites

Awesome, as you said there's so many people that have been requesting this!

I'm glad there's still people like you working on maintaining some of the most popular RO tools.

Keep up the great work mate.

Edited by Xan Sietry
Link to comment
Share on other sites

@Dark Lunacy Glad you like it

@Xan Sietry Will do mate. Thanks

Applied some fixes

- Added password reset for master account and game account
- Fixed issues #1 (Reported by @xVaan)
- Fixed error when logging in if account is ban
- Fixed loginbox account link

  • Upvote 3
Link to comment
Share on other sites

Hmm, I downloaded it yesterday. 
The last update was 25 days ago. 
Have I forgotten something?

Repository: https://github.com/acelabini/FluxCP-MasterAccount

If now there is a master account storage and a launcher where you can get all game accounts listed. Then it would be perfect. ❤️. 😄

Link to comment
Share on other sites

Sorry, it was in my private repository. I will update it as soon as possible.

 

Quote

If now there is a master account storage 

Well, we can do that via Flux but we need time for development and deep testing. We don't want to introduce exploits because of this feature.

Link to comment
Share on other sites

Hi,

I've been testing your FluxCP and so far it works really well!

I was wondering if you intend of modifying the password reset? If you ever consider it, it would be nice if players could choose to create their own new password instead of having a new one created for them.

I already know some players will complain about it haha. But don't see my suggestion as a negative one, you did a really good job and I appreciate your efforts!

Thank you,

Xan.

Link to comment
Share on other sites

thank you for this amazing job !!
However, do you have a tutorial for integrating it into the RO client.
Basically, this will allow us to log in with our master account, see all the available accounts, and choose which one I want to start with before the exe starts? Or integrate it directly into the executable?

  Because creating a master account is great but if it does not allow us to manage our accounts by launching the game, it is not useful to us.

This is not a negative review, I greatly appreciate your donation. really, thank you!

Link to comment
Share on other sites

Hello my friends,

I want to use this FluxCP with master account integration, but I have a problem with correct working. I am isung XAMPP 3.2.4 (Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.0.3).

1st issue was with loading submenu items, which I repaired (themes/default/main/submenu.php) line 8
Original:

$this->url($menuItem['module'], $menuItem['action'], $params->get('id') ? ['id' => $params->get('id') ]: ''),

Replaced:

$this->url($menuItem['module'], $menuItem['action'], $params->get('id') ? ['id' => $params->get('id') ]: array()),

Now, all items in menu are working (except for item a mob DB) and submenu is visible.

obrazek.png.683d07bc572cdde108bcc5cf393f07cb.png

2nd issue: Can't load mob and item db

obrazek.png.0a9e99d644541352d0e50c772d864bb7.png

obrazek.png.5f069b3e983f8f06f00f0aa82fe8ae9a.png

3rd issue: Can't login - EDIT SOLVED
 

obrazek.thumb.png.2662323f1fc961bb5ef2ac9cfb39de3a.png

I solved it - /lib/Flux/MasterAccount/SessionData.php - line190
Original

$sql = rtrim($sql,",");

Replaced

$sql = substr(rtrim($sql,","), 0, -2);


 

Has somebody same issues?

Thank you for your replies

Edited by Seva
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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.