[HELP] Buying, Inventory

11/28/2014 20:11 supnasi#1
can someone help me with this?
[Only registered and activated users can see links. Click Here To Register...]
1. How to make logs put from number 2 to number 1? I can edit the inv interface but cant move the logs to that in DB.
2. How to make a query for mySQL to buy items using the number 1 (bonus_points)? I've tried using sql is cq action that have sort of like this
Code:
9999900	9999901	0	502	1020011	
9999901	9999902	0	1001	0	bonus_points += 1
9999902	9999903	0	126	0	Congratulations!You~recieved~1~Bonus~Points!!
9999903	0	0	1085	0	gmlog/action_log 380,%user_name[%user_id],0,0,0,3800,0,729017,0,0
i've tried using "bonus_points" but it doesn't work..

thats all.. thanks..
11/29/2014 04:16 idlemonkey#2
try removing the "_ and the s" in bonus_points

11/29/2014 07:22 supnasi#3
Quote:
Originally Posted by idlemonkey View Post
try removing the "_ and the s" in bonus_points

great.. it works.. thanks.. so, in sql we shouldn't have to add "_"?
12/02/2014 12:45 idlemonkey#4
the action parameters are listed in the action type list its not sql just what the gameserver will allow you to add for parameters for each specific type if your parameters arent listed in the available parameters for the particular action then it wont work .... simple answer go search and find a list of action types