-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
adding a new feature to MakeWebGames?
KyleMassacre replied to Raven1992's topic in Feedback and Site Support
Well can you explain how will that plugin accomplish your claims and how many users has it gotten for your site? -
I am sure most basic computers have the power to do so
-
Correct. Hence the title for this thread category. There is just a lot of people that think it is a requirement that people tend to their requests just because they want it paid or not. I myself do freelance work if time permits, if I can actually do the job, or if I feel like it. There are sites that actually do this like freelancer or similar sites. But let's get back on topic now
-
Pretty true there. I'm not too sure on rules for different countries but even Non Profit organizations still have to file some sort of taxes because they must prove they didn't make a profit otherwise they must pay tax on that. [MENTION=69670]Script47[/MENTION] thanks for the dislike there buddy ol' pal :p it's not my fault the Feds "make" you "claim" all your "income" haha
-
If you live in the states and you find a dollar on the ground you are technically supposed to claim it
-
Maybe not the most efficient way but you can create a table that holds your last cron ran timestamps then subtract your current time by the last time it was ran and loop through it that many times. I have seen this done before but don't remember who or where
-
Maybe I am wrong but it is the PRO which is like a few mm bigger than the air but tbh I don't really see a difference between the pro and air
-
ALTER TABLE `users` CHANGE `brothel` BIGINT UNSIGNED DEFAULT 0; Just for you
-
Do people really plan on having 2.1 billion whores and going to the brothel 2.1 billion times? You should take a look here. I know it's micro optimization but still
-
I only want the PSD. Also, who created it and what's the licensing for it?
-
Good choice in hardware [MENTION=50378]Guest[/MENTION] I have an early '14 13in as well and runs like a champ. At OP: why not just parallels and run win7 on it like I do. The only issue I have is I can't do windows mobile development
-
mccode-v2 Refinery [Use with my mining mod]
KyleMassacre replied to TheMasterGeneral's topic in Free Modifications
Yeah that's fine. Your mod, your headers, and your code -
mccode-v2 Refinery [Use with my mining mod]
KyleMassacre replied to TheMasterGeneral's topic in Free Modifications
Here it is updated. I really dont like it when you require/include files all over the place especially when its the same one over and over again: refine.php <?php /** Mod Title: Refinery Info: Refine Gold/Silver/Copper flakes into their respected currency. By: TheMasterGeneral Cost: Free File: /refine.php */ require('refine_globals.php'); if (!isset($_GET['action'])) { $_GET['action'] = ''; } switch ($_GET['action']) { case 'refinegold': refine_gold(); break; case 'refinesilver': refine_silver(); break; case 'refinecopper': refine_copper(); break; default: refine_home(); break; } function refine_home() { global $h; echo "<h3>Refinery</h3> Welcome to the refinery. Here you may refine your flakes into coins! How awesome is that?! You've got to have the flakes, and the skill. If you have neither, you will more than likely fail at refining flakes. Now, what would you like to refine? [<a href='refine.php?action=refinecopper'>Copper Coins</a>] [<a href='refine.php?action=refinesilver'>Silver Coins</a>] [<a href='refine.php?action=refinegold'>Gold Coins</a>]"; //Gold coins is my third currency. If you //Do not have, then you can remove the link. $h->endpage(); } function refine_copper() { global $db,$userid, $h, $refine; $q = $db->query("SELECT (`inv_qty`) FROM `inventory` WHERE `inv_itemid` = {$refine['itemidcopperflake']} AND `inv_userid` = $userid"); $totalcflakes = $db->fetch_single($q); $db->free_result($q); echo "<h3>Refine Copper</h3>"; if(!isset($_POST['amount'])) { print "<form action='refine.php?action=refinecopper' method='post'> How many flakes do you wish to refine into copper coins? If you enter a value higher than the amount of flakes needed, you will lose those flakes. (If you have 11 flakes, and enter 11 flakes, you will receive 1 coin, and lose all flakes) <input type='text' name='amount' /> <input type='submit' value='Refine Copper Flakes' /> </form>"; } else { //Sanitize input $_POST['amount'] = abs((int) $_POST['amount']); if (!$_POST['amount']) { echo "Invalid use of file"; exit; } //Zero input? if ($_POST['amount'] < $refine['requirecflakes']) { echo "You need to refine at least {$refine['requirecflakes']} flakes to get a coin."; $h->endpage(); exit; } //Input larger than inventory amount? if ($_POST['amount'] > $totalcflakes) { echo "You do not have that many flakes to refine."; $h->endpage(); exit; } //Refine complete. $receivedcflakes = ($_POST['amount']/$refine['requirecflakes']); $flakesgonec = ($receivedcflakes*$refine['requirecflakes']); echo "You have refined {$_POST['amount']} Copper Flakes and gained {$receivedcflakes} Copper Coins!"; item_remove($userid, $refine['itemidcopperflake'], $flakesgonec); $db->query( "UPDATE `users` SET `money` = `money` + {$receivedcflakes} WHERE `userid` = {$userid}"); $h->endpage(); exit; } } function refine_silver() { global $db, $userid, $h, $refine; $q = $db->query("SELECT (`inv_qty`) FROM `inventory` WHERE `inv_itemid` = {$refine['itemidsilverflake']} AND `inv_userid` = $userid"); $totalsflakes = $db->fetch_single($q); $db->free_result($q); echo "<h3>Refine Silver</h3>"; if(!isset($_POST['amount'])) { print "<form action='refine.php?action=refinesilver' method='post'> How many flakes do you wish to refine into Silver Coins? If you enter a value higher than the amount of flakes needed, you will lose those flakes. (If you have 26 flakes, and enter 26 flakes, you will receive 1 coin, and lose all flakes) <input type='text' name='amount' /> <input type='submit' value='Refine Silver Flakes' /> </form>"; } else { //Sanitize input $_POST['amount'] = abs((int) $_POST['amount']); if (!$_POST['amount']) { echo "Invalid use of file"; exit; } //Zero input? if ($_POST['amount'] < $refine['requiresflakes']) { echo "You need to refine at least {$refine['requiresflakes']} flakes to get a coin."; $h->endpage(); exit; } //Input larger than inventory amount? if ($_POST['amount'] > $totalsflakes) { echo "You do not have that many flakes to refine."; $h->endpage(); exit; } //Refine complete. $receivedsflakes = ($_POST['amount']/$refine['requiresflakes']); $flakesgones = ($receivedsflakes*$refine['requiresflakes']); echo "You have refined {$_POST['amount']} Silver Flakes and gained {$receivedsflakes} Silver Coins!"; item_remove($userid, $refine['itemidsilverflake'], $flakesgones); $db->query( "UPDATE `users` SET `crystals` = `crystals` + {$receivedsflakes} WHERE `userid` = {$userid}"); $h->endpage(); exit; } } function refine_gold() { global $db, $userid, $h, $refine; $q = $db->query("SELECT (`inv_qty`) FROM `inventory` WHERE `inv_itemid` = {$refine['itemidgoldflake']} AND `inv_userid` = $userid"); $totalgflakes = $db->fetch_single($q); $db->free_result($q); echo "<h3>Refine Gold</h3>"; if(!isset($_POST['amount'])) { print "<form action='refine.php?action=refinegold' method='post'> How many flakes do you wish to refine into gold coins? If you enter a value higher than the amount of flakes needed, you will lose those flakes. (If you have 51 flakes, and enter 51 flakes, you will receive 1 coin, and lose all flakes) <input type='text' name='amount' /> <input type='submit' value='Refine Gold Flakes' /> </form>"; } else { //Sanitize input $_POST['amount'] = abs((int) $_POST['amount']); if (!$_POST['amount']) { echo "Invalid use of file"; exit; } //Zero input? if ($_POST['amount'] < $refine['requiregflakes']) { echo "You need to refine at least {$refine['requiregflakes']} flakes to get a coin."; $h->endpage(); exit; } //Input larger than inventory amount? if ($_POST['amount'] > $totalgflakes) { echo "You do not have that many flakes to refine."; $h->endpage(); exit; } //Refine complete. $receivedgflakes = ($_POST['amount']/$refine['requiregflakes']); $flakesgoneg = ($receivedgflakes*$refine['requiregflakes']); echo "You have refined {$_POST['amount']} Gold Flakes and gained {$receivedgflakes} Gold Coins!"; item_remove($userid, $refine['itemidgoldflake'], $flakesgoneg); $db->query( "UPDATE `users` SET `goldcoin` = `goldcoin` + {$receivedgflakes} WHERE `userid` = {$userid}"); $h->endpage(); exit; } } refine_globals.php <?php require_once('globals.php'); //Config start. (Edit as you see fit) $refine = array( "requiregflakes" => 50, "requiresflakes" => 25, "requirecflakes" => 10, "itemidgoldflake" => 94, "itemidsilverflake" => 68, "itemidcopperflake" => 95 ); //Config end -
I guess game owners don't realize this is still around. These are the most known and the most exploitable. About 99% of the douchy "hacks" that people come to games and do are prevented from the link
-
I say what's the point in all this anyways? If your main site gets hacked then your admin script where ever it is will get hacked. I think you can go either way and use a sub which can get sniffed out or rename your admin file which I think would be harder to find and if I recall you can even use htaccess to restrict files or folders so may as well keep it in one area and hope that everything is fine along sight the rest of your site :p
-
I don't think these are typical "bots" though these days. There are other places that these same time share attorneys are hitting. It's almost like they are real people that just go around and post randomly with a link in their profile sigs
-
You can use this that I made: Thread: http://makewebgames.io/showthread.php/45216-Request-Currency-Trader Github: https://github.com/KyleMassacre/MCC-Currency-Trader Just may need to be converted over to Redux since this is in V2
-
Well how many members do you have, how many of them actually login regularly, and how many of them donated <-rhetorical questions here, you don't have to answer them. The thing is that ~$300 for a "work week" to me isn't that great but you also can't gauge anything with just 5 days of data you would need at a minimum like a months worth of data because who knows what will happen next week? It could get a lot better or a lot worse. Bottom line, statistically I can't say, professionally I would say no, leisurely anything is good :p. Just do some checks and balances at the end of the month and see where you are at. Good luck though I know how hard these things are
-
Poll: Mysqli, PDO or Mysql(depreciated)
KyleMassacre replied to AdamHull's topic in MySQL, Oracle, Postgress or other DB
I mostly use MySQL(i). I don't need to use a lot of the features in PDO since I don't deal with anything other MySQL (the database) -
I would try &open=1 instead of the ? For the query string since in redux it adds the ?page=whatever to it. And do you have the treasure hunt page in your directory and the url added to the array in the index file(I believe)
-
So you want to sell it for $10k when you have no proof of revenue to show and for us to see if the investment you want us to make is worth it? You will probably have to work with us here for that. I do recognize that a lot of work had to go into it since it looks like there are butt loads of ajax involved but you will have to understand where I am coming from here. Would it be possible to give out a demo link with limited access to the game like a player account, admin account, and some resources to tinker around with?
-
The game looks great. BTW you only need to post once about selling your game so I deleted the other 2 threads.
-
Well some things I did notice is that your main menu links don't work, your login and register pages open in a new tab which is kind of annoying remove the target=_blank for your links. I am on my phone so I can't do very much
-
Well hello there. Can an you tell us a little bit more about your game? What's the story with it, what kind of features do you have, is anything unique?