-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
No, it shouldnt. Just do a find and replace money with crystals
-
I cant tell if this was directed towards my last post, and if it wasnt disregard. I did use the $userid variable and if im reading this correctly cause I have a hard time using sprintf() but the fetch variable is calling out the table information for the 50/50 and if this doesnt work my bad
-
public function _cancel() { $SQL = sprintf("SELECT `amount` from `chance` where `logID` = %u AND `active` = 1", $_GET['ID']); $exe = mysql_query($SQL); $fetch = mysql_fetch_array($exe); if($userid !=$fetch['userID']){ print "This is not your game to cancel"; $h->endpage(); exit; } else if(!empty($fetch['amount'])) { $SQL_2 = sprintf("UPDATE `users` SET `money` = `money` + %u WHERE `userid` = %u", $fetch['amount'], $this->_fetchUser('userid')); $SQL_3 = sprintf("UPDATE `chance` SET `active` = -1 WHERE `logID` = %u", $_GET['ID']); mysql_query($SQL_2); mysql_query($SQL_3); echo 'The game has been cancelled, and your money has been returned.'; } else { echo 'This game has already been canceled, does not exist, or someone already played.'; } } } Im just talking a shot in the dark here and since im on my phone its kinda hard to read but its not tested and I hope it works. Good catch though Edit (again) Now that I think about it, why let them cancel? They wanted to play the game so make them spend their money or charge them a fee like 50% or something
-
I think the issue is with this line if($this->_fetchUser('userid') == $r['userID']){ $this->error[] = 'You cannot accept your own challenge.'; } Try this if($userid == $r['userID']){ $this->error[] = 'You cannot accept your own challenge.'; }
-
Actually they do get caught quite frequently. I believe they arrested a couple from the U.K. earlier this year for the Playstation take down. The group is just so huge, and so spread out that they cant get all of them all the time. Plus not everyone of them are involved so its not like they can go after all of them too Prove to us they are good. You get what you pay for I guess
-
Ohh boy that made my brain hurt. What I have been trying to do is add some sort of token to some pages/forms since a big problem I have come acrossed is people using bookmarks or refreshing pages. I think that may help with what Dayo is asking for as well but im just getting some problems with unsetting the session then setting the session again with another click
-
Read my post I made right above yours
-
I would like to add a little sumthin sumthin to this hoping it will help as well even though the circumstances are a little different. I had a little problem with referals not working as well and the issue that I had was in explore.php the ref link looked like this: domain.com/register.php?REF=# But in register.php the ref check looked like this if($_GET['ref']) { Execution goes here; } So please try to look and cross reference all your locations with your ref link with your register page cause something so stupid and little like that makes a world of difference. And yes if your using php in straight up html you need to start (<?php) or short tag it <? and stop it ?>
-
[MCcode v2] Advanced spying script [$10 USD]
KyleMassacre replied to radio_active's topic in Paid Modifications
This is cool and all but $10 really? I have almost the exact same thing that I modified from the free rentaspy mod thats on here. Im sorry I dont want to flame or bash the thread but I think its just too much to charge for a few if/elseif/else and a stat insert -
This is something im interested in as well. I have a FF addon called imacro which is used as a bot, and for those that dont know how it works is similar to a macro in excel. Basically it records as you click a link and you can set it up to run X number of times and its a real pain for a game owner cause it works reallllly good for the gym. I know a captcha will work to stop it but running through 10000 will in 2 minutes how are you going to stop that with out pissing legit players off?
-
You can maybe try something like this and just get rid of the whole "WHERE" clause: $de = $db->query("SELECT question, correct, prize, prizeamount FROM qotd ORDER BY RAND()"); $qotd = $db->fetch_row($de); The only problem I can see with this is you have a pretty good chance to duplicate the question being asked. What you may also do is add an extra column in the table called something like "asked" then somewhere after you print it you can update that column with a 1 and try something like this: $de = $db->query("SELECT question, correct, prize, prizeamount FROM qotd ORDER BY RAND() where asked ==0"); $qotd = $db->fetch_row($de); print "This is the QOTD"; $db->query("UPDATE qotd SET asked=1 WHERE id={$de['id']}"); This is just going off what you have provided us there is still a lot more that should/could be done to make it fully functional.
-
I know this is pretty old but I am having a little problem with this, what keeps happening is i keep getting a pop up box that keeps saying "Error fetching Ajax content.Server Response" so if anyone can help that would be pretty awesome
-
Now im going to be frank here. lets say this isnt GL, but judging by the person selling this script there has to bea minimum of 2 parties involved. One is the seller which we all know is skooda, which as far as I know cant all of a sudden within the past couple weeks create an engine. And the other people are un named. I would be very weary of buying this cause whos to say the other people involved dont want their stuff on the market or to be given out? And how do we know we are not going to get a nice little letter from our host threatening a DMCA. Also, how about the security? So skooda can you please enlighten us on any concerns?
-
Agreed, but I think if you give up your license along with it everything should be fine. Im more worried about the stuff inside since im pretty sure the person selling this didnt make it and some of the stuff inside are "freebies" that jamiee have made if memory serves me correctly. So if this does get sold whats stopping him from selling it to other people since calling this a custom script is a little far fetched?
-
I can probably guarantee "he" didnt make this himself. Im no master of gl or nothin but it does look like a lot like gl in many aspects. Now question is: Since gl is a free script can he sell it? If he can sell it, what about the stuff inside it? If its not gl, what script is it and does he have the right to sell it?
-
the search box work wonders in a time like this Conversion Thread
-
That will throw an error use this: ALTER TABLE `users` ADD `mine_level` int(11) NOT NULL, ALTER TABLE `users` ADD `mine_exp` int(11) NOT NULL, ALTER TABLE `users` ADD `mine_needed` int(11) NOT NULL, ALTER TABLE `users` ADD `power` int(11) NOT NULL, ALTER TABLE `users` ADD `max_power` int(11) NOT NULL the one with all the ; will only let you do 1 at a time. So if you replace ALL the ; with , except for the very last one just leave that blank you can just copy and paste it
-
probably has something to do with your css
-
include "sglobals.php"; if($ir['user_level'] !=2) { die("<center><h2>RESTRICTED ACCESS</h2><a href='index.php'>Return to Game</a>"); I like this way better :p
-
include "sglobals.php"; if($ir['user_level'] > 2) { die("403"); } Umm....... Not too sure about that, you may wanna look that little bit over. I could be wrong but that may let a normal player make some edits ;)
-
Yeah but I would use this instead CREATE TABLE `bodygaurds` ( `id` int(11) NOT NULL default '0', `gaurds` tinyint(4) NOT NULL default '0', `guardlevels` tinyint(4) NOT NULL default '0', `guardsattack` tinyint(4) NOT NULL default '0', `guardsdefence` tinyint(4) NOT NULL default '0' ) ENGINE=MyISAM ; I dont like the use of decimals and tinyints should suffice for the amounts of stats that are being placed. You can probably even go lower than int(11) on the id since not a lot of games will have more than 200000000 or so users. And the stats you can probably go lower as well
-
This looks like the same mod I used to run and the instructions sound familiar and the problem I ran across was if you have a modified viewuser look for the query towards the top that retrieves info from the db, if it calls out for specific columns you need to add in there profileSIG. If it says $q=$db->query("SELECT u* blah blah blah") then check your users table and make sure your sig is even being placed in there.
-
Why no make it kind of like a gym for the body where you put in how much you'd like to train him for a set secondary currency price for example: 10 crystals/tokens whatever you call it for 100 stat points. Also, you can probably optimize them queries a bit and get rid of updating the userstats and include the bodyguard in attack.php under the my damage I think its called. But other than that pretty good job!
-
Best Text Games