Jump to content
MakeWebGames

wykydz

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by wykydz

  1. mint. peppermint and moonos and puppy
  2. ty i help run a radio station and this will help with the many task on hand to organized setups and project and many many other things
  3. looks interesting ,is there like a estimated time input and output or progress bar ?
  4. How much would it cost to code a psd to a login     [ATTACH=CONFIG]331[/ATTACH]
  5. oh ok that makes sence
  6. How come there isnt some snippet or code to stop right click around here ? i found a couple ive used in html .   <body oncontextmenu="return false;">     <script language="JavaScript"> <!-- /* No rightclick script v.2.5 (c) 1998 barts1000 [email protected] Don't delete this header! */ var message="Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED"; // Don't edit below! function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> </script>
  7. Thank you alot
  8. i get this error when you go to the item market QUERY ERROR: Unknown column 'imQTY' in 'field list' Query was SELECT im.`imPRICE`,`imQTY`,`imCURRENCY`,`imADDER`,`imID`, i.`itmid`,`itmname`, u.`userid`,`username`, it.`itmtypename` FROM `itemmarket` im LEFT JOIN `items` i ON im.`imITEM` = i.`itmid` LEFT JOIN `users` u ON u.`userid` = im.`imADDER` LEFT JOIN `itemtypes` it ON i.`itmtype` = it.`itmtypeid` ORDER BY i.`itmtype`, i.`itmname`, u.`username` ASC
  9. How about Paint Shop pro there is alot of help and classes for painshop pro that are free
  10. Are the errors because its a demo ? when you add a new row from the admin menu ,then add a new row this is the error Call to a member function FetchFields() on a non-object in /www/new_worlds/demo/libs/db.php on line 75 and the same thing when you buy a item it isnt in the inventory. will the errors be gone when you buy the new worlds engine?
  11. whaite page streets_staff.php The streets.php works i get a white page for the streets_staff.php         <?php /* EXPLORE THE STREETS CREATED BY: Lithium ~ 03/01/2010 UPDATED BY: Curt ~ 08/03/2011 This feature is 100% free. Enjoy. */ include(DIRNAME(__FILE__) ."sglobals.php"); $_POST['streetid']=abs((int)$_POST['streetid']);$_POST['location']=abs((int)$_POST['location']); // EDIT STEP function edit_step() {global $db,$h; ?><h1> EDIT STEP </h1><?php $edit=$db->query("SELECT * FROM streets WHERE sid={$_POST['streetid']}"); if (!$db->num_rows($edit)) { echo "Incorrect Option."; $h->endpage(); exit;} else { $step=$db->fetch_row($edit); if(!isset($_POST['submit2'])) { ?> <form action="staff_streets.php?action=edit" method="post"> <input type="hidden" name="streetid" value="<?php echo $step['sid']; ?>" > <input type="hidden" name="action" value="EDIT" > <table width="100%"> <tr> <td width="50%"> NOTES: on the reward amount, be VERY careful with your input. You can make random giveaways using p.e. {1} rand(5,20) {2} rand(5,20)*$ir['level'] which will give the user a random amount between 5 and 20 of the type you have chosen. If you want to show the reward amount ot the user, use fig 1 or 2 Money: {money} Crystals: {crystals} Item: {item} Nothing: {nothing} (returns the word "nothing") Jail Time: {jail} Hospital Time: {hospital} Robbed: {rob} (returns the word "robbed") REWARD TYPES Get Robbed: Player loses money </td> <td> Location <select name="location" id="location"> <?php if ($step['location']==0) { ?> <option selected="selected" value="0">All Cities</option> <?php } else { ?> <option value="0">All Cities</option> <?php } $l = $db->query("SELECT `cityid`, `cityname` FROM `cities`"); while($disp = $db->fetch_row($l)) { if ($step['location'] == $disp['cityid']) { ?> <option selected="selected" value="<?php echo $disp['cityid']; ?>"><?php echo $disp['cityname']; ?></option> <?php } else { ?> <option value="<?php echo $disp['cityid']; ?>"><?php echo $disp['cityname']; ?></option> <?php } } ?> </select> Create Reward/Penalty Type: <select name="sreward" id="sreward"> <?php if ($step['reward_type']=='nothing') { ?> <option selected="selected" value="nothing">Nothing</option> <?php } else { ?> <option value="nothing">Nothing</option> <?php } $l = $db->query("SELECT `srID`, `srNAME`, `srDBNAME` FROM `streets_rewardtypes`"); while($disp = $db->fetch_row($l)) { if ($step['reward_type'] == $disp['srDBNAME']) { ?> <option selected="selected" value="<?php echo $disp['srDBNAME']; ?>"><?php echo $disp['srNAME']; ?></option> <?php } else { ?> <option value="<?php echo $disp['srDBNAME']; ?>"><?php echo $disp['srNAME']; ?></option> <?php } } ?> </select> Item ID or Reward/Penalty Amount: <input type="text" name="reward" id="reward" value="<?php echo $step['reward']; ?>" /> Jail/Hospital Reason: <textarea name="reason" id="reason" cols="45" rows="5"><?php echo $step['reason']; ?></textarea> Text: <textarea name="text" cols="45" rows="5" id="text"><?php echo $step['text']; ?></textarea> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" name="submit2" id="submit2" value="Edit Step" /></td> </tr> </table> </form> <?php } else { $_POST['sreward']=$db->escape($_POST['sreward']); if(empty($_POST['text'])) { echo "Step text not entered."; $h->endpage(); exit; } if(empty($_POST['location'])) { $_POST['location']=0; } if(empty($_POST['reward']) AND $_POST['sreward']!='nothing') { echo "Reward was not entered"; $h->endpage(); exit; } if ($_POST['sreward']) { if(($_POST['sreward']=='jail' OR $_POST['sreward']=='hospital') && empty($_POST['reason'])) { echo "Reason was not entered"; $h->endpage(); exit; } if($_POST['sreward']=='item') { $item=$db->query("SELECT itmid FROM items WHERE itmid={$_POST['reward']}"); if (!$db->num_rows($item)) { echo "The Item you entered does not exist."; $h->endpage(); exit; } } } $update = " UPDATE `streets` SET `location`='{$_POST['location']}', `reward`='{$_POST['reward']}',`reward_type`='{$_POST['sreward']}', `reason`='{$db->escape($_POST['reason'])}', `text`='{$db->escape($_POST['text'])}' WHERE sid={$_POST['streetid']}"; $db->query($update); echo "You have successfully edited this Step!"; $h->endpage(); exit; } }}// DELETE STEPfunction delete_step() { ?><h1> DELETE STEP </h1><?php $db->query("DELETE FROM streets WHERE sid={$_POST['streetid']}"); echo "The step has been deleted."; } // CREATE NEW STEPfunction create_step() {global $db,$h; ?><h1> CREATE STEP </h1><?php if(!isset($_POST['submit'])) { ?> <form action="staff_streets.php?action=create" method="post"> <table width="100%"> <tr> <td width="50%"> NOTES: on the reward amount, be VERY careful with your input. You can make random giveaways using p.e. {1} rand(5,20) {2} rand(5,20)*$ir['level'] which will give the user a random amount between 5 and 20 of the type you have chosen. If you want to show the reward amount ot the user, use fig 1 or 2 Money: {money} Crystals: {crystals} Item: {item} Nothing: {nothing} (returns the word "nothing") Jail Time: {jail} Hospital Time: {hospital} Robbed: {rob} (returns the word "robbed") REWARD TYPES Get Robbed: Player loses money </td> <td> Location <select name="location" id="location"> <option selected="selected" value="0">All Cities</option> <?php $l = $db->query("SELECT `cityid`, `cityname` FROM `cities`"); while($disp = $db->fetch_row($l)) { ?> <option value="<?php echo $disp['cityid']; ?>"><?php echo $disp['cityname']; ?></option> <?php } ?> </select> Create Reward/Penalty Type: <select name="sreward" id="sreward"> <option value="nothing">Nothing</option> <?php $l = $db->query("SELECT `srID`, `srNAME`, `srDBNAME` FROM `streets_rewardtypes`"); while($disp = $db->fetch_row($l)) { ?> <option value="<?php echo $disp['srDBNAME']; ?>"><?php echo $disp['srNAME']; ?></option> <?php } ?> </select> Item ID or Reward/Penalty Amount: <input type="text" name="reward" id="reward" /> Jail/Hospital Reason: <textarea name="reason" id="reason" cols="45" rows="5"></textarea> Text: <textarea name="text" cols="45" rows="5" id="text"></textarea> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" name="submit" id="submit" value="Add Step" /></td> </tr> </table> </form> <?php } else { $_POST['sreward']=$db->escape($_POST['sreward']); if(empty($_POST['text'])) { echo "Step text not entered."; $h->endpage(); exit; } if(empty($_POST['location'])) { $_POST['location']=0; } if(empty($_POST['reward']) AND $_POST['sreward']!='nothing') { echo "Reward was not entered"; $h->endpage(); exit; } if ($_POST['sreward']) { if(($_POST['sreward']=='jail' OR $_POST['sreward']=='hospital') && empty($_POST['reason'])) { echo "Reason was not entered"; $h->endpage(); exit; } if($_POST['sreward']=='item') { $item=$db->query("SELECT itmid FROM items WHERE itmid={$_POST['reward']}"); if (!$db->num_rows($item)) { echo "The Item you entered does not exist."; $h->endpage(); exit; } } } $insert = " INSERT INTO `streets` (`location`, `reward`, `reward_type`, `reason`, `text`) VALUES ({$_POST['location']}, '{$_POST['reward']}', '{$_POST['sreward']}','{$db->escape($_POST['reason'])}','{$db->escape($_POST['text'])}')"; $db->query($insert); echo "Step created on city id {$_POST['location']}."; $h->endpage(); exit; }} // VIEW ALL CREATED STEPSfunction view_steps() {global $db,$h;?><h1> VIEWING CREATED STEPS </h1><?php ?><?php // PAGINATION -- $st=abs((int) $_GET['st']); $app=25; $q=$db->query("SELECT sid FROM streets"); $isid=$db->num_rows($q); $pages=ceil($isid/$app); print "Pages: "; for($i=1;$i<=$pages;$i++) { $s=($i-1)*$app; if($s==$st) { print "<b>$i</b> "; } else { print "<a href='staff_streets.php?st=$s'>$i</a> "; } if($i % 30 == 0) { print ""; } } echo "<table width='100%' class='table'><tr><th> ID </th><th> Location </th><th> Reward Type </th><th> Reward Amount </th><th> EDIT/DELETE </th></tr> "; $q=$db->query("SELECT * FROM streets s LEFT JOIN cities c ON s.location=c.cityid WHERE s.sid>0 ORDER BY location ASC LIMIT $st, $app"); while($ss=$db->fetch_row($q)) { if ($ss['cityid']==0) {$ss['cityname']="All Cities"; } echo "<tr><td> {$ss['sid']} </td><td> {$ss['cityname']} </td><td> {$ss['reward_type']}</td><td> {$ss['reward']} </td> <td> <form action='staff_streets.php?action=edit' method='POST'><input type='hidden' name='streetid' value='{$ss['sid']}'><input type='submit' name='action' value='EDIT'></form> <form action='staff_streets.php?action=delete' method='POST'><input type='hidden' name='streetid' value='{$ss['sid']}'><input type='submit' name='action' value='DELETE'></form> </td> </tr>"; } echo "</table>"; print "Pages: "; for($i=1;$i<=$pages;$i++) { $s=($i-1)*$app; if($s==$st) { print "<b>$i</b> "; } else { print "<a href='staff_streets.php?&st=$s'>$i</a> "; } if($i % 30 == 0) { print ""; } } } ?><h2> MANAGE STREETS </h2><a href="staff_streets.php?action=create"> Create Step </a> <a href="staff_streets.php?action=view"> View Steps </a> <?php if ($_GET['action']=='create') { create_step(); exit;}else if ($_GET['action']=='view') { view_steps(); exit;}else if ($_GET['action']=='edit') { edit_step(); exit;}else if ($_GET['action']=='delete') { delete_step(); exit;} ?>
  12. Nice i like it
  13. I Was just wondering if anyone just runs a site for their rpg only or a little of everything. Me i run a arcade site with about 1500 arcade games and i also help a friend manage his online radio station . i help him by installing mysql on the other djs computers and install the software for live broadcast and make sure the website has the correct configuration for the request and what ever else i can do in my spare time .
  14. yep there there now
  15. There is not enough files to install Gangster legends After the extraction of the file down loaded with winrar and 7-zip there 2 folders images and file and a forgot.php then you go into the file folder all there is a staff folder and the rest of the php file needed for the game but the is no db_conect.php or any kind of db base file or install directory to do it manually these are the files i do not have safe/ In the directory safe/ we keep all the system files these are. safe.php - Sets all the varables for the user and also checks to see if the user has ranked up or not. connect.php - Includes the MySql Connection information. config.php - Has most of the games configuration settings in. functions.php - Has most of the functions used within the game.   includes/ We have tried to keep the html/php code seperate so if there are any large chunks of php to be included with any features you would put it here, you would then call it the same file name as the feature but with an underscore infront of it ie _feature.php lang/ Lang will hold all the language files you can specifie what one you would like to use in config.php (this will be in 1.x.x onwards) install/ This holds all the files you would need to install your game, this should be deleted once the game is installed! theme/ This holds the games theme they are split up into 4 files. top.php - This is basiclyu the header of your game template. bottom.php - And this is the footer. style.css - Any CSS should be in here. information_bar.php - This file shows the users character information this file is included in page.php if you wanted to move the information bar just remove `include 'theme/information_bar.php';` from page.php.
  16. wykydz

    A rose i made

    heres a rose i made for someone to use as signature and was done with paint shop pro .   [ATTACH=CONFIG]293[/ATTACH]
  17. as you can see from the screen shot i only got the the staff folder and no safe,files,includes,lang,install and theme folders i have redownloaded this several time .
  18. [ATTACH=CONFIG]292[/ATTACH] see this is all i got
  19. yes that is were i downloaded it from
  20. without the install directory or the sql tables you cant install it. Most of the folders isnt there. only folder i got is the staff folder
  21. thank you i repaired it with the winrar it extracted but theres no install directory or the sql file
  22. i tried downloading the zip it gives a error that it is corrupt im using winrar to unzip
  23. he tried selling me a script last night http://mafiahustle.com
  24. Thats the error im getting i took out what i added in the globals and put what was said to do for the global_func.php Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/XXXXXX/public_html/XXXXX/global_func.php on line 2   function quest_dropdown($connection,$ddname="quests",$selec ted=-1)
  25. Ok i have stumbled on this and i currently use it .it is a puzzle keyCAPATCHA just thought i share as you might be able to use it on you game site or make a mod out of it .It currently supports smf vbulletin, and many other cms websites https://www.keycaptcha.com/
×
×
  • Create New...