Jump to content
MakeWebGames

Seker

Members
  • Posts

    579
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Seker

  1. Update time. I finally finished the attack page. There was a bug with losing experience on every click. It's all been sorted, now. One feature I like about the new attack is, it checks if your opponent has equipped weapons. If not, they use their fists. If they only have a secondary equipped, it uses that. Otherwise, it uses their primary weapon. Currently re-tooling the staff page. There were some issues with editing items and viewing users' inventories. Still to do: -- Re-work all log tables and log page (Structure has changed a bit since they were first created) -- Custom Shops Page/tables It's very close to being ready!
  2. And, once the conversion is complete, as I haven't had time to check out NWE, I'll have a few mods to offer, as well.
  3. This. Try: $votestaff = array('1','2','3'); if (in_array($userid,$votestaff)) { //insert code here }   Something like that, I believe.
  4. Always the simplest of things, isn't it? :P
  5. That's kind of interesting. Good job, sniko.
  6. After NOT NULL on the `about` and `exp` lines, you have a space before the comma. Could be messing with it, maybe.
  7. What is the NPC's speed/agility? And what is yours? It might not be a problem with the coding, just the stats.
  8. Maybe for the first SQL: CREATE TABLE IF NOT EXISTS `staffaps` ( `ID` int(11) NOT NULL default '0', `about` varchar(max) NOT NULL, `exp` varchar(max) NOT NULL, `position` int(11) NOT NULL default '0' );   Though, I do not know why text wouldn't work. For the second SQL: INSERT INTO `settings` ( `conf_id` , `conf_name` , `conf_value` ) VALUES ( 'NULL', 'stafflock', 'Locked' );
  9. You still haven't even fixed it. Change this: <a href="index.php" >Go Home</a>";   To this: <a href='index.php' >Go Home</a>";
  10. Worst case, embed Pandora or Youtube in an iframe somewhere on your site. Or have it static, and iframe your game if you don't want interruptions in the music.
  11. I actually didn't know you can do it this way. Though, I don't know why anyone would want to. It's a lot messier, in my opinion.
  12. No, instead they just say "Hey, you MRES'ed an integer." No one's going to believe you never make a mistake. I don't even understand the whole debate about it.
  13. I'm sorry, but I still find this post completely unnecessary and potentially harmful to new coders. Is the average fresh fish going to know that the likelihood of having 100,000+ for calls that loop over 1,000 times is extremely low? Probably not. Again, I just feel like, many newer coders will take this advice the wrong way. Not to mention, you just know someone's going to debate the results. I say, this post is more trouble than it's worth.
  14. And here's your nightly update! The auction and its cron are both 100% finished and, so far, bug free. -- Seller specifies the minimum bid amount -- Seller specifies length of auction, in days -- Can sell for cash or crystals -- If no one bids, item is returned to seller when time runs out and seller receives an event -- Each bid updates the minimum bid to the current highest bid + 1 -- When time runs out, winner receives item and an event. Seller receives highest bid. -- Auction lists how much time is left in days, hours, or minutes -- Seller cannot remove auction Screenshots: Auction: [ATTACH=CONFIG]553[/ATTACH] Adding an item: (Thanks for the dropdown idea, sniko.) [ATTACH=CONFIG]554[/ATTACH] Auction Events [ATTACH=CONFIG]555[/ATTACH] *EDIT* Item sold event says "market" instead of "auction." Fixing it right now.
  15. It looks like it's because you're using double quotes to wrap both your string and your echo/print. For example, it should be either this: print "<a href='index.php'>Go Home</a>";   Or this: print '<a href="index.php">Go Home</a>';   But neither of these two: print "<a href="index.php">Go Home</a>";   print '<a href='index.php'>Go Home</a>';   See the differences?
  16. Take this out: target="_blank"
  17. The contradictory nature of your posts is so off-putting, I can hardly pay attention to anything else you say. Do you actually read what you type?
  18. Oh, trust me, it's not always a hit like that. More often than not, I confuse myself.
  19. I think the biggest problem comes from new coders who do not completely understand what they're reading. Some might see "Single quotes are faster/more correct/whatever" and think "I need to go through every page and re-do all of my quotations, else it will slow my server down and oh noooo's!" In this case, again, the difference is so negligible in the everyday circumstance, such a debate only causes unwarranted worry on the part of the reader.
  20. There is another way, though I confess I don't know how to do it. Could just stream from sites such as Pandora and the like. Also, on a gaming network I've been part of for some time now, they used to have it set up so that you could link to a song on certain sites and the song would play when anyone visited your profile. Note that, for obvious security reasons, this was eventually discontinued, and I wouldn't advise it, but yeah, there are ways to do it.
  21. You don't seem to understand a single piece of help being tossed your way. I don't know how you think you'll be able to run a game if you cannot understand the simplest of instructions.
  22. Go figure. I actually was able to do it. :P And, I think you were right, sniko. It's much better this way. [ATTACH=CONFIG]551[/ATTACH]
  23. I'll help out where I can. Always looking for more practice. :)
  24. Yes, check your link address wherever the name i listed, as well. I often forget to type ".php" when I'm in a hurry and I'll get the same problem.
  25. Array. Of course it's an array. :P Thanks a bunch, sniko. Will get right on that.
×
×
  • Create New...