Jump to content
MakeWebGames

Akash

Members
  • Posts

    218
  • Joined

  • Last visited

    Never

Everything posted by Akash

  1. Re: jobs LOL, thanks...anyone who does want to hire you know has a good idea of what they get...and looks good to me :wink:
  2. Re: jobs Hmmm, very revealing and informative. Perhaps some more details? Some of your previous coding work, with links to it on here for the convenience of your customers. How much you charge? I know you said PM me, but surely you want to attract people in the first way. GOD, so many questions to answer and his answer is 'PM me'. Please fill us in with details.
  3. This is a travel system which I have made. Basically, you choose a city to travel to, and it takes you there. But you fly there and it takes real time to travel. You, as the owner, can decide on the time, ranging from 1 minute to 24 hours (obviously that's a bit high). I know this mod has been made before, but this is my own version which contains everything including the ability to edit it in the staff panel. It is for V2, and can be converted to V1 for no extra charge. The files for this include: No PHP files, just edits to staff_cities.php monorail.php cron_minute.php header.php viewuser.php 2 SQL fields to add Cost: $5-$15 (Depending on what you get) The first 3 sold are $5. From then on, they are $10. I charge $5-$10 for this whole mod, and am currently working on an addition to it, called laptop.php. You can use the laptop, only to check mails and events or the forums. This may be added, incurring an extra cost of $5 when I'm done. So overall, the prices range from $5 for the first 3. $10 after that. $10 for the first 3 who also buy laptop.php and $15 for everyone after,who also buys laptop.php. Now this mod may seem simple to you. It is easy to code, for the better of coders, so that's why I'm only charging $5-$10. $5=$10 is relatively cheap, especially considering that a few people would buy for more. But I've set the cost at $5-$10 just so I don't get any stick from people who like to critisise everything. If you feel you have the ability to code it yourself, which I'm sure many of you do, then please do it, but I ask nicely, do not post on here bragging about how crap this is and how you could do it in 5 minutes. Like I said, do it then. I don't feel the need to post screenshots. All you will have is the time taken column on the monorail.php added, a message that blocks your screen on header, saying how long you have left and that's all. Please mail me on [email protected] to purchase. PLEASE NOTE: That all instructions come in a text file called traveltime
  4. Re: Free Starter Pack Thanks...I just made it V1+V2 compatible, all you have to do is edit one tiny thing, it's all written up there. Hope everyone likes it :)
  5. Re: [v2]***UPDATED*** Staff Action: Full User Details[v2] Nice like the updated version, alot better. Just incase anyone needs to convert to V1...read the tutorial on CE and you also need to take out a few lines e.g. the Forum information as V1 doesn't come with a forum. Anyway, thanks for updating, I'm sure you'll get even more positive comments from others :)
  6. Ok, I know I posted this in Mod Requests after The Corpse requested it, but seeing as it's free, I thought I add it here too, so people will actually make use of it instead of it being hidden halfway through another topic. This mod gives a user a starter pack when they begin the game. It credits the user with money, donatordays, vip days or whatever you guys have in your game. It's easy to modify, and there's instructions in the file to help you. For V1 Find in explore.php print "[b]You begin exploring the area you're in, you see a bit that interests you.[/b] } Add under it if ($ir['donatorpack'] == 0) { print" <form action=starterkit.php><input type='submit' value='Claim your free Starter Kit now!'></form>"; } For V2 Find in explore.php if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } Add under it if ($ir['donatorpack'] == 0) { print" <form action=starterkit.php><input type='submit' value='Claim your free Starter Kit now!'></form>"; } UPDATED(Ability to give out an item too!) For Both V1 and V2 (Made compatible) Then create a file called starterkit.php <?php /*----------------------------------------------------- -- Made by Akash for CE users -- Free Gift -- Mail [email][email protected][/email] if you need help or converting -----------------------------------------------------*/ if (file_exists('globals.php')) { require('. /globals.php'); } else { session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); } if ($ir['donatorpack']== 0) { print "Welcome to {$set['game_name']}, we hope you enjoy your stay and here is a complimentary pack from us to get you started."; //This is the writing they will get after clicking on the button in explore.php $sql = sprintf(" UPDATE `users` SET `money` = `money` + '%d', `crystals` = `crystals` + '%d', `donatordays` = `donatordays` + '%d', `vip` = `vip` + '%d', `donatorpack` = '%d' WHERE (`userid` = %u)", 10000, 100, 5, 5, 1, $userid); $db->query($sql); //Edit any of these to credit whatever you want e.g. instead of points, it may be crystals. Please DO NOT change the donatorpack=1 as this is part of the mod. Changing it may result in users claiming more than one pack. $itmid = 1; //This is the item ID, whatever item you want it to add, just type in the ID here. If you want a random item then replace $itmid = 1; with itmid=rand(1,100), with the numbers being whatever you want. mysql_query("INSERT INTO inventory VALUES('',$itmid,$userid,1)",$c); print" "; //You do not need to change anything here, unless you want more than one of the item to be given. In this case, just edit the 1 at the end to the quantity. event_add($userid,"You were given a complimentary starter kit to begin you off. We hope you enjoy your stay at {$set['game_name']} and please mail [url='viewuser.php?u=1'][b]<font color=red>Owner Name[/b]</font>[/url] for any help you need.",$c); //This is the event they will receive once they have been credited. Edit the Owner Name to the owner's name and if needed, the writing in the event. } else { die("You have already claimed your starter kit!"); //This simply ensures that the user does not claim more than one pack. } $h->endpage(); ?> EDIT:I just made the mod V1 and V2 compatible, all you need to do is change the $db->query into mysql_query AND: {$set['game_name']} into Your Game Name Then add the following sql ALTER TABLE `users` ADD `donatorpack` INT(11) NOT NULL DEFAULT '0'; And there it is, you're done :mrgreen: P.S If you would like to remove this feature after a few days in the game, the best way is just to empty the starterkit.php and remove the line from explore.php. However, if you want it done quickly, just use a query in phpMyAdmin that sets the field donatorpack in the users table to one. This will just make sure if anyone goes onto the starter pack file, that they will not get a pack, but just get a message saying you have got the pack already. Hope you like it, and please feel free to contact me on [email protected] for converting. Also, any bugs you may find, which I doubt, as it's been tested, just post them here. A final thing, if anyone can make this slightly more secure, then just post your version here. Thanks
  7. Re: [v2]Staff Action: Full User Details[v2] What are you doing to it?
  8. Re: [v2]Staff Action: Full User Details[v2] Oh right...thats cool, just added that for the use of others who want it for only admins.
  9. Re: [v2]Staff Action: Full User Details[v2] And also, to make it an admin only feature, unless I'm mistaken, you need to add something like this   if($ir['user_level'] != 2) { die("This is a staff only feature"); }   Otherwise, if that isn't there, then won't you just be able to type in the url as a secretary or assistant and access the details.
  10. Re: Hospital Bill for V2 So basically, somone bails you out of hosp? Am I right? I like the idea, but it'd make the game too unrealistic. Correct me if I am wrong about what this mod does.
  11. Re: free welfare mod Nice idea...I might use it, but just a tip, it'd be alot easier if you had the sql done...
  12. Re: [Free] MySQL Control Panel Now that is one sweet mod...excellent. Thanks Iso, I needed something like this :-D
  13. Re: Updated Mailbox [v1] Great mod and I'm using that. Your game looks very similar to Torn City, even the energy bars and icons at the top. :mrgreen:
  14. Re: Simple Random Pics Nice...like it, just wondering, and this isn't criticism but isn't it similar to something that Legend Killer posted before? Anyway, nice :)
  15. Re: Free Loan Shark System :-D....who's playing?
  16. Re: Free Loan Shark System Tittelmouse, just curious, can you code? Because the error was simple, all it was 'unexpected } on line 89' So here you go....   <?php session_start(); require "globals.php"; switch($_GET['action']) { case 'borrow': borrow_money_start(); break; case 'borrowed': borrow_money(); break; case 'repay': repay_money_start(); break; case 'repayed': repay_money(); break; case 'invest': invest_money(); break; case 'invested': invested_money(); break; default: loanshark_main(); break; } function loanshark_main() { global $ir,$c,$userid,$h; $maxloan=$ir['level']*2100; echo "<h1>Loan Shark</h1> You call up a friend and ask to borrow some money, but your friend doesn't have any. He does give you the number to a loan shark. You currently have a loan out of \${$ir['loan']} The max you can borrow is \$$maxloan - [url='loanshark.php?action=borrow']Take out a Loan[/url] - [url='loanshark.php?action=repay']Repay Loan[/url] - [url='loanshark.php?action=invest']Invest Money[/url] "; } function borrow_money_start() { global $ir,$c,$userid,$h; $maxloan=$ir['level']*2100; echo "The max amount you can borrow is \$$maxloan You currently have a loan of \${$ir['loan']} <form action='loanshark.php?action=borrowed' method='post'> Ammount: <input type=text value='$maxloan' name=borrowed> <input type=submit value='Borrow'>"; } function borrow_money() { global $ir,$c,$userid,$h; $maxloan=$ir['level']*2100; $loan=$ir['loan']; if ($loan == $maxloan) { die("You have already taken out the max loan possible you must pay it back before you can borrow more. > [url='loanshark.php?action=repay']Repay[/url]"); } if ($_POST['borrowed'] >= $maxloan+1) { die("You are trying to borrow more then your max loan > [url='loanshark.php?action=borrow']Back[/url]"); } mysql_query("UPDATE users SET loan=loan+{$_POST['borrowed']}, paytime=15 WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=money+{$_POST['borrowed']} WHERE userid=$userid",$c); echo"You Borrowed {$_POST['borrowed']} from the loan shark > [url='loanshark.php']Back[/url]"; } function repay_money_start() { global $ir,$c,$userid,$h; echo"You currently have a loan of \${$ir['loan']} <form action='loanshark.php?action=repayed' method='post'> Ammount: <input type=text value='{$ir['loan']}' name=repayed> <input type=submit value='Repay'>"; } function repay_money() { global $ir,$c,$userid,$h; if($ir['loan'] <= 0) { die("You are trying to payback more then u have to. > [url='loanshark.php']Back[/url]"); } if($_POST['repayed'] == $ir['loan']) { mysql_query("UPDATE users SET paytime=0 WHERE userid=$userid",$c); } mysql_query("UPDATE users SET loan=loan-{$_POST['repayed']} WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=money-{$_POST['repayed']} WHERE userid=$userid",$c); echo"You repayed \${$_POST['repayed']} to the loan shark > [url='loanshark.php']Back[/url]"; } mysql_query("UPDATE users SET loan=loan-{$_POST['repayed']}, paytime=0 WHERE userid=$userid",$c); mysql_query("UPDATE users SET money=money-{$_POST['repayed']} WHERE userid=$userid",$c); echo"You repayed {$_POST['repayed']} to the loan shark > [url='loanshark.php']Back[/url]"; function invest_money() { global $ir,$c,$userid,$h; echo"Here you can invest money on the spot and watch your money sink or float its simple you state the amount you wish to invest in the box below and click Invest You have [b]{$ir['investments']}[/b] daily invest statment's left <form action='loanshark.php?action=invested' method='post'> Ammount: \$<input type=text name=invest> <input type=submit value='Invest'> "; } function invested_money() { global $ir,$c,$userid,$h; if ($ir['investments'] < 1) { die("You have used up all your daily investments > [url='loanshark.php?action=invest']Back[/url]"); } if(rand(1,100) <= 50) { $gainedmoney=(int) rand(1,30); print "<font color=green>[b]Result: You hand over {$_POST['invest']} to the old man at the counter One week later you get a phone call its the old man he explains that your investment has payed off You invested \${$_POST['invest']} and ended up making \$$gainedmoney extra.</font>[/b] You have [b]{$ir['investments']}[/b] daily invest statment's left > [url='loanshark.php?action=invest']Try Again[/url]"; mysql_query("UPDATE users SET investments=investments-1",$c); mysql_query("UPDATE users SET money=money+$gainedmoney WHERE userid=$userid",$c); } else { if ($ir['investments'] < 1) { die("You have used up all your daily investments > [url='loanshark.php?action=invest']Back[/url]"); } $lostmoney=(int) rand(1,10); mysql_query("UPDATE users SET money=money-$lostmoney WHERE userid=$userid", $c); echo"<font color=red>[b]Result: You invested \${$_POST['invest']} and lost \$$lostmoney out of your overall investment. One week later you get a phone call its the old man he explains that your investment has failed </font>[/b] You have [b]{$ir['investments']}[/b] daily invest statment's left > [url='loanshark.php?action=invest']Try Again[/url] "; mysql_query("UPDATE users SET investments=investments-1",$c); } } $h->endpage(); ?>     And nice mod seems like a good idea.
  17. Re: Need Help asap True, I guess that is something to think about. Why don't you use a public forum...like invision free perhaps for a while until someone either gives you a forum mod or you code one. Also, if I'm not mistaken, there is a forum on fantastico. If you have cPanel, then use that. It's not that good, but it's good enough. :wink:
  18. Re: Need Help asap Erm, not the right place to post for help, that should be in a request topic or support. I think the only way you'll get a forum for your game is buy coding one youself, learning how to make it. Otherwise, I would recommend V2, you get a free forum mod in it. I would give it, but I can't resell a mod.
  19. Re: help needed quick Okay, do you have V1 or v2 or just lite? Copy and paste your five minute crons here and perhaps we can then begin to assist you :mrgreen:
  20. Re: Need Help With [V3] :lol: cPanel V3 is just the file manager. Just like YoungGold said, you upload the game to cPanel...ask your friend what version of McCodes he has
  21. Re: Free Updated Newspaper :-P Well yes, I did know that the name was up there, but seeing as I haven't registered the game anywhere, I knew it wouldn't google. Also, it's on free hosting, so to find out the ending would take a long, long time.
  22. Re: Free Updated Newspaper Well, I don't want anyone seeing the actual game yet, but here's a shot to view: http://i252.photobucket.com/albums/hh27/Akash2611/Screen1.jpg
  23. Re: Free Updated Newspaper Nice mod mate, I really like it. There's only one error and I'd appreciate if someone could help. I get this on newspaper.php: Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 13 in /home/dead/public_html/newspaper.php on line 12
  24. Akash

    WWI

    Re: WWI Germany-21 Russia-14 Great Britan-63 France-1
  25. Re: [Free] Annoying Mod Haha, Nice mod, I'm deifinately using this! And you're right, it is annoying!
×
×
  • Create New...