Jump to content
  • 0

Requesting for V4points Dynamic NPC Shop


agentbogz

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   4
  • Joined:  04/09/12
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  12/01/18
  • Last Seen:  

any have the npc? edited? with euphy sql fix?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

- <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";

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   4
  • Joined:  04/09/12
  • Last Seen:  

Oops.. Thanks a Lot Sir Euphy all scripts are now working.. BIG THANKS =)

Edited by agentbogz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  99
  • Reputation:   0
  • Joined:  04/23/12
  • Last Seen:  

sir can you give me the full script of this?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

check Euphy topic in Script Release section if you are looking for his script

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

thank you for this

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

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

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