-
Posts
3,655 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Events
Everything posted by a_bertrand
-
Ok first shot: - You have a login & register page - Once you are logged in you see a page with 3 columns, (menu, content, stats) - The layout will be taken from this page to all game pages - Layout is mainly done in CSS (with some tables for registrations or other but can be changed) - Database uses MySQL via something called NHibernate, the idea here is that each table in the software is seen as a class, and you can access the data via C# as well as modify / insert it. - Login will check username and password if succeed it saves the userid in the session. Now to try it, you mainly have to open the solution and run it. At least with Visual Studio. I didn't tried yet with Mono Develop but it should work exactly the same way. Before that however you need to create a database (on your own host) called sharpengine and create the table as defined in database.txt (not yet created an installer :p ) You may check in the hibernate.cfg.xml the config to connect to the database. Full project here: http://base.nowhere-else.org/temp/engine/1.zip Feedback and questions are welcome.
-
As I said I will give away the sources. The DLL thing is how C# works, not to scare you away. Here is normally how you code in C# .cs source code C# compiler .dll or .exe file as output Now for an ASP.NET site you compile as before but you distribute the .aspx (template) and the dll Also, as I doubt most of you have Visual Studio Pro, I will make sure it works with Mono Develop.
-
so what's the difference from the explore page and the left menu ?
-
Danny: Of course if I do it everyone will be free to check the sources. Dom: templates in C# is a non-issue and I will try to explain why. In most if not all cases, the code is completely split from the HTML / CSS and even where the things are displayed as long as you keep the same stuff inside. For example if you code a page with a text field (input type=text) and a button (input type=submit) you may place those where you want, in the .aspx file which is nearly an HTML page, on the code side you simply access them by their name (which is an ID you define). So not hard to think this concept as a template engine ;) Also, the C# code is compiled in the DLL when you distribute it, which means the code is not distributed normally, the aspx file on the other side remains as it is, which means you may edit the look without editing the code. Another particular feature of ASP.NET is the "Master Page" basically, think of a page which does the header / footer of any "child pages". So you may have there the stats, menu and much more without the need to re-code it every time. Again something C# / ASP.NET offers as base feature. Yet for the hook system, there is multiple solutions, from a simple "here is the sources add your own stuff" to something a bit more sophisticate which would work like plugins and let you add mods to the engine without modifying the engine. In the first case of course it requires less work at start, but force you to edit the main engine code, where the second option would let you add mods without touching the engine and could have self-installing things. BTW what's an explore page? Sorry I'm a McCode noobs....
-
Hi, Was just wondering as somebody said he may want to look into a C# game engine, and thought, what if I would start a text game engine what would be the requirement? What would you need to have to be able to choose it yourself to create your game? Which feature will you make it pick up? Here my initial list: - Register / Login / Lost password - In game "emails" - In game player market - Some sort of battles - Some sort of jobs - Player inventory - Admin panel Then what? Some suggestions? If I start something who would be interested to participate? At least in the feature list, and test? On the tech side, it would be a C# 3.5 or 4 / ASP.NET and MySQL database using NHibernate.
-
well the budget is too low for NEaB anyhow :p
-
I would say: it was time :p Anyhow I really hope you can stick to it and good luck!
-
Don't know it there is any logs, but I would start to check the event viewer.
-
Sorry but that's not enough info to help you. You may try to check in the event log to see if you get additional info or if there is some sort of log file which is created but just saying your MySQL stop is a bit weak.
-
Just as info, hidden input via post are as insecure as $_GET parameters. So are cookies as well. So basically whatever comes from the browser MUST be checked. Also, security is not limited to SQL injections or XSS hacks, you may also simply have users which tries to access areas they should not (like reading messages of somebody else) or do bad actions. So you really have to check on each page and it depends on the page itself. A "catch all" is ok for XSS / SQL injections but not for the others.
-
I asked to use the right template... For the legality: http://www.chillingeffects.org/reverse/faq.cgi#QID195 (US laws) So yes it's legal. Even if there is issues with copyright infringements about the content of the game. I mean I can certainly create a game about little creatures you need to train, but I cannot call them Pokemons. Same applies here I believe.
-
hahaha, no I cannot judge, as I didn't saw the remaining parts. Plus I didn't changed all the file, simply make it work in a bit smarter way.
-
I didn't worked on Redux beside creating a couple of theme and giving a way a basic theme engine. So basically I reworked the header.php. That was my contribution (not payed).
-
yea sure... I would suggest you to check carefully what people say about it ;)
-
or use a table.... and you will have no issues.
-
Again some people fail to make the difference between copyright and patents. Patents need to be registered and are valid ONLY in the country where they are registered. Copyrights on the other side don't require any registration and are valid more or less world wide. Patents lasts normally 20 years, where copyrights are generally lasting lifetime of the author + 50 years. When you write a book, paint, create music or create a computer software, that particular creation is covered by copyrights. Patents on the other side cover the way to solve something. So if you have a patent about "e-shops" then nobody shall create e-shops in the country you have the patents. Where copyrights simply prevent people to use the same and exact code or derivative works without your agreement. That mean it is completely legal to create another script doing the same as for example McCode as long as you don't use McCode source code as basis. Now for this "off-shore" hosting, you clearly don't have any rights to host illegal copies of scripts, so again stop advertising it here as we will be forced to kick you out of the forums.
-
Well being a developer myself (not of McCode) I know how hard it is to discover all the bugs. So unless you have a huge and great beta team you hardly squash bugs before releasing specially if the code is big enough. So complaining it had bug seems stupid and I starts to be slowly tired of Danny attitude which is nothing beside negative to McCode. Ok I don't like the kind of games made with it, fine, but that doesn't mean you need to be negative on each and every post about it. Also, as Dominion said, what counts is that they fix the bugs. For me they are improving their politic where they didn't released a patch in years before coming with the latest 2.0.3 or what was it? And now this new patch for 2.5. So even if they clearly can improve their customer politics (as most companies actually) they are still going in the right direction. So congratulations for the patch.
-
You simply need to open the mysql connection BEFORE you can do mysql_real_escape_string, that's your problem. I believe you do it before any config.
-
First of all you should wait for an answer and not bump your thread just a couple of minutes after your post. Second, you should think about the game, the story, the difference between your game and the others and... once you have all that you may find yourself a name for it. Sorry but a name if not so hard to find and I believe you will have yet even more issues with the other points of the game development if you can't even manage to find a name.
-
Most Important 1st Impressions of a Game
a_bertrand replied to Kieran-R's topic in Question of the day
For me it's a bit more than that, it must overall look professional, which mean look & feel, easy of use, description & documentation etc. -
Well if you translate single words then it mainly works. If you try to translate sentences it will produce hard to understand or even completely wrong translations. Knowing English, French, Italian and German myself I made many trials, and honestly it's by far not acceptable in my opinion.
-
Indeed unity3d is something I would personally look into.
-
As I always said: from scratch, for a simple and good reason: I want to make MY game not make yet another game like X and engines tends to be... way to restrictive and blocks your thinking.