Jump to content
Ind

Introducing Cash Shop Support

Recommended Posts

 

[*]1st, getting this together has only been possible thanks to Yommy

[*]2nd, really, without Yommy's help this wouldn't have worked

[*]3rd, did I already mention Yommy made this possible?

 

i guess we cant do without yommy :P

Share this post


Link to post
Share on other sites

#KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database.

 

greetings

Tepoo

 

i can not found global_reg_value table in my database.

 

i found :

1. global_acc_reg_num_db and

2. global_acc_reg_str_db

 

which one is the correct one ?

Share this post


Link to post
Share on other sites

 

#KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database.

 

greetings

Tepoo

 

i can not found global_reg_value table in my database.

 

i found :

1. global_acc_reg_num_db and

2. global_acc_reg_str_db

 

which one is the correct one ?

its not from both of them

Those #CASHPOINTS and #KAFRAPOINTS variables are stored in

 

acc_reg_num_db

Share this post


Link to post
Share on other sites

 

 

#KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database.

 

greetings

Tepoo

 

i can not found global_reg_value table in my database.

 

i found :

1. global_acc_reg_num_db and

2. global_acc_reg_str_db

 

which one is the correct one ?

its not from both of them

Those #CASHPOINTS and #KAFRAPOINTS variables are stored in

 

acc_reg_num_db

mine is empty

Share this post


Link to post
Share on other sites

When a value is zero, the variable is destroyed server-side. If you want to add a variable to an account, just insert a row. Just remember:

 

account_id is the account ID of the player you want to give points to;

key is the variable name (DO NOT FORGET ABOUT THE '#'!), in this case #KAFRAPOINTS or #CASHPOINTS;

index is the index of the var. Leave to 0 by default since if you use any other, you should access to #var[index];

value is obvious, don't you think?

Share this post


Link to post
Share on other sites

When a value is zero, the variable is destroyed server-side. If you want to add a variable to an account, just insert a row. Just remember:

 

account_id is the account ID of the player you want to give points to;

key is the variable name (DO NOT FORGET ABOUT THE '#'!), in this case #KAFRAPOINTS or #CASHPOINTS;

index is the index of the var. Leave to 0 by default since if you use any other, you should access to #var[index];

value is obvious, don't you think?

Got it, thanks for the answer (to Dastgir & jaBote)

 

I will try cash shop feature  :D

Share this post


Link to post
Share on other sites
4 hours ago, elkun1510 said:

how to change cash shop banner and charge link:
https://prnt.sc/vhfzt3

 \data\luafiles514\lua files\datainfo\tb_cashshop_banner.lub

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.