agentbogz Posted July 5, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 96 Reputation: 4 Joined: 04/09/12 Last Seen: April 20, 2019 Share Posted July 5, 2012 Hello Guys, Do you have any scripts there? Vote for points dynamic npc shop, so i can view,test preview the item. i'm using Sir Jaypee's V4points Script. Thanks to you all =) Quote Link to comment Share on other sites More sharing options...
0 Sensei334 Posted January 28, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 12/01/18 Last Seen: March 11, 2019 Share Posted January 28, 2019 any have the npc? edited? with euphy sql fix? Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 5, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 5, 2012 - <tab> script <tab> VotePointConvert <tab> -1,{ OnPCLoginEvent: query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+getcharid(3)+" LIMIT 1",.@points); if (!.@points) end; query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@points+") WHERE account_id='"+getcharid(3)+"'"); set #VOTEPOINTS, #VOTEPOINTS+.@points; dispbottom "Vote Points updated! Total: "+#VOTEPOINTS; end; } Then use my quest shop with the following configuration: setarray .Points$[0],"#VOTEPOINTS","Vote Points"; 1 Quote Link to comment Share on other sites More sharing options...
agentbogz Posted July 5, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 96 Reputation: 4 Joined: 04/09/12 Last Seen: April 20, 2019 Author Share Posted July 5, 2012 (edited) Oops.. Thanks a Lot Sir Euphy all scripts are now working.. BIG THANKS =) Edited July 5, 2012 by agentbogz Quote Link to comment Share on other sites More sharing options...
dave23 Posted July 5, 2012 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 99 Reputation: 0 Joined: 04/23/12 Last Seen: May 5, 2022 Share Posted July 5, 2012 sir can you give me the full script of this? Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 5, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 5, 2012 check Euphy topic in Script Release section if you are looking for his script 1 Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted February 26, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted February 26, 2013 - <tab> script <tab> VotePointConvert <tab> -1,{ OnPCLoginEvent: query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+getcharid(3)+" LIMIT 1",.@points); if (!.@points) end; query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@points+") WHERE account_id='"+getcharid(3)+"'"); set #VOTEPOINTS, #VOTEPOINTS+.@points; dispbottom "Vote Points updated! Total: "+#VOTEPOINTS; end; } Then use my quest shop with the following configuration: setarray .Points$[0],"#VOTEPOINTS","Vote Points"; sir i make new txt file for the VotePointConvert. what is the function ? i dont see any my vote for point there. Quote Link to comment Share on other sites More sharing options...
darking123 Posted April 16, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted April 16, 2013 thank you for this Quote Link to comment Share on other sites More sharing options...
pr3p Posted November 26, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 197 Reputation: 13 Joined: 05/14/12 Last Seen: October 29, 2024 Share Posted November 26, 2013 - <tab> script <tab> VotePointConvert <tab> -1,{ OnPCLoginEvent: query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+getcharid(3)+" LIMIT 1",.@points); if (!.@points) end; query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@points+") WHERE account_id='"+getcharid(3)+"'"); set #VOTEPOINTS, #VOTEPOINTS+.@points; dispbottom "Vote Points updated! Total: "+#VOTEPOINTS; end; } Then use my quest shop with the following configuration: setarray .Points$[0],"#VOTEPOINTS","Vote Points"; The votepointconverter is a separate npc? Quote Link to comment Share on other sites More sharing options...
agentbogz Posted November 26, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 96 Reputation: 4 Joined: 04/09/12 Last Seen: April 20, 2019 Author Share Posted November 26, 2013 Yup! Quote Link to comment Share on other sites More sharing options...
Question
agentbogz
Hello Guys, Do you have any scripts there? Vote for points dynamic npc shop,
so i can view,test preview the item.
i'm using Sir Jaypee's V4points Script.
Thanks to you all =)
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.