Jump to content
MakeWebGames

gurpreet

Members
  • Posts

    834
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gurpreet

  1. I want it so the A:hover thingy does overline and underline so if I have black text, And I put my mouse on it, It will be red underline and overline. Miniman said it's in header.php so here's mine.
  2. Re: Hosp when losing.... Please use search. http://criminalexistence.com/ceforums/i ... ic=17613.0
  3. Re: Starting off... I think that's it, just a noob coder here so try it.
  4. Re: Little crystal cap thing. Yea, Owner would get Mail [1000000] when they login....Also this is my 1st ever mod I tried so..
  5. Here's a little mod, just a cap, I do NOT take credit as it was given to me by someone who I forgot... :roll: Open up cmarket.php and find Under that add Change the $10,000 to however much you want the cap to be. Next find And underneath add And again change the ( $_POST['price'] > 10000 ) from 10000 to whatever you want. This is my 1st mod post so please say if this helped. Here's some screenies.
  6. Re: CODING BTW you need injection protection, done a simple crystal injection and well...It worked... Name: gurpreet [310] Money: $100 Level: 1 Crystals: 999999999 If you want to fed or delete me I don't mind, but you HAVE to add protection.
  7. Re: User Rating global $db,$c,$userid, $db,$set; $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $db->query("UPDATE users SET laston=unix_timestamp(),lastip='$IP' WHERE userid=$userid"); line 86-90
  8. Re: Gang Surrender I get this too, I have emptied the table many times, but it's something wrong in the base V2 coding.
  9. Re: User Rating Fatal error: Call to a member function query() on a non-object in /home/gurpreet/public_html/header.php on line 90 $db->query("UPDATE users SET laston=unix_timestamp(),lastip='$IP' WHERE userid=$userid"); Any idea what's wrong?
  10. Re: User Rating Now I get Fatal error: Call to a member function query() on a non-object in /home/gurpreet/public_html/header.php on line 90. o.O
  11. Re: User Rating Just a quick question, I lost my old mysql.php file and I put it like this in the file.   Then I get Parse error: syntax error, unexpected ';' in /home/gurpreet/public_html/mysql.php on line 3 Sorry to be noobish but I lost all my knowledge of this stuff.
  12. Re: Updated Mailbox [v1] I see. Thanks Miniman and Richard. This is awesome :)
  13. Re: [mccode] [TGM] Delete Gang Option [TGM] Just a quick question, I lost my old mysql.php file and I put it like this in the file.   Then I get Parse error: syntax error, unexpected ';' in /home/gurpreet/public_html/mysql.php on line 3 Sorry to be noobish but I lost all my knowledge of this stuff. BTW it's to do with this mod as I need it for douwanna.php
  14. Re: User Rating Warning: mysql_connect() [function.mysql-connect]: Access denied for user '*******'@'localhost' (using password: YES) in /home/*******/public_html/mysql.php on line 3 Access denied for user '*******'@'localhost' (using password: YES) Any idea whats wrong?
  15. Re: Updated Mailbox [v1] Fatal error: Call to a member function query() on a non-object in /home/*&*&*&***&/public_html/mailbox.php on line 69 Same here, any idea how to fix it?
  16. Re: new login.php Awesome, but is there any pages you can upload or sumin for TOS And stuff?
  17. Re: Welcome BUmp.
  18. Re: Generate Password What about if they fill in the normal password field, then generate a password? o.O
  19. Hey everyone, i'm not sure if it's been posted, but I would like a code so my game seems more professional. I want it so when they join and login only for the first login, it wil send a mail which can be customized, and it will give an event saying they recieved money. I know I can change it so when they join they get extra money, but I would like it to send an event so they know that it's purposly done. So in short, I would like something so when they join, they get a mail which can be changed, and an event with money and crystals. Thanks if you can help me out :-)
  20. Re: going to hospital If you have bought MCcodes, then put in the original hospital.php file and it will be fine. BTW what were you trying to do?
  21. Re: HELP Tell your mate to add in the original cron_time.php files, and tell him to redo the rons under the Cpanel. If it still doesn't work, he's got an illegal version on Mccodes.
  22. Re: Basic marraige Kinda off topic: Dude why you selling you're game? There's only 82 players including me and your host sucks, pages take so long to load. You are one of them who just make a game, get 100 players and sell it...
  23. Re: Basic marraige   I'm quite new but i think It means you're missing something from you're query, ( '', 1, 1 ). As you can see there is a space between ( and ", so maybe something goes there.
  24. Re: Need some help Ok well i'm new to coding really, and should i just copy a fed jail code and edit it?
  25. Re: Attack And Lose No Hosp Ok i added that, but now i get this, even though i go to hospital.   But the query should be 'Lost to |< @ © H !'. :?
×
×
  • Create New...