Jump to content
MakeWebGames

mentaljason

Members
  • Posts

    135
  • Joined

  • Last visited

    Never

Everything posted by mentaljason

  1. Re: Updated gamerules lol
  2. Re: Staff Password without sql's. (ANY VERSION) Thank you. i would like to ask. you can still fed people on their profile. where would you put that code on things like that to stop it?
  3. Re: Email Nice ty
  4. Re: Email Well, you only have people you can trust. and by that people who wont do that E.g a crap coder or a partner.
  5. make a page called fulldets.php add   <?php include "globals.php"; print <<<EOF <h1>Full user details</h1> [b]Name:[/b] $gn{$u} [{$ir['userid']}] $d [b]Money:[/b] {$fm} [b]Credit Card:[/b] \${$ir['creditcard']} [b]Bank money:[/b] {$ir['bankmoney']} [b]Cyber-Bank:[/b] {$ir['cybermoney']} [b]Email:[/b] {$ir['email']} [b]Level:[/b] {$ir['level']} [b]Crystals:[/b] {$ir['crystals']} [b]IP:[/b] {$ir['lastip']} [b]Current Job:[/b] {$ir['job']} [b]Possition:[/b] {$ir['user_level']} [b]Gender:[/b] {$ir['gender']} [b]Exp:[/b] {$ir['exp']} [b]Last online:[/b] {$ir['laston']} [b]Energy:[/b] {$ir['energy']} [b]will:[/b] {$ir['will']} [b]Maxwill:[/b] {$ir['maxwill']} [b]Brave:[/b] {$ir['brave']} [b]maxbrave:[/b] {$ir['maxbrave']} [b]max energy:[/b] {$ir['maxenergy']} [b]HP:[/b] {$ir['hp']} [b]Max HP:[/b] {$ir['maxhp']} [b]Location:[/b] {$ir['location']} [b]signed up:[/b] {$ir['signedup']} [b]duties:[/b] {$ir['duties']} [b]posts:[/b] {$ir['posts']} [b]Strengh:[/b] {$ir['strengh']} [b]Agility:[/b] {$ir['agility']} [b]Defence:[/b] {$ir['defence']} [b]Labour:[/b] {$ir['labour']} [b]IQ:[/b] {$ir['iq']} EOF; $h->endpage(); ?>   It's pretty crap but it's an extra page lol
  6. I have updated the rules. it has youyr gamename instead of monocountry, also has a hyper link to owner instead of "mail dabombstew [1]" it says mail the owner [1] and that is a link to the game owners profile Code1- Big spaces between rules <?php include "globals.php"; print <<<EOF <h1>{$set['game_name']} Rules and Regulations</h1> [list=1] [*]Players are only allowed to have one account, owning two or more accounts will result in all accounts being jailed, if you are on the same IP as another player, mail staff and let them know. [*]You are responsible for whatever happens on your account, don't give out your password to anyone. [*]Children play this game, so keep it PG-13. Mild swearing will be permitted, but F-bombing, sexual vulgarities or excessive swearing will result in some time in Fed until you clean up your act. [*]Profile images with nudity, profanity, or otherwise offensive images will be removed, and may result in jail time. [*]We understand that you play other games, but do not advertise them here. You get 1 warning, afterwards its Fed time. [*]Do not spam the staff's mailbox, if you have a problem, message one of us once. They will deal with your problem in a timely manner, but do not mail them repeatedly, or mail multiple staff members. [*]Do not harrass other players, use common sense on this one, if you don't know when your crossing the line from fantasy into harrassment, assume that you are harrassing the other player. This will not be tolerated and will result in a stiff punishment. [*]Scamming will not be tolerated in any manner. Any attempt to scam anyone will result in being jailed for a long long time. [*]If a member of staff is bothering you for any unfair or just plain, weird reason, mail [url='viewuser.php?u=1']The owner [1][/url] [*]Common sense rules are not posted here, if you can't determine the difference between what is ok, and what is not, you should consider not interacting with other people until you do understand. [*]These rules are subject to change without notice, check them from time to time, as ignorance will not be accepted as an excuse. [/list] EOF; $h->endpage(); ?>   code 2 single spaces   <?php include "globals.php"; print <<<EOF <h1>{$set['game_name']} Rules and Regulations</h1> [list=1] [*]Players are only allowed to have one account, owning two or more accounts will result in all accounts being jailed, if you are on the same IP as another player, mail staff and let them know. [*]You are responsible for whatever happens on your account, don't give out your password to anyone. [*]Children play this game, so keep it PG-13. Mild swearing will be permitted, but F-bombing, sexual vulgarities or excessive swearing will result in some time in Fed until you clean up your act. [*]Profile images with nudity, profanity, or otherwise offensive images will be removed, and may result in jail time. [*]We understand that you play other games, but do not advertise them here. You get 1 warning, afterwards its Fed time. [*]Do not spam the staff's mailbox, if you have a problem, message one of us once. They will deal with your problem in a timely manner, but do not mail them repeatedly, or mail multiple staff members. [*]Do not harrass other players, use common sense on this one, if you don't know when your crossing the line from fantasy into harrassment, assume that you are harrassing the other player. This will not be tolerated and will result in a stiff punishment. [*]Scamming will not be tolerated in any manner. Any attempt to scam anyone will result in being jailed for a long long time. [*]If a member of staff is bothering you for any unfair or just plain, weird reason, mail [url='viewuser.php?u=1']The owner [1][/url] [*]Common sense rules are not posted here, if you can't determine the difference between what is ok, and what is not, you should consider not interacting with other people until you do understand. [*]These rules are subject to change without notice, check them from time to time, as ignorance will not be accepted as an excuse. [/list] EOF; $h->endpage(); ?>
  7. Re: [V2][MCCODES]Updated Help tutorial I will try and update this again.
  8. Re: Itempedia FREE V2 Mod... ty
  9. On v2 it isnt in the default to view a users email. you would have to treck into the DB and find it then it wouldnt be matched up with a name. so i decided to mention how 1 line can help you. simply go onto viewuser.php and look for:   if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { $r['lastiph']=@gethostbyaddr($r['lastip']); $r['lastiph']=checkblank($r['lastiph']); $r['lastip_loginh']=@gethostbyaddr($r['lastip_login']); $r['lastip_loginh']=checkblank($r['lastip_loginh']); $r['lastip_signuph']=@gethostbyaddr($r['lastip_signup']); $r['lastip_signuph']=checkblank($r['lastip_signuph']); print "<h3>Internet Info</h3><table width='100%' border='0' cellspacing='1' class='table'> <tr><td></td><td class='h'>IP</td><td class='h'>Hostname</td></tr> <tr><td class='h'>Last Hit</td><td>$r[lastip]</td><td>$r[lastiph]</td></tr> <tr><td class='h'>Last Login</td><td>$r[lastip_login]</td><td>$r[lastip_loginh]</td></tr> <tr><td class='h'>Signup</td><td>$r[lastip_signup]</td><td>$r[lastip_signuph]</td></tr></table>"; print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form>";   And change it to   if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { $r['lastiph']=@gethostbyaddr($r['lastip']); $r['lastiph']=checkblank($r['lastiph']); $r['lastip_loginh']=@gethostbyaddr($r['lastip_login']); $r['lastip_loginh']=checkblank($r['lastip_loginh']); $r['lastip_signuph']=@gethostbyaddr($r['lastip_signup']); $r['lastip_signuph']=checkblank($r['lastip_signuph']); print "<h3>Internet Info</h3><table width='100%' border='0' cellspacing='1' class='table'> <tr><td></td><td class='h'>IP</td><td class='h'>Hostname</td></tr> <tr><td class='h'>Last Hit</td><td>$r[lastip]</td><td>$r[lastiph]</td></tr> <tr><td class='h'>Last Login</td><td>$r[lastip_login]</td><td>$r[lastip_loginh]</td></tr> <tr><td class='h'>Signup</td><td>$r[lastip_signup]</td><td>$r[lastip_signuph]</td></tr></table>"; print "<form action='staffnotes.php' method='post'> User email: {$r['email']} Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form>";   Easy as. just adding   User email: {$r['email']}   Before the staff notes. so only staff can view the email. doing so you can make sure users emails are real and not just rubish in the correct format eg [email protected].
  10. Re: Itempedia FREE V2 Mod... Lol sry, i have already tried that you get Money: £$27,000
  11. Re: Itempedia FREE V2 Mod... Zomg!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! so frustrating. My user thing is like:   [b][url='viewuser.php?u={$ir[']Name:[/url][/b] $gn{$u} [{$ir['userid']}] $d [b]Money:[/b] £{$ir['money']} OR {$fm} [b][url='creditcard.php']Credit Card:[/url][/b] \${$ir['creditcard']} [b][url='bank.php']Bank money:[/url][/b] {$ir['bankmoney']} [b][url='cyberbank.php']Cyber-Bank:[/url][/b] {$ir['cybermoney']} [b]Email:[/b] {$ir['email']} [b]Level:[/b] {$ir['level']} [b][url='lucky.php']Crystals:[/url][/b] {$ir['crystals']} [b]IP:[/b] {$ir['lastip']} [b][url='job.php']Current Job:[/url][/b] {$ir['job']} [b]Possition:[/b] {$ir['user_level']} [b]Gender:[/b] {$ir['gender']} [b][url='yourgang.php']Gang:[/url][/b] {$ir['gang']}   I have to have {$fm} there aswell for somereason it doesnt have comas if i dont. the reason i dont want to use that is becouse im not AMERICAN!!!!!!!! i want friggin pound sighns. where the H*LL is the file sm???
  12. Re: Itempedia FREE V2 Mod... Ty, do you have much expieriance with this type of thing?
  13. Hi i have found it takes ages to make an items table. if anyone has made a desent set of items could you please post the query so i can use in in my db, ty mentaljason http://gundown.net78.net/login.php
  14. Okay. i need someone to send me the query for a ready made items table V2
  15. Re: Itempedia FREE V2 Mod... hmmmmmmm It apears i dont have a gang aurmory table.
  16. Re: Updated Login Page Nice 1 parr.
  17. Re: crystal bank what version is this?
  18. Re: [V2][MCCODES]Updated Help tutorial Simple edit what needed to be done
  19. Re: [V2][MCCODES]Updated Help tutorial Yes but it saves time if the {$set['game_name']} was put in first becouse it saves alot of time. i think that it makes it easier.
  20. Re: Simple SQL Injection protection Tamper data add-on for firefox can get past that. Thats is a bit vague im talking about the original get ui on other page
  21. Re: New Crime Page [V2] WTF he says i havent had a chance to test it yet at the top and then after the code he says ive tested it and it works for me??? lol
  22. Okay, i decided i was going to make a mod. only thing is ima noob so i made a noob mod. as far as i know this mod is not here but i oppoligise if it is. basicly i have took out all the mono contry parts in it and replaced it with: {$set['game_name']} so it is your game name. just hope it makes live easier for people who dont have the time to mess around with crap like that. just replace your help tutorial code for that one. hope you like it :-D   <?php include "globals.php"; print <<<EOF <h1>{$set['game_name']} Tutorial</h1> Welcome to the {$set['game_name']} Tutorial, we hope that this guide will help you to better understand the game. In {$set['game_name']}, you are free to choose your own path. You can protect the weak, or exploit their weakness. Spend your money to help your friends, or horde it, they can take care of themselves. Buy a gang and become the most respected group of players in the land. Declare war on an enemy, or an innocent bystander, the choice is yours.</p> <h3>Guide</h3> [url="#general"]General[/url] [url="#explore"]Explore[/url] [url="#stat"]Training[/url] [url="#fight"]Attacking[/url] [url="#preferences"]Preferences[/url] [url="#gangs"]Gangs[/url] <a name="general"><h4>General</h4></a> <u>Personal Info and Status Bars</u></p> In the top right corner of the screen is your personal information. This shows your current name, amount of cash, level, and number of crystals. To the right of your personal info is your status bars. These show your current energy, will, brave, experience, and health. 1)Energy is used for training and attacking.Refills 8% every 5 minutes, or 17% every 5 minutes for donators, 2)Will determines the effectiveness of your training, 3)Brave is used to do crimes, different crimes take more brave to do, these crimes are harder to succeed at so be careful not to try them to soon. 4)Experience shows how close you are to leveling up. 5)Health shows how much health you have remaining. You lose this if you're hit in a fight. <u>Stats:</u></p> There are 5 types of stats used on {$set['game_name']}: Strength, Agility, Guard, Labor, and IQ. 1)Strength determines how much damage you do in battle, 2)Agiligty is used to determine your hit rate in battle, 3)Guard reduces the amount of damage done to you when you are hit, 4)Labor and IQ are used to what jobs you are able to do.</p> <u>Sidebar</u></p> The sidebar shows much of the things you are able to do in {$set['game_name']}.</p> [list=1] [*]The Home link will bring you to your homepage. [*]Items will bring you to your item page. [*]Explore brings up a list of places that you can go on {$set['game_name']}. [*]Events displays the number of new events, and when clicked tells you what they are. [*]Mailbox will display any new messages you have received. [*]Gym is where you go to train your fighting stats. [*]Crimes will let you select which crime you want to do. [*]Your Job brings you to the Job screen. [*]Local School will let you take education classes. [*]{$set['game_name']} Paper displays recent updates to the game. [*]Forums will bring you to the official {$set['game_name']} Forums. [*]Search allows you to find other players by their name or their ID. [*]Preferences will bring you the the Preferences page. [*]Player Report is used to report players that have broken the rules of the game. [*]My Profile shows you your profile. [/list] <a name="explore"><h4>Exploring</h4></a> [list=1] [*]Shops: Here you can buy everything from med supplies, to weapons to make your enemy need meds. [*]Item Market: You can go and see what people are selling here. [*]Crystal Market: Come here to buy or sell crystals. [*]Travel Agency: This will bring you to new towns with different equipment, keep in mind you can only fight someone in your town. [*]Estate Agent:Go here to buy yourself a new house. [*]City Bank: Here you can deposit your money. You must first open an account for 50K, and pay a fee for depositing. [*]Gangs: See a list of all the gangs in {$set['game_name']}. [*]Gang Wars: A list of all current wars between gangs. [*]Federal Jail: Where all the suspected cheaters on the game go. If you're in here without cheating, mail fedjail [*]Slot Machines: Go here to make your fortune, or lose your shirt. [*]User List: Shows a list of all the players on the game. [*]{$set['game_name']} Staff: A list of all the staff on {$set['game_name']}. [*]Hall of Fame: Shows the top players in various fields. [*]Country Stats: A list of various statistics about the game. [*]Users Online: Shows which players have acted last. [*]Crystal temple: Trade your crystals for various things. [/list] <a name="stat"><h4>Training</h4></a> <u>Gym</u></p> To use the gym, type in the number of times you want to train, select the stat to train and click ok. The next screen will tell you how much of that stat you gained, and what your total in that stat is.</p> <u>Crimes</u></p> Go to the crime screen and select the crime you want to do. Remember that trying a crime that is to hard may land you in jail, and lose the experience you've worked so hard to get.</p> <u>School</u></p> School offers courses that will raise your stats over a certain period of time</p> <u>Your Job</u></p> A job will provide you with money at 5:00PM every day, as well as raising your job stats everyday. Some jobs have requirements before you can do them, so make sure to keep an eye out for that.</p> <u>Attacking</u></p> Attacking will gain you experience when you win, but you lose experience if you lose. The amount of experience depends on the comparative strength of your enemy, if they are much weaker, you won't get much experience</p> <a name="fight"><h4>Attacking</h4> Attacking is a good way to get experience, and exert your superiority over those weaker than you. In order to attack you need 50% energy, and should have a weapon. When you win a fight you will get a percentage of experience depending on how much stronger you are compared to the person you are attacking. Make sure that you really want to fight the person, because once you start you can't stop until one of you loses. When you start a fight, you will have the option of using any weapon that you currently have in your items page. <a name="gangs"><h4>Gangs</h4> Gangs are a group of players that band together to work for a common purpose, granted this may be robbing a bank, or taking down the losers in a rival gang. Gangs cost \$500K to create, and once you buy it, you are the president of your gang. Your faction will initially be able to hold 5 members, but will be able to upgrade to more as time goes on. The President will be able to assign a Vice-President to the gang. Gangs are able to do Organised Crimes for money and respect.The president can also select to go to war with another gang. One should be careful about doing this though, as it may come back to haunt you.</p> <a name="preferences"><h4>Preferences</h4></a> <u>Sex Change</u></p> This will allow you to change from male to female and back for free, try finding that deal in the real world!</p> <u>Password Change</u></p> The place to change your password, you should do this often to avoid having someone use your account if they crack your password</p> <u>Name Change</u></p> Go here to change your name, remember that you're ID stays the same, so you can't use this to avoid consequences of your actions</p> <u>Change Display Pic</u></p> Here you can change the display picture in your profile, it will automatically refit the picture to 150x150. Don't post anything offensive or you may be federal jailed.</p> EOF; $h->endpage(); ?>
  23. Re: [Free][v1][v2] Password reset code I only read the first few so i don't know if this has already been said. but, you know if it's md5 by going on to your register, authenticate, and change pass pages on it and on the query it is sending you will see md5 that meens it will be encrypted md5. i took the md5 off mine and for people who have done the same, then you just do the same with this page by the look of it. just delet the art where it says md5 on here aswell and it will work without md5. I would get a quote but i dont know how to view the topic post as im a noob on this forum lol. but it should be quite simple to do. i meen i can do it lol!!!!
  24. mentaljason

    Conecting?????

    Okay i just done sumat and i can't conect to db. what goes where?? <?php $c = mysql_connect('localhost', 'myusername', 'mypassword'); mysql_select_db('mydatabase', $c); $mykey=123456789; ?> here's my error....... Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myusername'@'localhost' (using password: YES) in /home/a1100261/public_html/mysql.php on line 2 and Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/a1100261/public_html/mysql.php on line 3 Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myusername'@'localhost' (using password: YES) in /home/a1100261/public_html/mysql.php on line 2 And many more, i think it's the conection. any help???   Masked connection details
×
×
  • Create New...