Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Holland or some admin

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Wed Aug 11, 2010 2:25 pm    Post subject: Holland or some admin Reply with quote

Code:
 $sql = mysql_query("SELECT count(*) FROM cheatengine.cephpbb_posts c WHERE poster_id = ".$_SESSION['id']." LIMIT 1;", $cef);
 $posts = mysql_fetch_array($sql);
 $posts = $posts[0];
 $sql = mysql_query('SELECT * FROM `cef_users` WHERE `user_id` = '.$_SESSION['id'].' LIMIT 1;', $mysql['connection']);
 $user = mysql_fetch_array($sql);

Is $posts actual post count including RS?
Back to top
View user's profile Send private message
Monkeys
I post too much
Reputation: 29

Joined: 20 Jul 2006
Posts: 2411

PostPosted: Wed Aug 11, 2010 2:34 pm    Post subject: Reply with quote

No, it's postcount.
(if you look at the query it gets all your posts, and counts the rows, not posts)

_________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.


Last edited by Monkeys on Wed Aug 11, 2010 2:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Wed Aug 11, 2010 2:35 pm    Post subject: Reply with quote

Shit, I don't see how he got actual post count based on this source code.
Back to top
View user's profile Send private message
Monkeys
I post too much
Reputation: 29

Joined: 20 Jul 2006
Posts: 2411

PostPosted: Wed Aug 11, 2010 2:36 pm    Post subject: Reply with quote

Sorry, my sarcasm wasn't clear enough.
I editted in the explanation, though.

It's your total post count. As it simply counts rows instead of valid posts.

_________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Back to top
View user's profile Send private message
C-Dizzle
Grandmaster Cheater
Reputation: 89

Joined: 16 Mar 2008
Posts: 623

PostPosted: Wed Aug 11, 2010 2:36 pm    Post subject: Reply with quote

You're remaking cef quest? Cool.
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Wed Aug 11, 2010 2:38 pm    Post subject: Reply with quote

Monkeys wrote:
Sorry, my sarcasm wasn't clear enough.
I editted in the explanation, though.

It's your total post count. As it simply counts rows instead of valid posts.

Oh alright thanks, now I can make sense of this.
Back to top
View user's profile Send private message
Orfa
Expert Cheater
Reputation: -1

Joined: 25 Aug 2008
Posts: 199
Location: Bangledesh, AKA New New York

PostPosted: Wed Aug 11, 2010 2:41 pm    Post subject: Reply with quote

OMG I just saw two naked little girls on Omegle :\
_________________
Chuck Norris wrote:
Whenever I shit in my pants, I hide the pants under my sister's bed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites