-
Posts
863 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Events
Everything posted by Razor42
-
Dark Knight Rises( Spoilers)
Razor42 replied to Unreal's topic in Media Entertainment (FKA Tv Shows)
Personally I have loved the Dark Knight films and The dark Knight Rises was no let down. Personaly for me the Dark Night's have really showed an excellence in acting, especially in the bad guys in my opinion, I really enjoyed Bane in this film and loved Joker in the Dark Knight before this one. The dark feeling behind this film just makes it all the more better, One of the best film trilogies of all time in my opinion. Also loved the ending. -
Just a small update on where i'm up to. After testing there were many errors in what I had coded so I scrapped it and re-coded it all. I have coded so staff can add dogs to kennels, tested and works perfect and I have also re-coded the kennels but having a few errors, nothing major shouldn't be to hard to sort. Shall update some screenshots soon.
-
And if it were to be done I don't feel negatives would be a good idea, for the reason that someone who dislikes someone could just give them a negative everyday.
-
But isn't your Rep just changed by number of posts and the moderators? +1's are better because they are opinions of everyone from the forum.
-
@Chav, Sort your site out, you $0.00 deal could get put under false advertisement and lead to someone having a very nice free webhosting package. After all your are a buisness. I myself was walking past a jewllers one day and saw that there was a watch. A bretling in the shop window with a price tag of £200.00. I knew this was wrong as I am a keen wtach admirer and knew the watch was worth over £2,000, so I took a photo of the watch with the price tag under it, walked in the shop and demanded I wanted that watch for that price as that is what it was advertised for and I got the watch for £200.00!. And another thing, Guest is not a friend of mine but when your talking to people like that expect to be come down on, give me your address if you want, I'm sure some of the people could explain my body physique to you. I'm 15 stone, pure muscle and I am also been Thai Boxing for 10 years and doing MMA (Cage Fighting) for 5. Stop making a fool of yourself bud.
-
How come the forum doesn't use +1's? They can be a good indication to new comers as to whom are the respected and trusted pople on the forum because after all, your not going to have many +1's if you are not trusted. Just a random thing that popped into my head and wanna know the anwser :).
-
Just created a new table and now works perfect. Thank you.
-
My dogs table has many columns. Would creating another table and just adding these columns fix the error?
-
Hi there, ran into an error and really strugling to fix it. If someone could help that would be great! The error is: QUERY ERROR: Column count doesn't match value count at row 1 Query was INSERT INTO dogs VALUES('Pitbull', 'Male', '100') Here is the function in which the error occured: function adddog() { global $db, $ir, $c, $h, $userid; $cost=abs((int) $_POST['dogscost']); $strength=abs((int) $_POST['dogsstrength']); $endurance=abs((int) $_POST['dogsendurance']); $speed=abs((int) $_POST['dogsspeed']); $guard=abs((int) $_POST['dogsguard']); if($_POST['dogsbreed'] && $cost) { $db->query("INSERT INTO dogs VALUES('{$_POST['dogsbreed']}', '{$_POST['dogsgender']}', '$cost')"); $db->query("INSERT INTO dogsstats VALUES('$strength', '$endurance', '$speed', '$guard')"); print "Dog {$_POST['dogsbreed']} added."; stafflog_add("Added dog {$_POST['dogsbreed']}"); } else { print "<h3>Add Dog</h3><hr /> <form action='staff_dogs.php?action=adddog' method='post'> Breed: <input type='text' name='dogsbreed' /><br /> Gender (Male/Female): <input type='text' name='dogsgender' /><br /> Cost (Money): <input type='text' name='dogscost' /><br /> Strength: <input type='text' name='dogsstrength' /><br /> Guard: <input type='text' name='dogsguard' /><br /> Endurance: <input type='text' name='dogsendurance' /><br /> Speed: <input type='text' name='dogsguard' /><br /> <input type='submit' value='Add Dog' /></form>"; } } Would be great if someone could help me out here.
-
I may have misunderstood what you are trying to do, also the fact I may just be wrong but should it be: $rs=mysql_query("SELECT COUNT(*) AS vote_count, round(avg( rating ),1) AS avg_rating FROM flir_userrating WHERE avg_rating > $ratingvalue AND vote_count > $ratingcount") ; $rankall = mysql_fetch_rows($rs); I'm most likely wrong, haha.
-
Hi there MWG users, Just though i'd let you all in on what i'm currently working on! Advanced Dogs! What it does? Allows the owner of the game to create a dog which will then be added to the kennels for people to buy!. When creating a dog the owner can choose the dogs Breed,Gender,Cost and also the dogs stats which consist of Strength,Endurance,Speed & Guard!. Once a dog has been created it will be added to the dog kennels where players will be able to buy the dog. Once a player has bought a dog they can do serveral things with there dog. These include training the dogs stats at the dog gym, training dogs will require using the dogs energy and also concentration. They'll be able to fight their dogs against other users dogs and also race their dogs against other users dogs. The dogs stats will effect the outcome of these events. Strength & Guard for attack, Speed & Endurance for racing. Players will also be able to buy houses for their dogs which will make the dog happier and also increase its concentration which in turn means the dogs can earn more from training. Dogs will also have hunger, thirst and moral stats. Dog owners must feed their dogs so there dog doesn't starve to death, Give their dog regular drinks so their dogs don't die of dehydration and also play with their dogs so they don't become unhappy and run away. Dog owners will also be able breed one of their dogs with another one of their dogs. The dogs must be the same breed and also one must be male and the other female. If breeding is successful then they will have a puppy of that breed. Dogs will also have levels which will increase by earning exp from racing and fighting. The greater a dogs level the more energy it will have and the more health it will have. There will also be a dogs market for the players to be able to add their dogs to so they can sell them. Another thing is players will be able to "leash" their dogs and take them into battle with them. If dogs get hurt fighting then they are sent to the vets where they will spend recovery time, players will not be able to use their dogs in recovery time. Players will also be able to give their dog a name. There will be a dogs item shop where players will be able to buy dog collars and various other dogs items which will help the dog when fighting and running. These are the current ideas, as I go along I will add more things and I have also probably missed a few things out. When will this be finished? Unsure due to the fact I am busy with more important projects before I set this up including http://www.cookiegaming.com and also due to the fact I am busy with real life issues also but i'm hoping in the next week or two. Also due to the fact I am constantly adding things and ideas as I go through this may knock back the release date a few days. Whats done so far? So far I have coded so that owners can add dogs via the staff panel, the dog kennels for people to buy dogs from, the dogs gym, dog owners manage your dogs section and also the dogs stats, crons and levels, energy,concentraion,hunger, thirst & moral. Free or Paid? Currently I am planning on releasing this as a paid mod but I am not 100% sure, I may just end up releasing for free.
-
- 1
-
-
Find ways to attract players to Einherjar - The Viking's Blood
Razor42 replied to jimmytran's topic in Browsergames
The game looks amazing. -
I myself am a begginer and learner but I feel if more "stimulating" topics were opened between the more advanced programmers on this forum discussing different languages in detail etc. Then I could learn from these types of topics as I am a keen learner and I am advancing in my skills at a quick rate. So not only would these discussions keep the advanced programmers happy, they'd also keep the learners happy resulting in a overall more happy enviroment!.
-
From personal experiences with Skooda, he has very little knowladge of coding and has therefor definatly not created a custom engine!
-
Haha thanks for that DJK :P
-
Wasn't bitching? Simple showing people what I had found!
-
http://www.codeforest.net/php-myth-busters-using-single-quotes-on-string-is-faster-then-double-quotes Something I found while googling about :)
-
Hhaha, the guy lives in a fantasy world.
-
I didn't do that, orginal mccodes file.
-
In my experiences with Cavella, He will try to rip you off and he is also an arrogant D*** who believes he is better than everyone else! Apparently he is miles better than all the "stupid, one tracked minded, Mccodes brainwashed" programmers on here, Also he tells of succesful, amazing websites? Yet theres non to show that i'v seen? Also seems to believe he is a genius and alot smarter than me because he is a better coder than me? How does that prove your smart? I myself am not an amazing programmer, Yet I have A Levels in Law, Psychology and Sociology and I am currently on my way to getting a degree in Law and becoming a Laywer, Wouldn't exactly call myself stupid! I'd advise everyone to stay away from working with this guy.
-
Thank you Illusions :)
-
As I said this was just another step in my learning, trying to improve on everything I can but only been learning for 4 weeks so got a long road of learning ahead of me :) Will deffinatly take into consideration what you've all said and glad some of you's like it.
-
Hell MWG! Another mod iv created to help progress my learning! What this mod does? Players can buy bodyguards, bodyguards will boost up the players strength and guard. Players will be able to upgrade their bodyguards for an amount of crystals. The more they upgrade their bodyguards the more they will boost the users attack and defence. The maximum level for bodyguards is 10. So lets get started :D First run these into phpmyadmin: ALTER TABLE `users` ADD `guards` INT(11) default'0'; ALTER TABLE `users` ADD `guardlevels` INT(11) default'0'; ALTER TABLE `users` ADD `guardsattack` INT(11) default'0'; ALTER TABLE `users` ADD `guardsdefence` INT(11) default'0'; Then create a file called bodyguards.php and add this into it: <?php /* This is free work of Razor42! Do not try to re-sell this! */ include "globals.php"; print "<h3>Hi there and welcome to ".$set['game_name']." Security.</h3>"; if($ir['guards']>0) { switch($_GET['action']) { case "trainbg": trainbg(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>99999) { print "Congratulations, you bought a bodyguard for \$100,000!<br /> <a href='bodyguards.php'>Manage my bodyguard!!</a>"; $db->query("UPDATE users SET money=money-100000 WHERE userid=$userid"); $db->query("UPDATE users SET guards=guards+1 WHERE userid=$userid"); } else { print "You do not have enough money to buy a bodyguard. <a href='explore.php'>Back to town...</a>"; } } else { print "Sorry you don't currently own a body guard, Would you like to buy one for \$100,000?<br /> <a href='bodyguards.php?buy'>> Yes,I'd love a bodyguard!</a>"; } } function index() { global $db, $ir,$c,$userid,$h; print "<b>How may we help you today?</b><br /> <table border='1' width='50%' cellspacing=2 cellpadding=5 class='table'> <tr> <td width='25%'><b>Train Bodyguards</b><br /> Here you can upgrade your bodyguard.<br /> It costs 1,000 tokens to upgarde your bodyguard.<br /> Your bodyguards level is ".number_format($ir['guardlevels'])."!.<br /> Your bodyguards attack is ".number_format($ir['guardsattack'])."!.<br /> Your bodyguards defence is ".number_format($ir['guardsdefence'])."!.<br /> <form action='bodyguards.php?action=trainbg' method='post'> <input type='submit' name='trainbg' value='trainbg' /></form> </tr> </table>"; } function trainbg() { global $db,$ir,$c,$userid,$h; if($ir['crystals'] < 1000) { print "Sorry you do not have enough crystals to upgrade your bodyguard!."; } elseif($ir['guardlevel'] > 10) { print "Your bodyguard is already the maximum level!."; } else { print "I understand you want to upgrade your bodyguard, is this true?<br /> <a href='bodyguards.php?action=trainbg'>> Yes he needs upgrading!.</a>"; $guardsattack=10000; $guardsdefence=10000; $db->query("UPDATE users SET crystals=crystals-1000 WHERE userid=$userid"); $db->query("UPDATE users SET guardlevels=guardlevels+1 WHERE userid=$userid"); $db->query("UPDATE users SET guardsattack=guardsattack+$guardsattack WHERE userid=$userid"); $db->query("UPDATE users SET guardsdefence=guardsdefence+$guardsdefence WHERE userid=$userid"); $db->query("UPDATE userstats SET strength=strength+$guardsattack WHERE userid=$userid"); $db->query("UPDATE userstats SET guard=guard+$guardsdefence WHERE userid=$userid"); print "Your bodyguards level has now upgraded<br /> His level is now ".number_format($ir['guardlevel'])." , His attack is now ".number_format($ir['guardsattack'])." and his denfence is now ".number_format($ir['guardsdefence']).". Congratulations!.<br /> <a href='bodyguards.php'>> Back</a>"; } } $h->endpage(); ?> Should work perfect as I have tested and works perfect for me. Hope you all enjoy :) Thanks, Razor42!
-
Simple banking System with Loans & Investmenst!
Razor42 replied to Razor42's topic in Free Modifications
Thank you Dave, Yeah I am going to upgrade this mod when I get time :)