Raised This Month: $ Target: $400
 0% 

[SOLVED]code or compiler bug/problem?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-28-2011 , 14:26   Re: code or compiler bug/problem?
Reply With Quote #4

ok i found the problem.
when i use now_speed its ok but when i change it to now_maxspeed my compiler willbe crashed. why?

works
Code:
#define QUERY_CREATE_TABLE "CREATE TABLE IF NOT EXISTS `catchmod` ( \
         `authid` VARCHAR( 32 ) NOT NULL, \
         `rank` INT( 6 ) NOT NULL, \
         `name` VARCHAR( 32 ) NOT NULL, \
         `AGs` INT( 6 ) NOT NULL, \
         `maxspeed` INT( 12 ) NOT NULL, \
    `map` VARCHAR( 32 ) NOT NULL, \
    `catched` INT( 6 ) NOT NULL, \
    `catchs` INT( 6 ) NOT NULL, \
    `fps` INT( 6 ) NOT NULL, \
    `survives` INT( 6 ) NOT NULL, \
    `flagged` INT( 6 ) NOT NULL, \
    `now_map` VARCHAR( 32 ) NOT NULL, \
    `now_speed` INT( 6 ) NOT NULL, \
    PRIMARY KEY ( `authid` ) );"
crashs the compiler
Code:
#define QUERY_CREATE_TABLE "CREATE TABLE IF NOT EXISTS `catchmod` ( \
         `authid` VARCHAR( 32 ) NOT NULL, \
         `rank` INT( 6 ) NOT NULL, \
         `name` VARCHAR( 32 ) NOT NULL, \
         `AGs` INT( 6 ) NOT NULL, \
         `maxspeed` INT( 12 ) NOT NULL, \
    `map` VARCHAR( 32 ) NOT NULL, \
    `catched` INT( 6 ) NOT NULL, \
    `catchs` INT( 6 ) NOT NULL, \
    `fps` INT( 6 ) NOT NULL, \
    `survives` INT( 6 ) NOT NULL, \
    `flagged` INT( 6 ) NOT NULL, \
    `now_map` VARCHAR( 32 ) NOT NULL, \
    `now_maxspeed` INT( 6 ) NOT NULL, \
    PRIMARY KEY ( `authid` ) );"
PS. i tried to add live_speed or more things and this all works. for sure i can use other things for my table but i want to know why this crashs the compiler.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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 04:31.


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