-
Posts
3,655 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Events
Everything posted by a_bertrand
-
Re: Unique Template $35 Well the girls are the main problem. The template itself is not such a big work.
-
Re: Unique Template $35 Question do you have the rights over the images? And proofs about it? Sorry but selling something like that where the girls are drawn (even pictures would need some royalties), you will need to have the rights to use them into your design, and if somebody purchase it, and use it, and then suddenly get sued by the author... well quiet annoying.
-
Re: New Engine/Idea maybe :S Check out the charas project: http://charas-project.net/charas2/index.php You can basically create your avatars by merging images.
-
Freelancer, expert on website design ect.
a_bertrand replied to norwayzone's topic in General Discussion
Re: Freelancer, expert on website design ect. With such budget I would maybe go for something completely custom and not McCode based (even if 10K is not enough to pay the work of a programmer during the time you need to get an game). However you may find some young programmers or garage developers which are willing to work for you. Why? Because I would wonder if you could get back the 10K you invest with a game which is like a lot of others, even with well made custom made look & feel. Again, I'm not myself in the McCode business so maybe I'm completely off road, but beside a few well known McCode based site, I doubt the others do a lot of money. -
Re: [sHOWCASE] New map editor Well the demo version is linked to the real database, so I cannot let you edit the real world map (you may understand why). However I could provide a game account which does have the full editor if you want. And game GUI is one of the top most priority for me. I tend to work a lot to avoid reloads (so using AJAX or a lot of client side rendering), not only to reduce the network usage, but as well to make the players enjoy a faster experience. What is sub-optimal still is the normal game skin, which is not as cool as I would love it, and of course the game art which will never be as good as I would dream of ;-)
-
Re: [sHOWCASE] New map editor Thanks :wink: This is only the 3rd complete rewrite of the map editor, and this design as been choose due the space saving requirement. So now everybody can optimize their screen, and have as much as possible visible map. Odd enough, like a lot of other area of the game, the Javascript code for the editor is now much bigger than the PHP counter part :-D
-
I just finished the rework of the in game map editor (used by the players for their own islands or by the admins). For those not aware of it, our game let players create their own content which will be played by others. To show the map editor, I made a demo version of it, which is visible here: http://eu.nowhere-else.org/demo_mapeditor.php You may try it, however changes will not be saved (for good reasons) and some tools have been disabled as well. To start using it, you may need to read the help (which appear in the middle). You may resize the browser window, and you can paint tiles directly on the map. Use the smart draw to avoid to choose each borders.
-
Re: Checking if an IP is (maybe) a proxy Yes and no, first of all, how many players do have a web server installed on their PC or their router offer web pages? Those which offer them but are blocked by asking a username or password are considered fine BTW. Also, check websites like anonymouse.org: http://anonymouse.org/ If you don't check for sites like that, then your players could use them to enter your site.
-
Re: Checking if an IP is (maybe) a proxy This is my final version of the function which I use since a while. Works perfectly for my needs and doesn't block legit players. function ipProxyPortCheck($ip,$ports="80,3124,3127,3128,8080") { //timeout you want to use to test $timeout = 2; // ports we're going to check //$ports = array(80,3124,3127,3128,8080); $ports=split(",",$ports); // flag to be returned 0 means safe, 1 means open and unsafe $flag = 0; // loop through each of the ports we're checking $knownRouters=array("ubicom/","allegro-software","rompager","jetty","geohttpserver","goahead-webs","pache/0.6"); foreach($ports as $port) { $log=date(DATE_ATOM)." - $ip:$port - "; // this is the code that does the actual checking for the port @$fp = fsockopen($ip,$port+0,$errno,$errstr,$timeout); // test if something was returned, ie the port is open if(!empty($fp)) { fwrite($fp,"GET / HTTP/1.0\n\n"); $isOk=false; $firstLine=true; while(!feof($fp)) { $line=trim(fgets($fp, 4096)); if($line == "") break; if($firstLine && strncmp($line,"HTTP/1.1 403 F",14) == 0) { $isOk=true; break; } else if($firstLine && strncmp($line,"HTTP/1.1 404 ",13) == 0) { $isOk=true; break; } list($field,$data)=explode(": ",$line); if(strtolower($field) == "server") { $data=strtolower(trim($data)); foreach($knownRouters as $okServer) { if(strpos($data,$okServer) !== false) { $isOk=true; break; } } if(!$isOk) { // Log what is unkown (for review) $log.=$data; } //break; } // Xampp ? Should not be an open proxy else if($field == "Location" && strpos($data,"xampp") !== false) { $isOk=true; break; } // Requires a login? So no open proxy. else if($field == "WWW-Authenticate") { $isOk=true; break; } $firstLine=false; } // close our connection to the IP if($firstLine) { fclose($fp); $isOk=true; } else if(!$isOk) { $data=fread($fp,4096); fclose($fp); if($data == "") { } else if(strpos($data,"Apache HTTP Server Test") === false && strpos($data,"You are not authorized to view this page") === false && strpos($data,"Invalid Hostname") === false && strpos($data,"Seeing this instead of the website") === false) { $file=fopen("/tmp/badproxy.log","a"); fwrite($file,"$log\n"); fclose($file); // we know the set the flag $flag = 1; return(1); } $isOk=true; } else fclose($fp); } } // send our flag back to the calling code return $flag; }
-
Re: Proxy block Check my thread here: http://criminalexistence.com/ceforums/h ... 18#p140718 I'm running it since a couple of month, after further tweaks and I do believe I'm currently catching most proxy without blocking too many legit players.
-
Next Generation Browser Game Engine - Input Request
a_bertrand replied to mdshare's topic in General
Re: Next Generation Browser Game Engine - Input Request Then I wish I could have seen too :-o What I can add, is that most people think about the all too common McCode as the base engine, and simply rewrite something which does about the same kind of games. That's certainly not the only kind of web game we can have. So maybe people should open their mind a bit and look what is out there beside their standard web games. Without particular order, nor pointing the best games a few comes to my mind: - Puzzle pirate - Adventure quest (and the others which are from the same company) - Runescape - Fragoria (only in german I believe at the moment) - Dark orbit And we could go on forever. (I didn't included my own game on purpose) Now imagine you have a new game engine like one of those, don't you think it would make sense? I would say so. The price and the pricing model depends a lot on the kind of game. For something like puzzle pirate, then you can have a basic world for free, and each kind of location / puzzle need to be bought on top, and that may work. For the others I'm kinda unsure. -
Re: CLASS ADOdb is good, but not really fast. You may try Nyna class: http://criminalexistence.com/ceforums/i ... ic=18421.0 or use the PHP pre-made database abstraction layers: http://www.php.net/manual/en/refs.database.php
-
Re: CLASS You mean tutorials? http://dev.mysql.com/doc/refman/5.0/en/tutorial.html http://www.mysqltutorial.org/ http://www.tizag.com/mysqlTutorial/ Should be enough go give you some hints. Anyhow looking at "mysql tutorials" in google will give you those plus more.
-
Re: FlameSpark - Test us now in BETA! Doesn't seems to do much. I created an account, logged in, and... I can do basically nothing beside seeing a page. Sorry but what's the goal here? I don't see it.
-
Re: Toughest Developer Puzzle Ever answer for the python question: import this
-
Re: Zend Certification I'm Zend certified. Honestly doesn't change much for me but maybe it will for you.
-
Re: Need help with NEaB explorer Once you imported the sql file, you need to copy the neab directory into the xampp htdocs directory (could be c:\xampp\htdocs) and finally, just access it via a browser via http://localhost/neab
-
Re: How much bandwidth does your game use? A lot of tunning has been made. Image are cached, maps are compressed, JS code is cached and compressed, and all the HTTP traffic is compressed via GZIP. On top of that, we do not reload the map on the steps, but only when you leave an area. All the updates are made via Javascript and some Ajax tricks.
-
Re: How much bandwidth does your game use? Due to my own kind of game: 244.53GB per month
-
Re: Checking if an IP is (maybe) a proxy The list you mention is basically a list of accepted web servers softwares. Basically we need to accept routers but not softwares used by those open proxies. So the list has nothing to do with the providers. Also this is used only if the function can connect back to the computer which called us.
-
Based on this code: http://www.oooff.com/php-affiliate-seo-blog/php-automation-coding/php-code-to-check-if-someone-is-coming-from-a-open-proxy/ I made a modification to check if somebody is running through a proxy or not. Basically we check ports the client IP answer, if the port answer and not with a "known" string (like for a router) we assume it's a proxy. It's certainly not the safest solution, but it should filter out quiet some open proxy without filtering out too much players. However players running an open web server on their machine will be detected as proxy. The function returns 1 if something is found, 0 if not. function ipProxyPortCheck($ip,$ports="80,3124,3127,3128,8080") { //timeout you want to use to test $timeout = 2; // ports we're going to check //$ports = array(80,3124,3127,3128,8080); $ports=split(",",$ports); // flag to be returned 0 means safe, 1 means open and unsafe $flag = 0; // loop through each of the ports we're checking $knownRouters=array("ubicom/","allegro-software","rompager"); foreach($ports as $port) { // this is the code that does the actual checking for the port @$fp = fsockopen($ip,$port+0,$errno,$errstr,$timeout); // test if something was returned, ie the port is open if(!empty($fp)) { fwrite($fp,"GET / HTTP/1.0\n\n"); $isOk=false; while(!feof($fp)) { $line=trim(fgets($fp, 4096)); if($line == "") break; list($field,$data)=explode(":",$line); if(strtolower($field) == "server") { $data=strtolower(trim($data)); foreach($knownRouters as $okServer) { if(strpos($data,$okServer) !== false) { $isOk=true; break; } } break; } } // close our connection to the IP fclose($fp); if(!$isOk) { // we know the set the flag $flag = 1; return(1); } } } // send our flag back to the calling code return $flag; }
-
Re: Actually use xml with ajax eval in Javascript let you run a javascript script as it was a javascript code. So basically you feed your JSon to the eval and you get the object back. I would suggest you to check some tutorials websites how to do those things.
-
Re: Actually use xml with ajax The JSon parser is just matter of doing an eval in Javascript. To write JSON from PHP: echo "myJSObject={name:'value',name2:'value',name3:1,jsArray:['a','b','c']}";
-
Re: Actually use xml with ajax I would personally use JSon instead of XML for the good reason it takes less space, and is easier / faster to decode by Javascript: http://www.json.org/js.html The quickest way: mydata=('(' + myJSONtext + ')'); If you want to keep XML: http://www.captain.at/howto-ajax-process-xml.php
-
Re: Looking for a coder You should provide some info about your project, and what you want from the coder and finally if this is a payed or not job.