
Haunted Dawg
Members-
Posts
2,933 -
Joined
-
Last visited
Never -
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by Haunted Dawg
-
Re: [REVIEW] The Porn Star Wars This game has got some seriouse potential. Hence 504 people online in one day. Keep up the good job.
-
Re: Guess the next poster nope. armageddondude next.
-
Re: How did your RPG gaming start? Yeah. Good old day's. I still talk to ash (goldberg). Cruisey aka 3 wishes aka paul. His girlfriend or fiance hates me and now he does not ask me to code for him no more hehe.
-
can someone tell me what I am doing wrong here
Haunted Dawg replied to shaved92bravada's topic in PHP
Re: can someone tell me what I am doing wrong here Shaved, i would suggest spreading out your work like luke has done. It make's it easier for us to kind of read it. -
Re: Merry Christmas ^^ spammer... haha Merry christmas all.
-
Re: Calling it a Day :) Will still chat to you on msn haha. Merry christmas and a happy new year!
-
[mccode] Working Proxy Blocker - Blocks MOST Proxies [$10.00]
Haunted Dawg replied to John99's topic in Paid Modifications
Re: Working Proxy Blocker - Blocks MOST Proxies [$10] All you guy's are thinking. A proxy is a user's ip that has 3 .'s or more in it is a proxy. Your wrong! Dynamic ip user's, AOl user's and many more user's have got 3 .'s in there ip. Try figuring out something else. -
Re: [mccode] stop same ip transfers Staff sometime's tend to get lazy and stop doing there job properly. That's the time you boot them!
-
Re: [showcase] D4rk-Forces Get a dictionary and stard using it.
-
Re: [Other] Simple Snow Zero Affect. WTF Your original usersonline.php HaHaHaHa if i dont say. It look's like the one i left there eh wich i gave to anthony wich was on criminalisland.com so get dont know where u get that from. BTW ColdK I suggest you remove my illegal mod's wich are Travel Agency Advanced => $15 Hide & Seek => $10 Shoutbox => $15 And i am sure you are using alot of zero's mod's and absolute zero's.
-
[MCCodes V2] Maximum Money - Please help!
Haunted Dawg replied to Gh0st's topic in General Discussion
Re: [MCCodes V2] Maximum Money - Please help! And pog1. You should know by experiance if some one get's a little mysql error there will be a new topic made just for a simple ; so watch out. :lol: -
[REVIEW REQUEST] - Killah-City.net - Please Review
Haunted Dawg replied to Zero-Affect's topic in Browsergames
Re: [Review] - Killah-City.net - Please Review I would rather not sign into my account on a proxy. Ive heard "things". -
[mccode v2] Parse The Parcel - [Re-Programmed]
Haunted Dawg replied to Haunted Dawg's topic in Free Modifications
Re: [mccode v2] Parse The Parcel - [Re-Programmed] Sorry. Link's are: Whos got the parcel Remove A Parcel Give parcel to user Edit Parcel Whos Got The Parcel -
[mccode v2] Parse The Parcel - [Re-Programmed]
Haunted Dawg replied to Haunted Dawg's topic in Free Modifications
Re: [mccode v2] Parse The Parcel - [Re-Programmed] I would suggest rather using the one bellow as the staff panel as your one would not work correctly. <?php include("sglobals.php"); function die_n($echo) { global $h; echo $echo; $h->endpage(); exit; } switch($_GET['x']) { case 'add': add_p(); break; case 'terminate': terminate_p(); break; case 'give_to': give_p_user(); break; case 'edit_p': edit_p(); break; case 'wgi': whos_got_it(); break; default: 'Use the correct links.'; break; } function edit_p() { global $h,$ir; if($_POST['parcel']) { $p = abs(@intval($_POST['parcel'])); if(mysql_num_rows(mysql_query("SELECT p_ID FROM parcels WHERE p_ID=".$p)) == 0) { die_n('Parcel does not exist.'); } mysql_query("DELETE FROM parcels WHERE p_ID=".$p); mysql_query("UPDATE users SET parcel_got=0, parcel_time=0 WHERE parcel_got=".$p); } echo ' <form action="'.$_SERVER['PHP_SELF'].'?x=edit_p" method="post"> Delete Parcel: <option name="parcel">'; $soc = mysql_query("SELECT p_ID,p_NAME FROM parcels"); while($soc = mysql_fetch_assoc($soc)) { echo '<option value="'.$soc['p_ID'].'">'.$soc['p_NAME'].'</option>'; } echo ' </option> <input type="submit" value="Delete Parcel"> </form>'; } function whos_got_it() { global $h,$ir; if($_POST['parcel']) { $p = abs(@intval($_POST['parcel'])); if(mysql_num_rows(mysql_query("SELECT p_ID FROM parcels WHERE p_ID=".$p)) == 0) { die_n("Parcel does not exist!"); } $fetch = mysql_query("SELECT userid,username FROM users WHERE parcel_got=".$p); $soc = mysql_fetch_assoc($fetch); echo '[url="viewuser.php?u='.$soc['userid'].'"]'.$soc['username'].'[/url]'; } echo ' <form action="'.$_SERVER['PHP_SELF'].'?x=wgi" method="post"> Give to who: <option name="parcel">'; $soc = mysql_query("SELECT p_ID,p_NAME FROM parcels"); while($soc = mysql_fetch_assoc($soc)) { echo '<option value="'.$soc['p_ID'].'">'.$soc['p_NAME'].'</option>'; } echo ' </option> <input type="submit" value="Check Who Has This Parcel"> </form>'; } function give_p_user() { global $h,$ir; if($_POST['userid']) { $user = abs(@intval($_POST['userid'])); if(mysql_num_rows(mysql_query("SELECT userid FROM users WHERE userid=".$user)) == 0) { die_n("This user does not exist."); } $parcel = abs(@intval($_POST['parcel'])); if(mysql_num_rows(mysql_query("SELECT p_ID FROM parcels WHERE p_ID=".$parcel)) == 0) { die_n("There is no parcel of this ID!"); } mysql_query("UPDATE users SET parcel_got=".$parcel.",parcel_time=10 WHERE userid=".$user); } echo ' <form action="'.$_SERVER['PHP_SELF'].'?x=give_to" method="post"> Give to who: <option name="p_ID">'; $soc = mysql_query("SELECT userid,username FROM users WHERE laston>unix_timestamp()-1440*60 AND parcel_got=0"); while($soc = mysql_fetch_assoc($soc)) { echo '<option value="'.$soc['userid'].'">'.$soc['username'].'</option>'; } echo ' </option> <input type="submit" value="Give To User"> </form>'; } function terminate_p() { global $h,$ir; if($_POST['p_ID']) { $id = abs(@intval($_POST['p_ID'])); $soc = mysql_query("SELECT p_ID,p_NAME FROM parcels WHERE p_ID=".$id); if(mysql_num_rows($soc) == 0) { die_n("This parcel does not exist."); } $soc = mysql_fetch_assoc($soc); mysql_query("UPDATE users SET parcel_got=0,parcel_time=0 WHERE parcel_got=".$soc['p_ID']); stafflog_add($ir['username'].' has just terminated the parcel '.$soc['p_NAME']); die_n("Parcel successfuly terminated."); } echo ' <form action="'.$_SERVER['PHP_SELF'].'?x=terminate" method="post"> Parcel To Delete: <option name="p_ID">'; $soc = mysql_query("SELECT p_ID,p_NAME FROM parcels"); while($soc = mysql_fetch_assoc($soc)) { echo '<option value="'.$soc['p_ID'].'">'.$soc['p_NAME'].'</option>'; } echo ' </option> <input type="submit" value="Terminate"> </form>'; } function add_p() { global $h,$ir,$c; if($_POST['p_name']) { $name = htmlentities(mysql_real_escape_string(trim($_POST['p_name']))); $wrap = abs(@intval($_POST['p_wrappers'])); $pic = htmlentities($_POST['p_pic']); $cash = abs(@intval($_POST['p_cash'])); $crys = abs(@intval($_POST['p_crystals'])); $item = abs(@intval($_POST['p_item'])); $itmq = abs(@intval($_POST['p_item_qty'])); mysql_query("INSERT INTO parcels (p_NAME,p_WRAPPERS,p_PIC,p_PRIZE_M,p_PRIZE_C,p_PRIZE_I,p_QTY_I) VALUES('".$name."',".$wrap.",'".$pic."',".$cash.",".$crys.",".$item.",".$itmq.")") or die(mysql_error()); stafflog_add("Parcel ".$name." has been created."); die_n("Parcel ".$name." has been created successfuly!"); } echo 'Adding a parcel: <form action="'.$_SERVER['PHP_SELF'].'?x=add" method="post"> Name: <input type="text" name="p_name"> No. Of Wrappers: <input type="text" name="p_wrappers"> Picture: <input type="text" name="p_pic"> Prize Cash: <input type="text" name="p_cash"> Prize Crystals: <input type="text" name="p_crystals"> Prize Item: '.item_dropdown($c,"p_item").' Prize Item QTY: <input type="text" name="p_item_qty"> <input type="submit" value="Create Parcel"> </form>'; } $h->endpage(); ?> -
Re: Please review My Game Game's dead. No more reviewing.
-
Little help, I'm recieving an error from a custom code
Haunted Dawg replied to CHAMAVELI's topic in General Discussion
Re: Little help, I'm recieving an error from a custom code Thank's for letting me know :) -
[mccode v2] Parse The Parcel - [Re-Programmed]
Haunted Dawg replied to Haunted Dawg's topic in Free Modifications
Re: [mccode v2] Parse The Parcel - [Re-Programmed] The admin panel has been posted above. -
Little help, I'm recieving an error from a custom code
Haunted Dawg replied to CHAMAVELI's topic in General Discussion
Re: Little help, I'm recieving an error from a custom code Does he not need to use: public var = 'the var here in other words $conn'; so it would be: public $var = $conn; ------ Edit: I think i now know why. I have tried putting a function right after the class db { and i now get this error: Parse error: syntax error, unexpected T_VAR in /**/**/**/**/**.php on line 8 -
Little help, I'm recieving an error from a custom code
Haunted Dawg replied to CHAMAVELI's topic in General Discussion
Re: Little help, I'm recieving an error from a custom code Meh.. i aint good with class's yet. hehe. But atleast worth a try! So what is the problem then? -
Little help, I'm recieving an error from a custom code
Haunted Dawg replied to CHAMAVELI's topic in General Discussion
Re: Little help, I'm recieving an error from a custom code Your line error is: var $conn; I am sure that the word "var" without a variable sign infront of it ($) would be javascript if i am not correct. How ever i see no need to use var $conn unless there is javascripting in the other section. Try this and see if anything goes wrong: <?php //db.php class db { global $error,$conn; if(!isset($error)) { require_once('functions/error.php'); $error = new error(); } function connect($dbhost= 'localhost',$dbuser = 'root',$dbpass = '',$dbname = '')} { global $conn,$error,$this; $conn = @mysql_connect($dbhost,$dbuser,$dbpass); $dbselect = @mysql_select_db($dbname,$conn); if(!$conn) { return $error->db(mysql_error(),true,true); } else if(!$dbselect) { return $error->db(mysql_error(),true,true); } else { $this->conn = $conn; } } function query($sql = '') { global $error,$this; $result = @mysql_query($sql,$this->conn); if(!$result) { return $error->db(mysql_error(),true); } else { return $result; } } function freeresult($result = '') { global $error; $clear = @mysql_free_result($result); if(!$clear) { return $error->db(mysql_error(),false); } } function close() { global $this; mysql_close($this->conn); } } ?> -
[mccode v2] Simple Login,Register,etc. (Validated.....)
Haunted Dawg replied to shaved92bravada's topic in Free Modifications
Re: [mccode v2] Simple Login,Register,etc. (Validated.....) I got to say bluedevil23. I aint going to do the work for you. And shaved92bravada. This can easily be done by using height="100%". -
Developing a game - Is an engine better then simply coding it yourself?
Haunted Dawg replied to Teonnyn's topic in General
Re: Developing a game - Is an engine better then simply coding it yourself? Sourceforge is a good place to look for dead engine's that can be fixed in 2 day's work. -
[MCCodes V2] Maximum Money - Please help!
Haunted Dawg replied to Gh0st's topic in General Discussion
Re: [MCCodes V2] Maximum Money - Please help! Ive actualy always had to put the ; in the SQL box. -
Re: WWII Italy - 14 Japan - 21 Great Britain - 53 United States - 16 Soviet Union - 18 France - 18
-
[mccode v2] Parse The Parcel - [Re-Programmed]
Haunted Dawg replied to Haunted Dawg's topic in Free Modifications
Re: [mccode v2] Parse The Parcel - [Re-Programmed] Here is a new cron minute code try it out: $fetch_user = mysql_query("SELECT userid,username,parcel_time,parcel_got FROM users WHERE parcel_got > 0"); if(mysql_num_rows($fetch_user) != 0) { if($soc['parcel_time'] == 0) { $soc = mysql_fetch_assoc($fetch_user); //Illusions idea! require_once("global_func"); mysql_query("UPDATE users SET parcel_time=0, parcel_got=0 WHERE userid=".$soc['userid']); $data = mysql_query("SELECT userid,username FROM users WHERE laston>unix_timestamp()-1440*60 ORDER BY DESC RAND() LIMIT 1"); $soc_u = mysql_fetch_assoc($data); mysql_query("UPDATE users SET parcel_time=10, parcel_got=".$soc['parcel_got']." WHERE userid=".$soc_u['userid']); event_add($soc_u['userid'],'You have just got the parcel! Click [url="wrappers.php?x=unwrap"]here[/url] to unwrap and see if you got the prize!'); } else { mysql_query("UPDATE users SET parcel_time=parcel_time-1 WHERE userid=".$soc['userid']); } }