
Decepti0n
Members-
Posts
731 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Decepti0n
-
Re: I have a HUGE issue... It's a decepti0nite
-
Re: URL Manipulation Nope, and it'd be annoying if you did
-
Re: Urgent Trouble yeah, 3tb is shitsane and a waste of money for something as small as a game like this, you wouldn't need that much until you probably had around 100,000 users (at a roughhhhhhhhhhhh guess)
-
Re: Looking for hosting Pay $9ish at namecheap to own your own domain, and get hosting for less than $10 a month, it should be enough
-
Re: [mccode] User Verification Mod for V2 You're teaching yourself by asking on every topic for the v1 version? Also, don't know how many people you'll get hoping to teach you, for free, AFTER being basically demanded it's free
-
Re: ILLEAGAL CODES!!! -one million for being repetitive and childish
-
Re: How To Block Proxies not really, most proxies don't send the http_x_forwarded_for, and you can set http headers to whatever you want... I can set my user agent to 'a' and http_via to 'a' and I'll be able to bypass it
-
Re: help testing proxy detector Yes :P That'd be why
-
Re: help testing proxy detector Are you running sites off your own computer by any chance?
-
http://www.decepti0n.com/banana.apple Everyone go there in normal browser, and through a web proxy, it'll either say 'no proxy' or 'welcome, proxy user'. Won't work with the IP:Port proxies i dont think, just wanna test that it actually works
-
Re: Which File Extension are You?
-
Re: Optimize generation Of course it will, since it has a few bajillion records Try making the text column (the one with the unhashed data) as the primary key, but i doubt it'll cut it back to the normal 0.0012 second queries
-
Re: Optimize generation Probably, a few hundred supercomputers might do it :P
-
Re: Optimize generation <?PHP require "mysql.php"; global $c; print"Generate values"; $st=mysql_query("SELECT * FROM start WHERE id=1",$c) or die (mysql_error()); $s=mysql_fetch_array($st); $start=$s['start']; $end=$start+20000; print" Start: $start "; for ($y=$start; $y<$end; $y++) { $val = base_convert($y, 10, 36); $echo .= $val . ' '; $values .= ", ('', '$val', '".md5($val)."', 1)"; } echo $echo; mysql_query("INSERT INTO md5 VALUES " . substr($values, 2),$c) or die (mysql_error()); mysql_query("UPDATE start SET start=$end WHERE id=1",$c) or die (mysql_error()); print"End $end"; print " Done Convert"; ?> You were running around 40,000 queries each time that ran, it would more than likely be kinda slow :p that runs 3. From what I could see you inserted 20,000 things, then md5'd all the values. That ^ *should* insert the 20k at once, and simultaneously do the md5 hashing, and insert it. ALso I kinda took a guess at the field that holds the hash, "$values .= ", ('', '$val', '".md5($val)."', 1)";"... i don't know how the table is setup but thats a basic idea
-
Re: Damn Database size <?PHP require "mysql.php"; global $c; $nu=mysql_query("SELECT COUNT(*) FROM md5",$c) or die (mysql_error()); $x = mysql_fetch_array($nu); echo $x[0]; mysql_query("UPDATE total SET total=$nu WHERE id=1") or die (mysql_error()); ?> That's using count, dunno why you'd want 2.5mil records in files
-
Re: mysql injection Yay another pointless argument where you wont admit you're wrong and ignore the facts If you escape that ' in your awesome sql injection, it'll be ... WHERE id = '1 \' union ... '"); And it's not going to do anything
-
Re: mysql injection CSS is cascading stylesheets, and I know what XSS is, doesn't mean its possible if you secure your game
-
Re: mysql injection Why can't you use variables in the url? If you escape the quotes then you're fine You don't need htmlspecialchars except when displaying data, and thats only to prevent html and javascript injection
-
Night Club MOD Here IS What People Are Looking For
Decepti0n replied to Jawad's topic in General Discussion
Re: Night Club MOD Here IS What People Are Looking For Im pretty sure the other pages will only be a bunch of links and a few queries anyway -
EXP level goes past 100% and breaks design
Decepti0n replied to Jamie Taylor - Director of's topic in General Discussion
Re: EXP level goes past 100% and breaks design You could level them up at 100% :o -
1h work to solve the dumbest error there is
Decepti0n replied to mdshare's topic in Other Programming
Re: 1h work to solve the dumbest error there is Normally, that happens when I don't return any rows, try using mysql_num_rows() to see if it returns anything, otherwise you'll have to change the query, or add some data in -
1h work to solve the dumbest error there is
Decepti0n replied to mdshare's topic in Other Programming
Re: 1h work to solve the dumbest error there is while($line = mysql_fetch_assoc($supResult, MYSQL_ASSOC)){ to while($line = mysql_fetch_assoc($supResult)){ mysql_fetch_assoc is the same as mysql_fetch_array($query, MYSQL_ASSOC) -
Re: The WeIrDeSt Error you have seen. Reminds me of the he invented/she invented thing lol
-
Re: Illegal codes been sold Yeah, the hosts There's no friggen internet police or anything geez
-
Re: Illegal codes been sold Yeah, especially the owner saying he owned flamingtext.com :| I dont even think I was THAT bad when I was younger (i hope), maybe thats why it's easier to deal with adults :\