Jump to content

Think

Inactive Member
  • Posts

    175
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by Think

  1. Denic, Luzzo, maybe it is only me, but I'm pretty sure he already knows how to do both of your replies. He said was looking for a better way. Ontopic: First of all, source is certainly the best way for this. From quest, I guess it sort of depends on how you are going to determine which players can enter. Usually it'd be with an item, so that first part sounds well thought. And a qf is also unavoidable unless you decide to store it someplace else [db e.g] as there's no other way of persistance, and you can't block scrolls in any way that I know (unless you want to check the players' inventory every time they login or something and remove the scrolls that go to your premium map)
  2. By the definition of bug: "A software bug is an error, flaw, failure, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways" It is one. The description says it does A, it actually does B and C.
  3. Hmm a quick doublecheck seems to somewhat confirm it. I never even tried but I saw they set a timeout of 300 for the actual item instance, asummed YMIR wouldn't send a packet for item ground removal unless someone picked it up - Does it?.
  4. Remember that you will need to change both client AND server for them to actually disappear.
  5. If you realize, the function is now called mysql_query rather than mysql_select - Change the call to the function.
  6. Which limit do you mean? And how is there any difference in usage? a ) NumberToMoneyString(1234567) b ) splittedvalue(1234567) Moreover, due to the operations your function perform, it's most likely slower. And it only accepts strings, not ints or floats (can be quickly ammended though).
  7. So what do you need help with, Kori? There are are no errors there.
  8. Really, a function LongToString on a CHARACTER class? Why don't you compare numbers (with the already existing function for string to number saving), rather than converting number to strings and comparing them? Isn't that a bit counterintuitive? I know I only complain but well... the concept is fine so it's hard to correct add anything there. (Please don't take it as anything else but as constructive criticism) And I was just pointing out this wasn't a definitive solution at all - As Sanchez said, anything clientside only is a very bad idea, anyone with enough experience will go over your block as if it weren't there. Regards.
  9. You did not understand my point. I know you can, I was talking about your implementation
  10. Dennis, you have to change all the packets as well as many use DWORD (unsigned long) if you want to go over the UL limit (I actually advise you against changing this, it's a lot of work, and I'm sure you don't need so much gold).
  11. Why don't you set 20000 as default so you don't create two variables for it?
  12. Yes the damage is normalized - I can't find where but I recall seeing it. Regardless, it's mathematically impossible for damage to be negative as there are no deductions from the initial value when you get to that point, so the negative part is the iCurHP indeed. I knew they could have negative but I thought they were marked as dead and nothing was further processed. Should have checked, my bad. However, that was not my point. I meant, what's the point of giving the player HP for killing an enemy which is already dead? I still don't find it logical... It's up to the implementation of course. I still prefer if(i > 0)
  13. Add an vnum column to your log table in the log database Add an account_id column to your levellog table in the log database As for the locale error, it's pretty much what HaveBeen said. Remember to follow the format in that file!
  14. I have tried several times and I can't reproduce this. What else do you need to do besides using Enchanted Blade? (By the way this fix applies to whatever that recovers hp so it should happen with items that have the bonus, no?) Now I'm lost... so if the damage you do is negative, or the enemy's HP is negative (i.e is dead, or should be), you get HP? How does that make sense?
  15. I still love the way Sublime Text handles projects and all the commands and shortcuts you have there. I do agree those features you point out are quite useful but I still prefer ST (Over Notepad++ as well). Give it a try, it's awesome
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.