
mxyi
Members-
Posts
49 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by mxyi
-
I took alook at the site, and saw the login and thought "Gangster legends" but then when i actualy logged in i relised it was "Way Of The Mafia" script :p but for some reason the wesbite is down (google it) ill try and find an alternitive link, way of the mafia was a project wich was released open source when they couldnt keep up with the bills or somthing or it just went dead after time.. good luck :p
-
Error i got, Parse error: syntax error, unexpected T_VARIABLE in /home/americaw/public_html/arcade.php on line 20
-
OK, so im trying to convert MCC v2 mods (or any other version) into a WTM (Way Of The Mafia) script, but im having alot of trouble, i tried converting an arcade mod into a WTM script but it just threw me a blank page, americawars.exofire.net/arcade.php thecode is <?php session_start(); include"includes/db_connect.php"; include"includes/functions.php"; logincheck(); $query=mysql_query("SELECT * FROM users WHERE username='$username'"); $fetch=mysql_fetch_object($query); $games=array( 'bejeweled'=>array('name'=>'Bejeweled', 'url'=>'http://www.freegames4all.net/swf/Bejeweled.swf', 'h'=>'365', 'w'=>'499'), 'blackjack'=>array('name'=>'Blackjack', 'url'=>'http://www.freegames4all.net/swf/20323.swf', 'h'=>'500', 'w'=>'500'), 'chess'=>array('name'=>'Chess', 'url'=>'http://www.freegames4all.net/swf/21337.swf', 'h'=>'500', 'w'=>'500'), 'ewoks'=>array('name'=>'Ewoks', 'url'=>'http://www.freegames4all.net/swf/20295.swf', 'h'=>'500', 'w'=>'500'), 'pacman'=>array('name'=>'Pacman', 'url'=>'http://www.zemnetmedia.com/games/pacman/pacmangame.swf', 'h'=>'470', 'w'=>'470'), 'poker'=>array('name'=>'Poker', 'url'=>'http://www.freegames4all.net/swf/20493.swf', 'h'=>'500', 'w'=>'500'), 'streetfighter'=>array('name'=>'Street Fighter', 'url'=>'http://www.freegames4all.net/swf/20643.swf', 'h'=>'500', 'w'=>'500'), ); if (!$_GET['action']) { print "<center>Welcome "$username echo " to the arcade. All these games are for fun and they will not give any money.</center> <center><h3>Game List</h3></center> <table> <tr><td>[url='arcade.php?action=bejeweled']Bejeweled[/url]</td></tr> <tr><td>[url='arcade.php?action=blackjack']BlackJack[/url]</td></tr> <tr><td>[url='arcade.php?action=chess']3D Chess[/url]</td></tr> <tr><td>[url='arcade.php?action=ewoks']Ewoks[/url]</td></tr> <tr><td>[url='arcade.php?action=pacman']PacMan[/url]</td></tr> <tr><td>[url='arcade.php?action=poker']Poker[/url]</td></tr> <tr><td>[url='arcade.php?action=streetfighter']Street Fighter II[/url]</td></tr> </table> [url='explore.php'][Go Back To The City][/url] "; } else { print "<center>Welcome "$username" to ".$games[$_GET['action']]['name']."</center> "; print "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='".$games[$_GET['action']]['w']."' height='".$games[$_GET['action']]['h']."'> <param name='movie' value='".$games[$_GET['action']]['url']."'><param name='quality' value='high'> <embed src=''".$games[$_GET['action']]['url']."'' width='".$games[$_GET['action']]['w']."' height='".$games[$_GET['action']]['h']."' align='center' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'></embed> </object> [url='arcade.php'][Go Back To The Arcade Home][/url]"; } ?> please help me fix this i dont see whats wrong with it and why it gives me blank page! D:
-
Ok, ive decided im going to make a game from a basic mmorpg script - kiddy kartel Or Gangster Legends (not sure wich one D:), i can do lots of work on it, and im looking for someone just to be helping me with lots of stuff and be active someone that has alot of spare time,and is able to contact via msn or skype! if anyone is intrested add me on msn [email protected] hope to see you helping out! also, as a game partner you get to choose alot of things in the game, e.e the name and help with the layout and such..
-
ok well im an ok coder,and im looking for a beginner script to start out with, a free one :D ive seen loads but some dont fit my needs, i dont mind if it doesent have a nice layout, id make one id prefer a script better then mc v1, so please post if you know of any good engines to start off a game with :) thanks! :thumbsup:
-
use a online or offline md5 decrypter if your that desperate, http://md5.rednoize.com/ thats a online decrypter/encrypter enter the md5 encrypted hash there and it will try decrypting it, BUT not all of them would work on it, it also encrypts, to do that enter a word in e.e password and it would display 5f4dcc3b5aa765d61d8327deb882cf99 wich is the md5 hash for the word password, have fun :)
-
screen shots would be nice :)
-
ive check that one the $10.00 one, its not egsacaly as i want thats just one that u search one by one, i want one that loops untill 100 is done, so theres a list instead of doing 1 by 1 its all over in 1 :P e.e 1 2 3 4 5 6 7 8 9 10 and so on but all in one instead of one by one xD sorry for being confusing xD thanks! :)
-
hey, yes i know there are already like this but im looking for one that u get 100 turns, and it loops the search untill 100 is done, e.e 1.you found $X 2.you found a X 3.you found nothing 4.you found $X ect.. but in random :P also the user can choose how many searches they want to do e.e [100 ] (Search) like a text box but they can enter the amount they want and press the search button :P ive used the search engine but couldnt find one to my needs so if anyone could modify a search the streets mod i will be very happy, or if any could link me to a thread, thanks! Mx-Yi
-
if u want to make it run faster simply change things like print to echo and if ur using V2 change mysql_query to $db->query :) it will improve the time to load the page by a bit, theres a modification that u can put onto your game that allowes you to see he exact time it takes to load it (even miliseconds ;D) i cant remember were i saw this modification but im sure the search engine will help that way u can expiriment changing the code to see if it loads faster or slower :)
-
need somthing with black backround 677px across 109px down, white text OR text with the american flag on it if you do it with white text can it be like glowing white :P and a gun pointing to the ->right on the <-left side of the picture heres just somit i quickly made to undderstand it better :P thanks :)
-
hey Guys i made this little picture that will be what my new template.. i know how to do most if it exept thing.. if you look at the main menu at the top thingy would the best way to do it would be with tables? like all the games links in one table then one for staff online n admin panel and one for the user options, i know how to add the style to the tables but im not good at the tables so could anyone help me? this is my mainmenu.php, <?php global $db,$c,$ir, $set; $city = mysql_fetch_object(mysql_query("SELECT cityname FROM cities WHERE cityid = ".$ir['location']." ")); $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; if($ir['hospital']) { print "[url='bank.php']-Bank[/url] [url='hospital.php']-Hospital ($hc)[/url] [url='inventory.php']-Inventory[/url] "; } elseif($ir['jail']) { print "[url='jail.php']-Jail ($jc)[/url] "; } else { print "[url='index.php']-Home[/url] [url='newspaper.php']-Newspaper[/url] [url='inventory.php']-Inventory[/url] "; } if($ec > 0) { print "[url='events.php']-Events (<font color=red>$ec</font>)[/url] "; } else { print "[url='events.php']-Events (0)[/url] "; } if($mc > 0) { print "[url='mailbox.php']-Mailbox (<font color=red>$mc</font>)[/url] "; } else { print "[url='mailbox.php']-Mailbox (0)[/url] "; } if($ir['jail'] and !$ir['hospital']) { print "[url='gym.php']-Jail Gym[/url] [url='shoutarea']-Shout Box[/url] [url='bank.php']-Bank[/url] [url='hospital.php']-Hospital ($hc)[/url] "; } else if (!$ir['hospital']) { print " [url='explore.php']-<font color=white>$city->cityname</font>[/url] [url='gym.php']-Local Gym[/url] [url='shoutarea.php']-Shout Box[/url] [url='polling.php']-Polling[/url] [url='bank.php']-Bank[/url] [url='criminal.php']-Crimes[/url] [url='job.php']-Your Job[/url] [url='education.php']-Local School[/url] [url='hospital.php']-Hospital ($hc)[/url] [url='usersonline.php']-Users Online[/url] [url='jail.php']-Jail ($jc)[/url] "; } else { print "[url='jail.php']-Jail ($jc)[/url] "; } print "[url='forums.php']-AW Forums[/url] "; if($ir['new_announcements']) { print "[url='ann.php']-[b]Announcements (<font color=red>{$ir['new_announcements']}</font>)[/url] "; } else { print "[url='ann.php']-Announcements (0)[/url] "; } print " [url='search.php']-Search[/url] "; if(!$ir['jail'] && $ir['gang']) { print "[url='yourgang.php']-Your Gang[/url] "; } if($ir['user_level'] > 1) { print "<hr /> [url='staff.php']-Admin Panel[/url] \n"; } print "<hr />[b]-Staff Online:[/b] "; $q=$db->query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC"); while($r=$db->fetch_row($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } print "-[url='viewuser.php?u={$r[']<font color={$r['username_color']}>{$r['username']}</font>[/url] ($la $unit) "; } if($ir['donatordays']) { print "<hr /> [b]-Donators Package[/b] -[url='preferences.php?action=colorchange']Change Username Color[/url] -[url='friendslist.php']Friends List[/url] -[url='blacklist.php']Ignore List[/url]"; } print "<hr /> -[url='preferences.php']Settings[/url] -[url='preport.php']Report Player[/url] -[url='helptutorial.php']Getting Started[/url] -[url='gamerules.php']Game Rules[/url] -[url='viewuser.php?u={$ir[']My Profile[/url] -[url='logout.php']Logout[/url] Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); ?>
-
ive been searching pages and pages could you link me up? thanks :)
-
i know, i just really want a free one thats better then the origonal one..
-
Hello People, my mccv2 template is pretty origonal its just a normal black color (no side images) and i have lime text, and i dont like it that much ive tried putting a html template on it but it messed all up so i put it back to normal does anyone now any good templates for V2? thanks! :) or if anyone could help me learn how make my own template? Thanks :)
-
instead of of putting 50% simply put 50 :P
-
ok guys i got this new forum from cronwerks forum apperntly its safer idk how but on the post if a user pressed space to start a new line it doesnt do and goes down a line it does \r\n how do i make it so it replaces \r\n to ? hope u can help :) pic : code: http://pastebin.com/UwyYEeEK
-
all i get is the broken image thingy, how do i fix this? fixed : you had to add the laston so it imports the data from the database :P
-
ahh thanks i had a code abit like if($data['laston'] >= time()-15*60) { $on="Online"; } else { $on="Offline"; } but it wasnt working for some reason but that should work ill try it out now many thanks :)
-
hey guys i got this code for a player usercard but i wanted to add 'Online :' and after : saying yes or no in them colors how can i add it so it says theyre status? here is the code.. :) <?php //Coded By Eternal //www.deadlyghetto.net //Leave this please include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_mysql.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; if(isset($_GET['id']) AND ctype_digit($_GET['id'])) { $id = mysql_real_escape_string(trim($_GET['id'])); } else {echo" Invalid Action";} if($id) { $query = sprintf("select level, username,money,crystals from users where userid = %u",$id); $result = mysql_query($query); $data = mysql_fetch_array($result); $info ="{$data['username']} \nLevel: {$data['level']} \nCash: \$".number_format($data['money'])."\nCrystals: ".number_format($data['crystals']).""; // Create a 300x100 image $im = imagecreatetruecolor(200, 100); $image = imagecreatefrompng('americawars.png'); // Get a background for jpg it is imagecreatefromjpg() imagealphablending($image, true); // setting alpha blending on ~~~ remove if not using png imagesavealpha($image, true); // save alphablending setting (important) ~~~ remove if not using png $color = imagecolorallocate($image, 0x250, 0x250, 0x250); // Path to our ttf font file $font_file = 'Babelfish.ttf'; imagefttext($image, 14, 0, 15, 85, $color, $font_file, $info); // I S R L T C F TX /*************************\ I= Background image S= Font Size R= Right Border L= Left Border T= Top Border C Font Color* Colour F File to load eg.. arial.ttf TX Text Info */ // Output image to the browser header('Content-Type: image/png'); imagepng($image); imagedestroy($image); } else{echo" die";} ?> hope u can help me add the online status because i only know how to add things that are in the mysql database :P thanks!
-
Hello i need a simple litle piece of graphic, i need a image around 150px down & 400px across size with a brick wall backround or a metalish one, and the text "America Wars" but without the " 's :p and a gun (any gun will do) on the far right well thats about it, thanks! Sorry if i posted in the wrong place move if i have, thanks again! :)
-
hello all! recently i found a person on my game called Major561 or somthing and i caught him with 2147m (max for normal int) wich would take frigin ages to get also he had 1.5b crystals.. i deleted them and banned him but how do i stop this from happening again?! also how do i ip ban people? thanks dudes also im the only one with access to the phpmyadmin no staff actions from it in the staff panel so it must be sql injection