Jump to content
MakeWebGames

Samurai Legend

Members
  • Posts

    483
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Samurai Legend

  1. Anyone want to help me improves Richards Business modification much better and clean? Everything is working and is re-written to a better format. Anyone who wants to help me can message me and will also get a good working copy :)
  2. Hey Dave's Ajax Donator is great. However, I want few things changed. I am paying $30 for the changes. Instead of making Donator packs I just want to be able to put up pre made items on the Donator page with a price. I will also, want to put game currency up. E.g. $10,000,000 for $10. 1,000 steps = $15 Item 1 for $20 Bank Card for $5 Total: $ I want users to be able to pick what they want. I also want it to be instant credit. Instead of making another item and credit them.   [ATTACH=CONFIG]2151[/ATTACH]   Message me on Skype: shahedmsa
  3. Love the modification, maybe we can expand on the mod e.g. When traveling whatever vechile where in there can be certain crimes we can do. Hijack a Plane, crash into the twin towers etc.
  4. How do you know kids may not bring success to your game? I am currently 15 and I'll say for my age I am making a lot of money. And by the age of 17 I should be able to buy a good car along with insurance. To be honest, work for yourself and if you need help there's an community here which people offer to give help. This community has helped me out a lot. Which helped me achieve my goals. After that when you have some money invest into that money into your game.
  5. So only income I get is from my game donations. What business type am I? [ATTACH=CONFIG]1831[/ATTACH]
  6. I need few stuffs done for my game paying £35 - Daily Quest - Get set a random task to do daily and gain x amount of cash and coins. Example - 1. Do 25 crimes 2. Win 25 attacks 3. Gain 2,500 strength 4. Gain 5,000 agility 5. Gain 2,100 guard 6. Gain 5 levels You will gain 125,000 yen and 12,000 coins. Everyone gets a different quest depending on stats and level.   Clan Update - Forums (Got the files but not the SQL, also want file to be re-coded) Clan Invitation (Invite members to join clan) Clan Cut (Take 5% of earnings from members gains in crimes and adds it to clan vault)
  7. $ir is for the user it self. And $r is the other user I am attacking. It's a bit wierd doens't work and so as the battle ladder add-on   <?php $atkpage = 1; require_once('globals.php'); $_GET['ID'] = (isset($_GET['ID']) && is_numeric($_GET['ID'])) ? abs((int) $_GET['ID']) : 0; $_SESSION['attacking'] = 0; $ir['attacking'] = 0; $db->query("UPDATE `users` SET `attacking` = 0 WHERE `userid` = $userid"); $od = $db->query("SELECT * FROM `users` WHERE `userid` = {$_GET['ID']} LIMIT 1"); if(!isset($_SESSION['attackwon']) || $_SESSION['attackwon'] != $_GET['ID']) { error("Cheaters don't get anywhere."); } if($db->num_rows($od) > 0) { $r = $db->fetch_row($od); $db->free_result($od); if($r['hp'] == 1) { error('The user has no health to attack.'); } else { action("You beat {$r['username']}!<br />You beat {$r['username']} severely on the ground. When there is lots of blood showing, you head up to the nearest 10-story building's roof and drop him over the edge. You run home silently and carefully."); $hosptime = rand(50, 150) + floor($ir['level'] / 2); $hospreason = $db->escape("Hospitalized by <a href='viewuser.php?u={$userid}'>{$ir['username']}</a>"); $db->query("UPDATE `users` SET `hp` = 1, `defends_lost` = `defends_lost` + 1, `hospital` = $hosptime, `hospreason` = '{$hospreason}', `hosp_bill` = `hosp_bill` + $hosptime * 10 WHERE `userid` = {$r['userid']}"); $db->query("UPDATE `users` SET `attacks_won` = `attacks_won` + 1 WHERE `userid` = {$ir['userid']}"); event_add($r['userid'], "<a href='viewuser.php?u=$userid'>{$ir['username']}</a> beat you up.", $c); $atklog = $db->escape($_SESSION['attacklog']); $db->query("INSERT INTO `attacklogs` VALUES(NULL, $userid, {$_GET['ID']}, 'won', " . time() . ", -1, '$atklog')"); //Battle Ladder add on $chk_one = $db->query(sprintf("SELECT * FROM `battle_members` WHERE `bmemberUser` = '%u'", $ir['userid'])); $r1=$db->fetch_assoc($chk_one); $chk_two = $db->query(sprintf("SELECT * FROM `battle_members` WHERE `bmemberUser` = '%u' AND `bmemberLadder` = '%u'", $r['userid'], $r1['bmemberLadder'])); if ($db->num_rows($chk_one) AND $db->num_rows($chk_two)) { $score = rand(1, 10); $db->query(sprintf("UPDATE `battle_members` SET `bmemberScore` = `bmemberScore` - '%d', `bmemberLosses` = `bmemberLosses` + '1' WHERE `bmemberUser` = '%u'", $score, $r['userid'])); $db->query(sprintf("UPDATE `battle_members` SET `bmemberScore` = `bmemberScore` + '%d', `bmemberWins` = `bmemberWins` + '1' WHERE `bmemberUser` = '%u'", $score, $ir['userid'])); echo 'You have added '.$score.' points to the score on the battle ladder, well done.<br />'; } //End $_SESSION['attackwon'] = 0; if($ir['clan'] > 0 && $r['clan'] > 0) { $gq = $db->query("SELECT `clanRESPECT`, `clanID` FROM `clans` WHERE `clanID` = {$r['clan']} LIMIT 1"); if($db->num_rows($gq) > 0) { $ga = $db->fetch_row($gq); $warq = $db->query("SELECT COUNT(`warDECLARER`) FROM `clanwars` WHERE (`warDECLARER` = {$ir['clan']} AND `warDECLARED` = {$r['clan']}) OR (`warDECLARED` = {$ir['clan']} AND `warDECLARER` = {$r['clan']})"); if($db->fetch_single($warq) > 0) { $db->query("UPDATE `clans` SET `clanRESPECT` = `clanRESPECT` - 3 WHERE `clanID` = {$r['clan']}"); $ga['clanRESPECT'] -= 3; $db->query("UPDATE `clans` SET `clanRESPECT` = `clanRESPECT` + 3 WHERE `clanID` = {$ir['clan']}"); $db->query( "UPDATE `users` SET `clan_kills` = `clan_kills` + 1 WHERE `userid` = {$ir['userid']}"); echo "<br />You earnt 3 respect for your clan and one clan kill!"; } if($ga['clanRESPECT'] <= 0 && $r['clan']) { $db->query("UPDATE `users` SET `clan` = 0 WHERE `clan` = {$r['clan']}"); $db->query("DELETE FROM `clans` WHERE `clanRESPECT` <= 0"); $db->query("DELETE FROM `clanwars` WHERE `warDECLARER` = {$ga['clanID']} OR `warDECLARED` = {$ga['clanID']}"); } } $db->free_result($gq); } if($r['user_level'] == 0) { $q = $db->query("SELECT `cb_money` FROM `challengebots` WHERE `cb_npcid` = {$r['userid']}"); if($db->num_rows($q) > 0) { $cb = $db->fetch_row($q); $qk = $db->query("SELECT COUNT(`npcid`) FROM `challengesbeaten` WHERE `userid` = $userid AND `npcid` = {$r['userid']}"); if(!$db->num_rows($qk)) { $m = $cb['cb_money']; $db->query("UPDATE `users` SET `money` = `money` + $m WHERE `userid` = $userid"); echo "<br /> You gained " . money_formatter($m) . " for beating the challenge bot {$r['username']}"; $db->query("INSERT INTO `challengesbeaten` VALUES($userid, {$r['userid']}, " . time() . ")"); } $db->free_result($qk); } $db->free_result($q); } } } else { $db->free_result($od); action("You beat Mr. non-exist!"); }
  8. Thanks man really appericate it :)
  9. Code for the attacks -   if($r['user_level'] == 0) { $q = $db->query("SELECT `cb_money` FROM `challengebots` WHERE `cb_npcid` = {$r['userid']}"); if($db->num_rows($q) > 0) { $cb = $db->fetch_row($q); $qk = $db->query("SELECT COUNT(`npcid`) FROM `challengesbeaten` WHERE `userid` = $userid AND `npcid` = {$r['userid']}"); if(!$db->num_rows($qk)) { $m = $cb['cb_money']; $db->query("UPDATE `users` SET `money` = `money` + $m WHERE `userid` = $userid"); echo "<br /> You gained " . money_formatter($m) . " for beating the challenge bot {$r['username']}"; $db->query("INSERT INTO `challengesbeaten` VALUES($userid, {$r['userid']}, " . time() . ")"); } $db->free_result($qk); } $db->free_result($q); }   For some reason that does not work and it is the default MCCodes?
  10. I don't know if my mum should be on these forums or me.
  11. Yes correct
  12. I want a donation system where users can choose how much cash, coins, steps they want. And items they want. Example - Currency (¥) x1 = $0.017. Item 1 x1 = $1 Item 2 x1 = $5 Users can customize their purchase. Minimum of $5. If someone can make Daves system like that I am willing to pay.
  13. I just want to say Adamhull is a great guy and he has helped me out with an Ajax Wheel Of Fortune. He coded it into my game and it works perfectly he also did it for free which is great and I got to say he is someone who literally made me smile today and I thank him. I would recomend him if any of you guys need anything done! I thank you for everything you did Adam thanks bro!
  14. Did you buy this from ChaoticWars?
  15. So when I add 0 in the input boxes in staff files my outcomes is invalid input or something like that   if (!$price || !$will || !$_POST['id']) { echo 'Sorry, invalid input. <br />> <a href="staff_houses.php?action=edithouse">Go Back</a>'; die($h->endpage()); }   I realised it is something to do with !$_POST['id'] however I thought it will show only if it is a empty field however it includes 0s to. How can I go around this?
  16. Thanks for this! It's great and i love it!
  17. It's too simple and it's probably easy to make. Get a background of space. Use that as a background and with CSS make boxes
  18. This is what I got   [Error] SyntaxError: Unexpected EOF (anonymous function) (bank.php, line 184) [Error] TypeError: undefined is not a function (evaluating '$(".modal").on') (anonymous function) (script.js, line 25) fire (script.js, line 25) fireWith (script.js, line 25) ready (script.js, line 25) completed (script.js, line 25)
  19. No response when I click on the links :(
  20. I'll pay £4.29 if someone gets it fixed and cleaned up. I fixed up some errors so far - http://pastebin.com/qinXzJPR
  21. I've been looking seems like no one accepte advertisements
  22. Hello all, I have a budget of £50 and I want to buy advertisment for my game so I can bring in more members. However, I do not know anything about advertisement and something which is worthed my money so I can bring in members. If the community can help me suggest places where my £50 will go to good use please help me! Thanks guys :)
  23. Great users +1. Have my trust and got the work done. Great to do business with.
  24. I can help you out for free. Send me your Skype name if you have it
  25. Thanks Peter for explaining, and yes $30
×
×
  • Create New...