Jump to content
  • 0

How to change #KAFRAPOINTS to other variable?


Question

Posted

I dunno where to post this so please move if it in the wrong section. As the title says, is it possible to change all #KAFRAPOINTS value in my server to other variable such as #EVENTPOINTS. if yes, how can i do it? using script or mysql queries? thanks!

8 answers to this question

Recommended Posts

Posted

Thanks! but i got this error:-

[sql]: DB error - Duplicate entry '0-#EVENTPOINTS-2000000' for key 'PRIMARY'
[Debug]: at d:\rathena\src\char\inter.c:620 - INSERT INTO `global_reg_value` (`t
ype`,`account_id`,`char_id`,`str`,`value`) VALUES ('2','2000000','0','#GC_CAPTUR
ES','5'),('2','2000000','0','#eventpoints','10'),('2','2000000','0','#EVENTPOINT
S','10000')

And here is my script

- script converter -1,{
OnPCLoginEvent:
set #EVENTPOINTS,#EVENTPOINTS + #KAFRAPOINTS;
set #KAFRAPOINTS,0;
}

How to fix this?

Posted

lol ? what's this....my script shouldnt caused this ...

are you using SQL ? or TXT ..?

are you sure that's the whole script ?

where did this come from ?

#GC_Captures ?

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