Jump to content
  • 0

PVP Points Bound to Character


Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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

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...