Avatar and Signature Generator FluxCP Addon

Avatar and Signature Generator FluxCP Addon 1.0.0.0

No permission to download
Content Author
Hyvraine, KeyWorld
This is based on KeyWorld's [Vincent Thibault] ROChargenPHP. I just made some little tweaks to work some things out. The only difference is that it's made into a FluxCP addon instead of having it on a different folder, so you don't have to write down your server's credentials again.
default_biggrin.png


I have only tested this yet on the latest Herc FluxCP so, uhm, you know, try not to ask for installation help on rA Flux just yet.
default_wink.png


I'm going to upload the sprite.grf soon so look out for edit/s on this post for the link.

Installation

1. After extracting the ZIP file inside the addons folder, put your own GRFs inside '
addons\chargen\modules\chargen\client'. And also, edit the DATA.ini to list your GRFs.
2. You're good to go!
3. There are some settings inside the addon.php (addons\chargen\config\addon.php):
This line changes the cache time for your avatar's status.

Code:
'ChargenCacheTime' => 0.1, ////In minutes
These are the default backgrounds/border for your avatar/signature in case you didn't click on any of them in the creation menu.

Code:
'default_avaBG' => "background00.jpg", //Default Avatar Background BG'default_avaBD' => "border.png", //Default Avatar Border'default_sigBG' => "background01.jpg",
You can have your custom INI, just make sure you edit the name here.

Code:
 'Data_INI' => "DATA.INI",
Like on KeyWorld's thread, setting this to true would have an improvement on speed as it's not looking inside the GRFs again and again.

Code:
'AutoExtract' => true,
These are the file types that the addon will read inside the backgrounds/borders folder.

Code:
'supported_filetypes' => array('gif','jpg','jpeg','png'), //List of supported filetypes for background and border.
You can also edit the default values but it's very unlikely that it will ever be needed at some point.

-------------

To add more backgrounds for the avatar creation just simply add them inside the dedicated folder for it: 'addons\chargen\modules\chargen\data\avatar\background'

To add more borders for the avatar creation simply add them inside the borders folder: 'addons\chargen\modules\chargen\data\avatar\border'

The same is also for the signatures (it's on addons\chargen\modules\chargen\data\signature). I'll add support for borders soon but I think you could just edit the background for the meantime. /no1

And I think that's all you need to know! Everything should be working now, and if it isn't don't hesitate to ask. Please report bugs too, I know it's not written that well. :/

License is the same as the original: http://creativecommons.org/licenses/by-nc-sa/3.0/

Notes:

  • This does not generate head-only, nor monsters, nor character-only images.



cg1.png
  • Upvote
Reactions: u niver X
Author
Hyvraine
Downloads
434
Views
5,141
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Hyvraine

  • Botong-ui | FluxCP Theme
    Botong-ui | FluxCP Theme
    Hi! This is kind of my "sorry for appearing and disappearing, please accept my apology" beta...
  • Stellar - FluxCP (Herc FluxCP)
    Stellar - FluxCP (Herc FluxCP)
    Stellar by HTML5 UP | @ajlkn | html5up.net Free for personal and commercial use under the CCA...
  • Garden Keeper Rucksack
    Garden Keeper Rucksack
    Originally uploaded on rAthena. Reposting here to share.   == I have no idea what to do with the...
  • Loading Screens
    Loading Screens
    This originally was uploaded on rAthena. It contains 3 loading screens, PSD included.
  • Gravity Themed Thor Patcher
    Gravity Themed Thor Patcher
    Originally was uploaded on rAthena but I've updated it to the latest Thor Patcher.  ...
Back
Top