[Cash Shop] How to add crystals in the shop of rarities

Status
Not open for further replies.

Сорок два

Administrator
Staff member
Admin
Content Creator
Guide Author
Seller
Premium
  • Open phpMyAdmin (WAMP server) and go along the way: WAMP > phpMyAdmin > allods_billing_rc_4_0_02 > SQL
  • Copy the code below to the clipboard (Ctrl+С):
SQL:
INSERT INTO `account_money` (`id`, `version`, `account_id`, `money`, `currency_id`) VALUES
(1, 10, 1, 1000000, 1),
(2, 8, 1, 1000000, 2);
  • We insert in the field of execution of the SQL query (Ctrl+V) - then execute the query

Consider the meaning:
id
= (1)|(2) - serial number
version = (10)|(8) - version (entered arbitrary values(10, 8))
account_id = (1) - account id (can be found in: phpMyAdmin > allods_billing_rc_4_0_02 > account)
money = (1000000) - amount of crystals (the price)
currency_id = (1)|(2) - Value id (1 = Standard Crystals)|(2 = Premium Crystals)
 
Status
Not open for further replies.

Top Bottom