• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. ZooTeam

    [BRAZIL] War-top 8.6 | WAR | Top100 Remake | Real Tibia War 2009

    Bump, back after long time, let's see..
  2. ZooTeam

    Traverse _G

    Well of course machine language is procedural :p, that's not what I mean. When talking about recursion it is important to notice how languages treat their functions, the sense of having functions as just values help recursion because it offers more flexibility. Though LUA mixes procedural and...
  3. ZooTeam

    Traverse _G

    Hmm, I'm not sure how different it would be, I wouldn't be so fast to say nested loops since LUA is no procedural language, but meh, whatevs, it's fine.
  4. ZooTeam

    Traverse _G

    I've no idea what that is, but you may try recursion in this case, no?
  5. ZooTeam

    Lua Different Values

    What's with x, a, y, z, c??? Variables should have proper names that indicate what they are! I'm not sure what you are trying out, but if you are trying to remove a quantity and it can either be one item or the other you are better of making a kind of exchange rate or something.
  6. ZooTeam

    Re-Learning C++

    a and &a[0] are the "same"!! Remember how pointers and arrays are associated.
  7. ZooTeam

    Lua addEvent(callback, time, ...)

    What you're doing is fine, just remember that defining playersaround inside the for loop means playersaround will only have that value in that scope, that is the variable will be defined only in the loop, you might want to change that.
  8. ZooTeam

    Solved Is this really happening? there is max amount of varibables you can make inside the function?!

    Put them into a table. Max ammount is 256 and in practice 200. I believe you have less than 200 there though, but a table would be ok, and also make it look somehow more organized.
  9. ZooTeam

    Whi World - Open Source Server with Configurable Features

    Next time just make a little program that writes that up for you maybe (;
  10. ZooTeam

    What has the drop in OT Players been?

    No new generations and people get old. That's it..
  11. ZooTeam

    Necronia - Discussion

    I might not be able to watch it at all, any day.. Ha, but another upvote here!
  12. ZooTeam

    Necronia - Discussion

    What about open beta? If you ask me, I think you should have at least a couple of weeks or a month of open beta. I know you have really though everything through, but anything can happen, specially server-side. Just suggesting to have a proper open beta when moving to the dedi and also showing...
  13. ZooTeam

    Necronia - Discussion

    Expected release? 2016?
  14. ZooTeam

    Solved [PHP] How to order by a storage

    Try putting $resets = ... in the foreach loop.
  15. ZooTeam

    Solved [PHP] How to order by a storage

    Yup, forgot: $skills = mysql_select_multi("SELECT `name`, `level`, `experience`, `resets` FROM `players` WHERE `group_id` < 2 AND `name` != 'Account Manager' ORDER BY `resets` DESC, `level` DESC, `experience` DESC LIMIT $limitt");
  16. ZooTeam

    Solved [PHP] How to order by a storage

    reset_ranks should be $reset_ranks = array("Unranked", "Bronze", "Silver", "Ore", "Platinum"); Also: $skills = mysql_select_multi("SELECT `name`, `level`, `experience`, `resets` WHERE `player_id` = '". $playerID['id'] ."' ORDER BY `resets` DESC, `level` DESC, `experience` DESC LIMIT $limitt")...
  17. ZooTeam

    Solved [PHP] How to order by a storage

    No prob, do post here if you have any more doubts, I don't really have the time to make the code and test it out but I can help you with any doubts you have! Good luck.
  18. ZooTeam

    Solved [PHP] How to order by a storage

    To create a new column in your players table you should do this: ALTER TABLE `players` ADD `resets` INT NOT NULL DEFAULT -1; You will have to make two functions named setPlayerReset and getPlayerReset or something. This are not very hard to do. If you want to keep it as a storage value instead...
  19. ZooTeam

    Solved [PHP] How to order by a storage

    To make it easier and not having it be two arrays comparing each other, I would instead of making it a storage, make it an actual colum on the players table. This is also cleaner and makes more sense since resets are something with more importance. If you choose to use resets as a column in the...
Back
Top