Jump to content

Recommended Posts

Posted (edited)

Freebies for FluxCP - FREE


Features:

- Freebies Character Selection, You have to select the character where you want the freebies to claimed.

- IP Address Restriction, You can only use the code per IP Address. Freature can be disabled or enabled per code.

- Editing Freebies, You can edit the Code, Items, Zeny, Credits, Expiration, IP Restriction, Usage Limit and Description(optional).

- Adding Freebies.

- Usage Limit, 0 for unlimited or until it expires.

- Items, item_id:amount,item_id2:amount2 or just item_id for 1 item.

- Expiration, Setting the expiration date for the freebies.

- Zeny, Giving an amount of zeny to selected character.

- Description(optional), You can give a small description for the freebies to avoid the confusion.

- Deleting Freebies.

- Freebies History, List of all claimed freebies by the user.

1.2 Version

- Use for Account ID or Character ID. Feature can be disabled or enabled.

- ex. Account ID 2000000:2000500:2000600to2000700 (The Account ID with 2000000 and 2000500 and from 2000600 to 2000700 will be able to use the code)

Compability:

- Tested on Xantara's FluxCP for rAthena - https://github.com/m...ntara/fluxcp-rA

Rules:

- Do not steal the credit of this work.

How to Install:

- Make folder named freebies in your addons folder.

- Extract the file to freebies folder

- Update your database.

- Done.

If you find a bug, please contact me.

Email: [email protected]

rAthena: Feefty

Buy me a coffee


 

Edited by Feefty
  • Upvote 4
Posted (edited)

Is there something wrong with this? I just use Calcium's Flux.

 

post-374-0-56418400-1363150145_thumb.jpg

 

 

EDIT:

Please don't forget to import the SQL tables schemas on freebies\schemas\logindb. Thank you for this helpful addon! :D

 

 

EDIT2: 

 

Already imported 2 SQL files on schemes folder. And when claiming here's the ERROR.

post-374-0-25719400-1363151109_thumb.jpg

Edited by Jezu
Posted

How do you even access this like what's the url path... I can get to cp/?module=freebies whats the path to add items?

Posted

How do you even access this like what's the url path... I can get to cp/?module=freebies whats the path to add items?

 

Login your admin account and you will see 'Add' button on your 'Freebies' Navigation.

Posted

How do you even access this like what's the url path... I can get to cp/?module=freebies whats the path to add items?

 

Login your admin account and you will see 'Add' button on your 'Freebies' Navigation.

 

Yeah I had to reinstall it only problem now is normal users don't have primission to access the redemption freebies page.

Posted (edited)

thanks for this working properly but problem this is not secured on hack.. if your admin account gets hacked.. 

how about to put an security code that one owner only can use the addons? 

Edited by zhen
  • 2 months later...
Posted (edited)

Hello,

 

I installed the Freebies correctly, when i use a code to give Zeny it works , but when i try to give items like TCG, i get this :

 

Critical Error

        
        

An error was encountered during the lifetime of the application.


        

This could be due to a variety of problems, such as a bug in the application.


        

However, normally it is caused by misconfiguration.


        
        

Exception Details

        

Error: Flux_Error


        

Message: MySQL error (SQLSTATE: 42S02, ERROR: 1146): Table 'ragnarok.item_db_re' doesn't exist


        

File: E:\webserver\htdocs\site\lib\Flux\Connection\Statement.php:27



                         

File Line Function/Method E:\webserver\htdocs\site\addons\freebies\modules\freebies\function.php 19 Flux_Connection_Statement::execute() E:\webserver\htdocs\site\addons\freebies\modules\freebies\index.php 179 getItemType() E:\webserver\htdocs\site\lib\Flux\Template.php 337 include() E:\webserver\htdocs\site\lib\Flux\Dispatcher.php 168 Flux_Template::render() E:\webserver\htdocs\site\index.php 174 Flux_Dispatcher::dispatch()

        
        

Exception Trace As String

        

#0 E:\webserver\htdocs\site\addons\freebies\modules\freebies\function.php(19): Flux_Connection_Statement->execute(Array)#1 E:\webserver\htdocs\site\addons\freebies\modules\freebies\index.php(179): getItemType(7227, Object(Flux_Athena))#2 E:\webserver\htdocs\site\lib\Flux\Template.php(337): include('E:\webserver\ht...')#3 E:\webserver\htdocs\site\lib\Flux\Dispatcher.php(168): Flux_Template->render()#4 E:\webserver\htdocs\site\index.php(174): Flux_Dispatcher->dispatch(Array)#5 {main}
Edited by BFPkiller
  • 1 month later...
Posted

How do you even access this like what's the url path... I can get to cp/?module=freebies whats the path to add items?

same with me.. i even log to my admin account.. but nothing change

  • 1 month later...
  • 2 months later...
  • 3 years later...
Posted
On 3/13/2013 at 12:46 PM, Jezu said:

Is there something wrong with this? I just use Calcium's Flux.

 

post-374-0-56418400-1363150145_thumb.jpg

 

 

EDIT:

Please don't forget to import the SQL tables schemas on freebies\schemas\logindb. Thank you for this helpful addon! :D

 

 

EDIT2: 

 

Already imported 2 SQL files on schemes folder. And when claiming here's the ERROR.

post-374-0-25719400-1363151109_thumb.jpg

have you solve the error #2?

  • 4 months later...
  • 8 months later...
  • 1 month later...
Posted (edited)
PHP Notice:  Undefined variable: riftpoints in /home/addons/freebies/modules/freebies/edit.php on line 107
PHP Notice:  Trying to get property of non-object in /home/addons/freebies/modules/freebies/index.php on line 40
PHP Notice:  Trying to get property of non-object in /home/addons/freebies/modules/freebies/index.php on line 41
PHP Notice:  Trying to get property of non-object in /home/addons/freebies/modules/freebies/index.php on line 42
PHP Notice:  Trying to get property of non-object in /home/addons/freebies/modules/freebies/index.php on line 43
PHP Notice:  Trying to get property of non-object in /home/addons/freebies/modules/freebies/index.php on line 44
PHP Notice:  Trying to get property of non-object in /home/addons/freebies/modules/freebies/index.php on line 45
PHP Warning:  date() expects parameter 2 to be long, string given in /home/addons/freebies/themes/default/freebies/edit.php on line 27

 

Edited by Haikenz
  • 3 months later...
Posted

hi i have an error when i try to Redeem Freebie, i got this message: Code is already expired or doesn't exists.

image.png.e05130d27ba8f15ed0e045bbd8c5e499.png

just happens with the fluxcp in my VPS, locally it works normally, can any1 help me please?

  • 3 weeks later...
  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...