-
Posts
238 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Ben Nash
-
I have all the cods... all them are great and i have a dazzle to record gameplay so if you want me to reocrd your gameplay from threate mode i will do it. (only on ps3)
-
Is everything spelt right in phpmyadmin?
-
Why on earth have "The Whole of Fearless city is copyright" in massive font? won't normal text do?
-
Description: With this addon you can easily add new pages to your ezRPG Game from your Administrator Panel. Features: Make Pages From Admin Panel Edit Pages From Admin Panel Delete Pages From Admin Panel Including a WYSIWYG Editor Can Include HTML Codes Can Choose Only To View To Logged-In Players Including a SEO Guide, So That You Can Make It SEO Friendly Demo: http://ezrpg.webgameaddons.com Username: demo Password: demo go to http://ezrpg.webgameaddons.com/admin for admin features Suggestions & Feedback: Do you got any ideas, suggestions or just some feedback, let me know. I will always love to include your ideas in the next version of this addon. Updates: Updates are free for everyone which bought this addon. Currently no updates. Changelog: Currently there is no changelog. Buy: Send $10 to [email protected] via paypal + Instructions included
-
I have been given permission from EagleDnB to use his tracks.
-
ExplosiveBeatsMusic Channel + Daily Uploads + Active + Dubstep, Rave, Music Mixes and much more! Please Subscribe :D
-
eRPG is the best choice due to it being very easy to understand and code addons for it.
-
Yes i see it too Danny and if you selling a engine suerly the sercurity should be 99%?
-
Me too! seen nearly episode and it is realy really funny lol
-
fixed -----------------
-
When you click the Chop button it should go to a page saying You choped the down the normal log but it doesnt display the message. Here are my files below: woodcutting.tpl {include file="header.tpl" TITLE="Wood Cutting"} <h1>The Woods</h1> <p> <h2>Log Types</h2> <table width="50%" border="1"> <tr> <th>Log Type</th> <th>Level Needed</th> <th>-</th> </tr> <tr> <td>Normal Log</td> <td>1</td> <td><form action='index.php?mod=WoodCutting&act=log1' method='POST'><input type='submit' name='choplog1' value='Chop' /></form></td> </tr> </table> </p> {include file="footer.tpl"} cuttinglog1.tpl {include file="header.tpl" TITLE="Cutting Log"} <h1>Cutting Normal Log</h1> {include file="footer.tpl"} modules/WoodCutting/index.php <?php //This file cannot be viewed, it must be included defined('IN_EZRPG') or exit; class Module_WoodCutting extends Base_Module { public function start() { //Require the user to be logged in requireLogin(); if (isset($_GET['act'])) { switch($_GET['act']) { case 'log1': $this->log1(); break; default: $this->home(); break; } } else { $this->home(); } } private function home() { $this->tpl->display('woodcutting.tpl'); } private function log1() { $this->tpl->display('cuttinglog1.tpl'); $msg = 'You chopped the normal log down.'; } } ?> Thank you.
-
I am sure mccodes v1 and lite uses mysql_guery etc.. instead of $db->
-
PM me... i might be intrested
-
I'm trying to intergrate mccodes 2.03 intot his xhtml/css layout but its all messed up... <?php class headers { function startheaders() { global $ir, $set; ?> <html> <head> <style type="text/css"> body { background-color:#7F0172; font-family:Segoe Script; } #wrapper { width:900px; margin-right:auto; margin-left:auto; } #head { background-image:url("ingameimages/banner.png"); background-repeat:no-repeat; width:900px; height:130px; } #left { float:left; height:700px; width:130px; background-color:#f11ff4; border-right:solid 5px #000; } #right{ float:right; height:700px; width:130px; background-color:#f11ff4; border-left:solid 5px #000; } #content { height:700px; width:900px; background-color:#f11ff4; } #footer { clear:both; background-image:url("ingameimages/footer.png"); background-repeat:no-repeat; width:900px; height:130px; } </style> </head> <body> <div id="wrapper"> <div id="head"></div> <div id="left"> <?php } } function userdata($ir,$lv,$fm,$cm,$dosessh=1) { global $db,$c,$userid, $set; $IP = $db->escape($_SERVER['REMOTE_ADDR']); $db->query("UPDATE `users` SET `laston` = ".$_SERVER['REQUEST_TIME'].",`lastip` = '$IP' WHERE `userid` = $userid"); if(!$ir['email']) { 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'])) { echo "You lost all your EXP for running from the fight."; $db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid"); $_SESSION['attacking']=0; } $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); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; $d=""; $u=$ir['username']; if($ir['donatordays']) { $u = "<font color=red>{$ir['username']}</font>";$d="<img src='donator.gif' alt='Donator: {$ir['donatordays']} Days Left' title='Donator: {$ir['donatordays']} Days Left' />"; } } $gn=""; global $staffpage; ?> <?php echo" <b>Name:</b> $gn{$u} [{$ir['userid']}] $d<br /> <b>Money:</b> {$fm}<br /> <b>Level:</b> {$ir['level']}<br /> <b>Crystals:</b> {$ir['crystals']}<br />"; ?> <?php function menuarea() { define('jdsf45tji', true, true); include 'mainmenu.php'; global $ir,$c; } function smenuarea() { define('jdsf45tji', true, true); include 'smenu.php'; global $ir,$c; } ?> </div> <div id="right"> <?php echo" <b>Energy:</b> {$enperc}%<br /> <img src=greenbar.png width=$enperc height=10><img src=redbar.png width=$enopp height=10><br /> <b>Will:</b> {$wiperc}%<br /> <img src=bluebar.png width=$wiperc height=10><img src=redbar.png width=$wiopp height=10><br /> <b>Brave:</b> {$ir['brave']}/{$ir['maxbrave']}<br /> <img src=yellowbar.png width=$brperc height=10><img src=redbar.png width=$bropp height=10><br /> <b>EXP:</b> {$experc}%<br /> <img src=navybar.png width=$experc height=10><img src=redbar.png width=$exopp height=10><br /> <b>Health:</b> {$hpperc}%<br /> <img src=greenbar.png width=$hpperc height=10><img src=redbar.png width=$hpopp height=10><br />"; ?> </div> <div id="content"> </div> <div id="footer"></div> </div> </body> </html> <?php function endpage() { global $db; } ?> This is what it looks like... [ATTACH=CONFIG]244[/ATTACH] Please fix this
-
You need to go to code edit, yes
-
Login to cpanel => File Manager => Scroll down untill you see header.php => right click and click edit.
-
I was looking for some good php sercurity articles and came across this one: Click here . It shows the basic sercurity methods that might help people who are new to security. Thanks Ben Nash.
-
sloved....................................................................
-
Ahh yea i get this aswell...
-
Added you on msn.
-
I think it's something to do with the content div. There should be php code in there..
-
Still looking for a fix.
-
Thanks bineye, it's not displaying errors but the game play is underneath the navigation but it should be where i put "welcome".