-
Posts
518 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Blade Maker
-
Thank you Djkanna you explained it a lot better then I did.
-
Your not willing to pay for help are you?
-
OK I just downloaded lite for the sake of helping you, there is no global.php on light, even if there was I got mixed up, it should be header.php take a look at that it has the menu link and everything.
-
To change the game default layout you have to locate the file that has all of the links and menus on, in version 2 its globals.php but I do not know which it is for on lite, so anyways if you change that then almost all is changed. I do not know if I made sense so someone please explain better thanks. Also do you mind if I see your site so far?
-
Decided to make this free now, it is my first real mod. let me explain what it does: There is a new page that you can go to, you can buy a lottery ticket there for $1,000, once you buy the ticket, you lose your $1,000. The more you buy the more of a chance you have of winning, when you run out of money then you are not able to buy a ticket anymore. You then get a ticket entry into the database, and after 7 days you then draw a random winner from the database, and add the whatever amount of money the prize was to there account. You then clear the data in the database table and restart it for the next week. lottery.php: <?php include "globals.php"; print "<h3>Lottery</h3> [b]Ticket Cost: $1,000[/b]"; $check = mysql_query("SELECT * FROM `users`"); while ($row = mysql_fetch_assoc($check)) { $money = $row['money']; if($money < 1000){ print " You do not have enough money to buy a lottery ticket."; } else print "<form action='buy_ticket.php' method='POST'><input type='submit' name='submit' value='Buy Ticket'></form>"; } $h->endpage(); ?> buy_ticket.php: <?php include "globals.php"; $check = mysql_query("SELECT * FROM `users`"); while ($row = mysql_fetch_assoc($check)) { $money = $row['money']; $username = $ir['username']; if($money >= 1000){ mysql_query("UPDATE `users` SET money=money-'1000' WHERE userid=$userid;") or die("Error: " .mysql_error()); mysql_query("INSERT INTO `lottery` VALUES ('','$username')"); print " You bought a ticket!"; ?><meta http-equiv="refresh" content="2; url=index.php"><?php } else die('You do not have enough money <meta http-equiv="refresh" content="2; url=index.php">'); } ?> Weekly Cron: $aa = $db->query("SELECT `username` FROM `lottery`"); $a= $db->num_rows($aa); $rand = rand(1,$a); $db->query("UPDATE `users` SET money=money+'10000' WHERE (`username` = ".$rand.")"); I believe the above cron would work, just put it in a weekly cron. You will need to make the sql database for the lottery part. You pick the winner randomly in the database and give the prize to the players account. Modify this how you would like, rate it 1 - 5 thanks...
-
I do not have a pro game, so they would mistaken it as being really ugly if I got screen shots or a website.
-
A demo? How would I make a demo for this. And I can customize this one to your liking that makes it better.
-
I am making a mod that you can buy a lottery ticket and it will be entered into a drawing. Edit: It is now done you can see it for sale here: http://makewebgames.io/index.php?page=RMarketplaceEntry&entryID=263 What do you think?
-
Would this be a useful mod: I add a new place to the navigation menu that says bet, and when you go there you can bet an amount of money and try to guess the right number or something. If you lose you lose the money you bet, if you win you get double the money. Please give me ideas if this is worth it or not thanks.
-
I do not use mccodes, just trying to make some money here, thanks for the tip, I will try.
-
Sample: Images were not made by me I just used samples, but the slideshow was made by me. I will put your gameplay images in, and make it to your liking, $10 or best offer. If this is worth nothing then tell me, I am trying to raise money.
-
I would like to start making money advertising peoples games, but I need to learn more about advertising, is there any website or anyone who would teach me how to advertise?
-
I can make one, did you want to pay someone or for free?
-
Oh ok thanks.
-
Yeah this is a nice free mod.
-
Here I will set up a free webhost for you to get started, private message me ok. Then I can teach you some stuff also.
-
Yeah I recommend php academy to everyone, it helps so much.
-
Here I am 14 and this is exactly what helped me learn PHP. It sounds really confusing but you start to understand after some basic tutorials. Just make sure you start with basic tutorials and work your way up start from the first basic video. http://www.phpacademy.org/ Its a channel on youtube.
-
It can be done most likely. I never did it yet.
-
Sounds fishy........lol idk.
-
Ok then haha
-
Cool, some of them look a bit girly though. Unless you are one.
-
Thanks. That last comment digital helped.