Jump to content
MakeWebGames

radio_active

Members
  • Posts

    693
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by radio_active

  1. Re: Cant get my head around these? I believe my Users table in the database is screwed as all the errors relate to the users database table as it has been doing funny things lately.... I should have this fixed soon and if i do, ill post how i did so if someone ever experiences the same problem, they may be able to fix it aswell..
  2. Re: House Rentals [V2]   Thats because no one has fixed the code here, its quite a simple error, just take a look at the function for removing the houses from the House Market then look at the query for removing from the rental market, they should be very similar only the rental market has a piece of screwed code which needs to be removed!
  3. Re: Cant get my head around these? Thanks for the posts yet im still in a bit of sh*t here.... I think its to do with my database screwing up...Because Some users Mail Count Randomly goes to -1 occasionaly so i have to fix that up, then some accounts are duplicating everything which is a very abusable bug and then some accounts are using 50% energy for every time they click attack in an attack window... So with that information, its directing me towards the database....??? Thoughts?
  4. Re: Whorehouse for V.2 Yeah, i believe this is also a paid modification, not sure though!
  5. Re: Your views on new layout mainmenu??? (Very unique i believe) Yeah, like cronus said, i cannot figure out what the buttons meant so maybe you should add a hover note meaning when you hover over the buttons, its says like explore or Jobs etc! But nice an compact.
  6. Hello I have a few problems i cannot seem to get my head around... From what i know, My account and a few other accounts on my game just Duplicate everything, if they send an item, it duplicates, if they remove a house of hte markets, it duplicates, if they post in the forums it duplicates, its really wierd and im not sure what the error is here, i think its from the Mysql Database with charaters not set properly? Then their is some accounts that dont dupe at all but, when they go to attack, every time they click the attack button it uses 50% energy so you cannot win the fight? Im really confused as to why some accounts are doing this and some are not, can someone please help.. Would be much appreciated Thanks
  7. Re: House Rentals [V2]   If its so easy and quick to do, why didn't you just do it yourself? I stand corrected as i did not read the "this" so forgive me there. I have nothing wrong with you posting for some help but why bump your post a few hours later??? Its a bit silly really and there is no need to get aggressive.
  8. Re: Forum Problems What you do is take the error >> Go to Forum.php >> Find the error >> Fix what it says the problem is! Its kind enough to tell you the line of the error and the problem, all you have to do is fix what its telling you is wrong..
  9. Re: Free 2 - Gym I think that just about summed this topic up... :-o   I definitely agree here, it really grinds my gears when i see a script with English errors, its hard to trust a code if the Producer cannot even spell properly. Its not hard to click the "Spell Check" two buttons next to "Post" before you post your question, code etc.
  10. Re: [mccode] gang staff panel   Do understand the last post on this mod was 366 days ago which equals = 1year and 1 day in total.. Dont be expecting an immediate reply and please be specific of what you want? "So you can make the manager, warring and the rest glow around them???" Wtf does that mean?
  11. Re: Full user details Is this really worth it if you can see everything basically from the index page???
  12. Re: [v1][FREE] DONATION PACKS TO ITEMS   Logic would say that you create a file called pack2.php pack3.php..... and soo on, then copy the code from the First 1 and then do the required edits and Changing the "Pack 1" in the code to "pack 2" etc and adding the items....Thats what i would do if i was using this script.
  13. Re: House Rentals [V2]   What a way to start your post count..lol Btw iseeyou94056, this is a House Rentals Mod so i really dont know why you are posting in here for Multiple Houses Mod@
  14. Re: House Rentals [V2] You just bumped your own post a few hours later... That says to me you cannot convert and your using your busy as an excuse....Give it some time for a kind soul to come across this and convert for you..
  15. Re: House Rentals [V2] I have fixed this modification up so it works swell... I will post on Sunday or Monday if anyone wants me to...
  16. Re: House Rentals [V2] Problems that this mod is facing.. I edited the version so that house is returned to user apon removing from the Market or Rental market... What i face now is.. When house is removed a duplicate house is added to Your Properties and when a house is bought, 2 houses are bought... Also, that actual tax of buying a house is not added in estate so it ssays 75000 for a house but cost 82500 all up... soyeah imma try and fix these errors soon unless Richard does..
  17. Re: Updated RentA Spy (v2) I am currently in the process of making a mod similar to this... It is what i requested a few months ago but now i am more confident with coding, i decided to create the script myself... BTW Zero, This Forum Topic is called "Free Game Modifications" Definition of Modification a.k.a Mod "1. an act or instance of modifying. 2. the state of being modified; partial alteration." So techniqually Gulley has every right to post a free Scipt which has been modified by himself, even if its only a few changes, its techniqually modifying in which he can also claim credit... Just thought id get that straight.. I believe the topics should be named: "Free Game Modifcations" (Modified from an original script) "Free Game Scripts" (Originally made Scripts) "Paid Game scripts" (Originally made scripts for sale) "Script Requests" As that is actually the correct terms... Anyway, back on track.. I am making a Spy mod which: You have a few options when spying when you fail... 1. You are attacked by a eg. "security dog" and you end up with 100 mins in hospital or something... 2. The Police catch you tresspassing on their property and throw u into jail.... 3. You just fail but manage to get away I am adding a new Stat called the Spy stat also.. So every time you succeed in spying someone on your level you get roughly 100 spy points ,if you fail, u get 1 spy point, if you spy on levels below you uou get less spy and levels higher you get more spy... The higher your "spy" stat is, the more chance of succeeding you have... Their may be a few extras but i am looking at either selling it here or not selling nor giving code awway.. But yeah, thought id put that out their..
  18. Re: Hit-List [$10]   php challenges :| That seriously has to be one of the faggiest things i have ever heard... "I challenge you to a PHP CHALLENGE" sorry but yah, *shudder*
  19. Re: House Rentals [V2] I added the two posts together and tested your modifcation out...It is quite nice.. however If you live in say the best house, you cannot buy another house as it says "You cant go down in houses" or something along those lines... in estate.php you would want to change $hq=$db->query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC",$c); while($r=$db->fetch_row($hq)) to $hq=$db->query("SELECT * FROM houses WHERE hWILL>100 ORDER BY hWILL ASC",$c); while($r=$db->fetch_row($hq)) So that the everyhouse shows at the same time rather then houses that have more will then your current one... And you would want to replace $npq=$db->query("SELECT * FROM houses WHERE hID={$_GET['ID']}",$c); $np=$db->fetch_row($npq); if($np['hWILL'] < $mp['hWILL']) { print " You cannot go backwards in houses! <hr width=75%>> [url='estate.php']Back[/url]<hr width=75%>"; } else if ($np['hPRICE'] > $ir['money']) { print " You do not have enough money to buy the {$np['hNAME']}. <hr width=75%>> [url='estate.php']Back[/url]<hr width=75%>"; }   with $npq=$db->query("SELECT * FROM houses WHERE hID={$_GET['ID']}",$c); $np=$db->fetch_row($npq); if ($np['hPRICE'] > $ir['money']) { print " You do not have enough money to buy the {$np['hNAME']}. <hr width=75%>> [url='estate.php']Back[/url]<hr width=75%>"; } So that any house may be bought no matter what house you live in!   Last thing, i see you have taken the Torn City approach am i right? Well in properties it would like much smarter ( if you have house pics installed) to have the picture of the house next to the writing... Im not 100% sure how you would do this as of yet, i will look into it but you would need to use something like   <div align='left'>{$ir['hPIC']}</div> next to the code in properties.php   But this is real nice mod, i think it was oxidation made a mod like this and was selling it... Good Work man :-) Update: If you want house pic to show up aswlel in property.php add print "<td valign='left'> [b]House pic[/b] {$r['hPIC']}";   above print "<td valign='center'> [b]Property: [/b]{$r['hNAME']} [b]Owner: [/b][url='viewuser.php?u={$tb[']{$tb['username']}[/url] [b]Upkeep: [/b]\${$r['hTAX']} [b]Will: [/b]{$r['hWILL']}</td> <td align='center'>   :-)
  20. Re: Multiple Houses [V2] Yeah, take it further dude....Some nice stuff you got going!
  21. Re: V2 Staff Applications! Im not quite sure where all your errors are coming from??? when adding the cases and the functions be sure to put the functions where you put them in the cases.. eg case0:ran case 1: app ccase2: app2 case3: app3 If you place the cases in an order like that so you have the 3 cases after case ran(made up case), you have to put the functions after the function ran(made up function) funtion ran() function app1() Function app2() funcction app3() and that way you should not get an error...
  22. Re: V2 Staff Applications! I edited the posts with the code i have on my site...If you are getting errors, please tell me the error... If you are not recieving mails, it is most likly because in your database your mail count is on -5 or something, so sending yourself a few mails and it will be back to normal... Otherwise post errors as this code works fine for V2 for me!
  23. Re: V2 Staff Applications! Sorry dude, thats in your own code, works fine for me :-)
  24. This is how to install Staff Applications to MCcodes V2! Please note i did not code this from scratch, it was taken from "seb" who coded a V1 version in another thread... I thought i would fix it up and make it V2 with a few little extras... So here you are!   Add into staff.php the cases case 'appview': app_view(); break; case 'appaccept': app_accept(); break; case 'appdeny': app_deny(); break;   and the functions   function app_view() { global $db,$ir,$c,$h,$userid; print "<h3>Staff Applications</h3> <font color=red>2=Admin</font> <font color=green>5=Secretary</font> <font color=pink>6=Assistant</br></font> <font color=blue> This is where you may accept and or decline users staff applications! Please be sure that staff concur with eachother that a new member should be added to staff! <table width=80%><tr style='background:gray'><th>Applicant ID</th> <th>Position</th> <th>Application</th> <th> </th></tr>"; $q=$db->query("SELECT * FROM staffapps ORDER BY appID DESC",$c) or die(mysql_error()); while($r=$db->fetch_row($q)) { print "</td>\n<td>[url='viewuser.php?u={$r[']{$r['applicant']}[/url] </td><td>{$r['position']}</td><td>{$r['application']}</td><td>[url='staff.php?action=appaccept&ID={$r[']<font color=blue>Accept</font>[/url] [url='staff.php?action=appdeny&ID={$r[']<font color=red>Decline</font>[/url] </td></tr>"; } print "</table> "; } function app_accept() { global $db,$ir,$c,$h,$userid; $_GET['ID'] = abs((int) $_GET['ID']); $db->query("DELETE FROM staffapps WHERE appID={$_GET['ID']}",$c); $db->query("UPDATE users SET user_level='{$_GET['staff']}' WHERE userid='{$_GET['user']}'",$c); $db->query("INSERT INTO mail VALUES('', '0', 'System', '{$_GET['user']}', unix_timestamp(),'Your Staff Application' ,'Congratulations, your application has been reviwed and you are now a staff member. Please view our rules so you do not loose this job.')",$c); print "Application Accepted [url='admin.php?action=appview']> Back[/url]"; } function app_deny() { global $db,$ir,$c,$h,$userid; $_GET['ID'] = abs((int) $_GET['ID']); $db->query("DELETE FROM staffapps WHERE appID={$_GET['ID']}",$c); $db->query("INSERT INTO mail VALUES('', '0', 'System', '{$_GET['user']}', unix_timestamp(),'Your Staff Application' ,'Our staff has reviewed your staff application and unfortunately we feel you are not qualified to be a staff member. Feel free to fill in another application.')",$c); print "Application Denied [url='admin.php?action=appview']> Back[/url]"; }   Make a File called staffapps.php and add this into it:   <?php session_start(); include "globals.php"; if($_POST['app']) { $db->query("INSERT INTO staffapps VALUES('',$userid,'{$_POST['pos']}','{$_POST['app']}')", $c) or die ("Your staff application could not be processed. Make sure you have filled out the form completely!"); print "Your Staff Application has been posted for our staff to review, your results will be decided within 3 days! Good Luck!"; } else print "<h3>Staff Application</h3> <center><h8>[b]Please read the [url='stafftoc.php']<font color='yellow'>Terms & Conditions</font>[/url]before sending an application![/b] <form action='staffapps.php' method='post'> Position <select name='pos'><option value='3'>Admin</option><option value='5'>Secretary</option><option value='6'>Assistant</option></select> Why do you deserve the position? Please bare in mind that staff look for professional members so be sure to spell correctly with the right grammar and punctuation! If your staff application appears un-professional, it will be dismissed! <textarea rows='7' cols='40' name='app'>{$_GET['app']}</textarea> <input type='submit' value='Submit Application' /></form>"; $h->endpage; ?>   smenu.php find"; > [url='staff.php?action=announce']Add Announcement[/url] "; replace with > [url='staff.php?action=announce']Add Announcement[/url] > [url='staff.php?action=appview']Staff Apps[/url] ";   Add the SQL   CREATE TABLE `staffapps` ( `appID` int(11) NOT NULL auto_increment, `applicant` int(11) NOT NULL default '0', `position` varchar(255) NOT NULL default '', `application` longtext NOT NULL, PRIMARY KEY (`appID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;   Make a file called stafftoc.php   <?php include "globals.php"; print <<<EOF <center> <h1><font color=white>[b]Terms & Conditions[/b]</font></h1> </center> [list=1] <center> <font color=red> [*] Staff Powers are not to be abused, failure to understand will result in fed sentences and loss of power! [*] To become staff is not an excuse to cheat or threaten members, you are just a normal member only with responcibility. [*] [*] [*] </font></center> [i]<center><font color=gray>Copyright © 2006 GangstersTerritory</center>[/i][/list] EOF; $h->endpage(); ?> Ive added some rules accept you are free to make your own..(hence the code without rules in it.) And you have a half decent Staff application installed.... raDiO_acTivE www.downtown-to.com
  25. Re: Changer User Password! V2   It actually proves to be quite usefull, especially if used with a contact staff mod... however i have found very usefull on my game so if you find it pointless, dont use it...
×
×
  • Create New...