RUSSIAN | ENGLISH

Installing and configuring the script L2donate

  • Features:
  •  
  • Work as one or multiple databases.
  • The possibility of installing the system at every secondary server with different prices and a list of things.
  • Sale items
  • Installing the intervals of enchant for things and the price of each interval.
  • Setting a maximum and minimum enchant levels
  • Changing character :
    • name
    • sex
    • Transfer character to another account
    • purchase nobility
    • purchase hero


    To be able to conduct operations with a particular character it has to be offline in the game.


  • Installing the billing system:
    1. File : /l2donate/lib/config.php

    2. Setting up connections to databases:

      Description: Select your version of database. Folder  /l2donate/lib/versions/

      include("versions/inter-pvp.php");


      Description: Give a prefix for tables script

      define("DB_PREFIX", "l2sdonate_"); // prefix for l2donate tables

      Description: The settings on the server where the database is to table "accounts":

      $SQL_CONFIG_PRIM = array(
      'sql_layer' =>'mysql',
      'sql_host' => 'localhost',
      'sql_user' => '',
      'sql_pass' => '',
      'sql_dbname' => 'l2s',
      'comment' => 'pimaryDB',
      'sql_charset' => 'utf8',
      );
      Description: Options secondary server where the database is to table "characters":
      $SQL_CONFIG_SECOND = array(
      'sql_layer' =>'mysql',
      'sql_host' => 'localhost',
      'sql_user' => '',
      'sql_pass' => '',
      'sql_dbname' => 'l2s',
      'comment' => 'secondDB',
      'sql_charset' => 'utf8',
      );


      If you want to install a billing system for only one server in your secondary server, specify the same options as configured on the server.


    3. System Settings:

      Description: Admin Panel Settings:

      $CFG = array(

      Skin admin panel. A folder with templates: /l2donate/admin/skin/default

      'skin' => 'default',


      Language admin panel


      'language' => 'russian',

      Default module

      'default_module' => 'transactions',


      Here the list of active units in the admin to disable one of them, simply delete it from the list.


      'active_modules' => 'info,transactions,files,systems,options,tariffs,countries,mngchar,shop,ench,shoptrans,balances,texts,tariffsall,login',
      );
      Description: Options Personal Area:
      $CFG = array(
      Skin personal cabinet. A folder with templates: /l2donate/client/skin/default
      'skin' => 'default',
      'language' => 'russian',

      Default module

      'default_module' => 'info',

      Here the list of active units in the admin to disable one of them, simply delete it from the list.

      'active_modules' => 'info,paymentpage,systems,shoptrans,sendmail,sms,login,ench,shop,mngchar',
      );
    4. General settings:

      Description: Set username and password to log into the admin panel

      define("AUTH_USER", "admin");
      define("AUTH_PASS", "admin");
      Save the file and upload the script on the server.
  • Installing the system

    Run install.php l2donate/admin/install.php

  • Setting the admin panel
     l2donate/admin/

Connecting payment systems

 

Click System, then click "File" and select the desired payment system

To connect the payments through SMS messages, you need to register on the site SmsCoin.com and activate the service sms: bank.
Registration and activation is free.Moderation, activation is carried out within a maximum of 3 days, usually sooner.

 

 

 

Settings SMS services: Bank on the site SmsCoin.net:

1) Insert the name of the service: (for example l2donate)

2) Set the secret password to the service: (for example 1234567)

3) Choose from a list of countries for which you hotie given the opportunity to pay via SMS.

4) In the Success URL - enter the address to index.php, for example http://www.yousite.com/l2donate/client/index.php

5) In the Fail URL - enter the address to index.php, for example http://www.yousite.com/l2donate/client/index.php

6) In the Result URL - enter the address to the Page result.php, for example http://www.yousite.com/l2donate/client/result.php

7) Method ostavte POST

8) "delay" set 0

9) Activate the service tick the item "Active"

10) save the service.


After installing the payment system SmsCoin, (admin panel-> system, section-> item file-> SmsCoin -> Install)
you will have 3 fields.

SmsCoin secret code:
SmsCoin sms: bank ID:
SmsCoin sms: bank gate:



In order to fill them, you need zaregistrirovatsya site http://smscoin.com, and activate the service sms: bank.
Then, in Control Panel, select Services -> sms: bank.

Copy from the Control Panel SmsCoin, service settings sms: bank
ie:

SmsCoin secret code: Secret Service code SMS: Bank
SmsCoin sms: bank ID: ID services sms: bank
SmsCoin sms: bank gate: Click on [gateway address], and copy the generated string to "bank /". Example: http://c5ec.bank.smscoin.com/

Connecting the grid tariff for SMS payments

 

Click System, then click "SMS rates" and click Download / Update tariff grid

 

 

Options

 

In the Settings menu, click Options, and then set contact E-mail

 

 

Shop

 

Click Shop, specify the prices and add products, id things consistent with the field object_id table items