JayPee Posted June 17, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Author Share Posted June 17, 2012 Sorry for the super late reply I've been busy at work but I cant reproduce the problem but i revised the listing of voting in index.php and list.php hope it fix the problem see my repo: https://github.com/mandark022/VoteForPoints Link to comment Share on other sites More sharing options...
gunvald Posted June 22, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 50 Reputation: 4 Joined: 03/31/12 Last Seen: January 4, 2017 Share Posted June 22, 2012 Why only admin can vote?? Link to comment Share on other sites More sharing options...
mark02366 Posted June 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/22/12 Last Seen: September 24, 2017 Share Posted June 26, 2012 Does this work for rAthena? Link to comment Share on other sites More sharing options...
RN1986 Posted July 2, 2012 Group: Members Topic Count: 153 Topics Per Day: 0.03 Content Count: 439 Reputation: 2 Joined: 05/04/12 Last Seen: June 10, 2013 Share Posted July 2, 2012 (edited) how to automatically convert vote for points into cashpoints???? Edited July 2, 2012 by RN1986 Link to comment Share on other sites More sharing options...
imajhaynation Posted July 8, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 54 Reputation: 1 Joined: 02/21/12 Last Seen: September 24, 2016 Share Posted July 8, 2012 NPC Doesnt Work on me <3 can someone help me ? Link to comment Share on other sites More sharing options...
Nipsino Posted July 8, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share Posted July 8, 2012 You can purchase FluxCP Addon from a variety of people who sell it for cheap. You can PM me if you want more information. Link to comment Share on other sites More sharing options...
Fayrie Posted July 10, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 07/08/12 Last Seen: April 29, 2023 Share Posted July 10, 2012 (edited) Proxy is not allowed when clicking on the vote now Edited July 13, 2012 by fayrie Link to comment Share on other sites More sharing options...
mleo1 Posted July 10, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 123 Reputation: 4 Joined: 11/21/11 Last Seen: 5 hours ago Share Posted July 10, 2012 (edited) awesume Edited July 12, 2012 by mleo1 Link to comment Share on other sites More sharing options...
bhadzki Posted July 11, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 06/07/12 Last Seen: July 17, 2012 Share Posted July 11, 2012 (edited) mine is fix already download this index.php and paste it in your addons/voteforpoints/modules/voteforpoints But still have new problem anyone have fix for this? http://mag-ro.net/index.php?module=voteforpoints&action=vote&sid=1 PROXY IS NOT ALLOWED index.php Edited July 11, 2012 by bhadzki Link to comment Share on other sites More sharing options...
Fayrie Posted July 13, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 07/08/12 Last Seen: April 29, 2023 Share Posted July 13, 2012 mine is fix already download this index.php and paste it in your addons/voteforpoints/modules/voteforpoints But still have new problem anyone have fix for this? http://mag-ro.net/in...tion=vote&sid=1 PROXY IS NOT ALLOWED yeah same prob for me too Link to comment Share on other sites More sharing options...
Ron Posted July 14, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 62 Reputation: 0 Joined: 07/13/12 Last Seen: August 26, 2013 Share Posted July 14, 2012 Honestly I give up haha! I put it in the /addons/ and I changed it to my.. themes name. But whats next? Im lost Link to comment Share on other sites More sharing options...
bhadzki Posted July 17, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 06/07/12 Last Seen: July 17, 2012 Share Posted July 17, 2012 Thanks i already edited the script and it's working now if you have problem guys with this script MEssage me Link to comment Share on other sites More sharing options...
aluze Posted July 24, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 07/05/12 Last Seen: August 20, 2012 Share Posted July 24, 2012 It does not work properly on chrome. You can't vote and images does not display. Link to comment Share on other sites More sharing options...
Dev Blaze Posted July 31, 2012 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 212 Reputation: 5 Joined: 01/24/12 Last Seen: February 19, 2019 Share Posted July 31, 2012 Sir Jaypee help me how to Put V4p please i alredy upload on my cp panel but i dont know how to put votesite sorry for my bad english add me please [email protected] Link to comment Share on other sites More sharing options...
Ragnar Lothbrok Posted August 3, 2012 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 309 Reputation: 6 Joined: 04/24/12 Last Seen: January 7, 2016 Share Posted August 3, 2012 (edited) how to fix this error? need healp please... i already upload all files in addon folder and load the 3 sql files in my database... now i got this error... BUMP! Edited August 2, 2012 by arnie2302 Link to comment Share on other sites More sharing options...
Famous Posted August 5, 2012 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Share Posted August 5, 2012 (edited) http://rathena.org/b...ee/#entry127619 need help.. I tried to put site on vote for points but it says no site found (ok na pala Problem solve) Edited August 5, 2012 by zhen Link to comment Share on other sites More sharing options...
Lord Ganja Posted August 7, 2012 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted August 7, 2012 I got problem with the script. what script could trigger the vote points? I'm using the dynamic npc made by Lunar, and I changed zeny into .@points, so it should get the votepoints. but when I click the npc. It shows no votepoints. The points aren't updated. What script should I used? btw, here's my script. - shop upperhgr#v4p -1,501:50 que_temsky,87,147,5 script Upper Headgear#v4p 436,{ function getPoints; function updatePoints; dispbottom "You currently have "+.@points+" Vote Points."; set @i,0; mes "[Vote for Points]"; mes "Which item do you wish to obtain?"; mes "Select only one."; callshop "upperhgr#v4p",1; npcshopattach "upperhgr#v4p"; end; OnBuyItem: if(.BuildQuest) { for(set .e,0; !compare(getarg(.e+1),".@points"); set .e,.e+2) {} npcshopadditem "upperhgr#v4p",getarg(.e+2),getarg(.e)*compare(getarg(.e+1),"S.@points"); setarray .Shop[.i],getarg(.e+2); set .i,.i+1; goto Quest_Setup; } if(.Shop[@i]!=@bought_nameid) for(set @i,1; 1; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set .i,@i; callsub Quest_Setup; } for(set @i,1; !@e; set @i,@i+1) if(.Shop[@i]==@bought_nameid) { set @e,1; set .i,@i; callsub Quest_Setup; } mes "[Vote for Points]"; mes "I require the following:"; for(set @i,0; !compare(getarg(@i+1),".@points"); set @i,@i+2) mes "^FF0000" + ((countitem(getarg(@i))>=getarg(@i+1))? "^00FF00":"") + "" + getarg(@i+1) + " " + getitemname(getarg(@i)) + " [" + countitem(getarg(@i)) + "/" + getarg(@i+1) + "]"; if(getarg(@i)) mes "^FF0000" + ((.@points>=getarg(@i))? "^00FF00":"") + "" + getarg(@i) + " Vote Points"; mes "^000000In exchange, I will give you:^0000FF"; for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) mes getarg(@i+1) + " " + getitemname(getarg(@i)); switch(select("Exchange:" + (((((getiteminfo(@bought_nameid,5) & 1) || (getiteminfo(@bought_nameid,5) & 256) || (getiteminfo(@bought_nameid,5) & 512)) && @equip==0))? "Preview Item":"") + ":No thanks")) { case 1: for(set @i,0; !compare(getarg(@i+1),".@points"); set @i,@i+2) if(countitem(getarg(@i)) < getarg(@i+1)) { next; mes "You have " + countitem(getarg(@i)) + " " + getitemname(getarg(@i)) + ", while I require " + getarg(@i+1) + "."; mes "Please obtain ^FF0000" + (getarg(@i+1)-countitem(getarg(@i))) + " more " + getitemname(getarg(@i)) + "^000000."; close; } if(.@points < getarg(@i)) { next; mes "[Vote for Points]"; mes "You do not have enough Vote Points."; mes "Please obtain ^FF0000" + (getarg(@i)-.@points) + " more Vote Points^000000."; close; } for(set @i,0; !compare(getarg(@i+1),".@points"); set @i,@i+2) delitem getarg(@i),getarg(@i+1); set .@points,.@points-getarg(@i); for(set @i,@i+2; getarg(@i+1,0); set @i,@i+2) getitem getarg(@i),getarg(@i+1); dispbottom "You now have "+.@points+" Vote Points left."; if (compare(getarg(@i,0),"announce")) announce strcharinfo(0) + " has just obtained " + getitemname(@bought_nameid) + "!",bc_all; close; case 2: set @bottomview, getlook(3); set @topview, getlook(4); set @midview, getlook(5); addtimer 1000, strnpcinfo(3)+"::On_Leave"; set @equip,getiteminfo(@bought_nameid, 5); set @view, getiteminfo(@bought_nameid, 11); if(@equip != -1 && @view > 0) { if(@equip & 1) atcommand "@changelook 3 " + @view; if(@equip & 256) atcommand "@changelook 1 " + @view; if(@equip & 512) atcommand "@changelook 2 " + @view; } next; goto OnBuyItem; case 3: close; } On_Leave: atcommand "@changelook 1 " + @topview; atcommand "@changelook 2 " + @midview; atcommand "@changelook 3 " + @bottomview; set @equip,0; set @view,0; set @topview,0; set @midview,0; set @bottomview,0; end; OnInit: npcshopitem "upperhgr#v4p",0,0; set .BuildQuest,1; set .i,1; Quest_Setup: switch(.i) { default: set .BuildQuest,0; set .e,0; set .i,0; end; case 1: callsub OnBuyItem,5,"S.@points",5474,1; case 2: callsub OnBuyItem,5,"S.@points",21453,1; case 3: callsub OnBuyItem,5,"S.@points",21454,1; case 4: callsub OnBuyItem,5,"S.@points",21609,1; case 5: callsub OnBuyItem,5,"S.@points",21389,1; case 6: callsub OnBuyItem,5,"S.@points",21420,1; case 7: callsub OnBuyItem,5,"S.@points",21424,1; case 8: callsub OnBuyItem,5,"S.@points",21427,1; case 9: callsub OnBuyItem,5,"S.@points",21428,1; case 10: callsub OnBuyItem,5,"S.@points",21429,1; } end; //Functions Bodies function updatePoints { set .@account_id,getarg(0); set .@usedPoints,getarg(1); query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@usedPoints+") WHERE account_id='"+.@account_id+"'"); return; } function getPoints { set .@account_id,getarg(0); query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+.@account_id+" LIMIT 1",.@points); if(getarraysize(.@points)==0) return 0; return .@points[0]; } } Link to comment Share on other sites More sharing options...
Kringle Posted August 8, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 34 Reputation: 1 Joined: 06/14/12 Last Seen: May 3, 2020 Share Posted August 8, 2012 Hi sir JayPee, Thank you for the awesome free vote for points addons. Successfully installed. I have one question, How to remove/add items on the VOTE NPC. i used the eAthena Version. Thank you in advance. Link to comment Share on other sites More sharing options...
eKoh Posted August 18, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 206 Reputation: 13 Joined: 01/07/12 Last Seen: July 12, 2020 Share Posted August 18, 2012 (edited) Thankz JayPee, it worked for me perfectly, the only thing that I dont like its that It just shows "12:00:00" in block time, it is not working as countdown but anyways, thank you! Hey, the eAthena NPC script has an error in the last line: Line 204: [ color=#000000]}[/color] to fix it you have to change it like this } yes, just change it to that and it will works Edited August 18, 2012 by eKoh Link to comment Share on other sites More sharing options...
Mang-Berto Posted August 22, 2012 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 139 Reputation: 2 Joined: 11/15/11 Last Seen: September 20, 2013 Share Posted August 22, 2012 how to change the votepoints to cashpoints? Link to comment Share on other sites More sharing options...
fiction Posted August 28, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 44 Reputation: 1 Joined: 01/03/12 Last Seen: December 15, 2012 Share Posted August 28, 2012 Proxy is not allowed when clicking in vote now how can i fix? Link to comment Share on other sites More sharing options...
nicz01 Posted September 1, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 06/19/12 Last Seen: October 23, 2022 Share Posted September 1, 2012 how can i fix this error sir. Link to comment Share on other sites More sharing options...
patr3k Posted September 4, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Share Posted September 4, 2012 My voting site isn't showing. I already added the schemas. But when i click the edit vote sites, it shows my 5 voting sites. i installed my fluxcp in main directory www.my-ro.net I didnt create cp folder. Link to comment Share on other sites More sharing options...
VladimirCastro Posted September 6, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share Posted September 6, 2012 how can i install this one. upload it to main or addons folder? Link to comment Share on other sites More sharing options...
Jupeto Posted September 6, 2012 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 225 Reputation: 39 Joined: 01/20/12 Last Seen: October 6 Share Posted September 6, 2012 how can i install this one. upload it to main or addons folder? put it in addons folder Link to comment Share on other sites More sharing options...
Recommended Posts