Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: Crimes First of all your global_func.php requires a dropdown for crimes. Here it is: Add the code below to your global_func.php   function crimegroup_dropdown($connection,$ddname="crimegroup",$selected=-1) { $ret="<select name='$ddname' type='dropdown'>"; $q=mysql_query("SELECT * FROM crimegroups ORDER BY cgNAME ASC"); if($selected == -1) { $first=0; } else { $first=1; } while($r=mysql_fetch_assoc($q)) { $ret.="\n<option value='{$r['cgID']}'"; if ($selected == $r['cgID'] || $first == 0) { $ret.=" selected='selected'";$first=1; } $ret.=">{$r['cgNAME']}</option>"; } $ret.="\n</select>"; return $ret; }   if that dont work then its ur fault that you never put this code in right.
  2. Re: Quick help please Here add this into ur header: $t = mysql_query("SELECT * FROM users WHERE userid='{$_GET['u']}'") or die(mysql_error()); $c = mysql_fetch_assoc($t); if($c['user_level'] == 2 || $ir['user_level'] == 2) { $r['username'] = "<font color=red>{$r['username']}</font>"; $ir['username'] = "<font color=red>{$ir['username']}</font>"; } if($c['user_level'] == 3 || $ir['user_level'] == 3) { $r['username'] = "<font color=blue>{$r['username']}</font>"; $ir['username'] = "<font color=blue>{$ir['username']}</font>"; } if($c['user_level'] == 5 || $ir['user_level'] == 5) { $r['username'] = "<font color=yellow>{$r['username']}</font>"; $ir['username'] = "<font color=yellow>{$ir['username']}</font>"; } Then the username will appear in the color as u want on the view user and on every page you use ur name will appear in the color i hope unless your other code dont destroy and stuff. Floydian could help you a bit with my code.
  3. Re: [v2] Family's [$30] 3 Copys left get your copy now!
  4. Re: [v2] Family's [$30] 2 Copys Sold / 4 Left
  5. Re: [v2] Family's [$30] Ok so far good posts. :lol:
  6. Re: [v2] Family's [$30] 1 copy saved, 5 left.
  7. Hello all. I have made this modification because some people wanted it on this forum but no one made it so i did. Description: Family File: When you marry some one you get a link called "Family Manager" you will then get only 1 link in there called "Create a Family" this link will then send an aproval to your partner and they can decline or accept. If they accept the other partner will recieve an event saying "Your partner has accepted your proposal to make a family." Then you shall get a link to create a family or you can go to "Family Manager" and get the link there. You may only make 2 children (Can be edited) and when you got 2 children every hour there hunger and thirst will go lower and lower but if the parents dont feed them they will die sending the parents to jail. You can also send your child to school (Compulsary) and if you dont your child will be taken away from you and deleted from the game. Every day it will take a certain sum of money off your's and your partners money to pay for the school fees. When the child turns 19 he decides to leave the house (Gets deleted) and wonders off from your family. Proposal File: This is a new script i made its not got all the take money functions and all because eventualy some people take it off. This file will allow you to send a proposal, view your proposals sent, view your incoming proposals. -Proposal: You can send a proposal to anyone in the game. -View proposals Sent: View your proposals that you sent and can cancel them. -View incoming proposals: View your incoming proposals and either delete or accept. Partner File: This file is new i have added just the default box, devorce (NEW), send love note. -The default if married is a table showing your money and your partners money. -Send love note: You can send a nice pink love note to your partner. -The devorce function is better than the one out atm. When devorcing the house money is split into 2 so if a house costs $200 you shall get $100 and your partner shall get a $100, You both loose the house. If you have children and when getting devorced all children will be deleted. You may only propose once at a time. (Can be modified) You can not create a baby without failing. Some times you fail some times you dont. This does come with shared housing.   Price: $30 Copies: 3 left out of 6 Rights: You may only use this on one game only. If you desire to make a new game but change the mod to the new domain and delete off old game notify me. Paypal: [email protected] Paypal note: Please provide the domain name you want this on and the email you want it sent to. Versions: v1 & v2 in stock! This mod is fully tested and works. Screen Shots: http://76.76.8.151/~pimpsg/family_display_mod.bmp -> Family & Proposal http://76.76.8.151/~pimpsg/family_display_mod2.bmp -> Partner Thanks.
  8. Re: [V1] Number Plate [$5] If i had to buy this mod i would use it for my ptc really.
  9. Re: Ideas... No you add that with the rest of your <style> and every link will then be hovered in color red.
  10. Re: V2 Escape from Jail mod mysql_query("UPDATE users SET break=1") or print(mysql_error());
  11. Re: V2 Escape from Jail mod   require(); is used if you require the script its selecting to be able to execute. include(); will only include the selected script, but continue to execute if it can not be located. Maybe why you have problems using it, as the script being selected can not be found, and causes the current script to stop execution. Not quite. require(); & include(); is exactly the same. You also get require_once(); & include_once();. Differences:
  12. Re: V2 Escape from Jail mod Yw
  13. Re: V2 Escape from Jail mod No session_start(); is already declared in globals.php Tip: When starting a php file use <?php and not <? Tip 2: Not to be mean or anything but the require "globals.php"; dont quite work some times ive had problems with it. Use: include("globals.php"); So now that we got that all done your code should look like this at the top: <?php include("globals.php");
  14. Re: Ideas... EASY   <style> a:hover { color: red; } </style>
  15. Re: Basic marraige   looks like someone else is using my game name just in a different way :p Atleast he got his speiing correct! :lol:
  16. Re: [v1/v2] Marrgiage with Shared House[v1/v2] Yh he most probly selling illegal mods again.
  17. Re: Basic marraige Toxication no i never i gave him the sql:   alter table users add married int(11) not null default '0';   wich danny couldnt even do so basicly danny is selling an illegal script :P
  18. Re: Basic marraige Lol i doubt danny will ever be able to code something without stealing add me on msn [email protected]
  19. Re: [v1/v2] Marrgiage with Shared House[v1/v2] I wonder if you never took the one i posted on my old account hmmm!
  20. Re: [v1]Dragon Tent[$20] Ok lets face the facts. Ive made 2 mods for -Matt- i coded this one and the other one i posted wich was the mood modification. All of you might think this uses the script of the attack.php but it doesnt it is a brand new attack that i have made using luck level and rand. You use your guns to attack the dragon, it aint quite easy to attack a dragon its very hard its using a rand like rand(1,$ir['maxhp']) so the dragon can actualy by using 1 attack can kill you and if your level is higher than the dragons it is using this rand(1,$ir['maxhp']/2) wich is still quite hard but it can still kill you by using 2 attacks. This the most easiest mod ive created to install the codes arnt quite easy to code. It uses a installer wich will create the 2 tables and inserts the row into the users table. Once the installer is run it cant be run again it will show that all tables are already created and such. So please stop thinking this is a battle tent modified to just make extra cash.
  21. Re: [v1]Dragon Tent[$20] Battle tent you attack the actual other players here you attack dragons and such i think $20 is a fair price i would buy it.
  22. Re: [$15] Numbers Game [V2] Lol techno some times you freak me out :lol: First you say its not worth $15. Then you say you'll buy. XD
  23. Re: Best Security [Made by me] Iso did you know that you will never be able to stop brute forcing? BECAUSE ITS DONE VIA THE CPANEL!!! Iso this stops all known SQL Injections did i say XSS Injections and shit? NO Did i say this does not stop blind injections? NO BECAUSE IT DOES!!! Now to the rest i posted it here for free but then thought i could rather sell it so yh!!! And who told me to rather sell it? Coldblooded
  24. Re: Best Security [Made by me] When did i claim i could know secure a variable, you just showed me a better way! And anyway this does not use abs(@intval or any mysql_real_escape_string or trim or what so ever you add this code and do one thing and it secures your whole site. Not like yours only secures what ever you put in.
  25. REMOVED It is now for sale for $10.00
×
×
  • Create New...