-
Posts
3,655 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Events
Everything posted by a_bertrand
-
Well... seems absurdly low price if the CPU is good. Also note that you don't know the actual speed of the CPU, so you may get indeed a 2 core VM, but running extremely slow. I have however some doubts about the overall quality of the service... I mean, it's cheap... too cheap to be any good. BTW note the following: Unlimited traffic: No additional costs due to traffic (if average traffic consumption continuously exceeds 20 Mbit/s over a timespan of at least 5 days the connection is switched to 10 Mbit/s). Written at the very bottom.
-
I think only moderators can see it. Anyhow, it doesn't matter if you inform others that there may have some issues with copyright or not. You can't do what you was doing (for free or not doesn't matter either). To re-use artwork from somebody else you need to have their permission. Either it's an open-content license which is already stated or you need to buy a license. Note that you may anyhow not re-distribute. You have to carefully check the license terms. So unless you do all the work, don't share / offer which you don't own.
-
New content is ready: - added a second arena in the second town. - added about 70 NPC to combat - added combat drops - added loads of armors and weapons - worked on the tutorial (now 16 steps) - implemented all the promised beside the clan bans. Therefore we may have a release by tomorrow stay tuned.
-
The thread as been deleted because you infringed copyright. Also, as personal note, the title of the thread was: free template... not please comment my work.
-
Interesting idea, even if I don't like much chess games myself. At least it's a refreshing idea, not the usual mafia gang thing.
-
ok... joined... and then able to create a league... that's all... didn't managed to do anything else. I can't say I find the user interface all that user friendly, and I don't understand why I should login after registration.
-
Searching for a graphic designer for 1000Ways
a_bertrand replied to matzen97's topic in Art and Content
What if we do not want to use facebook? Sorry but I'm one of those facebook allergic guy... so even if I would maybe like to help you... I could not ;) -
TornIsland.com - A post-apocalyptic themed text-based RPG
a_bertrand replied to DylC0N's topic in Game Projects
As personal opinion, wait till you consider your game at least as open beta before adding a link on MWG. Why? because people will loose quickly interest if they can't even try your game, and next time you will talk about it, people may not even try it at all. Beside good luck with your game, it's cool to see something a bit different for once. -
Quick answer: you cannot really. Longish: you could try to check if the IP range come from one "known" proxy and block it in case... otherwise... you can't as many proxy are called transparent proxy and do not show that they are actually proxy and not a simple browser.
-
Not sure if max-width / max-height works with all browsers... You should try with IE, FF and chrome and see how it goes.
-
Backdraw of this is that the image will load at it's full resolution and then be rescaled by the browser, which means for the user a slow loading.
-
You could load the image on the server, and resize it or present to display if it doesn't fit the requirements. Of course that will increase your server usages.
-
Some people will run for the better looking game and others for the better game play. You will never satisfy both as the first group will not invest anyhow the time to understand a complex game and the second will not care about playing a game which is nearly purely action. So trying to do all will basically lead to a major failure. I'm om RulerOfZu side here, people which play web games tend to be interested in games beside their maybe lacking look. I don't say you should not invest some time trying to make it even remotely appealing, but you could very well succeed without having an incredible template or transitions. What counts on web game is more the player interaction, the kind of game play, rules, story and more. However what counts is that your home page does have some appeal, and here it's either some story, some art or whatever which convert a simple visit to a registration. Personally, an home page with great art without any explanation will not get my registration, so you see many people many different way to think ;) As last example, WoW which is without doubt the MMORPG which had more success so far was not really on the top of the art. So even for major games, art is by far not all. On the other side, games like Duke Nukem Forever points mainly on the 3D art... and... basically didn't got much of a success.
-
Beside Octarine which solved the thing (manually at least, as he didn't sent me a code for it), it seems I lost the audience. Too complex? No clues where to start? Ok I will give some hints then: - Sort the frequency table and use the 2 most used letters. You may then check the frequency of letters in the crypted document and guess that the 2 most used letters correspond to the 2 most used letters in our original frequency table. That shall solve already 2 letters over the possible 26 to search (I don't remember if the fragment I gave do have all the 26 letters could be that some are not even present). - Then, you could check with the help of the dictionary to find unique possible words with the known letters, for example, boo? where you know b and o, may lead to a very limited number of words... Maybe just one? If this is the case you find a new letter and you can start the process again with all the letters you know. By doing that you will end up solving the whole encrypted document. Of course this works ONLY for texts you know the language, and which are big enough to be cracked via frequency and have words you can extract. With all this knowledge you should be able to make the code now ;) I will leave you a couple more days then give you my answer if nobody make it.
-
Nice little tasks, thanks spudinski for the sharing. My solutions sent in PM.
-
Why not pick some existing package, there is tons out there from wordpress to joomla. Try them, before even thinking of re-inventing the wheel.
-
Here is what's planned in 1.1.3: - Objects can finally correctly managed from the admin interface with a special editor which will let you edit all the attributes of the objects as if it was one row (any mod developer can as well define their own table editor from 1.1.3) - Admin page will display news taken from the shop / marketplace to be informed about new modules available or any offer. - The forums sections will have conditional display / posting, to be able give sections to admin only, or clans for example. - The forums will have a "ban" button - With a bit of luck I will squash in even polls inside the forums (if not for this release it's still a feature which will be added some time) - New content will be added (armors, weapons, NPC and more), however as the content may clash with your existing game, if you upgrade the content will not be imported. You will have to re-install to get it or run manually some SQL. - Combat will be tweaked to make use of the new content. The release is planned in 2 weeks. So if you have some wishes for it, let me know and maybe I can put them in too.
-
If you don't want to upload all the files, and setup a couple of directory access, you may use the engine self extrator, which will download the right engine package (depending on the license key you provide), extract the files, and jump on the installer. The file is small (a single PHP script), yet it will even do the requirement checks before installing anything. Download size: 2.5Kb http://www.nw-engine.com/depack.zip This works for all the different versions of the engine (Free, Dev, Full). Of course you may (and will) be able to download the engine as a ZIP as before. It's simply yet another option to install it. Enjoy.
-
Oops... I think we are reading a different book Octarine ;) Yours seems a bit more interesting that the one I copied from.
-
I made a little script which opens the door for the next step of our little game: <html> <head> <title>Simple Crypt / Decrypt tool</title> </head> <body> <?php $alphabet = "abcdefghijklmnopqrstuvwxyz"; // Generates a cipher key based on a partial key (like a word) function BuildKey ($pass) { global $alphabet; $pass = str_replace(" ", "", $pass); $key = ""; for ($i = 0; $i < strlen($pass); $i ++) if (strpos($key, $pass[$i]) === false) $key .= $pass[$i]; for ($i = 0; $i < strlen($alphabet); $i ++) if (strpos($key, $alphabet[$i]) === false) $key .= $alphabet[$i]; return $key; } // Generates a random cipher key function GenKey () { global $alphabet; $key = ""; while (strlen($key) < strlen($alphabet)) { $c = $alphabet[rand(0, strlen($alphabet) - 1)]; if (strpos($key, $c) === false) $key .= $c; } return $key; } function CryptText ($key, $text) { $result = ""; for ($i = 0; $i < strlen($text); $i ++) { $c = ord($text[$i]); // A - Z if ($c >= 65 && $c <= 90) $result .= strtoupper($key[$c - 65]); else if ($c >= 97 && $c <= 122) $result .= $key[$c - 97]; else $result .= $text[$i]; } return $result; } function DecryptText ($key, $text) { $result=""; for ($i = 0; $i < strlen($text); $i ++) { $c = ord($text[$i]); $p = strpos($key, $text[$i]); // A - Z if ($c >= 65 && $c <= 90) $result .= chr(65 + $p); else if ($c >= 97 && $c <= 122) $result .= chr(97 + $p); else $result .= $text[$i]; } return $result; } // Clean the "magic" quotes if any as they are just counter productive. if (get_magic_quotes_gpc() != 0) { foreach ($_GET as $key => $value) $_GET[$key] = stripcslashes($value); foreach ($_POST as $key => $value) { if(!is_array($value)) $_POST[$key] = stripcslashes($value); } } if (isset($_POST["action"]) && $_POST["action"] == "Crypt") { if (trim($_POST["key"]) == "") $_POST["key"] = GenKey(); $_POST["key"] = BuildKey($_POST["key"]); $_POST["text"] = CryptText($_POST["key"], $_POST["text"]); } if(isset($_POST["action"]) && $_POST["action"] == "De-Crypt") { $_POST["key"] = BuildKey($_POST["key"]); $_POST["text"] = DecryptText($_POST["key"], $_POST["text"]); } if (count($_POST) > 0) { $_POST["key"] = BuildKey($_POST["key"]); } if (! isset($_POST["text"])) $_POST["text"] = "IYH wpodi svjsu jd iyh lovv pd iyh oaahtxvr-cjjt jm Tonot Icgbijd'a moaypjdoxvh asyjjv yon tocuhn iyh yjgc mjc npatpaapjd. Wcjgka jm chaivhaa, odbpjga kgkpva aijjn oxjgi iyh okocithdi, jc lhch woiyhchn oi iyh lpdnjla, loisypdw iyh copd iyoi yon xhhd movvpdw pd sjkpjga ayjlhca apdsh tjcdpdw. Ovv lhch howhc ij wj, rhi djdh nochn xcofh iyh aijct. Gdnhc iyh aijdh ocsylor jm iyh hdicodsh ij iyh oaahtxvr-yovv, o wcjgk jm mjgc topnhda aijjn syoiipdw, okoci mcjt iyh chai, loisypdw iyh copd, odn ptkoiphdi mjc pia shaaoipjd. \"P udjl tr moiyhc lpvv hpiyhc ahdn tr xcjiyhc, jc sjth mjc th yptahvm,\" aopn Yhvhd Vh Wcodnh, \"aj P dhhn dji mhoc iyh copd.\" Iyhd, igcdpdw ij iyh ajmi-hrhn Ehlhaa lyj aijjn xr yhc apnh, ayh onnhn, \"Lyhd iyh soccpowh sjtha, Vhoy, rjg sod iouh o ahoi lpiy th. P'vv ahh iyoi rjg och aomhvr nhkjapihn oi yjth.\" \"Iyodu rjg, Yhvhd, xgi pi ljd'i ygci th ij lovu. Djiypdw ygcia th--Vhoy Tjcnhsop iyh nhakpahn.\" Iyhd, ofhcipdw yhc mosh, iyh rjgdw wpcv woqhn oxaicosihnvr pdij iyh aichhi, odn xhwod ygttpdw pd o vjl ijdh. Ij iyhah ljcna jm iyh rjgdw Ehlhaa iyhch loa dj chkvr. O shciopd ajci jm htkyoapa pd yhc giihcodsh ahhthn ij mjcxpn odr pdzgpcr, odn apvhdsh odr ljcn jm shdagch iyoi tpwyi ocpah ij iyh vpka jm yhc sjtkodpjda. \"Yjl thod jm th, dji ij jmmhc o ahoi pd iyh soccpowh ij Vpqqph Yhocilhvv, ijj,\" iyjgwyi Yhvhd omihc o tjthdi'a chmvhsipjd; \"xgi P nochn dji, jd ossjgdi jm tr xcjiyhc, lyj yoa aj chkhoihnvr gcwhn th ij touh hzgova jdvr jm iyh cpsy. Yh vpiivh udjla yjl P vjfh Vpqqph Yhocilhvv, odn lyhiyhc ayh xh cpsy jc kjjc P udjl dji, dhpiyhc nj P soch.\" \"P aor, wpcva,\" oi vhdwiy xcjuh iyh apvhdsh, oa iyh mjgciy thtxhc jm iyh wcjgk, Xhciyo Vhfr, o Ehlhaa ijj, akjuh jgi, \"iypdu yjl aigkpn P ot. Totto yoa kcjtpahn th o atovv iho-kocir ij-tjccjl dpwyi, odn iypa lchisyhn copd yon lhvv-dpwy sogahn th ij mjcwhi pi; xgi, iyodu mjcigdh, pi'a wpfpdw lor o vpiivh, odn torxh lh ayovv ovv whi yjth omihc olypvh. P't nhakhcoihvr ygdwcr! Jm sjgcah, rjg lpvv ovv kcjtpah th ij sjth, odn P ayovv hbkhsi rjg.\" Iyhd, igcdpdw ij Yhvhd, ayh aopn, \"Ljd'i rjg?\""; echo "<form method='post'>\n"; echo "<table width='100%'>\n"; echo "<tr><td width='1%'>Key:</td><td><input type='text' name='key' value='" . (isset($_POST["key"]) ? htmlentities($_POST["key"]) : "") . "' style='width: 100%;'></td></tr>\n"; echo "<tr valign='top'><td>Text:</td><td><textarea name='text' rows='10' style='width: 100%'>" . (isset($_POST['text']) ? htmlentities($_POST['text']) : "") . "</textarea></td></tr>\n"; echo "</table>\n"; echo "<br><br>"; echo "<input type='submit' value='Crypt' name='action'>\n"; echo "<input type='submit' value='De-Crypt' name='action'>\n"; ?> </body> </html> This tool should be able to create automatically cipher keys if you don't set one, or make a repeatable one if you put just one word and not a complete key. Would allow to use only a "key word" to crypt / decrypt texts and this was used long time ago (if I remember right it's called the Cesare cipher). I didn't used the strtr function on purpose to show how you could make it without (it's not the fastest way, but shows the idea behind I hope). As you can see, there is also some... encrypted text (if you start the PHP page it will appear in the text area). The text is from an old book, not from me. So the text step of the little fun is to try to decrypt it, without me giving you the key. (Octarine I know you can do it in no time, so don't spoil the fun and PM me when you do it ;) ) To help you with this job, I prepared you a text file. The first 26 lines of it contains a letter and separated by a coma (,) a number, this let you find the freqency of the letters in part of the book where I extracted the text. After the first 26 lines, you will find a list of words, which should help you build like a dictionary. The file (zipped) can be downloaded here: [ATTACH]600[/ATTACH] I will share my code to reach the goal later on (both in C# and in PHP if you are interested). Again, please post your ideas, questions, discuss it and even propose your solution here. Again Octarine, please refeign to post at day 0 the full solution otherwise you will kill the game ;) if you want send it to me as PM. Or wait a bit and share later on. This "game" has a couple of scope in my mind, share a few code tech / functions that some of you may not know. Issues that you may not be aware (like the one octarine told that you can't crypt via str_replace and such), and learn how cryptography is not always secure as well as have some fun together with what we all love: coding. dict.zip
-
The frequency analysis was the next step of my little game, so don't spoil the fun please ;) And thanks for the clarification. Even if I shall spank you a bit, by giving right away the shortest possible code I think of! Still, the game can continue with a less compact code. str_replace and equivalent will hardly work guys... I let you find why...
-
Well what shall I say, octarine shows his power as always, nothing to add here ;) Dare to share why strtr is insecure? As here I fail to see it... BTW it's a pleasure to see you back!
-
Not bad, and congratulations for the first post, but can be done in a much simpler way. For example, why do a str_split, and why use urlencode / urldecode? Also... your code doesn't actually run... you need a "global $key" set in the crypt / decrypt functions for me. And the decrypt doesn't seems to get back the original value... Original Text: Hello WorldCrypted: SGJ3d20ga21yd3o%3DDe Crypted: acgga gajgc
-
Crypt is a one way function, which means you cannot get back the original text afterward. That's not what we want. We want to be able to recover back the text ;)
-
A: Read => any PHP version... and thanks for the prize!