Jump to content
MakeWebGames

Coly010

Members
  • Posts

    912
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Coly010

  1. Yeh he's a good person to work with :)
  2. That would stop legitimate people from coming back after signing up if they have to wait
  3. Not for long, IE is being dropped by Microsoft as far as I remember
  4. Holy **** this topic was mine from years back. How on earth did this get dug up again?
  5. That wouldn't stop them. They can still do at least a post a day and that's all the bots / people need really
  6. I had to uninstall and reinstall the node_modules then in my server code: var express = require('express'); var app = express(); var http = require('http').createServer(app); var server = app.listen(3000); var io = require('socket.io').listen(server);   client: <script src='/socket.io/socket.io.js'></script> <script> var socket = io.connect(); </script>
  7. Got it working! Thanks for all the help guys? [MENTION=68711]KyleMassacre[/MENTION] can you lock this or delete? :)
  8. Or not... still having the same problems :/ Have no idea whats going on lol
  9. Ahhhh. Makes sense. Thanks!
  10. I'm having some difficulties getting socket.io up and running. It doesn't seem to be emitting events on the client side and when I load up dev tools in chrome I see this: my code is this: <script src="https://cdn.socket.io/socket.io-1.3.5.js"></script> <script>$(document).ready(function(){ var socket = io(); $("#entry").click(function() { socket.emit("connect", "USER"); }); });</script> and yes, I have socket.io 1.3.5 installed. any ideas?
  11. [MENTION=65371]sniko[/MENTION] , yeah I didnt mean just releasing it on Mccodes Dev forums, if its universal then it should be branched out.
  12. If it isnt already, could you make it more universal? As in it would be able to be plugged into any site, that, maybe have a config setting that tells the script its using mccodes and if not then ask for nicknames or allow a dev to edit a bit of code to hook it up with a different user table in a different database. That way it can be used across virtually any site. I'm just thinking that it may help with sales.
  13. Ah i wasn't sure if the space affected the NOT gate, that was all i was saying :)
  14. That seems like a sessions issue, i'll take a look at the code now and if I notice anything then i'll report back Not sure if this makes a difference not: if(! array_key_exists('uid', $_SESSION) AND !in_array($_GET['page'], array('signup', 'index')) ) { the space between the ! and array_key_exists() ? i'd remove it anyway just incase The only other thing i can see is that this is returning false: function character_is_set_up($user_id) { global $db; /* * Check to see if the user has completed * character set-up */ $char_name = ''; $query = $db->query("SELECT `char_name` FROM `users` WHERE `id`=$user_id"); if ($query->num_rows) { $r = $query->fetch_row(); if ($r['0'] == '') { return FALSE; } else { return TRUE; } } else { return FALSE; } }   at this part of the globals: if (module_installed('character_creator') AND character_is_set_up($_SESSION['uid']) == FALSE) { ob_clean(); header('Location: character_creator'); exit; }
  15. MTG going all out developing on top of this, good job mate! :)
  16. Combat System The combat system has had a major rework. I believe it's better as it details more of what happened during the war and involves more strategy when building your brigades. It details all the battles that took place between the troops of each player's brigades, telling you the outcome, then depending on which player was more successful, it decides a winner. Should be slightly more fun now knowing which of your troops are pulling their weight. Story Finally, the next installment for the storyline has been released. Head over to Headquarters to find it. Happy warring!
  17. Coly010

    McNodes????

    [MENTION=50433]ColdBlooded[/MENTION] clearly dislikes the haters lol
  18. Coly010

    McNodes????

    Yeah i tried the installer but it times out, i wasnt sure if it was my end or not lol
  19. Coly010

    McNodes????

    Why not just write a new engine? From the ground up, using node.js . Maybe keep the same play style as McCodes but actually have some logical structure to the code, make it neater, better folder structure etc? I think that would be easier than going through that heap of crap and trying to nodify it. Also, is there any tutorials on Node.js for Windows? I installed it on my laptop but I can't seem to run any of the examples I'm finding. Don't know if I'm being stupid or if its just difficult to get initially set up. Hence why its taking me time to learn it myself.
  20. To determine what hash is being used?   I thought this was pretty self-explanatory... obviously not.. Either way, the way you posted or the way sniko posted, is a solution I believe. The extra column just means you aren't running a test against an md5 version of the password followed by the sha512 version of it for the auth?
  21. I think what sniko posted is what he's looking for. I don't think he wants to SHA512 the md5 passwords, he wants to SHA512 the original ones. Following what sniko said though, you could have an encryption column, enter md5 as default, when a user logs in store the original pass word in a a variable, if their encryption column is md5 then. hash it using md5 first, if this password matches the password in the database then its the correct password. Therefore run a code block that SHA512 hashes the password, update the password field in the database to match the SHA512 hash, update the encryption field to say sha512 so next time a user logs in it checks the sha512 password instead. Also, is there a problem using the password_hash() and password_verify() functions that come preloaded?
  22. Well, I can honestly say I've been enlightened :) Thanks guys for pointing that out to me :)
  23. I get what I said may come across as stupid, but you saying that buying a service gives someone the rights to it isn't technically correct. You can buy a vpn service, but you don't own the rights to the vpn? [MENTION=65100]W3Theory || Peter[/MENTION] I wasn't aware that if someone bought code I wrote they automatically get full rights to it in the sense I couldn't use the code to set up my own game? Also the OP mentioned nothing about being hired as a freelancer, just how much would be charged on a custom engine.
  24. After reading your last post, I'd say £5000 for the general game. Then you want full rights , chuck another £3k-4k on top of that. You want it seamless on iOS android etc, shove another 1-2k on that.
×
×
  • Create New...