Jump to content

FREE - FluxCP with Master Account Integration


x13th

Recommended Posts


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  11/20/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  02/12/17
  • Last Seen:  

this looks awesome, all my kudos for you :)

Link to comment
Share on other sites


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

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


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  11/20/11
  • Last Seen:  

@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

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  90
  • Reputation:   34
  • Joined:  10/01/18
  • Last Seen:  

Thank you! Akkarin should apply this on Repo. 

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  455
  • Reputation:   57
  • Joined:  08/28/12
  • Last Seen:  

Nice work. Is it possible to display the Master Id?
Unbenannt.PNG.3026a0b5b0c7a8b10ae18defe1f680a4.PNG

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  11/20/11
  • Last Seen:  

@WhiteEagle yes, the latest repository display that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  455
  • Reputation:   57
  • Joined:  08/28/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  11/20/11
  • Last Seen:  

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

  • 4 weeks later...

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

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


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  55
  • Reputation:   4
  • Joined:  02/19/19
  • Last Seen:  

Thanks I will try ? good update

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  02/18/20
  • Last Seen:  

Adn what about donations... credits are added to 1st accounts and you cant buy anything... its maybe my falut :D but i dont think so

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  11/20/11
  • Last Seen:  

Hi, please open an issue on github. So I can track them.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

Hi, can I get a clarification what's the use of this Master Account feature please?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   7
  • Joined:  12/29/18
  • Last Seen:  

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

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   2
  • Joined:  03/19/17
  • Last Seen:  

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

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  22
  • Reputation:   1
  • Joined:  06/21/20
  • Last Seen:  

@x13th

History > Game Login Log isn't showing any results.

Same issue should be affecting ServiceDesk (Not tested yet)

Link to comment
Share on other sites

  • 7 months later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   6
  • Joined:  04/30/14
  • Last Seen:  

hello I have the same problem with the Master ID  ando accound ID

Screenshot_20211130-181053_Messenger.jpg

Screenshot_20211130-221737_Chrome.jpg

Edited by razmux
Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   7
  • Joined:  12/29/18
  • Last Seen:  

It is no longer updated, is it still good to use it?

Link to comment
Share on other sites

×
×
  • Create New...