Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

158 Neutral

About jackolantern1

  • Rank
    Advanced Member
  1. jackolantern1

    Yet another C++ book thread

    Also, for the cost of one of those books each month, you could get a subscription to Safari Books Online and have access to almost all of them plus many more. I love Safari, as I used to spend a ton on tech books (I love reading tech books and learning new things). It is great for people learning new things as well :)
  2. Quote:Original post by soitsthateasy Sessions can be un-secure if you don't know how to use them properly, as can cookies. Bear it in mind! I have read some into session security. From what I have read, using the command to store the session IDs as cookies and also using SSL on your site can make them much more secure. Anything else I should look in to? And thanks :)
  3. Quote:Original post by Koobazaur Well one of the possible scenarios you need to think is, what if a player logs out, logs in from another computer or clears his cookies? If you save to DB, all his data will be preserved, but if you keep saving it in the session, it will be lost. It's not so much a question of "which one is better" but rather "which one suits my current needs." If you can't decide on one, you're either not taking in consideration all the possible cases (like I outlined above) OR it honestly doesn't matter. Ohh, sorry, I should have mentioned that I do have it currently set to write to the db everytime anything changes, so the player can log out, erase the cookie, etc., and all they have to do is log back in to get it all back. I was just trying to avoid the read query at the top of every single page if I could. I do believe you have answered my question, since there was nothing like "OMG! Don't use session variables like that! It's not secure!" lol. I have definitely wanted to use session variables for almost all of the player data to limit the db hits a bit (I definitely think that would suit my current needs, since it is for a game that needs as much performance and speed as possible), but I started second-guessing myself by looking at other people's code (I know, a bad practice when you are pretty sure you have a handle on everything already). Thank you very much :)
  4. I am making a PHP browser-based game, and have a question: I am needing to track quite a few pieces of data about a logged in player, and I need to know whether it is better to just hold them all in session variables from page-to-page, or should I only hold the player name and then re-query for the rest of the player's data per page. I would assume it should be the former, but a few example games I have downloaded have used the second method, and I am not sure why. Are there any problems or security issues with session variables? I know that only the session ID is stored client-side through a cookie, so there shouldn't be any issue with players being able to alter them, right? I would love to avoid all those extra MySQL queries for each player per page if possible. Thanks!
  5. jackolantern1

    [web] MySQL diagnostics?

    Both are very useful! I was really tired when I was trying to find some links on this, and "monitor" was the word that wasn't coming to mind. Thanks! A lot of good stuff there. The Processlist is also quite useful, thank you :) It wasn't actually that queries were just running slowly. I am just working on a browser-based game, and a few others that are working on their own games were all wondering if there was a way to see real-time query statistics in MySQL. Some of those monitors look nice :) Thanks both!
  6. Is there a way to see real-time MySQL-related diagnostics through the console, such as queries running per X amount of time, or maybe even seeing how much server resources said activity is using? If not through the console, are there separate applications that can do this? I am wondering if maybe they are not called "diagnostics", because I keep getting error reporting links when I try to search for this. Thanks!
  7. jackolantern1

    Where are they now? (old, sequel-ready games)

    Quote:Original post by Schrompf Quote:Original post by jackolantern1 4. Turrican: Turrican was all the rage during the 16-bit era, and Super Turrican is still considered one of the legends of the SNES. Some liken it to a cross between Metroid and Contra. Can't tell about the others, but this one had a nice freeware remake. Have a look at http://www.hurrican-game.de . It's actually really good, very polished for a freeware game. OOooo, I will have to check that out :) Thanks for the heads up! @Ravuya: Hmm, I didn't know about the showreel. Awfully sad that they scrapped it. There is potential just oozing out a modern "Mutant League" franchise.
  8. With all of the game remakes and sequels to decade(s)-old games, it makes me think that there is a slew of games that would seem right for the picking to have a modern-day sequel or remake on current-gen consoles or computers. Here is my list of games that surprise me that they have not been remade: 1. Battletoads: Everyone loved Battletoads in the day. Where are they now? I think it has been about 15 years since the last game. Maybe today it would just seem like an TMNT rip-off? 2. Mutant League Sports: These would be so fun today with current-gen graphics and depth. I saw something on the PC that looked kind of similar the other day, so the idea is still alive and well. 3. Low-G Man: While this is a bit more of an obscure NES game, I still think it would be great in modern 3D. Imagine having a game character that starts off with a realistic jump, but after a few power-ups, he can jump over sky-scrapers. 4. Turrican: Turrican was all the rage during the 16-bit era, and Super Turrican is still considered one of the legends of the SNES. Some liken it to a cross between Metroid and Contra. 5. Streets of Rage: This is probably the most likely. Sega could convert their little "Final Fight clone that could" into a modern beat'em'up of epic proportion. I am sure there are plenty more, but those immediately jump to mind. I know that some of the developers to these games are closed, but another developer could still buy the license. Besides, most of these are never going to happen anyway. What can you think of that seems ripe for a remake or modern sequel?
  9. I agree with the recommendation for "PHP and MySQL Web Development". It is hands-down the best book on the subjects with a 4.5 rating on Amazon from over 200 reviews. I just finished it a couple of days ago and it is amazing.
  10. jackolantern1

    [web] How to search a MySQL darabase?

    Can't you use SELECT * FROM table WHERE column LIKE '%$searchTerm%' in myISAM as well? Is MATCH...AGAINST more efficient for MyISAM?
  11. jackolantern1

    Where to get models?

    Maybe you could try downloading Blender (another free modeling program) and converting it there. Blender is quite a bit more advanced than Milk Shape, so you may have more luck with it. While I am not sure if Blender natively handles .X files, you may be able to get it into an intermediate format that you could then convert better in Milk Shape.
  12. jackolantern1

    Entrypoint for Dungeon Crawler?

    You should check out Unity game engine. You can write your scripts in C# to control your game, and it takes care of all the 3D code for you. There is also a free version that you can try out and see if you like.
  13. Ahh, that is probably the best way to do it. I don't have much experience with javascript/AJAX, so I wasn't even thinking about that. Thanks!
  14. I am working on a webpage that needs a semi-dynamic image. I say semi-dynamic, because it is actually going to be either a PNG or JPEG (have not done optimizations to see what will work best) image with a dot in one of probably 60 to 80 locations on the image. Now, I can see two ways of doing this: 1. Use GD2 to generate the image with a dot on it, and use 2 variables in an array as coordinates. 2. Create the 60 - 80 images and store them on the server. Then use a switch statement to load the correct version. Perhaps a bit of performance could be saved due to the two-level coordinate array, because I could turn it into a nested IF construct so at most it would only have to go through 30 - 40 of the decisions. I am not sure exactly how fast GD2 works vs. a large switch or nested IF statement like this. Does anyone have any ideas on what would be fastest? Or I am completely off the mark and there is a better way to do it? Thanks!
  15. jackolantern1

    Creating games that use 3D glasses?

    Thanks for the info :) About the game, that's too bad. 3D is quite popular right now because of all the 3D movies in the theaters (which is to try to combat the effects of piracy, of course), and I think it could be big in games as well, provided that there was a way to turn it off for players who couldn't be bothered with it.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!