Jump to content
  • 0

PVP Points Bound to Character


Frost Diver

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

Hi guys!

I got 2 problems here and requesting some help regarding this script.

1. Currently the points given are bound to character. How to make it bound to account so that if players change character, the pvp points are the same value.

2. Everytime players purchased the items using pvp points, it gives a warning said Itemdb 0 not exist. I believed that the warnings are from this script but I cant find where's the value to change.

Thanks in advance

pvp_points.txt

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

for #1 change :

Quote

set pvp_points, pvp_points - .Price[.@i]*@bought_quantity[.@d];

to

Quote

set #pvp_points, #pvp_points - .Price[.@i]*@bought_quantity[.@d];

 

for #2: you don't have an array "@bought_nameid" change @bought_nameid to .customs. I believe that should be good enough. I just skimmed the script so i might have missed something else.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

ok mate. i will try it later and give the results. thank you so much! ^_^

 

16 hours ago, Zeiyan said:

for #2: you don't have an array "@bought_nameid" change @bought_nameid to .customs. I believe that should be good enough. I just skimmed the script so i might have missed something else.

hi mate, i've tried both solutions but didnt work. the points is still bound to character and the warning itemid still exist

Capture.PNG

Link to comment
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
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.

×
×
  • Create New...