Jump to content

Syreldar

Developer
  • Content Count

    911
  • Joined

  • Last visited

  • Days Won

    35
  • Yangs

    526 [ Donate ]
  • Country

    Italy

Syreldar last won the day on January 22

Syreldar had the most liked content!

Community Reputation

442 Dominating

About Syreldar

  • Rank
    Chivalric
  • Birthday 12/22/1997

Informations

  • Gender
    Male
  • Location
    Italy

Profile

Skills

  • Mapping
    Intermediate
  • 2D
    Beginner
  • C++
    Advanced
  • LUA
    Expert
  • Python
    Intermediate
  • SQL
    Advanced

Recent Profile Visitors

6,144 profile views
  1. Don't be scared using loops by any means, they work fine and fast.
  2. Good job, glad to see someone post in this section every now and then. Let me help you with something: -- Customizable function count(level) local ranges = { {["min"] = 110, ["count"] = 20}, {["min"] = 100, ["count"] = 18}, {["min"] = 90, ["count"] = 16}, {["min"] = 80, ["count"] = 14}, {["min"] = 70, ["count"] = 12}, {["min"] = 60, ["count"] = 10}, {["min"] = 50, ["count"] = 8}, {["min"] = 40, ["count"] = 6}, {["min"] = 30, ["count"] = 4}, }; for _, range in ipairs(ranges) do if (level >= range["min"]) then return range["count"]; end -- if end -- for return 0; end -- function -- Dynamic function count(level) local ranges = {30, 40, 50, 60, 70, 80, 90, 100, 110, INSERT_MAX_LEVEL_HERE}; local multiplier = pc.ispremium() and 1.5 or 1; for index = 1, table.getn(ranges) do if (level >= range[index] and level < range[index+1]) then return (2 + 2 * index) * multiplier; end -- if end -- for return 0; end -- function One more thing I can tell you is that if the argument you're going to pass to the function is always the player's level, there is no point in making it an argument in the first place, you can just call pc.get_level() instead, save it in a var if you prefer.
  3. So, we sorted it out with the other guy, turns out I simply forgot about him due to the huge amount of request I've got (i got some guys who can confirm i told them they'll need to wait some weeks for their requests, and of course i didn't let them pay until then). Unironically, the same thing happened to you, I forgot about you too. Can you contact me on skype so we can sort out these bugs you're talking about? Because what I said is true, my official dungeons quests are all tested and anyone can confirm they work just fine.
  4. Indentation and code are indeed both romanian level. Also missing quite a few "end" here and there, no wonder it doesn't compile it. Use of global vars is not recommended, either.
  5. Yes, it's 5 seconds waiting since 2004.
  6. According to the error, you're trying to spawn a monster with vnum 3200, instead of the group vnum 3200.
  7. ? enter triggers upon entering that state. The only thing it currently does is setting the count to 0 upon entering the state.
  8. It's not visual. This is a known bug, it fails to do damage on high attackspeed, but if you keep it low it deals damage normally.
×
×
  • 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.