Popular Post Xantara Posted February 24, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Popular Post Share Posted February 24, 2013 (edited) Xantara's FluxCP Everyone knows of FluxCP. However, with the creation of rAthena, there became a need to support renewal changes and other features such as the new group system. This is where my Control Panel comes in. Xantara's FluxCP is a free and open source control panel to work with rAthena. Forked from FluxCP by Paradox924X and Byteflux at r1121. I will continually merge updates from the original FluxCP. Demo: http://web.artistic-coder.com/fluxcp-rA Note: this site is used to test new functionality and custom addons so it may not always be functioning properlyFeaturesThe original/base FluxCP already comes with a lot of features. Here I will only highlight those that came after the fork. For a full list, click here. Updated Ragnarok Data Full Birthdate Functionality Working GM Group System Mob Skills SQLized Zeny Log Page Specific Item Drop Rates Toggle for Pre-Renewal or Renewal SQL Data Alchemist Ranking Blacksmith Ranking Paginated Item Shop Character/job images (static) WIP Account management system (link one or more in-game accounts to one CP account) Queued Accepted Suggestions (have suggestions? post them here!) Search in logs page Pin code functionality Character sprites with palettes (would replace static images) Requirements Apache webserver with PHP 5.2 or greater PDO extension with MySQL support (http://www.php.net/pdo) PHP GD2 for security images (Optional) Enabled Zip extension for exporting guild emblems (Optional) Apache/mod_rewrite for using the "Clean URLs" feature DownloadThere are three ways to get a copy of this Control Panel. For detailed installation instructions, click here (TBD). 1. GIT Clone git clone https://github.com/missxantara/fluxcp-ra.git * For Windows, you can take a look at using TortoiseGit with its friendly user interface. 2. SVN Checkout svn checkout https://github.com/missxantara/fluxcp-ra/trunk/ * For Windows, you can take a look at using TortoiseSVN with its friendly user interface. 3. ZIP Download https://github.com/missxantara/fluxcp-ra/archive/master.zip Extra DownloadsExtract to the root folder of your FluxCP system Job Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Jobs_Images_2012-04-28.zip Updated details: April 28, 2013 Credits: Xantara Monster Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Monsters_Eclage_14.2.zip Updated details: Mob ID #2380 of Eclage (Episode 14.2) Credits: Brynner Item Icon Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Item_Icons_2012-04-08.zip Updated details: April 8, 2013 Credits: Latheesan's Extractor Item Image Files: http://missxantara.github.io/fluxcp-ra/downloads/FluxCP_Item_Images_2012-04-08.zip Updated details: April 8, 2013 Credits: Latheesan's Extractor Quick Links Wiki: https://github.com/missxantara/fluxcp-ra/wiki Bug/Suggestion Reports: https://github.com/missxantara/fluxcp-rA/issues GitPage: http://missxantara.github.io/fluxcp-ra Misc. Feel free to post any suggestions here. If suitable, they may be polled by general users before being decided to be implemented or not. If you have a feature already coded that you would like to share, please do send a GIT pull request or send me an SVN diff of the work - I'd love to take a look at it! Please note that working on this open-source project will furthermore serve as a learning opportunity for me. If you find that I've implemented something that could be improved, I urge you to let me know - your knowledge on this subject would be greatly appreciated!Like my work? Rep up the topic first post Edited April 29, 2013 by Xantara 47 1 Link to comment Share on other sites More sharing options...
Ninjamon Posted February 24, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted February 24, 2013 Does the V4P Includes? Link to comment Share on other sites More sharing options...
Xantara Posted February 24, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted February 24, 2013 Does the V4P Includes? All my current addons, except for the Item Shop Quantifier, will stay as addons. Thanks for the inquiry (I knew someone would ask lol). Link to comment Share on other sites More sharing options...
Ninjamon Posted February 24, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted February 24, 2013 I don't know if i downloaded a corrupted file but its a 656kb file right? Link to comment Share on other sites More sharing options...
Xantara Posted February 24, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted February 24, 2013 I don't know if i downloaded a corrupted file but its a 656kb file right? Yes, it should be around there. There are extra downloads if you want images for items and monsters: https://github.com/missxantara/fluxcp-ra/downloads Link to comment Share on other sites More sharing options...
Ninjamon Posted February 24, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted February 24, 2013 How can i get the vote for points only? I am already using your default CP Link to comment Share on other sites More sharing options...
GM Takumirai Posted February 24, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted February 24, 2013 Xantara can you also make the defualt theme.. we are waiting for that Link to comment Share on other sites More sharing options...
mrlongshen Posted February 25, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted February 25, 2013 Follow xantara the coder Link to comment Share on other sites More sharing options...
Xantara Posted March 1, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted March 1, 2013 Alright, so I found out that GitHub has an SVN mirror, however, it has its pros and cons. Pros: My current setup is doing a commit on a local copy of GIT, git svn to the Google Code, then a remove svn2git to push to GitHub. This is quite tedious and not exactly a "mirror". This causes me to guess if something will work or not (eg. making a branch - which did not work). No extra work for me to update links, content, etc Cons: Revision numbers on GitHub are different than the ones currently on GoogleCode thus "svn switch --relocate" may not work No web interface that shows the linear use of revision numbers Changes: Due to the lack of revision numbers, I plan to change the schema update files to dates instead of relying on revision numbers (eg. /data/schemas/charmapdb/cp_charprefs.20090425.sql). I am thinking of using the GitHub SVN mirror and delete the Google Code repository so that I can start to work on the Account Management feature on a separate branch. However, it'd be great to get other's input, Perhaps I am forgetting an important pro/con? Maybe you like/dislike the proposed changes? Or, you have knowledge in this GIT/SVN stuff and have recommendations/ideas/suggestions/etc. Oh, and if anyone knows how to make it so that a git push/commit message include the svn revision number, that'd be great! 1 Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted March 1, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: March 27 Share Posted March 1, 2013 how much is the addons? Link to comment Share on other sites More sharing options...
mrlongshen Posted March 1, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 1, 2013 how much is the addons? it is included. Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted March 2, 2013 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: March 27 Share Posted March 2, 2013 i don't see it here when i downloaded it. Link to comment Share on other sites More sharing options...
Xantara Posted March 5, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted March 5, 2013 I've applied the following change in 73d60ad. Because of this, an SVN repository isn't necessary anymore but since GitHub has an SVN mirror, I will be linking to that repository instead of the one in GoogleCode. Changes: Due to the lack of revision numbers, I plan to change the schema update files to dates instead of relying on revision numbers (eg. /data/schemas/charmapdb/cp_charprefs.20090425.sql). Now that I've done this, I can now create a branch without worrying that it will work after going through "git svn dcommit", "svn2git", etc commands. So, I'll begin working on the account management in a feature branch. I'd love to have one or two testers, especially those that have their own server. However, keep in mind that this is a development branch - not a stable branch. If you are interested, please PM me or email me at missxantara[at]gmail[d0t]com. Thanks! Link to comment Share on other sites More sharing options...
GM Takumirai Posted March 5, 2013 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted March 5, 2013 Nice Hope to see more - hope its free Link to comment Share on other sites More sharing options...
Xantara Posted March 8, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted March 8, 2013 Nice Hope to see more - hope its free Yes, the account management feature will be free and will be found in the master/trunk branch once finished. Link to comment Share on other sites More sharing options...
Thanna Posted March 8, 2013 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 271 Reputation: 7 Joined: 01/06/12 Last Seen: May 16, 2015 Share Posted March 8, 2013 Hello xantara, I would suggest a forget Pin code for the Pin Code System which is new to Rathena Link to comment Share on other sites More sharing options...
kingdomro Posted March 9, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 11 Reputation: 0 Joined: 07/07/12 Last Seen: January 10, 2015 Share Posted March 9, 2013 (edited) what if already using version 1.0.0 and want to replace it using version 2.0.0?? I try to delete all files fluxcp version 1.0.0 and delete data in phpmyadmin cp_xxxx .., and I download https://github.com/missxantara/fluxcp-ra/archive/master.zip and install on localhost but it can not work this is picture maybe you can see Edited March 9, 2013 by kingdomro Link to comment Share on other sites More sharing options...
Xantara Posted March 10, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted March 10, 2013 Hello xantara, I would suggest a forget Pin code for the Pin Code System which is new to Rathena Good idea. I believe there are still bugs and its still in the beta stage of release but yes, this feature should be added to the CP once the implementation has been finalized. Thanks for the suggestion! what if already using version 1.0.0 and want to replace it using version 2.0.0?? There are a few ways to do this. The way I recommend is to follow these steps: Take a backup of all your cp_* tables Delete your cp_* tables (make sure you have the backup from the previous step!) Delete the schema folder in the cp/data/logs/ directoy Go to your site, it should show an installation page Finish the install & update process Delete your cp_* tables Run your backup to get your previous cp_* tables again Link to comment Share on other sites More sharing options...
kingdomro Posted March 10, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 11 Reputation: 0 Joined: 07/07/12 Last Seen: January 10, 2015 Share Posted March 10, 2013 (edited) Hello xantara, I would suggest a forget Pin code for the Pin Code System which is new to Rathena Good idea. I believe there are still bugs and its still in the beta stage of release but yes, this feature should be added to the CP once the implementation has been finalized. Thanks for the suggestion! >>what if already using version 1.0.0 and want to replace it using version 2.0.0?? There are a few ways to do this. The way I recommend is to follow these steps: Take a backup of all your cp_* tables Delete your cp_* tables (make sure you have the backup from the previous step!) Delete the schema folder in the cp/data/logs/ directoy Go to your site, it should show an installation page Finish the install & update process Delete your cp_* tables Run your backup to get your previous cp_* tables again means if have installed version 1.0.0. I need to backup the database first cp _ * and delete a folder scheme and if that's all then I delete the folder ' fluxcp 1.0.0' and extract fluxcp 2.0.0 and do a reinstall again and restore the cp _ his back ================================= I've been doing 1-3 ways and extract the file fluxcp into the folder xantara 2.0.0 fluxcp 1.0.0 and setting back on: 1. cp/config/php application. 2. cp/config/php servers. then continue the process 4 & 5 but after I click ' Install or Update Everything ' comes up error ========================================================= EDITED OKE CASE SOLVED... THX XANTARA Edited March 12, 2013 by kingdomro Link to comment Share on other sites More sharing options...
Ehcloprom Posted March 14, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 82 Reputation: 11 Joined: 01/01/12 Last Seen: December 29, 2018 Share Posted March 14, 2013 I would like to thank you for your contributions. 1 Link to comment Share on other sites More sharing options...
mrlongshen Posted March 21, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 21, 2013 please help me. the blacksmith and alchemist ranking is not function. how? give me some guide~ Link to comment Share on other sites More sharing options...
ricecake Posted April 6, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 01/14/13 Last Seen: June 1, 2013 Share Posted April 6, 2013 I'm having some problem installing your scripts on my localhost. I can't access the folder index.php because every time I do it just redirect me back to xampp local homepage instead. Any idea how I can solve this problem? Link to comment Share on other sites More sharing options...
ricecake Posted April 7, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 01/14/13 Last Seen: June 1, 2013 Share Posted April 7, 2013 Nvm.. I have solved the problem Link to comment Share on other sites More sharing options...
ionflux Posted April 7, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 4 Reputation: 0 Joined: 03/03/13 Last Seen: May 19, 2022 Share Posted April 7, 2013 (edited) i know this shows whether a user is logged in: <?php if ($session->isLoggedIn()): //do something here endif; ?> but what's the code to check the account level of the user logged in? for example, i only want a GM to see some links which a normal user cannot <?php if (AccountLevel==ADMIN) { echo "show this thing;" } ?> Edited April 7, 2013 by ionflux Link to comment Share on other sites More sharing options...
Xantara Posted April 8, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 243 Reputation: 206 Joined: 11/28/11 Last Seen: February 13, 2023 Author Share Posted April 8, 2013 ... but what's the code to check the account level of the user logged in? for example, i only want a GM to see some links which a normal user cannot ... Since rAthena saves group_id of an account rather than their group level, you can do this be referencing the AccountLevel class declared in config/groups.php: if(AccountLevel::getGroupLevel($session->account->group_id) == AccountLevel::ADMIN) However, if you want multiple groups to be allowed to run the certain piece of code (eg. GMs and admins), then you would check the group level hierarchy by if(AccountLevel::getGroupLevel($session->account->group_id) > AccountLevel::NORMAL){ dothis; // only groups with level greater than a normal account user will run this code } Hope that helps! Link to comment Share on other sites More sharing options...
Recommended Posts