Jump to content
MakeWebGames

a_bertrand

Members
  • Posts

    3,655
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by a_bertrand

  1. You should maybe explain in what your script is different from McCode or let's say Gangster Legend (http://www.glscript.net/) List of features from GL: Black Market Bullet Factory* Bank* Crimes Credit Auction Car Market Detective* Edit Account FAQ Forum Gangs GTA Game Information Help Desk Horse Racing Keno Mailbox Murder* News Notepad Property Information Prison Referals Roulette Smuggle Search The Streets* Transfer Money Travel User Search Use Credits View Profile
  2. 50$ for a custom made layout? With login, register and ingame done ? No way, count between 150-200$ min.
  3. Yes I see your point. Well nothing prevent to have mods with JS and others without JS. Anyhow, I'm pretty much confident that the engine even in its current state do have to offer to more experienced developers. If you want, I can give you access to it, and would be grateful to hear your opinion by then and see what could be then improved.
  4. For the Javascript part: Saving time on the developer side is unsure, but you may indeed save some time on the server if well done, or on the other side load it too much if you try to make interactive pages. However yes, I do agree that Javascript would be something nearly standard this days but not for the target I'm pointing at. If you look at the kind of post we got on MWG about even stupid lines missing maybe simply a semi-column ( ; ) you think that those same guys will be able to understand the difference between a server side code and a client side code? Pro developers may not need any pre-made engine, where new comers will not want to be completely lost. For your "sparkle" example, yes I thank you, that's what I thought afterward, too flat for your taste, lack of gradients and more. I will add some more, but again, it's an engine which should provide the base work, not something you install and hope to make millions of dollars without any work.
  5. Never said the look is not important, I simply said, as it's an engine, the look I could provide by default SHOULD NOT make it's room to the end game, right? Otherwise all the games using the engine would end up with the same look and feel. Sure the default template is not perfect, not super duper cool, or with animations, transitions or others. I tried instead to make the HTML as short as possible:   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>my illusions game</title> <link rel="icon" type="image/png" href="/demo/favicon.ico" /> <link href="/demo/templates/public_art_medieval/medieval.css" type="text/css" rel="stylesheet" /> </head> <body> <div id='topBar'> <center> <div id='gameTitle'></div> </center> <div id='loginForm'></form> </div> </div> <div id='footerBar'></div> <div id='sideMenu'> <div id='sideMenuHeader'></div> <div id='sideMenuContent'><div id='sideMenuFooter'></div> </div></div> <div id='contentArea'></div> </body> </html>
  6. Peter was the designer of the template, yet it's not is fault as the CSS / HTML is mine not his. I don't like personally textured background, but I see, it lacks like gradient, and others. Sure it's a bit flat. I'm more than willing to pay for someone helping me on this field, with all the work I have to do ;) but over time I may improve it. Simply put I have to admit that the layout is not (as explained before) my main priority due to the fact I doubt many will use it at the end.
  7. You would go more for an ajax / jquery way to do, I fully see what you mean. However I avoided on purpose such things, reducing the javascript to the only a couple of things. The reason behind it, is that if people with little knowledge need to pick the engine, having ajax / jquery on top of the other technology will not help them to start. So I aimed at the simplicity over the super responsive / dynamic site. The current layout is also a default layout (btw not fully finished either), and you as game owner should change it. I doubt many end games will use the provided layout anyhow, right? Would you like to use a default template yourself? I doubt. So the included template doesn't need to be an incredible one. It need to be ok or good but not more. Finally, a medieval look is not exactly the kind of "web 2.0" ;) could be my opinion but if you could expand / explain your view, please do so. I'm interested to see your opinion / point of view.
  8. As there was too many images for one post, here a last one for the moment: Is there a bug? then there is a bug tracking integrated:
  9. Those screenshots are here to show some of the features, and may not fully reflect the final product as there is still some work to do before release. However it may give you some hints of what's going on. Let's start with the registration page: Once inside you get directly a tutorial which helps new comers to understand the game: An ajax chat is present on top or on bottom to allow chat between players: The admin panel is growing: A module creator wizard allows you to create the main files / hooks automatically. Work remaining on your side? Code the logic! An action log to follow what's going on? Sure it's there: The (useless) profiler: And the query which have been run (visible via the profiler): Direct text edition (click on the pen and you can modify live the text displayed): Enable or disable (live) any of the modules:
  10. You are welcome ;)
  11. maybe he mixed blog with blob => binary large object which mysql support. On oracle you can also have clob which is character large object which on mysql is called text (tinytext,text, mediumtext or longtext)
  12. Great thread, made it sticky... and promoted to article too ;)
  13. OO yours is so much better I will drop mine (or remove the stickiness at least).
  14. You will find here some links for PHP tutorials. Currently taken out of a Djkanna post (kudos to him). PHP Manual Google: HTML, CSS and Javascript from the ground up Mozilla Developer Network - Doc Center Somewhat outdated (like most) tutorial on PHP login system Cool login system, with PHP, MySQL and jQuery PHP login page example Please share here if you have any more... I will update the list.
  15. Yes you are right it's not a good idea. But I rented (as said) a cheap VPS which didn't had, and without the possibility to add one which ended up me complaining of the fact yum wasn't even working and they had to upgrade the ram for free. So again, that should not be the normal case, but with such very cheap VPS I would not expect much better. Also, think as the following, imagine you rent a dedi server, with 4GB ram... and... by looking at it I can find one at 99 Euro per month (with 1 quad core and 2 HD of 500Gb) now... let's say the main host requires what... 700Mb of ram? thats leave 3.3 Gb of ram... devide that by 256Mb (which for me is really the min for a VPS) means you could host 12 VPS on your host (will be as slow as possible but shall run). Now let's take back our 99 Euro per month and divide it by the number of VPS (12) and we find 8.25 Euro per month for a VPS and that means gaining nothing out of it... so if you are cheaper than that, I wonder how you make the money. Same server but with 16Gb of ram (cost 159 Euro per month)... let's say this time the main host take 1Gb and the 15gb remains for the VPS means we can host about 58 VPS you end up with a VPS at 2.74 Euro per month... much cheaper but now your CPU is... nearly non-existent. However that makes still more than 15$ a year... as we would end up at 43$ a year! So I really really have an hard time to figure how those people really can sell a VPS at 15$ a year. To make a long story short: don't trust when it's simply way too cheap.
  16. a_bertrand

    Game

    @KyleMassacre: PHP doesn't need closing tags, and avoiding them may save you from some issues like having some characters echoed without seeing them (for example spaces or blank lines).
  17. Spudskin: odd the link works for me. For the swap: http://www.tipsandtutorials.net/how-to-remove-swap-space-centos.html or if it doesn't work: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-swap-removing.html So yes you can run without swap, and you will have 0 issues... at first ;) Also, I can show you that some people have issues like I had which prevent them to create any swap: http://forums.spry.com/centos-fedora-redhat/2781-trying-create-swap-my-centos-virtual-private-server.html But please give links, or documentation if you have another opinion. Just to give an hint of why it works without swap, think of bootable CD, do you think it would work if you cannot boot without swap? Where would the OS write the data? It doesn't... So basically it creates a memory disk for the small things you may write and mount it, but no swap for sure.
  18. Sorry wrong, you can install linux without swap ;) and from my own experince with those kind of cheap VPS, they usually disable it as it burden too much the server containing the VPS. Even file based swap was disabled on the VPS I rented... for 2 months ;) For the useless or not, sure you can run your own distribution even if you want, but do you think that many of the MWG visitors do have the knowledge to patch their system by hand / compiling kernel and more? I doubt. Also, I doubt many of those system get GCC and all the libs to compile anything, so you would need to get them somehow (forget wget as usually it is also not installed on many). So overall not a viable solution. I would say: at least 512Mb and you will not have issues. For freeing up memory, sync will do basically nothing, as disk cache will be free up as soon as some soft require ram and the ram was used by the disk cache. So trying to free up memory by cleaning up the disk cache will not do any good. (http://www.linuxatemyram.com/index.html) use free -m to see really how much free (for software usage) ram you have.
  19. I doubt those systems allow you to use swap... and from my own experience as well as seeing what others says like: http://www.jaguarpc.com/forums/vps-dedicated/17826-any-way-limit-yums-memory-cpu-usage.html It will simply not run with such low specs... So no I doubt it would even run yum, which means you can't install any package and you can't update / patch your installation. Not good at all. Anyhow yes, running an apache, and hopefully a mysql on such small beast will not yield good results.
  20. 15$ a year... yea sure... yet I doubt you can even run yum with 128mbof ram (with maybe 256 for some time)... Sorry but I would personally not use any of those 2... seems too cheap to be any good.
  21. a_bertrand

    Smarty

    Question I would ask is: do I need smarty and some of its features? Or I just need separation of HTML and code? If the second is true, then maybe you could live with something MUCH simpler. However as Octarine said, separation of code and layout is something I would go for, in some form or in another.
  22. SRB: Nope as it could point out what I need to fix ;)
  23. - Finish New Worlds Engine - See a game running with it - Make some people happy :p
  24. Gaps indeed, I didn't remembered that one, yes was in Zap indeed. Now I don't fully remember why I didn't used the mysql_real_escape_string, could be that at that time one host was still not PHP 4.3 or newer ? I don't remember, so I had to write one for that. I fully agree here with you, don't do it yourself, better use what the DB offer. And personally I would say better use MySQLi and bind_params instead of inserting the data in the query... Or even better switch to C# and use LINQ ;) Anyhow thanks for coming back with that code, was totally gone from my memory I admit!
  25. Me never ever said I wrote my own escaping function, I just said that using mysqli and binding the values will make you safe (if it's not then please point me to some link as I really don't find any info going against this): http://php.net/manual/en/mysqli-stmt.bind-param.php   $stmt = $mysqli->prepare("INSERT INTO CountryLanguage VALUES (?, ?, ?, ?)"); $stmt->bind_param('sssd', $code, $language, $official, $percent);   BTW MySQL seems to slowly go deprecated replaced by MySQLi or PDO
×
×
  • Create New...