Jump to content
MakeWebGames

Nickson

Members
  • Posts

    1,009
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Nickson

  1. Use the last bit of code of Octarine's example. There is no need for the database to count down live. You would just store when they die in the database. If you want a live timer, you can use a javascript countdown function to show users how long they have to live, based on the value in the database.
  2. Hi TomW! Sounds like a very interesting idea. I'd say a timestamp of the integer/float data type is probably the easiest solution, and actually the only one I can come up with that will lead to something. A timestamp is easy enough to convert to basically anything you'd like. With a timestamp it's easy enough to calculate as well. What you also could do is just use an basic integer that holds the time to live. During register this would hold the basic value, with the time they have before they die. (I assume it would be 604800) From here you can count down to 0 and add seconds as they progress to the game? Not that there is such a difference between just using the timestamp of their registration date, it's just a different value you start from actually... I think you're looking in the right direction though. One last thing, be careful with running that cron job every second... most hosts won't even allow this. You could probably achieve this feature by using javascript on the client side (use a count down timer), and by checking each page request on the server side. Eventually you could combine the both as well.
  3. Whoa dave! that's quite an overkill for facebook, tumblr, itunes (if it is itunes) and a clock! :D I might post mine up a bit later :)
  4. Nickson

    Danny Hanson

    While this issue might be at danny's fault, it's also an issue I have seen before. @hotmail, @msn, @live, they all have the same issues as they are ran on the same system and somehow they tend to send spam in someone elses name. Whether they are hacked or not, I think this is more an issue for the microsoft division which handles the mail system. It's more of a spoofing problem I'd say.
  5. I think proper spelling will not hurt you at all. You might need to press a few more keys on your keyboard though... When you are trying to sell a mod, whether it's just for some quick money or for a load of cash, you should put some effort in it. Now you're just saying "here are 5 screenshots, I want $3 for it". Give some additional information, try to make people warm for your mod. Honestly, this mod might be fantastic for all I know, but all I can see is a few screenshots.. I wouldn't buy it just based on that.
  6. Yeah everyone is getting this issue. No need to worry though. It's something to do with vbulletins template system where it should replace {1} with your username ;)
  7. I doubt you'll find many 100% custom game engines.. it already defeats the purpose by just saying that. An engine is made to be flexible and reusable (there is more to it, but let's keep it simple). if it isn't, it isn't an engine either in my eyes. I'm quite sure you can find a suitable and free engine though, but it might not be 100% to your likings. You can always change it to your needs. If you really want your own custom engine, just name your budget and I can promise you someone will create one for you. Of course, you'll need to have to correct budget for that. Engine available via MWG can be found here: http://makewebgames.io/forumdisplay.php/259-Game-engines
  8. Merry Christmas people! :)
  9. Merry Christmas danger boy!
  10. Go Fazzers!
  11. These changed could be made very well. However, adding empty boards is not really an option, so we might need to have some content for it too... However, you're correct to say that there is more than just mysql. I wouldn't create a new board for MariaDB just yet though, they are both quite (not a 100%) compatible with each other, and work quite similar. So until the popularity or usage on MWG is really high, I would categorize them under the same board. Optional prefixes could be added to create a difference between the two though. Boards that might be interesting to add are: Oracle, Postgresql, MS SQL Server, just to name a few. Any other suggestions, maybe by other people as well?
  12. Happy holidays A_bertrand! :)
  13. My personal opinion doesn't like it. Any sort of javascript can be good, but it shouldn't be too much. Disable it within your browser, is your game still playable? Good. If not well then there is an issue.. Yes I know most devices support javascript these days, but that doesn't mean I have to like the usage of it. It's good as extra value, but not as a standard value.
  14. As far as I'm aware the issue has been resolved, but only for newly created threads or posts. All posts that have been made with any kind of code, especially html/php still have the issue! They need to be fixed manually... The following line: echo '<tr><td><a href="http://viewuser.php?u='.$log->userid.'" target="_blank">'.$log->username.'</a>['.$log->userid.']</td><td>   should be edited to something like this:   echo '<tr><td><a href="viewuser.php?u='.$log->userid.'">'.$log->username.'</a>['.$log->userid.']</td><td>   The forum software used to change links in the code, it added http:// to links that had a relative path. A ' can be replaced by a ' (single quote)
  15. Looking nice a_bertrand! I like how it evolved :) I'm also curious to your total worktime, must be quite a bit, no?
  16. basic math people... Just fill in the variables / random values and count it out..
  17. When I look at a mod, I look at everything. So okay, your bars are different, and the code probably too, but otherwise all visuals are essentially exactly the same. Layout, colors, positioning, naming ... it's the very same to me and thus a lack of imagination..
  18. Awww come on! That's just a pure copy of Torn... where is your imagination? Even if you have none, you could still make a generic one, but a pure Torn copy is pretty lame..
  19. Well how about this, I don't know if this is what you are looking for but it popped into my head: add a database field of the type boolean to the items table, let's say we call it "inverse". When creating an item in your staff panel you could tick it. If it isn't ticked, it will be like the items are being used now. If it is ticked, you can use something else..   if( $inverse ) { // do action when the item should work inverse - high gain for low level - low gain for high level $increase=(100/$ir['level']); } else { // do action when the item should be the same for all }   via this method, it shouldn't ask much extra code in your files, nor a huge change to the current items use..
  20. It all really depends on what you are trying to do. You have many different solutions for one simple question. What should you learn extra..? Well what direction do you want to go to? First of all, get a good grip on what you know, like knowing the ins and out, and more than just the basics and how those language integrate with each other. Once you've mastered this, I'd suggest moving on, but I've made the wrong choice of using too many language at the same time. Education said these group, while I wanted to learn another group, ... it can confuse you, and in the end the learning curve is much longer and you won't get to know as much as you would learn them one by one. Of course, you get a good overview over all of them, what you miss, and what you can carry over, ... but it certainly makes it harder until you reach that point where you understand it all. The choice between client based, or browser based is again, a question that can't be answered with a simple line. Browser based might indeed be faster for people with a slow connection, but it really depends on how you create it. For instance, you could make a client based game, and make them store all graphics and else on their computer. They don't need to be loaded each time from the web.. Will it be faster or slower? While they might get a better game experience than with the traditional text based game, does that one second that it takes extra to transfer their data to the server matter? I find it hard to just give you a simple answer without knowing more. If you're willing to go corporate, Java & C#.NET might be a good choice, if you want to look into linux systems and applications, well then C or Python might be more of the #1 choices. Do you want to stay on the webworld, then aspx.net aside php might be a good call, or even java or python as they can be used as well?
  21. Nickson

    Need Help ASAP

    After just a quick read of the last posts, please make sure you know what you need to add! There is a big difference between the error "no such table" and "unknown column x in field list". For the last error, you just need to add a field in your table and not create a new table. If I can recall correctly, mcc uses a single field for this in the users table.
  22. Then do what I asked you to do... Next time I read over this post again, I'm deleting all non related posts to this thread.
  23. I figured, doesn't mean it hurts to do a quick c&p here for others to enjoy ;)
  24. Like? Mind sharing this information to other users as well? and maybe a fixed version of this free mod, if it was really broken like you claim it to be?
  25. Nickson

    Poster Design

    Very awesome graphics yet again, however, the black text, is too unreadable to me. I can read it, but it takes too much effort to see it right away, if you know what I mean?
×
×
  • Create New...