Register for your free account! | Forgot your password?

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

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

Advertisement



Lost Crusade Website - NaN

Discussion on Lost Crusade Website - NaN within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 115
Received Thanks: 38
Lost Crusade Website - NaN

Hab ein kleines Problem mit den Votepoints , ACCOUNT_TBL bearbeitet etc. Lastvote 1, 2 , 3 & votepoints geaddet.

Ich schätze mal es liegt an der Register.php , kann sie einer Reuploaden? (Die fixxed )
♪♫Pixelzdev♫♪ is offline  
Old 06/02/2013, 13:41   #2
 
elite*gold: 0
Join Date: May 2013
Posts: 31
Received Thanks: 2




mfG
SynKeD is offline  
Old 06/02/2013, 14:12   #3
 
elite*gold: 0
Join Date: Dec 2012
Posts: 115
Received Thanks: 38
Ist das die, wo das Voten schon gefixxt ist? btw. kein NaN mehr?
♪♫Pixelzdev♫♪ is offline  
Old 06/02/2013, 14:15   #4
 
elite*gold: 0
Join Date: May 2013
Posts: 31
Received Thanks: 2
Sry, habe gerade gesehen. votebox.inc.php und ajax.php müssten umgeschrieben werden. Im Moment noch NaN!

mfG
SynKeD is offline  
Old 06/02/2013, 14:26   #5

 
elite*gold: 142
Join Date: Apr 2010
Posts: 859
Received Thanks: 428
Ich kenn das Script zwar nicht, aber kam "NaN" nicht nur wenn keine Votepoints da sind?
Dann könnte man auch hergehen und das Script so abändern dass er dann eben kein Datenbankwert als Ausgabe nimmt sondern direkt "0".

Ist nur eine Vermutung was dies betrifft
©ross is offline  
Thanks
1 User
Old 06/02/2013, 14:29   #6
 
elite*gold: 0
Join Date: May 2013
Posts: 31
Received Thanks: 2
Quote:
Originally Posted by ©ross View Post
Ich kenn das Script zwar nicht, aber kam "NaN" nicht nur wenn keine Votepoints da sind?
Dann könnte man auch hergehen und das Script so abändern dass er dann eben kein Datenbankwert als Ausgabe nimmt sondern direkt "0".

Ist nur eine Vermutung was dies betrifft
Nein, auch nach dem Vote steht NaN!

mfG
SynKeD is offline  
Old 06/02/2013, 15:38   #7
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,739
Received Thanks: 1,669
Quote:
Originally Posted by SynKeD View Post
Nein, auch nach dem Vote steht NaN!

mfG
Dann wurde die Query nicht richtig ausgeführt.
Legt am besten ein Default für die Spalte vote an, damit ihr euch einige Querys sparen könnt:
Code:
alter table [dbo].[ACCOUNT_TBL] add constraint [DF_ACCOUNT_TBL_votepoints]  default ((0)) for [votepoints]
GO
(-> Wird ein neuer User in der Table eingetragen, wird ihm automatisch 0 für die votepoints zugewiesen. Ihr könnt also z.B. auch 5 oder so nehmen, als "Willkommensgeschenk" oder ähnliches)
Hab gerade nicht mehr im Kopf, wie die Spalten bei euch heißen, aber so müsste es gehen.
xTwiLightx is offline  
Thanks
1 User
Old 06/02/2013, 16:24   #8
 
elite*gold: 0
Join Date: Dec 2012
Posts: 115
Received Thanks: 38
Hat geholfen , danke dir.
♪♫Pixelzdev♫♪ is offline  
Reply


Similar Threads Similar Threads
[Release] Lost Crusade Website / Icetea' Style
11/17/2012 - Flyff PServer Guides & Releases - 8 Replies
*removed*
Lost Crusade Website Problem
02/28/2012 - Flyff Private Server - 4 Replies
Hallo leute, Ich habe ein Problem mit der Homepage von Lost Crusade undzwar wenn ich die DB bei xampp in MySQL aufsetzen will kommt ein error.. undzwar der hier Error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO IF NOT E' at line 1



All times are GMT +2. The time now is 08:42.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.