
Bennyh789
Members-
Posts
164 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Bennyh789
-
Hey Kyle, I am trying to implement this mod into my game however it all seems to work apart from inserting the class Id into the users table it's setting it at 0 Not sure if its because o have a register and a validate page Any help would be great Also the below insert query is in our validate page as that's where it inserts the new user into the database not sure if that makes a difference This what we have: r=$db->fetch_row($q); } $_POST['gender'] = mysql_real_escape_string($_POST['gender']); $db->query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup,player_class) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 10, 10, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP', '{$_POST['classID']}')"); $i=$db->insert_id();
-
So in other words it really does mess up mccodes a lot!!! Great just what I needed
-
I guess this goes here but feel free to move it mods. So just received an email from my host saying that it will be upgraded within the next few days to 5.3. Will this cause any issues for my game running in mccodes v2. If so what issues and are they difficult to fix Thanks Ben
-
Surely someone can shed some light on this for us? In PayPal we have the ipn set up as: http://www.ourgame.com/credits.php?action=payment_received And we can see PayPal is running the URL after payment but then nothing is happening what so ever Thanks
-
Sorry MTG I haven't been around lately and haven't been here to say thank you for all the work you have done for the community. I have yet to add all the mods but this one I have. Below is a working copy some very very minor things missing function gang_staff_delete() { global $db, $ir, $gangdata; if($gangdata['gangPRESIDENT'] != $ir['userid']) { echo "You don't have access to this"; $h->endpage(); exit; } if(!isset($_GET['ans'])) { ?>Once you have disbanded your gang, that's it. This can <strong>not</strong> be reversed Are you sure you want to do this? <a href='yourgang.php?action=staff&act2=delete&ans=yes'>Yes</a>ยท<a href='yourgang.php'>No</a><? } else { $select = $db->query(sprintf("SELECT `userid` FROM `users` WHERE (`gang` = %u)", $gangdata['gangID'])); while($row = $db->fetch_row($select)) { event_add($row['userid'], "Your gang has been disbanded"); } $db->query(sprintf("UPDATE `users` SET `gang` = 0 WHERE (`gang` = %u)", $gangdata['gangID'])); $db->query(sprintf("DELETE FROM `gangs` WHERE (`gangID` = %u)", $gangdata['gangID'])); $db->query(sprintf("DELETE FROM `gangwars` WHERE ((`warDECLARED` = %u) OR (`warDECLARER` = %u))", $gangdata['gangID'], $gangdata['gangID'])); $db->query(sprintf("DELETE FROM `gangevents` WHERE (`gevGANG` = %u)", $gangdata['gangID'])); echo "Your gang has been disbanded.<br /><a href='index.php'>Home</a>"; } }
-
What doesn't 'work' on it?
-
^^^^^^^^^^^^ As above I'm afraid The game is in development with a view to release very soon and I'm sure spikereloaded would say the same that the game is not and will not be for sale at any time At least you've asked here and haven't been scammed. I'm also interested in his email that he's used Thanks Ben
-
Hello all, I am using v2 and I am looking to send an email to the user when they receive a mail. I have put the code with: mail( $ir['email'], Testing email Thanks, Bennyh ", "From: [email protected]"); print "Message sent.<br /> <a href='mailbox.php'>> Back</a>"; } The code above obviously sends the email to the sender and works well however how will I enter the code so the email goes to the reciever? I have tried all sorts of different combinations with no success a few below: mail( $r['email'], mail( $to['email'], mail( userid = $to['email'], Thanks in advance Ben
-
Just the gang house then you get 5 stars from me and if your in the uk a box of cookies sent to you!!!
-
As soon as I get home will fire something across!!! Any idea when the other ones will be coded? Ben
-
Thanks a bunch mate What's your PayPal? I will throw a small amount of cash your way just for your efforts when you finish the other couple of requests And above is right there is still a community here!!! Thanks again look forward to seeing the other 2 Will add them to my game tonight and have a play around Thanks again
-
Wow very quick start thank you!! Everything you complete I will add on my game ASAP. Whilst you have done the above code would it be quick to create it so the user can actually delete their gang if they wanted as now they are stuck as they HAVE to transfer the gang to someone else before they can leave.
-
Afternoon, What a generous offer!! I was looking at an advanced gang system. I have seen dribs and drabs of things but all very buggy and exploitable. My ideas are: A gang house; when a gang is started the gang also starts with a default house which all members of the gang can train in. The house can of course be sold and upgraded. An armoury; a gang armoury that works would be great. So weapons can be loaned and 'summoned' back by leader. Armour would be nice in this as well Delete gang function: as far as I know v2 doesn't come with a gang delete option would be great if it can be added on Allies: if 2 gangs decide to be allies then they cannot war each other for set amount of days. Or have it so if they are allies when one goes to war their allie automatically starts war with the 3rd gang Kidnap: seen this before but again buggy. A gang can kidnap a random member of another gang. The user is then frozen out of the game for say an hour unless the ransom is paid. If it is not paid then the user goes to hospital All this would be great in v2 and would DEFINATLY give the gang system a spicing up!! Thanks Ben
-
I am having the same trouble Could anyone please test my site for flaws http://www.endoftimez.info Username: emailtest Password: reloaded There are no crons running on the game so don't get put in hosp or jail lol Thanks in advance I have credited the account with 10 million and 50 zombie heads in case they are needed Have fun hacking!!
-
Hi Dave, I think something like this would be perfect for my game that is going to be released soon after nearly a year of hard work. I have no idea what this sort of thing is worth if you could start off with a figure you may have in mind? Thanks Ben
-
Is this attack.php? From a very quick scan of it, it's looks exactly like mccodes. I can upload mccodes attack.php and see if that works for you? You DEFINATLY can 'swing and miss' on the code I have
-
Just a quick line to say I bought this mod from sniko and I couldn't be happier with it!! It works as it should and sniko have fantastic support Thanks Ben
-
I know I for one would be interested if you re wrote some of his mods. I was very tempted to buy a few before but with Cronus not being active I didn't want to purchase in case of errors etc
-
Hmmmm I'm afraid it is no where near worth what your asking. It has no users so one would assume no income and it looks like its just mccodes dumped onto it and the colours changed
-
Exactly and when I said no he offered every service under the sun. Mods, security etc anything to try and get my Cpanel details
-
To do any work this bloke demanded my Cpanel details for him to so it quicker Obviously they were not given Just be cautious people
-
Mate this seems too suspicious it really does there seems to be about 4 people fighting over a poor game?
-
Your are lightning aren't you?
-
I take it your lightning? I have spoke to him on Skype a few hours ago and he states he bought this game yesterday?