Jump to content
MakeWebGames

wrx

Members
  • Posts

    212
  • Joined

  • Last visited

Everything posted by wrx

  1. wrx

    help

    you need to set the default doc type of your root dir to load index.php as the index page. Try your host cpanel/admin interface for this option.
  2. wrx

    help

    you need to set up your default document correctly. it is currently www.kronicalwars.co.cc/index.html if you type in www.kronicalwars.co.cc/index.php it works. i dont know what your root directory looks like but either remove or rename index.html to something like index.html.old and index.php should load as default document in the current directory.
  3. after creating a new user it was unable to work or train as nothing was being added to the PLAYER_STATS table.
  4. // Create player stats (level) $id=$db->getid(); $sql="INSERT INTO PLAYER_STATS(USERID,STATID,VALUE) VALUES(".$id.",'1','1')"; echo $sql; $db->Execute($sql);
  5. im adding a demo account to develop with. after registering no player stats were created. Should i just set up the SQL here in the register.php to populate the PLAYER_STAS table or is it elsewhere as i might be missing something .   else // Doesn't exists we can create the account { $pass=md5(strip($_POST["PASSWORD"])); $sql="INSERT INTO PLAYERS(USERNAME,PASSWORD,EMAIL,AUTHORIZED) VALUES(". $db->qstr(strip($_POST["USERNAME"])).",".$db->qstr($pass).",". $db->qstr(strip($_POST["EMAIL"])).",'Y')"; echo $sql; $db->Execute($sql); setcookie("ZAPLOGIN",$db->getid()."/".md5($pass.$_SERVER["REMOTE_ADDR"])); header("Location: world.php"); return;       wrx
  6. yes i know its been awhile but i turned this back up today exact error is below   Strict Standards: date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/terabyte/public_html/zapengine/libs/base.php on line 43       wrx
  7. Nice implementation of what appears to be more of a stragety based rpg. Logged in and registered with no issues. You have a lot of content built into this game, all most to much to handle for a new user.I think you have done a good job with it though.Would be nice if there was a short beginner quest line that introduces some of the gameplay/ interface to the user.Kind of like a first steps to take quest line it would help. Overall it looks like a interesting game.The interface is laid out good for game play with the exception of the sidebar game menu.It is at the bottom after logging in and the web menu is still at top. I would look at switching those two menus after logging in to the game as each task you try and do you have to scroll down the site just to see the menu its annoying and could be better placed imo. Work on replacing the clipart images on home page (in game they look good) with some thing more personalized for your site the end result will do your site justice.There are differences in the style that as a whole don't work together imo different shades of green different style graphics ( some rounded corners,some not) makes it look confusing.   This just my opinion after playing the game for about 30 min,overall i would say good job.           wrx
  8. FYI you can make sliced web templates with GIMP
  9. No need to up your price as 35$ is fine for what your asking.If you cant get it done here there are millions of other places to look.           wrx
  10. Yea i don't see why it could'nt be done like you showed with CSS.I was looking for any ideas on how to solve the speed issue and what i came up with actually uses a combination of JS and mostly CSS. Downtown Image Map w/ Tooltip ----------------------------------------- With what i was trying to do the JS gave me the control with timing on mouse over and mouse out(delay) events. I'm sure it could be done a lot of different ways. thanks for the replies WRX
  11. images should'nt be a problem either within the css for the tooltip   a.Tooltip:hover span.message { display : block; position : absolute; top : 2em; left : 2em; width : 14em; border : 1px solid #333; background: url(backgroundimage.gif) repeat bottom; color : #000; text-align : center; }   or within the span when called   <span class="message">Sample message with a small image <img src=image.gif border=0 width=32 height=32>in between this text.</span>
  12. that's the one im working with and it works great , crossbrowser and indeed lightweight weighing in at 2k.
  13. im trying a script now to see if i get the desired effect..
  14. While using the "Title" attribute for an area within an image map as the tool tip I noticed a delay in the display of the title on the screen. Any way to speed this up so it is instant ? Should I not use the title attribute for this and try JS to control the mouseover event and create a tool tip ? Just looking to speed it up as i've seen it done just not sure the most efficient way to do it . thanks in advance
  15. wrx

    Need info

    Modern or World War I, II era ?
  16. wrx

    Need info

    What are you looking for exactly ? What kind of style/theme do you need ? I'll create a layout/template if you can answer the above... no charge               wrx
  17. wrx

    Destroy the Web

    Members - MakeWebGames http://makewebgames.io/index.php?page=MembersList Player Score 1. wrx 99,920 2. Zed 56,710 3. wrx 52,680 4. Zed 44,650 5. Zed 43,495 6. Equinox 40,270 7. Zed 39,730
  18. Can you get high score ? Firefox users download the plugin Destroy the Web Plugin then head to the makewebgames forum and start game :) Playing the game :: Press the Destroy the Web button in the Firefox toolbar to start a new game. :: 3, 2, 1 GO! Start clicking everywhere in the page to destroy its content! :: You've got 30 seconds to do as much damage as possible... :: TIME! Once done, submit your score and see how you rank in the leaderboards. ===================================== ====LeaderBoard====================== Main Page - MakeWebGames http://makewebgames.io/ Player Score 1. wrx 13,250 Top Games in makewebgames.io Player Web Page Score 1. wrx Main Page - MakeWebGames 13,250 =====================================       wrx
  19. just an idea for you during your creative process font is "Book Antiqua" wrx
  20. or check the document source:Multiple Tables opened and not properly closed causing the following..... # Error Line 48, Column 35: document type does not allow element "td" here <td style="text-align: right;"><input type="password" size="20" name="password" /> ? The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). # Error Line 50, Column 8: document type does not allow element "td" here <td><input type="image" src="images/loginbutton2.jpg" style="border: none;"… ? The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). # Error Line 50, Column 89: end tag for "td" omitted, but OMITTAG NO was specified …type="image" src="images/loginbutton2.jpg" style="border: none;" /></form></td> ? You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". # Info Line 50, Column 5: start tag was here <td><input type="image" src="images/loginbutton2.jpg" style="border: none;"… # Error Line 50, Column 89: end tag for "td" omitted, but OMITTAG NO was specified …type="image" src="images/loginbutton2.jpg" style="border: none;" /></form></td> ? You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". # Info Line 49, Column 5: start tag was here <td><input type="password" size="20" name="password" /> # Error Line 50, Column 89: end tag for "td" omitted, but OMITTAG NO was specified …type="image" src="images/loginbutton2.jpg" style="border: none;" /></form></td> ? You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". # Info Line 47, Column 5: start tag was here <td><input type="text" size="20" name="username" /> # Error Line 50, Column 89: end tag for "tr" omitted, but OMITTAG NO was specified …type="image" src="images/loginbutton2.jpg" style="border: none;" /></form></td> ? You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". # Info Line 45, Column 5: start tag was here <tr> # Error Line 50, Column 89: end tag for "table" omitted, but OMITTAG NO was specified …type="image" src="images/loginbutton2.jpg" style="border: none;" /></form></td> ? You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". # Info Line 44, Column 5: start tag was here <table style="padding: 5px; margin: 0 auto 0 auto;"> # Error Line 55, Column 8: document type does not allow element "tr" here; assuming missing "table" start-tag <tr><td> not to mention many other markup errors but those are most likely the ones causing layout issues.
  21. hmm that looks like a copy of fools gold and not the real thing .. so i have to pass
  22. no currently only accepting fools gold
  23. wrx

    PHP

    PHP: A Simple Tutorial
  24.   he only wants a 200x200 cloak sample how long could it take really
  25. All source is included so easy to change to your needs ================================================ Gang themed template complete with jpgs,png,and css. Login and registraion pages setup with default mccodes forms DOWNLOAD ME ____>>>>> Gang template (login.php,register.php,contact.php,about.php,style.css) ======================================================= The following files will change the ingame style to match with the above template the image below displays the new ingame header 1. Download the Header images package attached 2. Copy and replace header.php,mainmenu.php.default.css with existing game files(these are for lite,v1 easily changed to V2 from what ive read) header.php <?php class headers { function startheaders() { global $ir; print "<html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='content-type' content='text/html; charset=utf-8' /> <title></title> <meta name='keywords' content='' /> <meta name='description' content='' /> <link href='default.css' rel='stylesheet' type='text/css' /> </head>" ; } function userdata($ir,$lv,$fm,$cm,$dosessh=1) { global $c,$userid; $IP = $_SERVER['REMOTE_ADDR']; if((isset($_SESSION['userAgent'])) && sha1($_SERVER['HTTP_USER_AGENT']) != $_SESSION['userAgent']) { session_unset(); session_destroy(); header('Location: login.php'); } else { $_SESSION['userAgent'] = sha1($_SERVER['HTTP_USER_AGENT']); } mysql_query("UPDATE users SET laston=unix_timestamp(),lastip='$IP' WHERE userid=$userid",$c); if(!$ir['email']) { die ("<body>Your account may be broken. Please mail [email][email protected][/email] stating your username and player ID."); } if($dosessh && $_SESSION['attacking']) { print "You lost all your EXP for running from the fight."; mysql_query("UPDATE users SET exp=0 WHERE userid=$userid",$c); $_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='#CC0000'>{$ir['username']}</font>";$d="[img=donator.gif]"; } if($ir['gang']) { $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$ir['gang']}",$c); $rr=mysql_fetch_array($qg); $gn=$rr['gangPREF'].""; } else { $gn=""; } print "<body> <div id='header'> <div id=menu> <table align=right bgcolor='#000000' border=0 width=100%><tr> <td align='right' valign='center'> <table border='0'> <tr><td>[url='#']My Profile[/url]</td></tr> <tr><td>[url='#']Donate[/url]</td></tr> <tr><td>[url='#']Vote For Us[/url]</td></tr> </table> </td> <td align='right' valign='center'> <table border='1'> <tr><td> Name: $gn{$u} [{$ir['userid']}] $d</td></tr> <tr><td> Money: {$fm}</td></tr> <tr><td> Crystals: {$ir['crystals']}</td></tr> </table> </td> <td align='right' valign='center'> <table border='1'> <tr><td colspan='2'> Level: {$ir['level']}</td></tr> <tr><td> EXP: {$experc}%</td> <td><img src=expbg.gif width=$experc height=7><img src=barred.gif width=$exopp height=7></td></tr> <tr><td> Health: {$hpperc}%</td> <td><img src=healthbg.gif width=$hpperc height=7><img src=barred.gif width=$hpopp height=7></td></tr> </table> </td> <td align='center' valign='center'> <table border='1' > <tr><td> Energy: {$enperc}%</td> <td><img src=energybg.gif width=$enperc height=7><img src=barred.gif width=$enopp height=7></td></tr> <tr><td> Will:{$wiperc}%</td> <td><img src=willbg.gif width=$wiperc height=7><img src=barred.gif width=$wiopp height=7></td></tr> <tr><td> Brave: {$ir['brave']}/{$ir['maxbrave']}</td> <td><img src=awakebg.gif width=$brperc height=7><img src=barred.gif width=$bropp height=7></td></tr> </table> </td> </tr> </table> <table bgcolor='#000000' border=0 width=100%><tr><td align='left'>[b]Current Time ::[/b]<font color='#CC0000'>";// Display Time Date Table echo date ('F j, Y').date('g:i:s a'); print "</font></td></tr></table></div> </div>";// End Time Date Table print "<table width=100% border=0><tr><td width=10% valign='top'> "; if($ir['fedjail']) { $q=mysql_query("SELECT * FROM fedjail WHERE fed_userid=$userid",$c); $r=mysql_fetch_array($q); die("[b]<font color='#CCOOOO' size='2'>You have been banned for {$r['fed_days']} day(s). Reason: {$r['fed_reason']} </font>[/b] </td></tr></table></body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this.</font>[/b]</td></tr></table></body></html>"); } } function menuarea() { include "mainmenu.php"; global $ir,$c; print "</td><td valign=top> "; } function endpage() { print "</td> <tr><td colspan='2'> <div id='footer'>[size="1"] ©2009 All Rights Reserved. | <img src=images/creative-commons.png> | Designed by [url='#']GenScript[/url]</p> [url='#']Legal[/url] | [url='http://jigsaw.w3.org/css-validator/check/referer']CSS[/url]</p> [/size] </div> </td></tr> </table></body> </html>"; } } ?> mainmenu.php <?php print " <div id='colOne'><div class=class='boxed'>";// /******************** Replace with mainmenu.php code here ********************/ print "</div></div>";// ?> default.css /* Released for free under a Creative Commons Attribution 2.5 License */ body { margin: 0; padding: 0; background: #252D37 url(images/hd1.jpg) repeat-x; font: normal 11px "Trebuchet MS", Arial, Helvetica, sans-serif; color: #A4AFBD; } form { margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; color: #000000; } h1 { font-size: 31px; } h2 { font-size: 26px; } h3 { font-size: 18px; } p, ul, ol, blockquote { margin-top: 0; padding-top: 0; text-align: justify; line-height: 18px; } a { color: #FFFFFF; } a:hover { text-decoration: none; } /* Boxed */ .boxed { margin: 0 0 20px 0; padding: 5px 20px 20px 20px; background: url(images/img4.gif) repeat-x left bottom; } /* Post */ .post { margin: 0 0 20px 0; padding: 10px 20px 30px 20px; background: url(images/img4.gif) repeat-x left bottom; } .post h4 { margin-bottom: 20px; font-size: 11px; font-weight: normal; } .post h4 strong { font-weight: bold; color: #5B6F88; } /* Header */ #header { /*width: 904px;*/ height: 140px; margin: 0 auto; } /* Menu */ #menu { float: right; padding: 10px 0 0 0; } #menu ul { margin: 0; padding: 15px 0 0 0; list-style: none; } #menu li { display: inline; } #menu a { text-decoration: none; color: #FFFFFF; } /* Content */ #content { width: 904px; margin: 0 auto; } #colOne { float: left; width: 238px; } #colTwo { float: right; width: 646px; } /* ColOne Content */ #colOne ul { margin-left: 5px; padding-left: 0; list-style: none; } #colOne li { padding: 2px 0 7px 0; } #colOne li.first { border: none; } #colOne h3 { font-size: 15px; } /* ColTwo Content */ /* Welcome */ #welcome { padding: 5px 20px 20px 20px; } #welcome h2 { margin-bottom: 25px; } #welcome .image { float: left; padding: 0 17px 0 0; } #welcome p { margin-left: 126px; } /* Footer */ #footer { clear: both; /*width: 904px;*/ margin: 0 auto; background: url(images/img6.gif) repeat-x left top; } #footer p { margin: 0; padding: 30px; text-align: center; }
×
×
  • Create New...