
Haunted Dawg
Members-
Posts
2,933 -
Joined
-
Last visited
Never -
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Haunted Dawg
-
Re: [sHOWCASE] Avalon hmm wierd.. username: Kyle0217 gender: Male password: *********** vpassword: *********** email: [email protected] Type: Warrior Tos: Ticked Submit... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0')' at line 1
-
Re: [sHOWCASE] Avalon on register when i try signin up.
-
Bought the ipn_donator mod from cronus! and it does work!
Haunted Dawg replied to plintu's topic in Game Support
Re: Bought the ipn_donator mod from cronus! and it does work! Glad you got it fixed and problems are sorted. ;) -
Re: Passwords and MD5 encryption query... We have decrypted 826,549 unique MD5 hashes since December 2005. Would you have 830k (+-) encrypted out there rather than having a couple? ;)
-
Re: Passwords and MD5 encryption query... It would be added protection. However there is faster way's such as sha1 or sha256.. check out those, they still have not been decrypted.
-
Re: Hacking If you had to hack my game, i would thank you. Why? Because then i've patched another security hole. If some one want's to own a game and does not know how to code. Some donator is going to come along and donate alot when they find out the owner is shutting down the game because he can't code or doesn't know what he is doing, who get's put in the shit place? The owner? NO! The donator. If they want to own a game they should do it on WAMP or open the game to public but shut down donation's. Third of all, i doubt anyone on these forum's atm has paid for their v2 licence. Maybe because they so "elite" by getting v2 for free they should maybe atleast pay for a coder to fix the security issue's and get a flipping proper domain! I can go on about you all day MrGi. But this thread is a waste. Do you honestly think there is a proper "hacker" on this forum? NO! They are all script kiddies using other people's founded exploit's. A game is mean't to be run by some one who has done it before, not some kid who think's "woo im gonna make ton of cash yo", you all take that perception wrong wth? And because im basicly on a rant im going to go that extra mile. How many on these forum's mail us every day asking for help? Let me see today I've helped eido.. and couple other's. My point of my post is... People who don't know how to code, run a website, handle big situations should not own a game unless they can fork out some cash for a coder and some one who know's how to run a website. I mean.. They wan't to own a game? They wan't us to spoon feed them? They wan't us to take off our time to help them? I'll revert your question.. Why should they not hire a coder?
-
Re: Visability Mine is >= because it's above or equal.
-
Re: Visability more like.. if($ir['level'] >= 5) { echo 'Bank'; }[php] *me thinks
-
Re: Loop Error - Please Help! To be honest, if your new to PHP & MySQL you are good. As far as i can tell. Never place your.. [php] $variable = mysql_fetch_assoc(mysql_query)) or die(mysql_error()); [/php] .. as it seem's to not unset and that's why it will not run again. You can sort this with unset() but here is a fix (hopefully) [php] <?php include_once('globals.php'); echo '<h2>Workshop</h2> <table border="0" width="95%" cellspacing="1" cellpadding="0" class="table"> <tr style="background: gray; "> <th>Recipe ID</th> <th>Items Required</th> <th>Item Given</th> <th>Make</th> </tr>'; $fetch = mysql_query("SELECT * FROM workshop") or die(mysql_error()); while($recipe = mysql_fetch_assoc($fetch)) { $sale_fetch = mysql_query("SELECT `inv_id` FROM `inventory` WHERE `inv_userid` = ".$ir['userid']) or die(mysql_error()); $sele = mysql_fetch_assoc($sale_fetch); $itemr_fetch = mysql_query("SELECT `itmid`,`itmname` FROM `items` WHERE `itmid` = ".$recipe['reciperecieved']) or die(mysql_error()); $itemr = mysql_fetch_assoc($itemr_fetch); echo ' <tr> <td>'.$recipe['recipeid'].'</td> <td>'; $items = explode(',', $recipe['reciperequired']); $ingredients = count($items); for ($i = 0; $i <= $ingredients; ++$i) { $itemname_fetch = mysql_query("SELECT `itmname` FROM `items` WHERE `itmid` = ".$items[$i]) or die(mysql_error()); $itemname = mysql_fetch_assoc($itemname_fetch); echo $itemname['itmname'].' '; } echo ' </td> <td>'.$itemr['itmname'].'</td> <td>Make</td>'; } echo ' </table>'; $h->endpage(); ?>
-
Re: GFX Crop the image to the border, as it seem's your border is like 1px from the top. So just crop that off :P
-
Males only attack females and vice versa?
Haunted Dawg replied to legrolls's topic in General Discussion
Re: Males only attack females and vice versa? if($ir['gender'] == $userdata['gender']) { echo 'This person is not attackable due to same race'; exit($h->endpage()); } -
Re: [mccode v2] Site lockdown Back on topic pls.
-
Re: [mccode v2] Site lockdown Yes it's made quite abit. But i will not disclose how much.
-
Re: [mccode v2] Site lockdown Do you think having 10k registered and around 700+ online daily will make donation's? 0.o
-
Re: [mccode v2] Site lockdown I just installed this on my site, it worked first time. Remmember to add: if($set['site_lockdown']) { if($ir['user_level'] == 2) { echo 'Site is on lockdown, remmember to remove lockdown'; } else { echo 'Site is on lockdown, thus, no user is able to access the site except for admins.'; exit($this->endpage()); } } under the function userdata()
-
Re: [mccode v2] Site lockdown Did you run my SQL or your one?
-
Re: does anyone know how to sort this Try this SQL: ALTER TABLE `jobs` ADD `jrPOINTS` INT(25) UNSIGNED NOT NULL DEFAULT '0';
-
Re: [mccode v2] Site lockdown I said use SQL: INSERT INTO `settings` VALUES(NULL,'site_lockdown',0);
-
Re: [mccode v2] Site lockdown > Lockdown is link.
-
Re: does anyone know how to sort this jrPOINTS would be in the jobs query, if he does not define to select from the jobs page, it wont work.
-
Re: [mccode v2] Site lockdown That could be a case. But simple fix: if($ir['user_level'] != 2) { echo 'Page not accessable'; exit(headers::endpage()); }
-
Re: MCcode V2 user DB hack Then learn to code first? :S
-
This function lockdown's a website, so basicly no user can login, only administrators. Firstly run SQL: INSERT INTO `settings` VALUES(NULL,'site_lockdown',0); Add to header.php: if($set['site_lockdown']) { if($ir['user_level'] == 2) { echo 'Site is on lockdown, remmember to remove lockdown'; } else { echo 'Site is on lockdown, thus, no user is able to access the site except for admins.'; exit($this->endpage()); } } Now add to staff.php Cases: case 'lockdown': lockdown_site(); break; Function: function lockdown_site() { global $set, $ir; if(isset($_POST['sured'])) { $offon = ($set['site_lockdown']) ? 0 : 1; mysql_query("UPDATE `settings` SET `conf_value` = ".$offon." WHERE `conf_name` = 'site_lockdown'"); $yes_no = ($set['site_lockdown']) ? 'off' : 'on'; echo 'You just turned site lock down '.$yes_no; } else { $yes_no = ($set['site_lockdown']) ? 'off' : 'on'; echo ' <form action="'.$_SERVER['PHP_SELF'].'?action=lockdown" method="post"> Are you sure you want to turn site lock down '.$yes_no.'? <input type="submit" value="Confirm" name="sured" /> </form>'; } } Enjoy :)
-
Re: Lock/Un-Lock Gameplay [$10] 10 USD for something that can be made in 2 minute's? I mean, what's so special about updating the settings table, and locking every user out of game if closed_game is set on except or staff? 0.o