Jump to content
MakeWebGames

lucky3809

Members
  • Posts

    1,115
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by lucky3809

  1. Take a look at this site may help you in what your trying to do. http://htmlpurifier.org/
  2. Thank you for posting this, because it is confusing trying to read someones ftp through mind lol. =P Don't play guessing games when you have a problem with your script, and don't be afraid to post your error and part of the script that is giving the error and remember if you get an error on line 30 don't post just line 30 for it could be on line 25 or line 40, at least post 10 lines above and 10 lines below from the error line stated.
  3. sounds like bad coding. no bug there. to better help you, you should post the pages that is giving you the problems and someone can look over them and tell you what you have wrong in your script.
  4. The torn newspaper is so simple and easy to code why would you even ask for someone to code it,and not code it yourself and learn? just saying because it's quite easier then you would think.
  5. the way i would do it is get rid of mainmenu.php all together and add it in your header.php, however you would need to do some adjustments to having it like that.
  6. probably bad coding would not really know you have not provided the page your having trouble with. most likely though it is bad coding. not a bug.
  7. hp is not the only brand, look into dell imo i think they are better then an hp.
  8. 20x is not a lot he did not say what the starting cash is, if it's $1 or $1 k or more, even if it's $1k 20k is not much to be getting your panties in a twist lol... I think it's good for the pre-registers... As for spelling goes, everyone makes spelling errors.
  9. This may be your error... if($p['personal']=='ON') { echo ' First Name: {$p['first']} (and i think this is line no.139) Last Name: {$p['last']} Age: {$p['age']} Aim Of The Game: {$p['aog']} Msn: {$p['msn']} Aim: {$p['aim']} Aol: {$p['aol']} Yahoo: {$p['yahoo']}'; }   I believe using { } on echo ' throws that error statement. instead of the {} brackets use '. .'
  10. I agree you should put more languages maybe add English the majority of players will be English speaking players, unless you only have your game for your country only then keep it as is, but if you want to expand add an English option. Thus could be the reason for less people playing.. As for game colors and layout look into photoshop tuts not hard to create a nice template for your game, but pick wisely and go with something readable, and something that will draw a player to your game. Sometimes you have to step up your game, and code it differently, make the game new and not look old, most players wants new updates and new look, too. I believe everyone gets dis courage building a game, I have before and left the game un finished, however sometimes its only negative people that brings you into depression, don't think of those people, think about YOU, and what you want game wise, and shoot for YOUR goals, when you fall into another persons goals you fall into depression of what you are doing and lose your ability to concentrate don't do that. Set small goals for yourself,such as tell yourself your going to finish 1 page by night and then move on and tell yourself your going to finish 2 more and then ect...Don't do everything at once, no matter how long it takes to finish them they will eventually get accomplished when you have set small goals like so. What i find interesting is suggestions from players on other games, even if it's a small suggestion, add it to your game and it'll make those suggesting it like your game, browse the top games, then register and look in the forums under suggestions get an idea what players want, and don't just code for what you want but also what they want too.
  11. nevermind didnt see the second page. glad you got it fixed.
  12. nevermind my answer is on the first page didnt see it.
  13. Add the sql: ALTER TABLE `items` ADD `itempics` VARCHAR( 255 ) NOT NULL ; in your page where you want the pic to show add: echo '<img src="images/'.$r['itempics'].'">'; note: images/ is the folder that you would place your itempics in, if you have them on public_html and not in an images folder then erase the images/ After you done this, go into your phpmyadmin database and click on your ITEMS table, then you should be on the BROWSE tab, pick the item you want to add a pic to and select the PENCIL (which is edit) then under ITEMPICS in the VALUE area place your pic location such as: images/default.png then click GO and your done.
  14. Your getting that error because when this forum transferred to the new layout, it left behind html coding that was not part of the original mod posted, its this forum error that you got. for an example: print "<tr><td><a href="http://shops.php?shop={$r[" target=_blank">{$r['shopNAME]}</a></td><td>{$r['shopDESCRIPTION']}</td></tr>"; the original one was: print "<tr><td><a href="shops.php?shop={$_GET['shop']}">{$r['shopNAME']}</a></td><td>{$r['shopDESCRIPTION']}</td></tr>";
  15. here is some help if you dont understand...However I would follow illusions advice, so you can learn to make the easiest things on your own instead of copying and pasting. http://makewebgames.io/showthread.php/23914-mccode-v2-Items-Pic-mod?highlight=item+pics
  16. you type in localhost where it ask for the hostname.
  17. x10hosting.com uses localhost. you have not correctly entered your stuff in. you have.. int.web4.vital.x10hosting.com it should be... localhost
  18. how hard is adding itemPIC to the items table in your database, and a query? Look at the display_pic in viewuser the code is already there! A tip for the future lol. If you are stuck on a code, look through your scripts because most of the time you are already using it in another script.
  19. @ bluegman991 you said ,"The extracted path of mccodes.zip is now /home/public_html/mccodes/" That is if the main folder was called mccodes and he had all the files in it and zipped it If he had a folder name mccodes and opened it and selected all the files and zipped them, they would been extracted the same as uploading them individually the only folder on his public_html would be the class one.
  20. depending if you have them in a zip file, if you dont then yeah you upload them individually, zip all the files together then upload the zip and extract it,easier then doing each file individually. mccodes comes with instructions how it should all be installed if i remember correctly. Just don't add the db sqls manually, the installer does it automatically.
  21. You must have it in another file then.
  22. its in global_func.php that is why it is func at the end for functions lol.
  23. You need to change your number_format function to have it display the correct decimal. Post your number_format function and someone maybe able to help you.
  24. well im sure he wouldn't need to even use rand, it was an example... he could just add $rantime= 10; if he wanted the time to be from 0-10 minutes then the rand should be rand(0,10) rand(10,10) is the same as $rantime =10;
  25. US has answered this error. Your rand () is not correctly done right. And as Danny mention look at the error given... traveltime= Has nothing after it, meaning that is the error,which in your script you have added $rantime in that query after traveltime= meaning you should look in your script and see where you screwed up which would be your if statements with $rantime = rand(); example you have... $rantime = rand(10); should be ... $rantime = rand(10,10); As like US said. and directed you to the website to show how the rand function works.
×
×
  • Create New...