
lucky3809
Members-
Posts
1,115 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by lucky3809
-
Prototype Creations -- Prototype
lucky3809 replied to W3Theory || Peter's topic in Collaboration Experiences
To be honest I had thought at first and STILL do, it was faked due to the file in the link and in the suppose chat being the same coming from the SAME computer, but that is for Peter to decide lol. That is why i changed my comment to "never mind"... -
you wont make a lot of money off any game unless it is your passion, and you create it in your own unique way, if your looking to make cash fast it won't happen, it takes a lot of effort and time to make cash from a game, and all players know a real coder and gamer, and also know when someone is greedy, which will lead them to donate else where, it has happened in a lot of games. An unique game and ideas you created yourself and love will make lots of money!
-
I agree thanks for posting it has helped! :)
-
you can either create one in the sql area or click on the structure and scroll to the bottom and add it manually there.
-
Prototype Creations -- Prototype
lucky3809 replied to W3Theory || Peter's topic in Collaboration Experiences
never mind -
Prototype Creations -- Prototype
lucky3809 replied to W3Theory || Peter's topic in Collaboration Experiences
People should start asking permission before using other peoples work, this is happening with Peter's work frequently how hard is it to pm or email him and ask? Don't give excuses its a friends or partners own up to it, things work out better when your being honest. -
login to your hosting, then enter cpanel, click mysqldatabases icon, create a database remember your password write it down or something, then click back home (cpanel), and click on file manager icon, then upload all your files there, if you have an installer you would go to that php page in the link such as .... http://www.yourgame.com/installer.php then follow the instructions.
-
look again what you typed in you could have left out a letter, or miss spelled it
-
You forgot too about your sqls, or maybe that is nothing to worry about but on some websites is a username going to be 255 characters long? lol. or a password? I counted those as a buggy lol.. but yeah i spotted those missed spelt vars, and also the end close tags, i however did not see the quotations, but i just glanced at the script i never really studied it longer then i should have.
-
what about a security problem that can bug the whole script? Or site? security should always be a priority, rather you have errors or not, errors are not the only thing to bug a script.
-
It does not only combine $_GET and $_POST, but also $_COOKIE, where a specific cookie value can be set by a malicious user, if the value already exists it will overwrite the $_GET and $_POST data... Maybe I am wrong?? Some people don't think $_REQUEST is bad, but what I have read and learned I will never be using it.
-
I know I am a noob if you want to call it that in security, because i am still learning about it, but the main thing I would never use in the script provided is $_REQUEST, that is the first thing I see wrong in it, and of course several other things, but not as many as you all see lol, but I am no expert yet.
-
I know you are learning coding, maybe you need to look up those function on php.net mres is not securing the user_id because it is numeric value.
-
why not just go into your permissions in ftp and not allow access to that file for that mod? At the time of not wanting it there, and deleting the link in your game to the mod.. all this other is just complicating when it's really easy to do it that way, then have something coded that is not necessarily needed.
-
Not bad, but I would make the wording lighter maybe add a lighter black border around the text or a white glow effect so it's easily seen and read better.
-
i know old post ... lol i have seen same lottery on roguevampires,(no it has never been done on this forum), but if you know me everything on there i have duplicated :) Did not try your education part, but that looks also like the vala on rv, I have done that too lol. But now I am doing something that a player on there suggested a while back which was territories, something I have been working on for awhile.
-
If you do not want the 12 energy... and want 100 for none and 150 for donators... go into global_func.php erase the energy stuff in the function part Maniak posted, then open header.php and find... $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ($ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); Above that, add: $db->query('UPDATE users SET maxenergy= 150 WHERE donatordays > 0')or die(mysql_error()); $db->query('UPDATE users SET maxenergy= 100 WHERE donatordays = 0')or die(mysql_error()); You will also need to change the INSERT query on the register page, and add 100 instead of 12
-
Under... $gain=0; for($i=0; $i<$_POST['amnt']; $i++) { $gain+=rand(1,3)/rand(800,1000)*rand(800,1000)*(($ir['will']+20)/150); $ir['will']-=rand(1,3); if($ir['will'] < 0) { $ir['will']=0; } } Add.. $energy=($_POST['amnt']*5); Change this query.. $db->query("UPDATE `users` SET `will` = {$ir['will']}, energy = energy - {$_POST['amnt']} WHERE `userid` = $userid"); To... $db->query("UPDATE `users` SET `will` = {$ir['will']}, energy = energy - {$energy} WHERE `userid` = $userid"); Then find... print "Choose the stat you want to train and the times you want to train it.<br /> You can train up to {$ir['energy'] } times.<hr /> Replace with.. print 'Choose the stat you want to train and the times you want to train it.<br /> You can train up to '.(int)($ir['energy'] /= 5).' times.<hr />'; print " Then find.. Times to train: <input type='text' name='amnt' value='{$ir['energy']}'/><br /> Replace with... Times to train: <input type='text' name='amnt' "; echo ' value="'.intval($ir['energy']).'" /><br />'; print" This was quick, but an example how to do it... As for the last part you may want to fix the print and make it all echo ' '; like i did here ...echo ' value="'.intval($ir['energy']).'" /><br />'; I was just too lazy to go through it and change it all lol...
-
If you post it, yes we can help.
-
In your gym.php look at all the UPDATE queries and see what $var it is, I can't remember which one, but in the query it should be like... energy=energy-$cost then look for that var $cost=.... and there you will find the calculations.
-
Nice checker, when will it work with other websites that are not of mccodes? Would be a good little tool to have, if it is really checking all, and not just partial.
-
Rather a product is bad or good, there will always be buyers of that product. Even people who know the flaws will buy it, just to be buying it, to check it out.
-
IMHO, this should have been there day one of mccodes development, and to make it even simpler, why wasn't the scripts ever put to test, or tried out, maybe most of all the bugs could been avoided in the first place. Mccodes will always be the worst engine ever. Even after all this time, of thinking of reasoning out the problems, it's kind of too late, but I guess better now that you offer such now.
-
For people who dont know how to use the item_add I helped another person with this in this thread... http://makewebgames.io/showthread.php/40804-Please-help-search-streets?p=267219#post267219 you can get an idea how it is done.
-
IMO, not nothing special, rather it takes long to get cash or not, everything on there has been done. Nothing different then the rest of the games.