bud system
#1

is this right.the TYPE

PHP код:
 BUD::VerifyColumn(  "p_money"BUD::TYPE_NUMBER); 
        
BUD::VerifyColumn(  "p_score"BUD::TYPE_NUMBER);
        
BUD::VerifyColumn(  "p_kill"BUD::TYPE_NUMBER);
        
BUD::VerifyColumn(  "p_death"BUD::TYPE_NUMBER);
        
BUD::VerifyColumn(  "p_id"BUD::TYPE_NUMBER);
        
BUD::VerifyColumn(  "p_password"BUD::TYPE_NUMBER);
        
BUD::VerifyColumn(  "p_name"BUD::TYPE_NUMBER); 
Reply
#2

Код:
enum BUD::e_COLUMN_TYPES {
	BUD::TYPE_NUMBER,
	BUD::TYPE_FLOAT,
	BUD::TYPE_STRING
};
http://spelsajten.net/bud.inc

Why use a system that's basically SQLite from 2010 when there's better solutions though..?
Reply
#3

because it easy
Reply
#4

Quote:
Originally Posted by crukk11
Посмотреть сообщение
because it easy
fair enough


ye it's correct.
Reply
#5

PHP код:
BUD::MultiSetiUID"ii",
            
"p_money"GetPlayerMoneyplayerid ),
            
"p_score"GetPlayerScoreplayerid )
            
"p_kill"UserInfoplayerid ][ p_kill ],
            
"p_death" UserInfoplayerid ][ p_death ],
            
"p_id" UserInfoplayerid ][ p_id ],
            
"p_password" UserInfoplayerid ][ p_password ]
            ); 
this is right?
Reply
#6

PHP код:
BUD::MultiSetiUID"ii"
            
"p_money"GetPlayerMoneyplayerid ), 
            
"p_score"GetPlayerScoreplayerid ),
            
"p_kill"UserInfoplayerid ][ p_kill ], 
            
"p_death"UserInfoplayerid ][ p_death ], 
            
"p_id"UserInfoplayerid ][ p_id ], 
            
"p_password"UserInfoplayerid ][ p_password 
            ); 
check the code urself next time plz


thxx
Reply
#7

Quote:
Originally Posted by Meller
Посмотреть сообщение
[CODE]Why use a system that's basically SQLite from 2010 when there's better solutions though..?
sqlite hasn't changed since 2010
Reply
#8

PHP код:
new  iUID BUD::GetNameUIDGetNameplayerid ) );
                
BUD::MultiSetiUID"i","p_money"GetPlayerMoneyplayerid ),
                
BUD::MultiSetiUID"i","p_score"GetPlayerScoreplayerid ),    
                
BUD::MultiSetiUID"i","p_kill"UserInfoplayerid ][ p_kill ],
                
BUD::MultiSetiUID"i","p_death" UserInfoplayerid ][ p_death ],
                
BUD::MultiSetiUID"i","p_id" UserInfoplayerid ][ p_id ],
                
BUD::MultiSetiUID"p_password" UserInfoplayerid ][ p_password 
like this?
Reply
#9

Quote:
Originally Posted by crukk11
Посмотреть сообщение
because it easy
Quote:
Originally Posted by Meller
Посмотреть сообщение
fair enough
Lolwut? Apparently it is somehow okay to use something that is garbage as long as it's easy. That in itself is garbage. All these systems that pose as "easy SQL" are all pretty much glorified file systems. These systems produce a significant runtime overhead because of all the string concatenation that is going on behind the scenes and they don't even manage to harness any of the powers or a relational database. I have yet to see one of these includes that provides proper support for sorting, grouping and foreign keys.
Reply
#10

Anyone
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)