Jump to content

Xantara's FluxCP


Xantara

Recommended Posts


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   2
  • Joined:  03/06/12
  • Last Seen:  

Does the V4P Includes?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   2
  • Joined:  03/06/12
  • Last Seen:  

I don't know if i downloaded a corrupted file but its a 656kb file right?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   2
  • Joined:  03/06/12
  • Last Seen:  

How can i get the vote for points only? I am already using your default CP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

Xantara can you also make the defualt theme.. we are waiting for that :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

Follow xantara the coder /gg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

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!

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  974
  • Reputation:   41
  • Joined:  11/13/11
  • Last Seen:  

how much is the addons? :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

how much is the addons? :D

 

it is included.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  974
  • Reputation:   41
  • Joined:  11/13/11
  • Last Seen:  

i don't see it here when i downloaded it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

Nice Hope to see more :) 

- hope its free :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  11
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

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 ..,
but it can not work
 
this is picture maybe you can see

post-6015-0-38903600-1362837690_thumb.png

post-6015-0-57306400-1362837701_thumb.png

post-6015-0-43027400-1362837712_thumb.png

Edited by kingdomro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

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:

  1. Take a backup of all your cp_* tables
  2. Delete your cp_* tables (make sure you have the backup from the previous step!)
  3. Delete the schema folder in the cp/data/logs/ directoy
  4. Go to your site, it should show an installation page
  5. Finish the install & update process
  6. Delete your cp_* tables
  7. Run your backup to get your previous cp_* tables again
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  11
  • Reputation:   0
  • Joined:  07/07/12
  • Last Seen:  

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:

  1. Take a backup of all your cp_* tables
  2. Delete your cp_* tables (make sure you have the backup from the previous step!)
  3. Delete the schema folder in the cp/data/logs/ directoy
  4. Go to your site, it should show an installation page
  5. Finish the install & update process
  6. Delete your cp_* tables
  7. 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 by kingdomro
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   11
  • Joined:  01/01/12
  • Last Seen:  

I would like to thank you for your contributions.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

please help me. the blacksmith and alchemist ranking is not function. how? give me some guide~ 

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/14/13
  • Last Seen:  

Nvm.. I have solved the problem :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  03/03/13
  • Last Seen:  

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 by ionflux
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

... 

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

×
×
  • Create New...