
Lucifer.iix
Members-
Posts
46 -
Joined
-
Last visited
-
Days Won
2
Lucifer.iix last won the day on November 25 2013
Lucifer.iix had the most liked content!
Lucifer.iix's Achievements
Newbie (1/14)
2
Reputation
-
Trying to think of a new battle system for mafia games =)
Lucifer.iix replied to Sim's topic in General
@Sim Ok, got it. (i think) But it's still 'turn based' or 'real time'.... `automatic` hasn't something to do with time. So, you want create a interaction between multiple people ? And they can interact with each other (shooting, robbing, etc) and with there surroundings. How does it start ? Do you make a script that checks for this. And than just start polling the server with the state of the battle, like every 2 seconds ? -------------------------------------------------------------------- Maybe you could also do this turn based.... It's like 'paper scissor rock'. - Shoot - Reload - Robb - Hide - Do nothing - Leave Scene (Hiden) - Shoot - Reload - Stay hiden - Leave position All in the same round. this repeats until all people are dead or exit. * You only can shoot at one person at a time. ** To mutch people doing the samething, like hiding for cover, they all do nothing ! So shooting is always possible, and if you hide you can't shoot but can be shot at, and have to wait till next turn. If your hiden you can only be shot if you start to shoot, but are better protected than normal. (So, you have to make it a little bit tacktical) -------------------------------------------------------------------- I was thinking about a shoot algoritm yesterday, just for fun. <script> var req = new XMLHttpRequest(); req.open('GET', document.location, false); req.send(null); var headers = req.getResponseHeader('date').toLowerCase(); var d = Date.parse(headers); alert(d); </script> With this i get the time from the server and can syncronise. Than i can create a algorithm than makes the `attacker` aim with time. So, you fill in a capcha, before, and than can shoot at a picture. But your cross-hair is moving around (with time from server) ! When you click the client will send the server time + time spent to the server again. And the server can check then if it was a hit and accuracy. -
I don't know, think text-based it self is a bit old school. My first computer games where text based ! And the first adventure games, had text like commands....So it's a bit old i think. People are not sitting behind there computer these days, but watching tv while playing on there iPad or smartphone. So, your game has to run on maybe on multiple platforms or devices to start with. But the mafia games are also a little bit boring and for kids only i think. And have to compete with Angry bird and other games. I don't mind, just going to keep on with my financial game. It's a highly grapical 2D financial shooter ;-) (And going to create bots, so i don't have a minimal of players needed for the game to work.) Happy Hacking: Roger.
-
Isn't creating your own game not more fun ? Maybe you learn something from it, that will give you a good job/carreer in the future.... Happy Hacking: Roger Keulen.
-
I like the responsive web sites from Zurb.com You can download there foundation: (Just select some dark gangster color's and you will get your CSS for free) Here is the custom download page: 'They will change some colors for you, number of columns in grids, etc...' http://foundation.zurb.com/develop/download.html#customizeFoundation http://foundation.zurb.com/ http://foundation.zurb.com/docs/ http://foundation.zurb.com/templates.html (<-- Empty layout's) Works also great on a dvice like your smartphone, just make the screen from your browser smaller and you will see it. Good luck finding your layout. Happy Hacking: Roger Keulen.
-
Hmmm, Don't think this is going to work for me. I don't own a machine, i own just a simple webserver with that crappy PHP. If i could install something else i wouldn't use PHP, and than i also have no problem using sockets my self. I can open en close a socket with php. But it's not a program, it's a script with a maximal run-time. I just going to poll for new messages, no problem. I really don't see a problem with that. Happy Hacking: Roger.
-
Sorry, i will take more care next time. Bertrand already said to me, that i can't wake up old threads... lol Thanx for putting them together in one post. Happy Hacking: Roger
-
@Dominion: Doesn't matter i'm not English. Here you go: http://uk.reuters.com/article/2013/10/08/us-microsoft-cybersecurity-idUKBRE9970YK20131008 So how mutch value do your credits have ? If i can choice between cheating and winning or 10 dollar, i will cheat and win the game. But for 50 dollar, who cares about the game.... It's also nice to be a `special` member for the game (maybe free play) and your name some where in the credits. Happy Hacking: Roger. Ps: I will always tell, i don't care about games. Like programming to mutch for that.
-
Coly010: if you want i can look at it why it's so slow. I'm building my own chatclient right now. But it's just for fun and i always can reuse the library functions. Happy hacking: Roger. Ps: I have a server running... http://rogerkeulen.nl or http://fmmorpg.nl So it's not a problem for me to install it. But only if it doesn't have to go into the root directory. (Don't want to mess up my server with scripts/expriments that can't be moved)
-
@Danny696: Restyled your password class a bit.... <?php class password { public static function createSalt($length = 20) { $charactersUsed = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; $salt = ''; for($i = 0; $i < $length; $i++) { $salt .= substr($charactersUsed, mt_rand(0, strlen($charactersUsed)-1), 1); } return $salt; } public static function createHash($username, $password, $salt) { $uniqueHash = hash('sha256','<<< please put something here unique here, like your hostname url >>>'.$password.$username.$salt); $hashStrong = ''; for($i = 0; $i < 10; $i++) { $hashStrong.=hash('sha256',$hashStrong.$uniqueHash); } $hashResult = ''; for($i = 0; $i < 500; $i++) { $hashResult=hash('sha256',$hashStrong.$hashResult); } return $hashResult; } } ?> Thanx for sharing, dude ! Happy Hacking: Roger.
-
Sending small messages wouldn't normaly be a large problem for a server. That's where they for. Just write good code that does what it should do and no more than that. On the client side you could create this with AJAX/Java direct in your browser. node.js looks a bit overkill for a chat client. HTTP is already supported by the browser, if you created it with JavaScript. Only if you want to have your own transmission protocol 'node.js' could be a choise. Coly010: is this for your: Bitten Text Based RPG ? Maybe i also want to have a chatservice in my game. Than you can have mine, but i'm also still `designing` the game. I'm only testing/programming the stockmarket part of my game/platform.
-
@ sorry, bertrand didn't saw it. I just was browing the list and respondig. I will look at it next time.
-
Maybe a strange question, but why do you want to have this, if it's already your own site ? http://mysite.com/users.php?startid=1&endid=12345 http://mysite.com/users.php?startid=12345&endid=1 Happy Hacking: Roger
-
And how would you know it secure or fixed ? And when do you going to pay him ? When you think it's secure or he says so.... Why not just make the price you get reporting a bug to you has more value than the billions of fake credit. That is what all the other companies like google and MS are doing... Happy Hacking: Roger.
-
Whahahah, no dude. The BUG isn't on screen, it was in his database. So the question he asked wasn't a question. He ask why isn't this code working. The code was working correct ofcourse, but he had other problems. But you didn't start the topic. So it isn't intended for you. Happy Hacking: http://RogerKeulen.nl
-
@HauntedDawg: a bot with lot of typo's i see.... hmmm. (But i'm going to leave them there...) Happy Hacking: Me !