-
Posts
3,655 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Events
Everything posted by a_bertrand
-
This is not really a contest, but it's like an interactive way to study some features of PHP as well a coding in general. Instead of me giving out all directly, we shall see who can bring what, and maybe actually come to something better that I would have done myself. For that, we start with something... rather simple... Let's "crypt" a text by replacing each letter by another one. So if I give you "Hello there" you shall transform it to something else like "Abjji kablb" so a simple replace A with X and B with C and whatever. Your goal is to post on this thread your solution to crypt the text with this simple aglorithm. For simplicity the source text is a fixed string defined within the code. Code must be done in PHP (any version). The cleaner and yet shorter the better. If you dare to explain you reasoning behind the code, then do it ;) Notes: - Using rot13 is not acceptable, as the cipher should be changed as wished. Like a "key". - Crypt or any one way functions are not what we look after so don't look for MD5 or anything similar. We want to be able to get as easily the original text if we know the cipher. - Keep the crypt / cipher simple. Always replace an A with the same letter... We may come to something more complex later on, but for the shake of this exercise let's keep the things simple.
-
$c cannot connect the query to the database as the sprintf function just produce a string and has basically nothing to do with the database. In case you need the connection then you need to pass it to the mysql_query as second parameter. If you don't (as you are doing) it's basically re-use the last opened connection.
-
Could you print out your query string $packitemquery and show us what it contains? Also, in your sprintf, I see only one place older %d which will be replaced with the value $pitemid, but $c? I don't see.
-
Me suggests to look at: http://makewebgames.io/content.php/134-How-to-tell-that-you-exist We have also some lists of advert sites somewhere...
-
I do have a mixed feeling while reading your (spud) and Guest posts. I shall try to explain why. On one side, you are both right, the content / interest on the average posts on the forum are... low... to really low. Yet, even with such low interest posts, people find ways to bash others or even ways to not accept feedback. On the other side, every time I tried myself to post things about some more advanced subject, being art creation, programming in other languages, or even different approaches of the same problem, the result was mainly => ignored. In the best case somebody started some rants or bash. Stimulating indeed to continue, right? So how can we change the situation? Of course we could all leave MWG, and either meet on another forum, don't see each other anymore, or even create a new forum which shall all be better. I doubt that creating a new forum will bring much. Many tried, and... ended up with an empty forum for most. Going to a new forum where there is tons of discussions already, fine, but honestly, I have no time nor interest to jump on another boat, so without me, and somewhat I didn't saw yet any real interesting forum which talks about web game development. Game dev yes, but web game dev? not saw. I would say, the first thing to do, is stop the bash, and be positive. Sorry Guest, but who cares if McCodes will or will not release a new version? Do you rely on it yourself? I doubt. Is it the only possible way to create a web game? for sure not. Even when I tried some times ago to start a collaborative development for an engine, the result was... near 0. Why? Because most of you "advanced" guy have either no time, nor no willingness to even check what other do, and certainly do think that they would do it better than what has been done. Yet with such kind of attitude, we go nowhere. I would say, the issue is mainly an attitude issue. We should all try to avoid a simply bashing attitude, be more open minded, and agree to invest time on the community. You may ask why shall I do it? Well, if you are posting such posts is that somewhere / somewhat you are still interested in some sort of collaboration, otherwise you would have simply left the forums. BTW Ruler Of Zu, my posts was about C# not C++, those are 2 different languages, like Javascript and PHP, and share... nearly not much(really as much as Javascript and PHP) ;) Myself I'm willing to invest time as I always tried to improve things, to bring more content, and other, but I don't want to be alone, nor simply get a total 0 output from my trials. So please people, start posting and I shall contribute as well. P.S. Ableton Live 8 is awesome, yet I would love to try to make one day a music composition soft myself.
-
A Table Per User - Storing a Tile Map
a_bertrand replied to Octet's topic in MySQL, Oracle, Postgress or other DB
I doubt it's a good design, even if each player see a different map you could still store it on a single table. -
Be smarter, use the free V1 license ;) Or use another open source engine.
-
That's a common wrong understanding of the GNU license (GPL). You are allowed to sell GNU software, like RedHat does or other Linux distribution do. Basically you sell a "package" and for that you can ask money, however what does GNU force is the free source redistribution, which means any software which is copyrighted under the GNU shall be freely downloadable as source. Now, going back to GL Script, I tried to find any copyright or distribution notice and failed to do find them. Therefore it could be considered a non open source project which is distributed for free. That would mean, you are not allowed to sell it, or re-distribute it, but you are free to download and modify it for your own needs. If GL Script falls back to GNU GPL and not LGPL, then, what happens is the following, you could still sell a package, but you must as well give away your sources for free to all, even files you modified or files you added to the script. GPL is like a virus => it forces anyone using a GPL source to re-distribute their own work based on the GPL files.
-
Good so let's say I have a monthly normal charge of 10 K per month (and yes that's about right for me), you would pay my 10K of bills + the 1800? Did I understood you right?
-
The first trial in the world to make an web game for E-sports !!
a_bertrand replied to tkbonline's topic in General
1) "Cinematic" => as annoying as the first time you gave us the link... slow, annoying, and can't skip since the first sec. 2) Registration need an email confirmation? Too bad I will never try the game then. 3) Too many "JQuery" or equivalent effects for me. I don't like much the things moving around, fades and other specially if they bring nothing and slow down the site. 4) Login / register with different button looks ? Why? 5) Not a single info about how the game is before joining? Would be better to give some screenshot, info away. -
Sorry, but you may already rent your own flat, right? and then you get your offer, which keeps you away 3 or 5 weeks (not sure). So what? You need to move, to your rented flat, yet I doubt you give stop renting yours, just for 5 weeks. So for sure you still need to pay the old one. Or do you pay even all the bills for the developers on top ? And... I hardly see how this is off topic.
-
Wrong, you may still need to rent the flat you usually have, and quiet certainly insurances, electricity (even if reduced) or other bills. So no it's certainly not full to keep. Also bare my less than good knowledge of the UK market, but 10 GPB per hour doesn't seems an even remotely good salary, as I would pay more for a person cleaning my house (we run at least at 16 GBP per hours here for a cleaning job). But as said, the UK market is a lot different. Also, I'm also in the opinion of DJK that 3 weeks even completely full time without much distractions is way too short to make any descent game / game engine.
-
Seker: you are tired? me too odd. Yet I think the goal here is to make games, not to simply copy exiting websites, or is it? If yes then maybe I'm the admin of the wrong forum. If somebody post a template, I shall be able to comment it. I wasn't insulting I think, I simply stated that for me it look like one of the many plain installation of some engine. GRPG or McCodes doesn't matter. Does that mean that one of those engine cannot be used for something else? No. Does that mean that the public want always the same kind? I doubt. Simply you guys played one game, like it, and thought it would be great if I'm the admin / owner of such game myself, I will get a lot of easy money and it will be fun too. Sorry but wake up it's simply not the case. A game, to be even relatively successful is a lot of work, not only to setup the script, but also to administrate it every day, keep things on track, advertise it, and even make sure it runs due to the hosting or whatever else issue. So no, simply placing a script on a shared or free host will bring you nowhere. So if you are not even willing to think about a story, some content, or ideas more than simply "I will tweak a bit this and that", well... for me it will, in my own opinion, with my experience, I believe it will not work. But please go ahead and try it yourself.
-
BTW searching mafia games: http://www.themafiaboss.com http://www.barafranca.com/ http://www.mafia-generations.com/ Seems all different to me... I don't judge if they are good or not, but they don't seems to share the same layout /feature set at least
-
Why play another game which has the same features, the same tools, maybe a couple of different rules (but not too much because it has been proved to work, right?) and even the same layout? Guys, stop making such copy cats and play Torn then if you all think it's the best game ever. Sorry but this is crazy. You think on one side "it works well so let's keep it" and in the other "I need to tweak a bit and I will get tons of donations", no way. Torn is successful, first because it was nearly one of the kind at first, and second because there is a lot of players. If you start with a copycat you will not succeed much. It's a fact. Otherwise all those plain McCodes games or grpg or whatever would have millions of players too. Too bad it's not the case. Sure there is a couple of successful McCodes games, but either tweaked it a lot and invested a lot on the marketing side. Also, it is not given that because a game works, than another of the same kind will too. I would say, you all need to think a bit more on the story, content, game play, and more over, think out of the box, don't simply download an engine (whatever it is), change the template, the name and a couple of text and hope to be a success. Sorry it doesn't work. Now of course I will be bashed by ColdBlooded which guarantee me that many McCodes game made a lot of success, yet I have to see a plain McCodes installations which was so successful. Also, gangs, levels, crimes, combats, all that can be totally changed, even made better than what you saw so far, and yet completely differently presented. I'm sure that if you really want a mafia / gang game, you could come with something original and yet even better to play than the way too many copy cat we can find on internet. However people don't do it because they are lazy, or are simply not skilled enough to do so. That's a sad story but true.
-
Sorry, when you buy a PC or console game you expect it has the same look as... GTA for example? Nope, each game do have a different way to behave, and a different look. If they would be all the same, it would be as annoying / plain as possible. Look at amazon, google, apple, oracle, tomshardware websites, do they look the same? Again nope. So no reason why a web game must look like a standard McCode game. Also, I'm pretty sure this standard look is by no mean the best possible user interface out there ;) And on the game play, I would be again with a drastically different point of view as yours. If you wonder why many games you saw do have those features, I can answer quickly: their owners are lazy and have little ideas, but if you dig a bit more you will discover tons of successful games (even more successful one) which share nothing with McCode. How come they don't fail? A few examples? http://www.dragonfable.com/ http://www.runescape.com/ http://lotgd.net/home.php http://www.kingdomofloathing.com/login.php http://www.travian.com/ etc... etc... So don't tell me all games must be the same otherwise players will not be able to play, that's simply... stupid.
-
I never used neither McCode not GRPG but from the look... it's nearly the same. I mean, those menu, gym, etc.. they are all the same. So maybe and quiet certainly it's not McCode as you stated but, for me it looks all the same as always... boring.
-
Honestly currently it seems like any random McCode game... A black template, without much to be attractive. Seems to be the ever kind of options on the menu, and the layout is pure CSS. Sorry I don't find it bad, but I don't find anything which would drive me to it neither.
-
The issue is hardly a disk issue, or let's say not a disk size issue. Usually you will have more issues about network usage, cpu / ram and then disk operations. So having thousand users on a given host is hardly doable. I fully agree on ruler on this one. So how does that work? Basically, if those are static website with little to no transfer, even if they uses a lot of disk space, you don't care. But as soon as some sites uses PHP to do whatever operations (forum, game, whatever), with MySQL usage and more, you are sure it will eat up server resources. You basically have at this point 2 options: - Keep all the users on the same server, and maybe even host yet more people, which means it will be slow for all of them, yet you offer a cheap hosting. - Kick out users which starts to use resources, and this is what Lunarpages do for example. As soon as you start using even a bit of CPU / Ram they kick you out. Therefore, I strongly believe that you can't have a cheap and yet good hosting, I mean, either you don't use it much, and it will work for you, but if you plan to make a game run on such site, well... good luck ;)
-
ZBrush 4R4 has been released, and... I must admit it's just shocking good. - First of all, it's a free update, and this is not the first time they do as it's the 4th. Seems they have enough new customer to pay the development which is really good for all. - This release is a solid release with many features from automatic lower mesh creation (and quality mesh you can directly use not like those decimation tools I used so far) to even a new history system: it saves up to 10'000 steps, and even make you a movie from the steps: - Undo / redo is even now stored in the file (something I never saw so far in any software), which means you can close ZBrush, re-open and reload your file, and you can undo all the actions (till the last 10'000). - GoZ: their integration with other softwares has been updated as well, and guess what, Modo 601 the soft I was using has been implemented. Overall I would say this is the way to go: you buy a soft, and even a couple of years later you still get free updates / upgrades. It's nearly too cool to be true.
-
You can integrate wsirc inside your game: http://www.wsirc.com/cms/component/content/article/25-the-project/54-wsirc-integration.html
-
Converter helper tool - From V2 to NWE
a_bertrand replied to a_bertrand's topic in New Worlds Engine
I managed to implement yet another piece inside the mod converter. It shall add the Translate function around string which are used for echo or print. It shall extract also variables from it, however it will not keep the HTML outside of the translate yet. I may be able to do that too but for the time being it's not all that bad. Just for that it's 210 lines of code... But I'm happy... it shall handle PHP strings correctly. HEREDOC strings are currently skipped btw. -
Do Raven1992 ever read posts? If yes what was so hard to understand about W3 Theory?
-
Converter helper tool - From V2 to NWE
a_bertrand replied to a_bertrand's topic in New Worlds Engine
OO yes I changed it this morning with a newer version with less bugs ;) -
Converter helper tool - From V2 to NWE
a_bertrand replied to a_bertrand's topic in New Worlds Engine
I don't see any \ before single and double quotes, can you give me a source code examples where this happens?