
Josh23
Members-
Posts
72 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Josh23
-
Re: Workshop ($10) Email Address, that you paid with .. Sure i sent them all out
-
Re: Workshop ($10) Script Updated: You can now add more required items. Contact me for update (Lost track of scripts sent out) Sorry.
-
Re: Gangs with same names Does that work ? <?php include(DIRNAME(__FILE__) . '/globals.php'); function format($str) { if(is_numeric($str)) { $str = number_format($str); } else { $str = nl2br($str); $str = stripslashes($str); } return $str; } function clean($string) { $string = mysql_real_escape_string($string); $string = htmlspecialchars($string); return $string; } if($ir['money'] < 1000) { echo "You don't have enough money. You need \$1,000."; $h->endpage(); exit; } if($ir['gang']) { echo "You're already in a gang!"; $h->endpage(); exit; } if(isset($_POST['name'])) { $check=$db->query(sprintf("SELECT `gangNAME` FROM `gangs` WHERE `gangNAME` = '%s'", clean($_POST['name']))); if($db->num_rows($check)) { print "ERROR. [url='creategang.php']> Back[/url]"; $h->endpage(); exit; } $name = clean($_POST['name']); $desc = clean($_POST['desc']); $sql = sprintf("INSERT INTO gangs (gangNAME, gangDESC, gangPREF, gangSUFF, gangMONEY, gangCRYSTALS, gangRESPECT, gangPRESIDENT, gangVICEPRES, gangCAPACITY) VALUES ('%s', '%s', '', '', 0, 0, 100, %u, %u, 5)", $name, $desc, $userid, $userid); $db->query($sql); $i = $db->insert_id(); $gang = sprintf("UPDATE users SET gang = %u, money = money - 1000 WHERE (userid = %u)", $i, $userid); $db->query($gang); echo "Gang created!"; } else { echo "<h3>Create A Gang</h3>"; echo "<form action='creategang.php' method='post'>"; echo "<input type='hidden' name='submit' value='1' />"; echo "Name:<input type='text' name='name' /> "; echo "Description: "; echo "<textarea name='desc' cols='40' rows='7'></textarea>"; echo " <input type='submit' value='Create Gang for \$1,000' />"; echo "</form>"; } $h->endpage(); ?>
-
Re: page stretching Go to the out box function and end the table with </table> ..
-
Re: Workshop ($10) Thanks ^^ B u M p
-
Re: MCcode V2 user DB hack With numbers, make sure you get numbers (intval()) With text, make sure you clean text (mysql_real_escape_string(), htmlspecialchars())
-
Re: Lock/Un-Lock Gameplay [$10] Isnt it like a mass force-logout ? then little extra SQL table to say site locked down ?
-
Re: does anyone know how to sort this Post all of your job script, either your not selecting it in a SELECT query or the table maybe empty
-
Re: Workshop ($10) Sold 2 Copies, thanks fro buying (aimed at the buyers)
-
Re: Workshop ($5) Ok price lowered to $5
-
Re: Workshop ($10) Also to add, i did add a re-make of the item-add, item remove Not changed them much just added little security to them & made them faster that the standard ones.
-
Re: Workshop ($10) Anything anybody wants me to add extras, or shud i just lower to $5 ?
-
Re: Workshop ($10) Sorry for not having clear images, how about these
-
Available v1 AND v2 Please specify verzion Hi, this is actually my first ever paid mod. So i'm quite new with paypal When i see your payment i shall send the file, please specify in email that you have and what version and site please. Once purchased send me a message via my MSN email adress, and lemme verify your payment then i send you the files. Basic Information: Its a workshop where players of your game, can swap two items, into one bigger and better item. Basically swapping two items for one. It probly sound pretty basic. Well if you believe it, it actually isn't. Included in the price: 3 PHP Files 1 SQL File 1 Instruction File Included in the PHP files: Workshop.php UseWorkshop.php Staff_workshop.php Included in the SQL files: 1 Table 5 Rows Included in the Instructions: Step-By-Step Instructions Email address for same day support PHP File: Workshop.php Includes: Valid CSS Valid XHTML (Strict) Secure (99.9%) Gateway, To confirm that you want to make the new item (Asking To Confirm) Screenshots: UseWorkshop.php Includes: Valid CSS Valid XHTML (Strict) Secure (99.7%) Screenshots: Staff_workshop.php Includes: Valid CSS Valid XHTML (Strict) Secure (99.6%) Add Workshot Combination Edit Workshot Combination Delete Workshot Combination Screenshots: If you need anymore information about this mod please post your questions. Paypal address: [email protected]
-
Re: Installer Problem Wrong Database User / Host Name / Password ?
-
Re: [mccode] Free Starter Pack I put this on my game but i get this error : Warning: require(. /globals.php) [function.require]: failed to open stream: No such file or directory in /home/wrestlin/public_html/starterkit.php on line 9
-
Re: [mccode v2] Lottery You Need The Cron_weekly.php For That . .
-
Re: View User Fix Please Help print " [b]<font color=brown>This user is in federal jail for {$r['fed_days']} day(s). Should Be... print " [b]<font color=brown>This user is in federal jail for ($r['fed_days']) day(s).
-
Re: [mccode V2] Chat Mod NEW Same with me mate
-
Re: [V2] Will Refill! That means they get 1 Will point, per crystal.... Yeah Sz, Make Another Thing Called $gain With Thing that i posted, then change it in the print "" to $gain.
-
Re: [V2] Will Refill! Change $wgain=(($ir['maxwill']/100) * $_POST['crystals']); To $wgain= ($_POST['crystals']); Then Where It Say How Much You Have Gained, Put % After It
-
Re: [V2] Will Refill! 2 Errors :) Missing ] And Missing } All Fixed And Tested. Delete The <?php AND ?> <?php else if($_GET['spend'] == 'wrefill') { if (isset($_POST['points'])) { $_POST['crystals'] = abs(intval($_POST['points'])); if($_POST['crystals'] <= 0 || $_POST['crystals'] > $ir['crystals']) { echo 'Error, you either do not have enough points or did not fill out the form. [url="'.$_SERVER['PHP_SELF'].'?spend=wrefill"]Back[/url]'; } else { $Gain = ($ir['maxwill'] / '100') * $_POST['crystals']; $db->query(sprintf("UPDATE `users` SET `crystals`=`crystals`-'%u' WHERE `userid`='%u'", $_POST['crystals'], $userid)); $db->query(sprintf("UPDATE `users` SET `will`=`will`+'%u' WHERE userid='%u'", $Gain, $userid)); echo 'You traded '.$_POST['crystals'].' points for '.$Gain.' Will.'; if ($ir['will'] > $ir['maxwill']) { $db->query(sprintf("UPDATE `users` SET `will`=`maxwill` WHERE `userid`='%u'", $userid)); } } } else { echo ' How many points to refill will? You have [b]'.number_format($ir['crystals']).'[/b] points. One point = 1% Will. <form action="'.$_SERVER['PHP_SELF'].'?spend=wrefill" method="post"> <input type="text" name="points" /> <input type="submit" value="Trade" /> </form>'; } } ?>
-
Re: [V2] Current Status - What's going on? Yup in the header.php
-
Re: Nice Day Logout Simple But Effective, thanks
-
[any version] Removal of 1 minute crons
Josh23 replied to Haunted Dawg's topic in Free Modifications
Re: [any version] Removal of 1 minute crons what would be the befefit of this ? would the sites performance be better ?