Jump to content
MakeWebGames

lukeybabe

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Everything posted by lukeybabe

  1. Hi Guys, Is There Any Free Web hosting sites around ? p.s apart from x10hosting.com webhosting.co.cc 000webhost.com
  2. UPDATE: Ive found out how to do the money one so really its just the stats Best Regards, Luke
  3. 1. Hi Guys Luke Here, One Of My Users Got These Stats: --------------------------------- Strength: 9999999.9999 Agility: 9999999.9999 Guard: 9999999.9999 -------------------------------- So he mailed me saying they couldnt go up so i geuss he hit the max how would i make it so they can go up more ? 2. And The Max Cash Is : ------------------------------- 2147483647 ------------------------------- How would i make it so it could go higher ?
  4. Hi guys i was just browsering on my pc and saw the usershops mod but it was v1 so i converted it and now this error comes up : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/lukeyboi/public_html/shopindex.php on line 44 Any ideas why ?
  5. That was a joke but seems some pricks cant take one ill change it
  6. Hi guys i have a game but im just looking for a co-owner with new ideas and help ADD ME [email protected]
  7. I must say this is a great mod +1!
  8. Hello guys, do i have to run a cron for the business_cron.php or not? and if i do is it hourly or daily ?
  9. Wtf you on what post i can read dude you need to lay off the drugs!
  10. Dude your not funny your stupid
  11. i did that but it just said /index was not found on this server
  12. danny i did use google but couldnt find it.
  13. Hello guys, I am just wondering how would i remove the .php ? so it becomes index ETC not index.php ETC. Thanks guys for reading/helping. If any one wants add me [email protected]
  14. Lmfao i have tht on my game i didnt pay for it i got it free from some were
  15. Hello i thought this view user file and i need a little help fixing if u can help fix it can u just post the fixed file here thanks. <?php include "globals.php"; $_GET['u'] = abs((int) $_GET['u']); if(!$_GET['u']) { print "Invalid use of file"; } else { $q=$db->query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}"); if($db->num_rows($q) == 0) { print "Sorry, we could not find a user with that ID, check your source."; } else { $r=$db->fetch_row($q); $m=$db->query("SELECT * FROM users WHERE userid={$r['married']}"); $par=$db->fetch_row($m); if($r['user_level'] == 1) { $userl="Mobster"; } else if($r['user_level'] == 2) { $userl="Owner"; } else if ($r['user_level'] == 3) { $userl="Admin"; } else if($r['user_level'] == 0) { $userl="NPC"; } else {$userl="Moderator"; } $lon=($r['laston'] > 0) ?date('F j',$r['laston']) : "Never"; $sup=date('j F',$r['signedup']); $ts=$r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d=""; if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } if($r['married'] != 0) { $partner= "[url='viewuser.php?u={$par[']<font color=green>{$par['username']}</font>[/url]"; } else { $partner= "<font color=red>N/A</font>"; } if($r['user_level'] >1){ $r['username'] = "<font color=red>{$r['username']}</font>";} elseif($r['donatordays']) { $r['username'] = "<font color=yellow>{$r['username']}</font>";$d="[img=don.gif]"; } if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } if($r['display_pic']) { print "<center>[img={$r[] </center>"; } else { print "<center>[img=http://i38.tinypic.com/29bh8d5.jpg]</center> "; } print"[b]Name:[/b] {$r['username']} [{$r['userid']}] $d "; print"[b]User Level:[/b] [url='stafflist.php']$userl[/url] "; print"[b]Level:[/b] {$r['level']} "; print"[b]Health:[/b] {$r['hp']}/{$r['maxhp']} "; print"[b]Gender:[/b] {$r['gender']} print"[b]Married:[/b] $partner print"[b]Age:[/b] {$r['daysold']} Days "; print"[b]Signed Up:[/b] $sup "; print"[b]Last Active:[/b] $str "; print"[b]Gang:[/b] "; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r[']{$r['gangNAME']}[/url]"; } else { print "None"; } print"[b]Location:[/b] [url='DCrail.php']{$r['cityname']}[/url] "; print"[b]Money:[/b] \${$r['money']} "; print"[b]Property:[/b] {$r['hNAME']} $sh=($ir['user_level'] >1) ? "Staff Info" : ""; print "</td></tr>"; if($r['fedjail']) { print " [b]<font color=brown>This user is in federal jail for {$r['fed_days']} day(s). {$r['fed_reason']}</font>"; } if($r['hospital']) { print " [b]<font color=red>This user is in hospital for {$r['hospital']} minutes. {$r['hospreason']}</font>[/b] "; } if($r['jail']) { print " [b]<font color=red>This user is in jail for {$r['jail']} minutes. {$r['jail_reason']}</font>[/b]</td></tr><tr> <td> "; } echo"<hr>"; echo"<center>"; print"<h3>[b]<u>Actions</u>[/b]"; echo"<hr>"; echo"</center>"; print"[[url='mailbox.php?action=compose&ID={$r[']Send Mail[/url]]"; print"[[url='sendcash.php?ID={$r[']Send Cash[/url]]"; print"[[url='sendcrys.php?ID={$r[']Send crystals[/url]]"; print"[[url='sendbank.php?ID={$r[']Bank Xfer[/url]]"; print"[[url='sendcyber.php?ID={$r[']CyberBank Xfer[/url]]"; print"[[url='attack.php?ID={$r[']Attack[/url]]"; print"[[url='mug.php?ID={$r[']Mug[/url]]"; print"[[url='contactlist.php?action=add&ID={$r[']Add Contact[/url]]"; print"[[url='friendslist.php?action=add&ID={$r[']Add Friends[/url]]"; print"[[url='blacklist.php?action=add&ID={$r[']Add Enemies[/url]]"; } if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { echo"<center><h3><u>[b]Staff actions</center></h3></u>[/b]"; print"[[url='jailuser.php?userid={$r[']Jail[/url]]"; print"[[url='forumban.php?userid={$r[']Forum Ban[/url]]"; print"[[url='mailban.php?userid={$r[']MailBan[/url]]"; } if($ir['donatordays'] > 0) if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { $r['lastiph']=@gethostbyaddr($r['lastip']); $r['lastiph']=checkblank($r['lastiph']); $r['lastip_loginh']=@gethostbyaddr($r['lastip_login']); $r['lastip_loginh']=checkblank($r['lastip_loginh']); $r['lastip_signuph']=@gethostbyaddr($r['lastip_signup']); $r['lastip_signuph']=checkblank($r['lastip_signuph']); print "<center><h3>Internet Info</h3><table width='100%' border='0' cellspacing='1' class='table'> <tr><td></td><td class='h'>IP</td><td class='h'>Hostname</td></tr> <tr><td class='h'>Last Hit</td><td >$r[lastip]</td><td >$r[lastiph]</td></tr> <tr><td class='h'>Last Login</td><td '>$r[lastip_login]</td><td >$r[lastip_loginh]</td></tr> <tr><td class='h'>Signup</td><td >$r[lastip_signup]</td><td >$r[lastip_signuph]</td></tr> [url='staff_punit.php?action=ipform']<u>IP search this user</u>[/url] "; print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form></center>"; } else { print ""; } print "</tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $h->endpage(); ?>
  16. Hi i a luke i am not a coder just no a little but hopfully going to learn one day. can some one help me out, i want a code like this die("<font color=blue>This Game Is Underconstruction Check Back In 1-2 Hours.</font>"); you people should no what it does lol i a looking for a code like tht but so admins can login but not normal users cause this code   die("<font color=blue>This Game Is Underconstruction Check Back In 1-2 Hours.</font>"); ]dont let any one on thanks.
  17. Re: Businesses Mod [Mccode V2] Love it well done richard just how do u do it lol
  18. Re: [any]Contact us it works so whats the problem
  19. <?php $admin_email = "[email protected]"; if(isset($_POST['submit_msg'])) { if (empty($HTTP_POST_VARS['name_msg'])){ die(' <center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1>[i]Error![/i]</h1><font color="#ff0000"> caution : please type your name in form</font> <span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); }; if (empty($HTTP_POST_VARS['email_msg'])){ die(' <center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1>[i]Error![/i]</h1><font color="#ff0000"> caution : please type your email</font> <span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); }; if (empty($HTTP_POST_VARS['msg_body'])){ die(' <center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1>[i]Error![/i]</h1><font color="#ff0000"> caution : please type your text</font> <span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); }; $name_msg = htmlspecialchars($HTTP_POST_VARS['name_msg']); $name_msg = str_replace("&","&",$name_msg); $name_msg = str_replace("?","?",$name_msg); $msg_body = htmlspecialchars($HTTP_POST_VARS['msg_body']); $msg_body = str_replace("&","&",$msg_body); $msg_body = str_replace("?","?",$msg_body); $msg_body = nl2br($msg_body); if (!empty($HTTP_POST_VARS['url_msg'])) { $url_msg = str_replace('http://','',$_POST['url_msg']); $name_msg = "<a target=_blank href=http://".htmlspecialchars($url_msg).">".$name_msg."</a>"; } if(!strpos($_POST['email_msg'],"@")) { print(' <center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1>[i]Error![/i]</h1><font color="#ff0000"> caution : type your Emali</font> <span style="cursor:hand" ONCLICK="window.history.go(-1);">Back to form</span><center></font>'); die(' <center><font face="Tahoma" style="font-size: 9pt">example : </center></font>'); }; $from = htmlspecialchars($HTTP_POST_VARS['email_msg']); $body = '<html> <head> <title>Send comment</title> </head> <body> <table border="1" width="100%" text="#000000" style="font-family:tahoma;font-size:8pt;padding:7px;border-style: dashed; border-width: 3px" bgcolor="#D6DFF7" bordercolor="#D6DFF7" cellspacing="0" cellpadding="0"> <tr> <td colspan="2" align="center" bgcolor="#D6DFF7">=> new comment <=</td> </tr> <tr> <td width="15%" bgcolor="#D6DFF7" dir="rtl">Name & Web address</td> <td width="85%" bgcolor="#FFFFFF" align="left">'.$name_msg.'</td> </tr> <tr> <td width="15%" bgcolor="#D6DFF7" dir="rtl">Comment</td> <td width="85%" bgcolor="#FFFFFF" align="left">'.$msg_body.'</td> </tr> </table> </body> </html>'; if(!mail($admin_email,'New Contact us',$body,"From: <$from>\n"."MIME-Version: 1.0\n"."Content-type: text/html")) { print(' <center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1>[i]The Mail Could not be send![/i]</h1><font color="#ff0000"> server is busy .please try later</font> <span style="cursor:hand" ONCLICK="window.history.go(-1);">return to form</span><center></font>'); }else { print(' <center><font face="Tahoma" color="#003399" style="font-size: 9pt"><h1>[i]Thank You![/i]</h1><font color="#ff0000"> Your comment has been sent successfully</font> Thanks for your comment <span style="cursor:hand" ONCLICK="window.history.go(-1);"> return to comment </span>| [url="http://YOURGAMENAME.COM"]powered by YOURGAMENAME.com[/url]<center></font>'); } } else { ?> <html dir="ltr"> <head> <title>Type new comment</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Language" content="fa"> <meta name="Geo.Country" content="IR"> <meta name="Robots" content="all"> <meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)"> <meta http-equiv="Page-Exit" content="blendTrans(Duration=1.0)"> </head> <body> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="513" height="491" id="fa" style="border: 3px dashed #9AABE7" bgcolor="#9AABE7"> <tr> <td rowspan="5"> </td> <td> </td> <td height="268" rowspan="5"> </td> </tr> <tr> <td style="border-style: dashed; border-width: 3px" bgcolor="#D6DFF7" bordercolor="#D6DFF7"> <table border="0" width="100%" cellspacing="0" cellpadding="0" id="fa" height="100%"> <tr> <td> <p align="center"><span dir="ltr"><font color="#0000FF">Accept comment</font></span></td> </tr> </table> </td> </tr> <tr> <td ><span dir="ltr">.</span></td> </tr> <tr> <td style="border-style: dashed; border-width: 3px;padding-left:5px;padding-left:5px" bgcolor="#FFFFFF" bordercolor="#FFFFFF" dir="rtl" align="left"> <p align="left"><span lang="en-ca" dir="ltr">Add whatever here</span></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> <td valign="top" style="border: 3px dashed #D6DFF7" bgcolor="#D6DFF7"><form name="msg_form" method="POST" > <table border="0" width="86%" cellspacing="0" cellpadding="0" id="fa" height="201"> <tr> <td width="289" dir="rtl" align="left"><span dir="ltr">your name<input name="name_msg" size="33" id="fa" dir="ltr" tabindex="1" maxlength="30" lang="fa" style="float: left" value="" onclick="this.value=''"> *: </span> </td></tr><tr> <td width="289" dir="rtl" align="left"><span dir="ltr">website name<input name="url_msg" size="21" dir="ltr" tabindex="2" maxlength="30" id="fa" style="float: left" value="" onclick="this.value=''"> : </span> </td></tr> <tr> <td width="289" dir="rtl" align="left"><span dir="ltr">your email<input name="email_msg" size="33" dir="ltr" tabindex="3" maxlength="30" id="fa" style="float: left" value="" onclick="this.value=''"> *: </span> </td></tr> <tr> <td width="289" dir="rtl" align="left"><span dir="ltr">your request*:<textarea rows="6" name="msg_body" cols="53" dir="ltr" id="fa" tabindex="4" lang="fa" onclick="this.value=''"></textarea> </span> </td></tr> <tr><td> <span dir="ltr"> <input type="submit" value="Submit" name="submit_msg" tabindex="5" id="fa" style="float: left" ></span></td> <td width="127"> </td></tr> </table> </td></form> <td height="207"> </td> </tr> <tr> <td width="60"> </td> <td width="352" align="center"><span lang="en-ca" dir="ltr"> <font color="#FFFFFF">C</font></span><span dir="ltr"><font color="#FFFFFF">opyright ? 2008 by </font> yourgamename.com" target="_blank"> <span style="text-decoration: none"><span lang="en-ca"></span></span></a><font color="#FFFFFF"> - All Rights Reserved</font></span></td> <td height="22" width="96"> </td> </tr> </table> </div> <span dir="ltr"> <?php } ?> </body> </html> Make a file called contact.php and stick this in to it. then go to mainmenu and find city and put this link ContactUs under city or were every u want this want my first mod so please tell me what u think
  20. Hi is there a place for all the mccodes lite mods etc...
  21. Hi i have grpg and i found that the index.php wasnt there if any kind people would like to post it here or put a link on here were i can find it Thanks Guys ---------------------------------------------------------------------------------------- [email protected]
  22. Hi i am just wondering if any one could give me mccodes v2 login.php and the classdb/mysql/mysli
  23. Re: help thanks can u tell me whats wrong with my site lukeybabe.host22.com
  24. Re: help well some people are nice so they might help
  25. hi i deleted my classdb/mysql/mysqi and my login page of v2 please my someone help me out than
×
×
  • Create New...