Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 12:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VOTING SCRIPT PROBLEM

Discussion on VOTING SCRIPT PROBLEM within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Cloud''s Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 245
Received Thanks: 28
VOTING SCRIPT PROBLEM

Votepoints won't add, can anyone help me?

Votingscript

Pingback
Cloud' is offline  
Old 11/01/2016, 20:01   #2
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Any errors shown in the PHP error log?
Replace the \'3\' with 3, so remove the escaped quote signs. votepoints - votepoints2 are for sure integers, but you are trying to add a string to a number. This might work in PHP somehow, but fails in a lot of languages, this includes SQL.
xTwiLightx is offline  
Old 11/02/2016, 13:14   #3
 
Cloud''s Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 245
Received Thanks: 28
Quote:
Originally Posted by xTwiLightx View Post
Any errors shown in the PHP error log?
Replace the \'3\' with 3, so remove the escaped quote signs. votepoints - votepoints2 are for sure integers, but you are trying to add a string to a number. This might work in PHP somehow, but fails in a lot of languages, this includes SQL.

Still wont work
Cloud' is offline  
Old 11/04/2016, 18:20   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Make an check to see if you got any errors.

Code:
if($success == 0)
{
odbc_exec($mssql, 'USE [ACCOUNT_DBF]'); 
odbc_exec($mssql, 'UPDATE [ACCOUNT_TBL] SET votepoints=votepoints+3 WHERE account=\''.mssql_escape_string($pingUsername ).'\'');
odbc_exec($mssql, 'UPDATE [ACCOUNT_TBL] SET votepoints1=votepoints1+3 WHERE account=\''.mssql_escape_string($pingUsername ).'\'');
odbc_exec($mssql, 'UPDATE [ACCOUNT_TBL] SET votepoints2=votepoints2+3 WHERE account=\''.mssql_escape_string($pingUsername ).'\'');
}
else
{
	echo 'There was an error';
}
In that case if you see on you web. There was an error then you can ask your self why is $_POST['Successful'] giving me an error .
raventh1984 is offline  
Old 11/04/2016, 19:49   #5
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by Cloud' View Post
Still wont work
Then check your PHP error logs...
xTwiLightx is offline  
Old 11/05/2016, 07:55   #6
 
Cloud''s Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 245
Received Thanks: 28

This is my php error log.
Cloud' is offline  
Reply


Similar Threads Similar Threads
DP For Voting Script
07/11/2016 - Shaiya PServer Development - 0 Replies
#Request to close, my brain wasnt working..
Voting Script!
07/06/2013 - Dekaron Private Server - 0 Replies
I am using a voting script, and I am having a small problem with it! I have EVERYTHING set up correctly with it. The script is all changed up to fit my server and also the Mysql and Mssql connections are set up. This includes the db for the mysql part of the script. All votes are being imported into the mysql db and everything seems to be working fine. I myself have been using it to vote for my own server and to assure everything is fine with the script. It seems that a few members are...
Voting Script
06/30/2012 - C/C++ - 1 Replies
Hallo liebe Gemeinde, ich bin neu und brauche Eure Hilfe. Wir nehmen derzeit an einem Voting teilen und liegen derzeit abgeschlagen. Es wäre für uns enorm wichtig dieses Voting zu gewinnen. Mit 1 IP kann man alle 20 Minuten abstimmen oder Chaptca (phon.). Obwohl ich es schon mit einem IP-Changer versucht habe, was auch klappt, kommen wir nicht an die Ersten ran. Nun die Frage: Kann jemand ein Script schreiben, mit dem es möglich ist das Voting, welches noch fünt Tage aktiv ist, doch noch...
Problem Voting Script
05/22/2011 - Flyff Private Server - 19 Replies
Habe mal auf ..... Da ich Name nicht sagen darf sage ich auf nem Forum ein Voting Script gedownloadet und die Configs bereits eingeschrieben. Wenn ich dann http://meineip/vote/vote.php/ eingebe kommt nur ein weißes Bild kann mir einer helfen? ;3. Config.php <?php /* * Etunia Voting System Lite



All times are GMT +1. The time now is 12:13.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.