Jump to content
MakeWebGames

a_bertrand

Members
  • Posts

    3,655
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by a_bertrand

  1. Enabling or disabling modules are done by creating or removing 1 file inside the module directory: module.lock That means, if the engine finds this file inside the module directory, the module will be disabled. Nothing else. For your time based thing, you could simply have a cron which creates or remove the files as required.
  2. You could have the item id in the inventory of the user + attributes linked to that item, which would be items stats like "dragon killer +1000"
  3. I personally don't saw much difference in speed between Windows 8 and Windows 7, beside maybe a bit during boot. Memory usage? Sorry, anyhow I have 16Gb or ram in my PCs... saving a few Mb for the look doesn't change anything. Also, windows 7 can run with 512Mb of ram and I use it (as Windows 2008 R2 which is the server version of Windows 7) a lot at work without any issues. Honestly Windows 8 for me is just a trial from Microsoft to eat back it's share in the phone and tablet market, by trying to converge all the platforms... but actually fail to understand that I don't want to have a phone OS working on my desktop PC. And no I don't want nor need a touch screen at work.
  4. I personally have troubles with the OO implementation in PHP. I really don't like it. Being because it's messy, being because on each new release of PHP they change a bit the direction of it, being because many function are basically procedural and not enclosed inside a good OO structure. Compare PHP with Java or C# and you will see immediately how badly PHP implements OO. That being said, a good code could profit from a good structure, and OO helps keep a good structure. Therefore I would also tend to say, a good OO design would be the way to go. Yet if you talk about MVC, honestly I think this design pattern is now used like Web 2.0, or HTML 5, or many other "marketing words": just marketing. Why? Because most of the time you don't need MVC, and you actually can't really code it well either in PHP. MVC requires a full separation of the 3 areas: Model View and Controller. Where the model doesn't know anything about the 2 others, sames applies for the 2 others as well. So how should a true MVC work? Well that depends on the language you use, but ideally via events, when you modify the model, the view get waked up and should do its magic for example. In PHP what I saw most of the time is not called MVC in reality, and doesn't actually offer much more than a templating system. I'm however in favor of the separation of the HTML and the code for the good reason that if you don't do it at start you will quiet certainly end up having nearly a fixed HTML without much options to change it, and it will make your code somewhat of a mess due to the generation of the HTML.
  5. Well could be an option, however how many times do you enable / disable many modules at once?
  6. The user variable would do the trick for you in my opinion and you would already have an editor for it in the user admin panel.
  7. You can of course create a new table for specific needs like a shop. However for user info refrain yourself to add columns to the user table. This design has been though to avoid to have modules which must modify core tables, like in McCodes V1, V2 & redux, where each time you install a module (or nearly) you need to modify some table, and where a module could actually be incompatible with another due to the fact both would require incompatible modifications.
  8. Not a bad idea, however, not as easy at it seems due to the fact each module you enable / disable can have special enable / disable hooks (for example the chat bar have it), and running then all at the same time could have side effects. Not sure if that would work all that well.
  9. Dom: could you check your error console inside firefox and tell me if there is a JS error? Nickson: thanks, I was somewhat scared, but overall it looks much better.
  10. Quality posts about what Analog? McCodes always? Anything proposed by anyone which goes out of that seems to receive little to no interest. Well personally I'm not interested in McCodes, McCodes games, and McCodes modules... And I doubt we could have so much quality posts about that kind of subjects. Now if you talk about how to create a game in general, what kind of technology, how to advertise, and more, here I'm open to discussion. But guess what, all that as been already tried, and... beside the usual 2-3 nobody participated ;) For the split of modules in many different categories, it's usually not a good idea. What you would need is to have "tags" on modules, as a module / modification could have multiple tags. Anyhow just to download a module, a forum is not the right media. A marketplace, with search and more would be the way to go. If I remember right CB said he want to offer one at some point. When? Well... that's another question.
  11. I wonder why everybody still expect things from CB and Dabs. Both have been clear about it: they don't have time / willingness to do anything with this forum. They pay the bills, and run the server, that's about it. Also this site is NOT about McCodes, there is a huge section for it, but that's again about it. So if the community want something, then the community should do it. And the community is everyone. I do for example have full power to change the locations of things, create new sections remove others, or spanks bad chickas (kidding). So if you want something you can't do yourself, ask and I will try to help. If you expect I or somebody else do all the hard work, forget it. I will participate as I always did, add content as I always did, but will not do advertisement or push anything more than I'm currently doing.
  12. Why not use simply your IP if you think the domain is stupid?
  13. As illusions said, it has been tried many times. Only a couple of the people here joined the effort, and the end result was even worse than this forum. The issue is not the forum, the owners or whatever. The issue is the community which is not so much interested to participate in anything. Each one is in its own bubble and that's it.
  14. Thanks for sharing Kyle!
  15. Worked a lot on it, beside optimizing the rendering, which means faster frame rate: - Improved again the transparency algorithm (when you are behind objects) - Added maze generation (currently it's a first trial, and should be further improved) - Added wearable items, you can put them or remove them from the backpack (top right icon) - You can wear / remove pieces by clicking on the top right icon and you will see the change live on your avatar. And much more, even if not all is so easy to spot ;)
  16. Congratulations on your first mod!
  17. Ok fixed also the online list. Sorry about it.
  18. I didn't saw the creator of the mod since ages... So I doubt he's still active.
  19. Fixed the issue. Update the module from within your admin panel and you should be up and running. In case you don't see any change, clear your browser cache and reload.
  20. Due to poor stability of mono on Linux, I decided to drop it and port wsirc to node.js Most of the code which was on the client side has been kept, only the server side had been re-written and I had to change some stuff. For the moment image and code upload as well as smaller features are not in, but slowly wsirc should recover. http://www.wsirc.com/
  21. The login page layout need to be set in the config/config.php file.
  22. The game will quiet likely not work on phones and tablet due to the CPU load it requires and I will not make an app port.
  23. Maybe I forget to put a color for the text and it gets the color of the style? I don't know. I will check that on Monday if you still have the issue.
×
×
  • Create New...