
Uriah
Members-
Posts
45 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Uriah
-
Re: [mccode v2] Mine Shaft I don't post mods here cos I don't need the cr*p comments and negativity you throw at everyone... I'm happy just sitting back and helping out those who come to me and are polite. :-)
-
Re: [mccode v2] Mine Shaft aww... did i hit a nerve? Sorry Zero. :-)
-
Re: [mccode v2] Mine Shaft lol, "I don't think a type means i can't spell,"....um, shouldn't that be "typo"?
-
Re: [mccode v2] Mine Shaft Good thing I pointed it out to you then...maybe you could apply some of your "Live it Learn it Code it" to spelling!!! :-P
-
Re: [review] City-Gangs - Please review! Woohoo, it's blue! My favourite color! It is clean, it is crisp, and it is a nice change from all us owners with dark colored sites. Um, is there a reason you have to enter not only your password twice, but also your e-mail twice on register.php? The content was a little predictable, but I am guessing this is a pretty new site and you are still working with it. Have fun with it and see where it goes...
-
Re: [REVIEW] Illegal-Intent - please review OK, I will give you a chance and unfed you
-
Re: [REVIEW] Illegal-Intent - please review so you are saying "kyle", "destroyer" and "kkkk" all on the same ip as you, are all different people?
-
Re: [REVIEW] Illegal-Intent - please review Not my fault you signed up more than once is it... Maybe you should try using the "review" account instead of your fedded ones...
-
Title: Illegal-Intent Site URL: http://www.illegal-intent.com Site Description: A first attempt so be gentle...I've done this all myself and I am a total noob at coding and at graphics! I appreciate constructive criticism but if you only have negative things to say, don't bother.
-
Re: [review] City-Gangs - Please review! Bit hard to look and review when the account is suspended...
-
Re: [showcase] Suburban Assault (Please Review) Whats with all the grey? When I started my first site I thought I was being different using grey! Now everywhere I look there is grey...bugger... I like the look and the layout, although a little much for my tastes, kinda busy, I like things simple. Some different options available whch is nice to see, a pleasant change from the same lists everyone else has... I am interested to see what else happens on this site with time.
-
Re: [V2]Items table Isn't this in the wrong place entirely? Thought this was for mods...not requests....try Mod Requests for this
-
mccode-v2 Crimes (Players Can Go To Hospital)
Uriah replied to jamboy1's topic in Free Modifications
Re: Crimes (Players Can Go To Hospital) [V2] jamboy1, you could try replacing the "new crime" and "edit crime" sections of your staff_crimes.php with the following for staff panel editing... function new_crime_form() { global $ir, $c, $db; print "Adding a new crime. <form action='staff_crimes.php?action=newcrimesub' method='post'> Name: <input type='text' name='name' /> Brave Cost: <input type='text' name='brave' /> Success % Formula: <input type='text' name='percform' value='((WILL*0.8)/2.5)+(LEVEL/4)' /> Success Money: <input type='text' name='money' /> Success Crystals: <input type='text' name='crys' /> Success Item: ".item2_dropdown($c, 'item')." Group: ".crimegroup_dropdown($c,'group')." Initial Text: <textarea rows=4 cols=40 name='itext' /></textarea> Success Text: <textarea rows=4 cols=40 name='stext' /></textarea> Failure Text: <textarea rows=4 cols=40 name='ftext' /></textarea> Jail Text: <textarea rows=4 cols=40 name='jtext' /></textarea> Hospital Text: <textarea rows=4 cols=40 name='htext' /></textarea> Jail Time: <input type='text' name='jailtime' /> Hospital Time: <input type='text' name='hosptime' /> Jail Reason: <input type='text' name='jailreason' /> Hospital Reason: <input type='text' name='hospreason' /> Crime XP Given: <input type='text' name='crimexp' /> <input type='submit' value='Create Crime' /></form>"; } function new_crime_submit() { global $ir,$c,$userid, $db; if($_POST['itemon'] != "on") { $_POST['item']=0; } $db->query("INSERT INTO crimes (crimeNAME, crimeBRAVE, crimePERCFORM, crimeSUCCESSMUNY, crimeSUCCESSCRYS, crimeSUCCESSITEM, crimeGROUP, crimeITEXT, crimeSTEXT, crimeFTEXT, crimeJTEXT, crimeHTEXT, crimeJAILTIME, crimeHOSPTIME, crimeJREASON, crime HREASON, crimeXP) VALUES( '{$_POST['name']}', '{$_POST['brave']}', '{$_POST['percform']}', '{$_POST['money']}', '{$_POST['crys']}', '{$_POST['item']}', '{$_POST['group']}', '{$_POST['itext']}', '{$_POST['stext']}', '{$_POST['ftext']}', '{$_POST['jtext']}', '{$_POST['htext']}','{$_POST['jailtime']}', '{$_POST['hosptime']}','{$_POST['jailreason']}', '{$_POST['hospreason']}', '{$_POST['crimexp']}',)"); print "Crime created!"; stafflog_add("Created crime {$_POST['name']}"); } function edit_crime_begin() { global $ir,$c,$h,$userid,$db; print "<h3>Editing Crime</h3> You can edit any aspect of this crime. <form action='staff_crimes.php?action=editcrimeform' method='post'> Crime: ".crime_dropdown($c,'crime')." <input type='submit' value='Edit Crime' /></form>"; } function edit_crime_form() { global $ir,$c,$h,$userid,$db; $d=$db->query("SELECT * FROM crimes WHERE crimeID={$_POST['crime']}"); $itemi=$db->fetch_row($d); print "<h3>Editing Crime</h3> <form action='staff_crimes.php?action=editcrimesub' method='post'> <input type='hidden' name='crimeID' value='{$_POST['crime']}' /> Name: <input type='text' name='crimeNAME' value='{$itemi['crimeNAME']}' /> Brave Cost: <input type='text' name='crimeBRAVE' value='{$itemi['crimeBRAVE']}' /> Success % Formula: <input type='text' name='crimePERCFORM' value='{$itemi['crimePERCFORM']}' /> Success Money: <input type='text' name='crimeSUCCESSMUNY' value='{$itemi['crimeSUCCESSMUNY']}' /> Success Crystals: <input type='text' name='crimeSUCCESSCRYS' value='{$itemi['crimeSUCCESSCRYS']}' /> Success Item: ".item2_dropdown($c, 'crimeSUCCESSITEM', $itemi['crimeSUCCESSITEM'])." Group: ".crimegroup_dropdown($c,'crimeGROUP', $itemi['crimeGROUP'])." Initial Text: <textarea rows=4 cols=40 name='crimeITEXT' />{$itemi['crimeITEXT']}'</textarea> Success Text: <textarea rows=4 cols=40 name='crimeSTEXT' />{$itemi['crimeSTEXT']}</textarea> Failure Text: <textarea rows=4 cols=40 name='crimeFTEXT' />{$itemi['crimeFTEXT']} </textarea> Jail Text: <textarea rows=4 cols=40 name='crimeJTEXT' />{$itemi['crimeJTEXT']} </textarea> Hospital Text: <textarea rows=4 cols=40 name='crimeHTEXT' />{$itemi['crimeHTEXT']} </textarea> Jail Time: <input type='text' name='crimeJAILTIME' value='{$itemi['crimeJAILTIME']}' /> Hospital Time: <input type='text' name='crimeHOSPTIME' value='{$itemi['crimeHOSPTIME']}' /> Jail Reason: <input type='text' name='crimeJREASON' value='{$itemi['crimeJREASON']}' /> Hospital Reason: <input type='text' name='crimeHREASON' value='{$itemi['crimeHREASON']}' /> Crime XP Given: <input type='text' name='crimeXP' value='{$itemi['crimeXP']}' /> <input type='submit' value='Edit Crime' /></form>"; } function edit_crime_sub() { global $ir,$c,$h,$userid, $db; $db->query("UPDATE crimes SET crimeNAME='{$_POST['crimeNAME']}', crimeBRAVE='{$_POST['crimeBRAVE']}', crimePERCFORM='{$_POST['crimePERCFORM']}', crimeSUCCESSMUNY='{$_POST['crimeSUCCESSMUNY']}', crimeSUCCESSCRYS='{$_POST['crimeSUCCESSCRYS']}', crimeSUCCESSITEM='{$_POST['crimeSUCCESSITEM']}', crimeGROUP='{$_POST['crimeGROUP']}', crimeITEXT='{$_POST['crimeITEXT']}', crimeSTEXT='{$_POST['crimeSTEXT']}', crimeFTEXT='{$_POST['crimeFTEXT']}', crimeJTEXT='{$_POST['crimeJTEXT']}', crimeHTEXT='{$_POST['crimeHTEXT']}', crimeJAILTIME={$_POST['crimeJAILTIME']}, crimeHOSPTIME={$_POST['crimeHOSPTIME']}, crimeJREASON='{$_POST['crimeJREASON']}', crimeHREASON='{$_POST['crimeHREASON']}', crimeXP={$_POST['crimeXP']} WHERE crimeID={$_POST['crimeID']}"); print "Crime edited..."; stafflog_add("Edited crime {$_POST['crimeNAME']}"); No guarantees on this lol, it is how I have it set up for me, but I know nothing!!!!! My SQL is added to match the order of this, not in a block at the end of the original table, so you may have to check your own and reorder either the coding to match the sql or the other way round.. -
Re: House Rentals [V2] The instructions for converting it are clearly written here already and it is about time you got your shit together and started doing it for yourself iseeyou94056...everyone is busy but most of us do our own work and don't sit on our butts waiting for everything to be done for them. Be grateful people post mods here for free and stop asking for more all the time. Everyone is sick of you asking for things to be converted for you...