Raised This Month: $51 Target: $400
 12% 

MySQL Polls


Post New Thread Reply   
 
Thread Tools Display Modes
thatguyyoulove
Member
Join Date: Nov 2010
Location: North Texas
Old 01-12-2012 , 08:56   Re: MySQL Polls
Reply With Quote #91

Since a lot of people have requested it and it hasn't been done yet I have rewritten this plugin with threaded queries. Now I just have to fix a few things like preventing people from being asked to vote multiple times, adding alternative delivery methods for people who run deathmatch servers (or any server that respawns players within 3 seconds of them being dead) or use friendly fire, adding alternative times to poll players (such as at map end), add displaying poll results thus far in-game, and fixing up the web interface to look presentable (and not divide by zero, or require silly things like cron jobs). Will probably take a couple more days. If anyone is interested in testing let me know. Once I get the main issues done I will post the code and then add some of those features above as I get time.
thatguyyoulove is offline
niar82k
Member
Join Date: Aug 2007
Location: Germany
Old 01-12-2012 , 09:02   Re: MySQL Polls
Reply With Quote #92

Its possible Auto add webspell polls to ingame votes?
niar82k is offline
thatguyyoulove
Member
Join Date: Nov 2010
Location: North Texas
Old 01-12-2012 , 21:08   Re: MySQL Polls
Reply With Quote #93

Quote:
Originally Posted by niar82k View Post
Its possible Auto add webspell polls to ingame votes?
Not really sure what you are asking.

Whenever a client joins the server and dies for the first time the plugin checks online to see if any polls are active that the client has not voted in yet. If so, then it asks them the first poll. Then the next time they die it sees if there are any other polls that are active that the client has not voted in yet. If so, it asks them the next poll, and keeps doing this every time they die until they have voted in all of the polls.

Whenever someone votes in-game that vote is added to all of the other votes that are online.
thatguyyoulove is offline
niar82k
Member
Join Date: Aug 2007
Location: Germany
Old 01-13-2012 , 17:08   Re: MySQL Polls
Reply With Quote #94

Ok first time sry for my bad English but I'll try !

We use for our Clan Page webspell and their poll system which is based sql. Now, I just wanted to know if it's possible this would be in the polls by webspell script mysql poll of them involve? The scrippt should read the questions from the database and then questions the players if they are the first time died. So I can make the evaluations from the same poll with webspell Show on the clan site
niar82k is offline
thatguyyoulove
Member
Join Date: Nov 2010
Location: North Texas
Old 01-14-2012 , 02:21   Re: MySQL Polls
Reply With Quote #95

Ah, I see. You would definitely need to modify the code to make that work.
thatguyyoulove is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 01-15-2012 , 23:33   Re: MySQL Polls
Reply With Quote #96

I'll be looking forward to a threaded version of this plugin. :-)
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 01-16-2012 , 06:13   Re: MySQL Polls
Reply With Quote #97

Can anyone clear up what the difference between the original and a threaded version would be? I use the original version and I haven't noticed any major lag when it's being used. Just curious.
Snaggle is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 01-16-2012 , 08:04   Re: MySQL Polls
Reply With Quote #98

Lag is a major issue with this plugin when you have the database and gameserver on different hosts.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
niar82k
Member
Join Date: Aug 2007
Location: Germany
Old 01-25-2012 , 13:58   Re: MySQL Polls
Reply With Quote #99

after install the poll_web i see a briked picture from result ! I dont have the chart.jpg
niar82k is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 06-05-2012 , 03:23   Re: MySQL Polls
Reply With Quote #100

The vote menu doesnt work anymore for this.

Only the first option appears on the menu, everything else is white and cannot be selected. I think something in Sourcemod changed since it used to work a long time ago.

I wish this plugin was still being worked on. Its very useful.
__________________

DontWannaName is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode