Jump to content

Few Questions...


Recommended Posts

Estate - Buy a house move into the house and you obtain more will power. Which helps you in other areas of the game.

Battletent - Defeat the NPC and gain whatever it is you have set to gain. Exp, Money, Crystals

Travel - Does what it says on the tin. You select where you wish to travel to and go there.

Link to comment
Share on other sites

IE9 has given fits to many site designers it seems, looks fine in all browsers, except IE, where I had to make a bunch of adjustments for it to look right.

That has always been the case with IE, and is why many hate it. Still has the biggest market share so you can't even ignore it.


Link to comment
Share on other sites

Ahaa, i found the bug. Thats my code, but where to place include "menu_right.php"; to work fine?I dont knowo wher is finish the container...


class headers {
function startheaders() {  
global $ir, $set;
global $_CONFIG;
define("MONO_ON", 1);
$db=new database;
$settq=$db->query("SELECT * FROM settings");
$q=$db->query("SELECT userid FROM users");
$q=$db->query("SELECT userid FROM users WHERE bankmoney>-1");
$q=$db->query("SELECT userid FROM users WHERE gender='Male'");
$q=$db->query("SELECT userid FROM users WHERE gender='Female'");
// Users Online , Counts Users Online In Last 15 minutes                                                                           
$q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC");

if(eregi("[\'|'/'\''<'>'*'~'`']",$ids_checkpost) || strstr($ids_checkpost,'union') || strstr($ids_checkpost,'java') || strstr($ids_checkpost,'script') || strstr($ids_checkpost,'substring(') || strstr($ids_checkpost,'ord()')){

echo "<center> <font color=red> Hack attempt <br/>!!! WARNING !!! <br/>

Malicious Code Detected! The staff has been notified.</font></center>"; 
event_add(1,"  <a href='viewuser.php?u={$ir['userid']}'>  <font color=red> ".$ir['username']."</font> </a>  <b> Tried to use [".$_SERVER['SCRIPT_NAME']."{$ids_checkpost}].. ",$c); 


echo <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{$set['game_name']} - Massive Multiplayer Online Role Playing Game </title>
<meta name="keywords" content="RPG, Online Games, Online Mafia Game" />
<meta name="description" content=" {$set['game_name']} - Online Mafia Game " />
<meta name="author" content="Mafia Game Scripts " />
<meta name="copyright" content="Copyright {$_SERVER['HTTP_HOST']} " />
<link rel="SHORTCUT ICON" href="favicon.ico" />
<script src="js/jquery-1.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/wcg.css" type="text/css" />

<script type="text/javascript" src="js/header.js"></script>
<style type="text/css">
.boston a{
background:url(images/boston.jpg) no-repeat;

.boston a:hover{
background:url(images/boston_hover.jpg) no-repeat;
<!--<script type="text/javascript">
var resarray = res.split('||||||');
<Script language="JavaScript">
window.IMAGEPATH = "http://thecrims.cachefly.net/images/";
document.addEventListener("DOMNodeInserted",bdcbccabedbe, true);
document.addEventListener("DOMAttrModified",bfdedceaea, true);
document.addEventListener("DOMNodeRemoved",fccbafca, true);
function cbcaadb(name) {
var tags = new Array('SPAN','TR','TD');
for(x in tags) {
	if(name == tags[x])
		return false;
return true;

function ddaaefaa(evt){
if (typeof(window.event) != 'undefined')
	return window.event.srcElement;
	return evt.target;

function ccfcfcfdf(tagName) {

function bdcbccabedbe(event) {
if(typeof(event.target.tagName) != 'undefined' && cbcaadb(event.target.tagName) == false) {
	srcElement = ddaaefaa(event);
	if(typeof(srcElement) != 'undefined')
function bfdedceaea(event) {
if(event.target.tagName == 'OPTION') {

function fccbafca(event) {
var srcElement = ddaaefaa(event);
if(srcElement && srcElement.attributes && srcElement.attributes.length) {

if(typeof(event.target.id) != 'undefined' && typeof(event.target.tagName) != 'undefined' && (event.target.id == 'topbox' || event.target.tagName == 'IFRAME' || event.target.id == 'banner_bottom')) {

function confirmChoice() {
var value = confirm("Esti sigur?");
if (value == true) {
	return true;
} else {
	return false;

function checkBox(value)
if(value == '-')
	alert("Alege din lista");
	return false;
	return true;

// -->
<!-- // Flas Header Part Stars -->  
<div class="flashpartig">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="950" height="235" title="TheGangsters.ro">
<param name="movie" value="images/flash/header.swf" />
<param name="quality" value="high" />
<param name="wmode" value="Transparent" />
<embed src="images/flash/header.swf" quality="high"  wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="950" height="235"></embed>
<!-- //Flash Header Part End -->  

<!-- Container Part Starts -->
<div id="centercontainer">
<div id="centermaincontainer">
<!-- Container Part Ends -->

<!-- Center Part Starts -->
<div class="icenterpart"><div class="icolumn1">

function userdata($ir,$lv,$fm,$cm,$dosessh=1)
global $db,$c,$userid, $set;
$db->query("UPDATE users SET laston=unix_timestamp(),lastip='$IP' WHERE userid=$userid");
$_GET['ID'] = abs(@intval($_GET['ID']));
$_GET['reply'] = abs(@intval($_GET['reply']));

global $domain;
die ("<body>Your account may be broken. Please mail help@{$domain} stating your username and player ID.");
if($dosessh && ($_SESSION['attacking'] || $ir['attacking']))
print "<CENTER><P><b><font color=red>You lost all your EXP for running from the fight.</font></b></P></CENTER> <br/><br/>";
$db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid");
include "rank.php";
$enperc=(int) ($ir['energy']/$ir['maxenergy']*100);
$wiperc=(int) ($ir['will']/$ir['maxwill']*100);
$experc=(int) ( $ir['exp']/$ir['exp_needed']*100);
$brperc=(int) ($ir['brave']/$ir['maxbrave']*100);
$hpperc=(int) ($ir['hp']/$ir['maxhp']*100);
if($ir['donatordays']) { $u = "<font color=green>{$ir['username']}</font>";$d="<img src='donator.gif' alt='Donator: {$ir['donatordays']} Days Left' title='Donator: {$ir['donatordays']} Days Left' />"; }

global $staffpage;

$bgcolor = 'FFFFFF'; 

$q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid");
die(" <br /><br /><br /><br /><br /> <CENTER><P> <b><font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s).<br /> <br />
Reason: {$r['fed_reason']}</font></b> </P></CENTER> </body></html>"); 

die("<br /><br /><br /><br /><br /><CENTER><P><b><font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font></b></P></CENTER></body></html>");
include "menu_right.php";
function menu_left()
include "menu_left.php";
global $ir,$c;
$bgcolor = '';
print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"> </td><td width="80%"  bgcolor="#'.$bgcolor.'" valign="top"><center>';

print "<div class='generalinfo_simple'><br/><font color='yellow'><center<b><div class='statusbox_ok'>Esti internat in spital pentru {$ir['hospital']} de minute. Data viitoare ai grija!</div></b><center></font><br/></div>";
print "<div class='generalinfo_simple'><br/><font color='red'><center<b><div class='statusbox_ok'>Esti in inchisoare timp de {$ir['jail']} minute. Data viitoare ai grija!</div></b><center></font><br/></div>";

if($ir['bguard'] >0)
print "<font color='green'><b>NOTE:</b></font> Your Bodyguard is protecting you for {$ir['bguard']} more minutes.<br/><br/>";
function smenuarea()
include "smenu.php";
global $ir,$c;
$bgcolor = '';
print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'">   </td><td width="80%"  bgcolor="#'.$bgcolor.'" valign="top"><center>';
function endpage()
global $db;
include "footer.php";
Edited by Dominion
Code tags.
Link to comment
Share on other sites

Well, in my game, items wear out and break, so that's a good reason to stock up, but that's not in the default McCodes really. Maybe to stock up and sell to the market for cash? Give one to a friend on the game? Many reasons.

Well mister, what mod you use, can you gave me the link?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...