Jump to content
MakeWebGames

deathknight90

Members
  • Posts

    33
  • Joined

  • Last visited

    Never

Everything posted by deathknight90

  1. Re: Help Please ok, i read my code error better and figured it out. Was very simple.
  2. Ok I was making a new register.php and when I added a few new options it works great. They all go into the database but once you try and login it says:   Warning: Cannot modify header information - headers already sent by (output started at /home/cloutier/public_html/RPG/config.php:13) in /home/cloutier/public_html/RPG/authenticate.php on line 53   <?php session_start(); if(get_magic_quotes_gpc() == 0) { die("Fatal error: MCCode cannot function without MagicQuotes GPC being turned on in PHP.INI."); } include "config.php"; global $_CONFIG; define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } if ($_POST['username'] == "" || $_POST['password'] == "") { die("{$set['game_name']} Error You did not fill in the login form! > Back"); } $uq=$db->query("SELECT userid FROM users WHERE login_name='{$_POST['username']}' AND `userpass`=md5('{$_POST['password']}')"); if ($db->num_rows($uq)==0) { die("{$set['game_name']} Error Invalid username or password! > Back"); } else { $_SESSION['loggedin']=1; $mem=$db->fetch_row($uq); $_SESSION['userid']=$mem['userid']; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("UPDATE users SET lastip_login='$IP',last_login=unix_timestamp() WHERE userid={$mem['userid']}"); if($set['validate_period'] == "login" && $set['validate_on']) { $db->query("UPDATE users SET verified=0 WHERE userid={$mem['userid']}"); } header("Location: loggedin.php"); } ?>   This is line 53: header("Location: loggedin.php");
  3. Re: [TGM] Stat Level [TGM]   If you read my post it stated that I already made this. Has it made for a while.
  4. Re: [TGM] Stat Level [TGM] well I see josh you stolen my idea. I had this mod mad for sometime. I showed you my game and this is what you do. Well im no longer showing you my game. Also my stats are a lot better.
  5. Re: Getting Rid of the 2.147 bil cap in MCcode No its not , that is if you make it hard to earn money.
  6. Re: neab for sale     Yes I bought these codes. And I may resell it but I cant use it or resell it. The person that buys it will have full right to it. So if your interested please let me know. When I sell it I will let Alian know who the new owner is.
  7. Hey guys im selling neab because it was a waist of money. Im selling the $200 ones for? Im not sure I guess for like $500 lol jk. Ill sell it for 50% off so $100 Message me if you wanna buy it
  8. Re: [mccode] item images well its not very hard to do. All my items have pics but its not free. Im shure there is someone here that will give you a free one. Sorry:(
  9. Re: Getting Rid of the 2.147 bil cap in MCcode first of all why do you guys allow so much money going into the players banks, hand etc. Its stupid. Cut the money down a bit. When you first join most games start with $200-$1000 cash. Then when players see another player 7 days old they have over 3 million. Why? Why? Why? Its stupid.
  10. Re: Multi Account Issues the reason this is not working... My gues sthat your using v. 2 codes. This codes is for v.1 and v. 1.1
  11. Re: Coding Error (criminal.php) - Please help!!! if you bought these codes then they would work. And if you did buy them ask the owners for a new copy.
  12. Re: Coding Error (itemmarket.php) - Please help!!! thats very funny. Its the same error I an old friend has. He got his copy off me. And yes I didnt buy mine. But I have contacted the owners and currently waiting for an reply. But your error is one small code that is changed.
  13. Re: [mccode] item images then why would you post a code if it will not show a pic.
  14. Re: Making A template   Did I say I can? No I didnt I said its very easy to because there is a way to figure out how to read that file. So many people have mccodes and have learned them. So if someone wanted to then they could.
  15. Re: Making A template U dont need to know a lot of html and you dont need to know any css. (very easy) If you know php then use that. And if you want your login to show online users, high score, etc then you need to make it connect to your database. include "config.php"   that would be what mccodes would be used for. Dont use config on your game just because people can hack your server easy.
  16. Re: [Free] Advanced(ish) Level Upgrade Mod. I currently have on my game, where once players level up they gain stat points. And they can be used to upgrade differant things. Also I have a gym but can only use it once a day. Energy goes up every 24 hours.
  17. Re: NEAB Demo Site   First of all I do know how to code and also if you break the contract then you will not give any of the upgrades away to that person. Well the only way you can do that is to cancel the contract. And if you cancel the contract then Yes you will not have to give him any upgrade but that person may then sell it due for the fact the contract is over. So now he may resell it if you break that contract. If you don't believe me talk to your lawyer. I already asked mine about this and he said that that guy may resell it now. So Im going to contact him and let him know. And I just might buy it off him.
  18. Re: [mccode] Additional Currency its very easy to do and if you want just post here or message me what you want and ill make the code for you to add to it and also what to add to the header.php
  19. Re: NEAB Demo Site It sounds to me that you have never tested your minineab or anyother one. You said there are no bug but thats bull. Why dont you test it before saying "O there are no bugs,"'   If everyone is finding bugs then there are bugs so stop lying and fix them. After message them back and send them the new file.   Also no one wants to buy a buggy game that they need to do hours of coding on. The reason people bye it was so they had a game that never need fixing. Guess we all got our hope up too soon.
  20. Re: NEAB Demo Site yes he may know it because its his game. But think of it this way. I own that game and I had to switch over the file. So that is what the problem is. There is a few files that must be switched around.
  21. Re: Please help in order for the time to change in the game you will need the crons. Im guessing that you are using a free host. There are a free hosts out there that are still free but they have low bandwith.   Also the error you got stats that you are missing a file called "installer"
  22. Re: Gang Managers nice mod. But reallt thats an easy mod to make. I will make one once Im done with my current project
  23. Re: NEAB Demo Site you are missing a file called "quests_util.php". I do believe you have this file but just copy and paste it under the folder called "combat". If this does not solve it then not sure of it but it should work after that.
  24. Re: [mccode] Additional Currency I do believe thats the easy to do. Too easy for me. I currently have like 5 or 6 currency types on my game. Im adding 8 more too.
  25. deathknight90

    TBG

    Re: TBG are you talking about turned based games?
×
×
  • Create New...