
LimitedStreak
Members-
Posts
66 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by LimitedStreak
-
hey mate im learning currently and its taking all day. This is now giving me a white page, the mouseover doesnt work as i want rank and image there. Any idea? Thanks
-
<? session_start(); include "includes/functions.php"; include "includes/db_connect.php"; logincheck(); $leftrname=$_SESSION['username']; $friends=mysql_query("SELECT * FROM friends WHERE username='$username'"); $friend=mysql_fetch_object($friends); $select = mysql_query("SELECT * FROM users WHERE online > '$timenow' ORDER by 'rank' DESC"); $num = mysql_num_rows($select); $total_regged=mysql_num_rows(mysql_query("SELECT * FROM users")); $admins=mysql_num_rows(mysql_query("SELECT * FROM users WHERE userlevel='2'")); $mods=mysql_num_rows(mysql_query("SELECT * FROM users WHERE userlevel='1'")); $iti=mysql_fetch_object(mysql_query("SELECT * FROM site_stats WHERE id='1'")); $most=$iti->online; $select = mysql_query("SELECT * FROM users WHERE online > '$timenow' AND Ghost_mode = '0' AND status = 'Alive' ORDER by username"); $select2 = mysql_query("SELECT * FROM users WHERE online > '$timenow' AND userlevel ='2' AND Ghost_mode = '0' AND status = 'Alive' ORDER by username"); $select1 = mysql_query("SELECT * FROM users WHERE online > '$timenow' AND userlevel ='1' AND Ghost_mode = '0' AND status = 'Alive' ORDER by username"); $selecth = mysql_query("SELECT * FROM users WHERE online > '$timenow' AND helper ='1' AND Ghost_mode = '0' AND status = 'Alive' ORDER by username"); $selectf = mysql_query("SELECT * FROM users WHERE online > '$timenow' AND fmod ='1' AND Ghost_mode = '0' AND status = 'Alive' ORDER by username"); $num = mysql_num_rows($select); $num2 = mysql_num_rows($select2); $num1 = mysql_num_rows($select1); $numh = mysql_num_rows($selecth); $numf = mysql_num_rows($selectf); while ($i = mysql_fetch_object($select)) ?> <head> <html> <link href="style.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style9 {color: #FFFFFF} .style10 {color: #333333} .style11 { color: #000000; } .style12 {color: #00FF00} --> </style> <body> <style type="text/css"> #skill{ margin: 10px; z-index: 3000; border: 2px solid #000000; width: 260px; visibility: hidden; position: absolute; height: 90px; color: #FFFFFF; opacity: 0.85; padding: 5px; background-color: #222222; text-align: center; max-width: 350px; font: 11px Verdana, Arial, Helvetica, sans-serif; } } a:link { font-family: Verdana; font-size: 11px; color: #FFFFFF; font-weight: normal; text-decoration: none; } a, a:visited{ font-family: Verdana; font-size: 11px; color: #FFFFFF; font-weight: normal; text-decoration: none; } a:hover { color: #FFFFFF; font-family: Verdana; font-size: 11px; font-weight: normal; ) .ifadmin { font-size: 10px; color: #CA0300; }CA0300 .admin { font-size: 10px; color: #CA0300; } .admin a:visited,.admin a:active,.admin a:link { text-decoration: none; color: #CA0300; font-size: 11px; } .admin a:hover { text-decoration: underline; color: #CA0300; font-size: 11px; } .mod { font-size: 10px; color: #2B60DE; } .mod a:visited,.mod a:active,.mod a:link { text-decoration: none; color: #2B60DE; font-size: 11px; } .mod a:hover { text-decoration: underline; color: #2B60DE; font-size: 11px; } .gang { font-size: 10px; color: #2FB600; } .gang a:visited,.gang a:active,.gang a:link { text-decoration: none; color: #2FB600; font-size: 11px; } .gang a:hover { text-decoration: underline; color: #2FB600; font-size: 11px; } .donator { font-size: 10px; color: #FBB117; } .donator a:visited,.donator a:active,.donator a:link { text-decoration: none; color: #FBB117; font-size: 11px; } .donator a:hover { text-decoration: underline; color: #FBB117; font-size: 11px; } .user { font-size: 10px; color: #FFFFFF; } .user a:visited,.user a:active,.user a:link { text-decoration: none; color: #FFFFFF; font-size: 11px; } .user a:hover { text-decoration: underline; color: #FFFFFF; font-size: 11px; } </style> <div id="skill"></div> <script type="text/javascript"> function modal (page,title,width,height) { parent.passModal(page,title,width,height); return false; } var offsetxpoint=-100 //Customize x offset of tooltip var offsetypoint=0 //Customize y offset of tooltip var ie=document.all var ns6=document.getElementById && !document.all var enabletip=false if (ie||ns6) var tipobj=document.all? document.all["skill"] : document.getElementById? document.getElementById("skill") : "" function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function tip(thetext, thecolor, thewidth){ if (ns6||ie){ if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px" if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor tipobj.innerHTML=thetext enabletip=true return false } } function positiontip(e){ if (enabletip){ var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft; var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop; //Find out how close the mouse is to the corner of the window var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20 var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20 var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000 //if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge<tipobj.offsetWidth) //move the horizontal position of the menu to the left by it's width tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px" else if (curX<leftedge) tipobj.style.left="5px" else //position the horizontal position of the menu where the mouse is positioned tipobj.style.left=curX+offsetxpoint+"px" //same concept with the vertical position if (bottomedge<tipobj.offsetHeight) tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px" else tipobj.style.top=curY+offsetypoint+"px" tipobj.style.visibility="visible" } } function hide(){ if (ns6||ie){ enabletip=false tipobj.style.visibility="hidden" tipobj.style.left="-1000px" tipobj.style.backgroundColor='' tipobj.style.width='' } } document.onmousemove=positiontip </script> <div id="stats"></div> <table class="table" width="700" align="center" cellspacing="0"> <tr class="header"> <td>Players Online</td> </tr> <tr> <td><b><span class='username player' title=' <table style="color: white;" width="250" cellspacing="0" cellpadding="0"> <tr> </table>' target='mainFrame'><? $timenow=time(); $select = mysql_query("SELECT * FROM users WHERE online > '$timenow' ORDER by 'rank' DESC"); $num = mysql_num_rows($select); while ($i = mysql_fetch_object($select)){ if ($i->crew == "0"){ $crew="None"; }else{ $crew=$i->crew; } if ($i->last_oc > time()){ $oc="No"; }else{ $oc="Yes"; } if($i->userlevel=="2"){ $echo = "<font color=#CA0300>$i->username</font>"; }elseif ($i->userlevel=="1"){ $echo = "<font color=#2B60DE>$i->username</font>"; }else{ $echo = "$i->username"; } echo " <a href='profile.php?viewuser=USERNAME OF USER' onMouseover="tip('<table style=color: black; width=250 cellspacing=0 cellpadding=0><tr><td width=80 style=padding-right: 3px;><img width=80px height=80px src=images/profile.jpg></td><td><b><font color=#FFFFFF>USERNAME OF USER</b><br><span style=font-size: 11px; font-weight: bold; padding-bottom: 5px;><b><font color=#FFFFFF>Rank:</b> Chav</font></span><br><b><font color=#FFFFFF>Gender:</b> Secret</font></td></tr></table> ')"; onMouseout="hide()"><span style="color:#FFFFFF;"><b> <b>USERNAME OF USER</b></b></span></a> - ?></a></span></b></td> </tr> <tr> <td align="left"> </td> </tr> </table> <br /> <br /> <table width="100" align="center" cellspacing="0" class="table"> <tr class="header"> <td>Total Online</td> </tr> <tr> <td align="center"><span style="font-size: 14px;"></span></td> </tr> </table> </body> <script language=JavaScript> <!-- //Disable right click script III- By Renigade ([email protected]) //For full source code, visit [url]http://www.dynamicdrive.com[/url] var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script>
-
Anyone got a better, more advance online.php page that theyre willing to share for this script please. Im trying to do one but i get error with mouse over Thanks
-
:) lol yeh i just want the basic structure to work on but need something like them ;)
-
i want to come back to text based mafia mmorpg games, however i need a good script. Has anyone got ModernMober, World-Mafia, Gangster Paradise, Modern GL, Gang-City, Gang Bliss? If you've got any of the above and willing to share please comment or private message me ;) Thanks
-
are you willing to share mate?
-
Thanks for the replies people.. I've got Way of the Mafia scripts however those are edited a lot like Art of Excution (fugitives) and Graveyard etc Edit- wheres the link mate
-
anyone got Modern Mober scripts? if yes can you please inbox me Thanks. ;)
-
i advise you not to use it if you dont know what your doing and if you need more help Inbox me
-
Anyone got the full scripts of Gang-City with Art of Execution and that please? Thank You
-
hmm they're using GC but with a lot of changes and pages, any idea?
-
global-dons.com is a copy of it hope that helps :D
-
what kind of script?
-
Im not very buisy lately and im looking to help someone with TEXT-BASED MAFIA MMORPG! Thanks
-
anyone know wht scipt they're using or is there a sript called that?
-
Has anyone got Revolution Mafia Script as ive seen it around a few sites but cant get hold of it. And has anyone got a scipt that looks like World-Mafia.com as ive seen that too. If youve got it please care to let me have it please? Thanks
-
yeh yes
-
anyone anyone please?
-
my pleasure mate. <?php if (file_exists('install.php')) { die("Please delete <a href=install.php>install.php</a> from your game directory before continuing."); } session_start(); include_once"includes/db_connect.php"; if (strip_tags($_GET['logout']) == "true"){ session_destroy(); }elseif (isset($_SESSION['username'])){ header("Location: logged_in.php"); exit(); } if ($_POST['Submit'] && strip_tags($_POST['username']) && strip_tags($_POST['password'])){ $username = addslashes(strip_tags($_POST['username'])); $password = addslashes(strip_tags($_POST['password'])); $ip = $REMOTE_ADDR; ///check INFO $sql = mysql_query("SELECT * FROM users WHERE username='$username' AND password='$password' LIMIT 1"); $login_check = mysql_num_rows($sql); $inf = mysql_fetch_object($sql); if ($login_check == "0"){ $message="Your Username & Password Do Not Match Or You Do Not Have An Account"; }elseif ($login_check != "0"){ if ($login_check > "0"){ if ($inf->status == "Dead"){ $lottodesc = mysql_fetch_object(mysql_query("SELECT * FROM dead WHERE username='$username' ORDER by `id` DESC LIMIT 1")); echo "<title>Dead</title><link href=includes/in.css rel=stylesheet type=text/css><center>$username is dead! Death Message: $lottodesc->dmess</center>"; exit(); } if ($inf->status == "Banned"){ $encoded=md5(strtolower($username)); echo "<title>Banned</title><link href=includes/in.css rel=stylesheet type=text/css><center>$username is banned!</center>"; exit(); } session_register('username'); $_SESSION['username'] = $inf->username; $timestamp = time()+120; mysql_query("UPDATE users SET online='$timestamp' WHERE username='$username'"); mysql_query("UPDATE users SET l_ip='$ip' WHERE username='$username'"); header("Location: logged_in.php"); } else { $message= "You could not be logged in. "; }}} ?> <head> <title>Login | CrazyThugz</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="includes/in.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- body { background-attachment: fixed; background-image: url(images/index/loginbg.jpg); background-position: bottom right; --> } .auto-style1 { font-size: xx-small; font-family: Arial, Helvetica, sans-serif; } </style> </head> </head> </p> </p> <?php require_once "index_header.php"; ?> <body bgcolor="#555555" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background-image: url('images/index/loginbg.jpg')"> <div align="center"> <form name="form1" method="post" action=""> <table width="400" border="1" cellpadding="0" cellspacing="0" class=thinline rules=none> <tr> <td height="30" colspan="3" background="grad.png"><div align="center"> <font size="1">Login</font></div></td> </tr> </tr> <table width="400" height="132" border="1" align="center" bordercolor="#000000"> <tr> <th background="" scope="col"><p align="justify"> <font size="1"> Username <input name="username" type="text" id="username" value="<?php if (strip_tags($_GET['l'])){ echo "$l"; } ?>" size="" maxlength="40" /> </font> </p> <p align="justify"> <font size="1"> Password <input name="password" type="password" id="password2" value="<?php if (strip_tags($_GET['pw'])){ echo "$pw"; } ?>" size="" maxlength="40" /> </font> </p> <font size="1"> <input type="submit" name="Submit" value="Login" /> </font> </p> <p class="auto-style1"> Forgot Password ? | Terms of Service</p> <p class="auto-style1"> CrazyThugz is Now Open!</p> </th> </tr> </table> <?php require_once "index_foot.php"; ?> </body> </html>
-
AGL,Gangster-Legends,Gang-Bliss and Gang-City
LimitedStreak replied to LimitedStreak's topic in Game Support
Will you give me them please? -
Hello there, i have checked basically everywhere to fix this error. After login i get redirected to TOS page, i have tried every page. It was perfectly alright until yesterday, any ideas? Thanks :D
-
Anyone have these scripts? Thanks
-
free any good free ones?
-
points Thanks you lot but i dont get how to set it up, they give a code and you put it but how do users recieve the points and Onebip is pretty cool