Jump to content
  • 0

#KAFRAPOINTS #CASHPOINTS where this is being stored?


Question

Posted

hello!
Im pretty new in making script, and i have this idea wherein players will have a certain points daily and will be reset the value if not used or anything was left and im thinking to use either #KAFRAPOINTS or #CASHPOINTS. I just wanted to ask where are these values being stored? in the database which table?
how can i implement this in a script? 

3 answers to this question

Recommended Posts

  • 0
Posted
acc_reg_num

its stored in this table.

however to reset it, its a bit tricky

  • if there are no player online, you can safely execute the sql script to remove it from database
  • if there are player currently online, you have to manually select each user to reset their points (of course this can be done is numerous ways)
    then run SQL script to remove points from those who aren't online.

 

  • 0
Posted
40 minutes ago, Emistry said:
acc_reg_num

its stored in this table.

however to reset it, its a bit tricky

  • if there are no player online, you can safely execute the sql script to remove it from database
  • if there are player currently online, you have to manually select each user to reset their points (of course this can be done is numerous ways)
    then run SQL script to remove points from those who aren't online.

 

thanks for this. so its imposible to reset ingame. i see. so what about limit the usage of kafrapoints for a day. example. you have given 1000 kafrapoints for the week. and you only want the players to use upto 100 points per day. is it possible?
if its imposible to reset the kafra points of players while they are online, im thinking now to reset it every weekly maintenance. 

 

also, if i want to define custom points, is this the only where i define them and does it automatically usable ingame?
or should define it in other part of the emulator?

pc.hpp
image.png.2db09c8946edebd6c175260719efb004.png

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

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