Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 60
  1. #41
    Store the time in a INT(11) and just store the timestamp IE. "1328819347"

    sniko.net (Blog posts, thoughts, dabbles.)
    Since there's really no such thing as perfect security, when we say that a system is "secure", what we are really saying is that it provides a sufficient level of security for our assets of interest against certain classes of threats - Cryptography Engineering by Niels Ferguson

  2. #42
    Right sorry for long reply i just been getting other things fixed and trying to still do it myself with out a cron but i think its the only solution. Anyway there is a in game bullet factory that produces bullets for example every hour.. every hour 2000 bullets will be added to its stock amount.. anyway this all works fine from what i can see .. however when the time is up for the next restock a players needs to go onto the bf.php page in the game for it to update the timers and the stock.. i managed to make a file that if i just type into the domain will make this happen and it is below .... I tryed making it into a cron from the cpanel.. my command was..

    /home/thmx10mx/public_html/cron.php

    i dont even know if thats right...



    I really hope someone can help me with some guidance.. its been on the agenda for nearly 2 weeks.. and is really bugging me.. thanks.

  3. #43

    Code was killing my eyes. Had to run it through a beautifier.

    Now that I can read it. It looks like this is what is updating everything. So, it seems to me, that all you need to do is have the page called, by a cron handler.

    I haven't used or setup a cron using cpanel in years so i forgot which order you have to input things. So get me a print screen of your cron page, and I can help you with that. Or i'm sure someone else will help you if they know.

    If you have already set it up and it's not working, then... For the cron url try using "curl path/to/file" instead of just "path/to/file". Also make sure you have the numbers in the right places for the cron setup form, because you could have it set for something like 5 hours or 5 days instead of 5 minutes.
    Last edited by bluegman991; 02-19-2012 at 03:03 AM.
    [paypal]bluegman991@yahoo.com[/paypal]

  4. #44
    Alternatively, store the production setting in the database, and do something along the following;

    sniko.net (Blog posts, thoughts, dabbles.)
    Since there's really no such thing as perfect security, when we say that a system is "secure", what we are really saying is that it provides a sufficient level of security for our assets of interest against certain classes of threats - Cryptography Engineering by Niels Ferguson

  5. #45
    The game is currently online and has been over to a temp host with a new domain in order for some beta testing with users and players that can help.
    You dont have to visit but it would be nice for some advice for now.. i am working on a story line.. just getting the game flow.. big improvements coming very very soon, may even be a diff engine..

    www.TriggerHappy-Mafia.com

    Thanks
    Kash

    P.S all the testers or players that are playing until the big reset will be given something in return to show the token of appreciation.
    e.g. Props, Bullets, Points, Cash if they decide to continue to play...

  6. #46
    You're game is vulnerable to MySQL injection, just letting you know..

  7. #47
    scroll bars ruins the game...IMO.

  8. #48
    Thanks for commenting, but please like i said there big improvements coming along, just need feedback from players.. on input.. or coders input 2. Thanks.

  9. #49
    Beginner
    Join Date
    May 2011
    Location
    on the computer (stupid question)
    Posts
    41
    Quote Originally Posted by mixmaster View Post
    There probably better than YOUR latest back-ups :L
    awncer to that his game would and will sh1t over any game you cold ever make mate so SUSHHHHHH

  10. #50
    Beginner
    Join Date
    Mar 2011
    Location
    Barnsley , United Kingdom
    Posts
    171
    Quote Originally Posted by Linton View Post
    awncer to that his game would and will sh1t over any game you cold ever make mate so SUSHHHHHH
    Urm ok and it's shhhhh not sushhhhh

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. New text based mafia mmorpg game
    By ThomasSimmo in forum Game Projects
    Replies: 7
    Last Post: 01-07-2012, 10:13 PM
  2. Mafia Text Based RPG Game
    By Chance in forum General
    Replies: 7
    Last Post: 11-16-2011, 09:22 PM
  3. Replies: 9
    Last Post: 12-08-2009, 08:18 AM
  4. Mafia Text Based Game?
    By Ghostriders-oldnick in forum Free Modifications
    Replies: 7
    Last Post: 06-04-2009, 09:38 PM
  5. Replies: 0
    Last Post: 12-31-1969, 11:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •