Jump to content
MakeWebGames

Coly010

Members
  • Posts

    912
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Coly010

  1. that jqvamp didn't help me, but the idea of using SVG did a lot. I've got my problem sorted! Thank you :D
  2. Ok, so basically I have two images of a world map. One is in colour, the other is grey scale. Basically what I'm looking to do is display the grey scale map, then when the user mouses over a continent, I want that continent alone to switch to the coloured version. I have split the two images and thus have individual images of the continents in colour and not in colour. I'm just stuck on how: 1.) Display the world map. Do I display the full grey scale image? Or do I construct the world map from the grey scale images? 2.) If I display the world map, how do I detect what continent to display, and how do I display it in the correct place? 3.) How do I make sure that either approach will work for different screen widths? Its more of a CSS issue I believe, changing between the two images isn't too difficult, I know how to do that, its more how I set it up. Any help is much appreciated.
  3. I don't think you quite understand. If you sell a product, no matter what it is, you enter into a Sales and Purchase Agreement I believe. Thus, if you sell to someone a product and describe it as 100% complete without any bugs of any kind, then you sell them the product and its 99% complete or there is a bug in it, then they can demand a refund because you falsely advertised your product, and therefore provided your customer with a product that wasn't the product you had described to them. If I buy a car, and I'm told its a 5 door, and after I buy it I'm given a 2 door, then I can demand a refund as I wasn't given what I had bought.
  4. there is a very simple function that you can do to add an item to a users inventory:   item_add($userid, $itmid, $qty);   if i can remember from the top of my head
  5. Ill message him, but I'm not sure if he'll reply, I'm still waiting for him to get back to me about fonts used in a web design he made for a a game which I recently bought. Keep getting an error saying that I don't have remote access to use the font on his site.
  6.   Weird one lol? What's he using?
  7. I have, it's good for some of what I'm looking for but for the characters, I'm either too picky or they just don't have what I'm looking for. I'm thinking more old style RPG , where they had a dialog box for a character that was speaking then a picture of their head to the side of the box
  8. Bumping this... I'll happily pay a graphics designer to do some custom ones for me, if anyone is interested, please send me a message here, or email me [email protected] something similar to this style: http://www.shutterstock.com/pic-245642473/stock-vector-an-illustration-of-a-happy-smiling-soldier-in-camouflage-uniform-with-his-arms-folded.html?src=Mixudw8b4iK5SfGnUiYtJg-1-11&ws=1
  9. I don't think that would be overly difficult to do? You set up a preset list of prices for 1 of each item, let the user input how much of each they would like, multiply their quantity by the price for 1, send the price to paypal, send their customised order to the databae, wait for paypal to confirm the payment, auto credit the user their order. Shove a bit of jQuery into it to give moreless immediate feedback of the total price they'll be charged for their order.
  10. He didn't say everything
  11. Right well first thing i can notice is this: $sb = $db->query(“SELECT * FROM stats bonus WHERE userid = $userid”); believe that should be: $sb = $db->query(“SELECT * FROM statsbonus WHERE userid = $userid”);   next I would set the code up like this: $sb = $db->query(“SELECT * FROM statsbonus WHERE userid = $userid”); $nr = $db->num_rows($sb); if($nr > 0) { $bonus = $db->fetch_row($sb); if ($bonus['stat'] == 'strength') { $db->query("UPDATE statsbonus SET bonus = bonus + $stat, stack_amt = stack_amt + 1 WHERE userid='$userid'"); $db->query("UPDATE userstats SET strength=strength+$stat WHERE userid='$userid'"); print "You used an Elixir of Strength and can feel yourself getting stronger, your strength is now ".number_format($statt)." for the next 30 minutes."; } else { $db->query("INSERT INTO statsbonus VALUES($userid,$stat,135,30,'$text’,1)”); $db->query("UPDATE userstats SET strength=strength+$stat WHERE userid='$userid'"); print "You used an Elixir of Strength and can feel yourself getting stronger, your strength is now ".number_format($statt)." for the next 30 minutes."; } }   Let us know if that works, I noticed you had forgot the where clause in: $db->query("UPDATE statsbonus SET bonus = bonus + $stat, stack_amt = stack_amt + 1
  12. Here, this might do you better http://mccodes.com/viewmod.php?id=115 Its sniko's timestamp crons i believe. All the crons are there
  13. How would it make it useless? It compares the licence key stored in licence.txt to one that is IceColdCola's database that he has on his server, which is generated once a customer purchases the script. That way when a domain is scanned, if there is no licence.txt its an illegal copy and if there is a licence.txt then it compares the licence key within it to see if it exists in IceColdCola's database, if it doesnt its an illegal copy.
  14. No problem, it annoys me when people try to slander others (intentionally or unintentionally, i'm not getting into a debate about it) without knowing the full story, and after talking to you privately I can see that your post or two on the other thread does not reflect the sort of person you are.
  15. Hey man, I get that he came across cocky in like two of his posts in that thread, but you don't go and make a new thread to slander him. If you really wanted to say something to him, or say this to him anyway, you should have sent it in a private message. He said that developers will be able to make modifications? And if you gave him the chance he would have been able to explain that there are plans to release a free core version of the script, which is unencrypted allowing developers to make modifications for the engine. Storing certain things on a remote server can have its benefits although I'll admit the server will need to be top class to handle the requests, but if requests are split between two servers, surely that will cut down the resources being used by each server allowing for faster processing? Also, I never said he has lost potential customers, I said he "could" have lost potential customers, there's a difference. Plus if you knew the reasoning behind why he has decided to encrypt part of his code, you would sympathise and respect his decision to do it, although now he's having second thoughts about it because of people here. Good Job MWG users, you've successfully managed to make another user second guess and doubt their ideas and creations. Also, the engine auto updates so that any exploits that one dev finds can be fixed for all the users of this engine. To me, thats a brilliant idea, an exploit is being fixed for you for no extra cost. And if you wonder how something like that would work, you only need to look at the Mccodes Installer to get a general idea. It writes a database and a few files straight from the php code. I'm pretty sure the update system will do exactly that, except it will basically copy and overwrite files from one server to the other. [MENTION=69762]RCengineOwner[/MENTION] I wish you every luck with your product and hope it goes well for you.
  16. Encryption isnt all its hyped up to be? as far as my memory serves me there is not something about a reward for the hacker who can crack the AES encryption that is used for credit cards etc? Not 100% sure on that though.   UMM.. no harm to you, you may be a great programmer, but when you post something on a forum, its visible to everyone, including potential customers. You could have quite quickly just turned a lot of people against wanting to work with you, especially if they depend on you for their engine to work as half of it is hosted on your server. You make a post its public. Bad Publicity kills businesses a lot quicker than a bad product. Think of it this way. A celebrity, well known and well loved, says something racist on tv. Everyone is affronted and everyone hates that celebrity. The celebrity loses their chance at continuing doing their job as they will lose their contracts as no-one wants to be using a racist as their figure head do they? You come across as arrogant and cocky, customers can easily find that. a google search of your name "IceColdCola" could easily point them to this thread, as its been mentioned so much. Customers might want to do a bit of background before buying your engine. When your involved in business, you need to be careful. you cant just turn around and say "I don't care about you" I've seen [MENTION=68511]gamble[/MENTION] 's code, i wouldnt say he's inexperienced at all. Spelling mistakes might occur in the text sections like in the help file etc, other than that its grand, good, easy to read. I'm been alive 17 years, does that make me an expert on life? Nope, didnt think so. Time is nothing, time gives us the means to learn. But some people learn faster, some people learn slower. You could be doing it for 6+ years but someone doing it 3+ years could be a hell of a lot further than you in the field. It annoys me when people on here make false claims against the experience or skillbase of another person without actual proof of it.
  17. There's nothing wrong with having an extra line of code in your file? What difference does having 3 extra lines of code make? From your mentality of being able to do something in one line of code, you could do your while loop like this:   while($r=$db->fetch_row($db->query("SELECT * FROM users"))){if($r['userid']==$userid){echo("We found you!");}} i one lined my whole while loop. It's ugly as hell, and if something goes wrong I have to look through that full one line to try find my problem. PHP might tell me my error is in line 46, but if I have 8 different things going on in line 46, I have to look at all 8 to try and see where my problem is coming. Readability is a developers best friend. If you can scroll through your code and have everything happen line by line, you'll know exactly what is happening in your file and why it is happening. It makes it easy to edit and fix if something goes wrong. As far as I'm aware extra lines of code have never made a speed difference to actually loading a page and if it does its negligible because users won't notice it. Also as Kyle says, you need to make sure there is data to loop through. Your one liner as my mine, doesn't give the opportunity to do that effectively in my opinion. Yeah you can use a try and catch block, but I personalu believe that checking if there are rows matching your sql query is a better way of doing it.
  18. Lol tell that to all the games running mccodes
  19. Not sure if you understand what Kyle is doing here but I'm going explain two ways that it could work. Use Sim's query to pull only the specific items from the database or just pull the users entire inventory, then whilst it iterates through it if the item Id of one of the specified items appears it'll trigger the if statement. That way you can do whatever code you like then with it
  20. Does anyone know anywhere I can get military style vector art and illustrations? I've been Googling for ages but can't seem to find what I'm looking for. I'm willing to pay so it's not to say I can't find it because I'm only looking for free graphics. Basically I want a face set of military characters, along with some other military art work , like army ranks, troops, vehicles. Any ideas?
  21. You're left side bar in the game is too long for my liking. You're energy/will/brave etc bars are cool at the start but after a while get really annoying. Slow down the highlight, and slow down how often it happens. instead of it just bunching back and forth. have the glimmer pass through it every 5 secs say. The blue text for "Mailbox(1)" is extremely hard to read. Change the colour of that.
  22. During the summer I wasn't on the internet for about 3 weeks, too much going on. Was volunteering in Lourdes for a week, where we had no internet. Then when I can back I was volunteering at local youth groups, didnt get the time to boot up the computer, or else I was too tired so I just put on Game of Thrones and relaxed.
  23. Yeah i have to agree, readability is a hella important to me. makes it easier to change / fix
  24. I had the same problem and was the reason stopped with my mccodes project. The code style in the files was disgusting to me. There are parts that have Empty($var) If $var = 0 ; then that empty will return true telling you you haven't filled the form out right. So I would change the !$price to !isset($price) etc
  25. Coly010

    eh? Really?

    Lot of stuff to transfer
×
×
  • Create New...