Jump to content
MakeWebGames

Dayo

Administrators
  • Posts

    2,491
  • Joined

  • Last visited

  • Days Won

    196

Everything posted by Dayo

  1. Dayo

    Survive

    Is this a github repo? if so ill make you a new theme as atm its hard to use (it got to the point i had to re-style it myself via inspect element)
  2. Looks nice, but since you are using bootstrap why not use the input styling and things like tool tips for the map, makes the game more user friendly
  3. I also started making a KoC style game the other day too, as me and a few mates at work started playing it then got banned for "Cheating". What i plan to do is make starting the game fairly easy and then get progressively harder bvut as you level up you can unlock new items. Also i plan on having a monthly/3 monthly reset as this is the ONLY way to make the playing field even with these sort of games. There is no way you can let the game go on and on catering for new and old users as what every you do you will always piss someone off
  4. I agree he made the template for GL V2, great work and price
  5. try user: test pass: test i think thats what i used
  6. IMO in wiping the database and not including the domain you have hit 95% off the value, the scripts and database are the easy thing to ... getting an active user-base that is the hard part. Without seeing an active game, screenshots cant really prove anything.
  7. am i missing something here or is this deathxxx's fault for selling it to reece in the first place?
  8. Im going to be honest but it looks like it is only 40-50% complete, you would be better off adding some sample UI even if its a basic menu bar with lorem ipsum text. It makes it much easier for potential clients to visualize how there game would look. (also on a side note i think you are selling yourself way too cheaply you could charge 2-3 times the prices you charge easily (if you done what i said above) when i brought that template off you for GL V2 i was astonished at the price especially that you gave me permission to distribute it for free)
  9. I fully understand his problem, take the fact that its McCodes out the picture, if any company you went too for support took anywhere from 5-30 days to respond you would be a bit pissed. You should not have to go to an online forum and hassle members to get your tickets seeing too. Im not sure how your ticketing system works but surely you get a email notifying you when a new ticket is opened or replied too. If this is the case every ticket that has been open for more then 1-3 days it should email you again
  10. I also agree with guest and Dave if a user who has been posting and contributing to the forum activity why should they not have a slight advantage over someone who just lurks in the background (like myself nowadays).
  11. What you could do is make a new table wit the fields [ticketNo, User] then when a user buys a ticket it inserts a new row (or 50 if they buy 50) then when you decide a winner just select the min and max id and do a rand with these numbers (do it via php rather then sql as its more efficient when you are dealing with large quantities of data). Once the lottery is complete truncate the table and start again. Also from your screenshoot you will be injecting 125% more cash into the game each time as i presume you have dome it like prize 1 = 1000 * no. of tickets prize 2 = 750 * no. of tickets prize 3 = 500 * no. of tickets would be better to do prize 1 = 444 * no. of tickets prize 2 = 333 * no.of Tickets prize 2 = 222 * no.of tickets
  12. You going to spend $1,000 to see it in action o.O Back on topic: Nice idea, are the values changeable as-well as the rewards i.e. what if i wanted it to be 25, 50, 50, 100, 150, 250
  13. Dayo

    Sessions?

    a simple way to do this is with javascript i.e. <script> var redirectAfter = 30; // Mins var redirectTo = 'logout.php'; setTimeout(function () {document.location = redirectTo;}, (redirectAfter*60000)); </script> What this does is on each page load it will start a timer (time depending on the redirectAfter variable), once the timer is completed it will redirect to a page. I have redirected it to logout.php, this should then log the user out and show the login page. You could make a timeout page and redirect it to that but that is up to you.
  14. Dayo

    Ubuntu 14.04

    there are several guides on the internet how to do it, it would be worth looking up as you get use to it it is rather easy to use imo
  15. Dayo

    Ubuntu 14.04

    Im moving from OSx to linux, for all Operating systems i use Brackets.io and Filezilla, but you could always use the command line for FTP.
  16. What if you was to do something like this so you dont end up with 100 columns in your database Table User Permissions - ID int - levelName varchar(128) - access varchar(128) sample data 1, "staff", 1111111111111111 2, "moderator", 1101000110000010 3, "user", 0000000000000000 function checkAccess($pageID, $userID) { global $db; if (!ctype_digit($userID)) { return false; } $query = $db->query("SELECT access FROM `userTable` INNER JOIN `userPermissions` ON (`userTable`.`userLevel` = `userPermissions`.`id`) WHERE `userTable`.`id` = ".$userID); if ($db->fetch_assoc($query)["access"][$pageID] == "1") { return true; } else { return false; } }
  17. For GL i have started to make an XML file for the database layout this way I can write scripts to build the SQL, to upgrade versions, build documentation etc... I think the start of the work has been added to the repository hope to get it finished in the next week or so
  18. I think variety is always a good thing
  19. Dayo

    PDO Problem

    Where do you set up $db i.e. $db = new PDO("mysql:...");
  20. Dayo

    PDO Problem

    Can you post lines 0-15 please (delete all DB connection info)?
  21. Dayo

    PDO Problem

    First thing i notice is you have 4 question marks try this $query = $db->prepare("INSERT INTO `owners` (`username`, `password`, `email`) VALUES (:uname, :upass, :email)"); $password = password_hash($_POST['password'], PASSWORD_BCRYPT); $query->bindParam(":uname", $username); $query->bindParam(":upass", $password); $query->bindParam(":email", $email); $query->execute();
  22. Dayo

    Gl v2.0.1

    Yea about that ... I shall go through and add the comments bit at a time starting with the most important scripts, i.e. Classes
  23. Dayo

    Gl v2.0.1

    I have just released 2.0.1, you can now download it from Github!
  24. Dayo

    Gl v2.0.1

    Im glad you like it :) Good spot i shall change it now
  25. Dayo

    Gl v2.0.1

    The demo site is running V2.0.1 i may leave it running for a few days before i release so i can catch any bugs, if all goes well ill release it wednesday night/thursday. Site: http://gangsterlegends.co.uk/ Usernamee: admin Password: adminPass
×
×
  • Create New...