• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. QuaS

    [C] Arrays?

    You're not putting there a numbers but a array with numbers. it's same thing as i did.
  2. QuaS

    Stairs push, how to fix?

    game.cpp bool Game::playerMoveCreature(uint32_t playerId, uint32_t movingCreatureId, const Position& movingCreaturePos, const Position& toPos, bool delay)
  3. QuaS

    [C] Arrays?

    My one works for any type (as long as this type has overloaded == operator), doggy code has one small error. I'll let u figure it out urself. template<typename T> bool isInArray(T *array, int range, T *lookingForArray, int rangeTheSecond) { for(int i = 0; i< range; i++) for(int j = 0; j <...
  4. QuaS

    ghost option for other players

    It cannot be done fully. Tried once. It can be only done partially.
  5. QuaS

    Script Problem.. Quest Box

    GL with ur A programming /b/ro. I am goin to take a sleep since i am kinda tired due irregularry sleepin'. You should do the same, since u're tired too, instead lookin thru a forum.
  6. QuaS

    HOW DO I ADD otserv.z_ots_comunication TABELS IN MY ADMIN.PHP?

    Since you don't know how to do it, you shouldn't has an OT.
  7. QuaS

    HOW DO I ADD otserv.z_ots_comunication TABELS IN MY ADMIN.PHP?

    By sql function "Create"
  8. QuaS

    Script Problem.. Quest Box

    Oh Rly Menz? You're not the only one who havent slept good since few days, but still got some force left to point your failures. Don't even know what the "Programming A" is.
  9. QuaS

    [C] Arrays?

    template<typename T> int isInArray(T *array, int range, T &value) { for(int i = 0; i< range; i++) if((T)(array+i*sizeof(T)) == value) return i; return -1; } Something like that. Usage: int t = isInArray<string>(array, arraysSize, value); Anyway i'd use a vectors.
  10. QuaS

    Pls help me with a simple script! Rep+++

    can u even copy this function?
  11. QuaS

    Pls help me with a simple script! Rep+++

    Already answered that is needed to be edited.
  12. QuaS

    Scarab coin teleport script

    If you want check if a talon is placed on basin whlile entering a mystic flame, you should use onStepIn function.
  13. QuaS

    Script Problem.. Quest Box

    Well, i just was pointing failures of you both, which comes from disability to proper reading. Actions speak louder whan words. Well seems i've become an asshole cuz i was 'helping' ya with ur misunderstanding, and have enlighten you. Your opinion. Basics of C are not hard. Depends what you're...
  14. QuaS

    Script Problem.. Quest Box

    Failures'd maakes me sober ^^ Better go sleep cuz ur reading skill either fails
  15. QuaS

    Script Problem.. Quest Box

    That amount of fails'd make me sober either;) Good night.
  16. QuaS

    Script Problem.. Quest Box

    Well, as u said u're one not thinking right now. 'return' makes current function to finish. in lua 'return' don't have to get a value to return to. Since i know a bit tfs sources and how does action works, most of script doesn;t need to return any statement. true means a script successed...
  17. QuaS

    Script Problem.. Quest Box

    1st. A thing lies in "reading", "writting", "understanding", and "misunderstanding". Brazilian guy may think that he knows english and tries to write in it. But result may come with full/partialy fail. You can't do the same in c++. Or u are able to code in c++ or u can't. There 's no saying...
  18. QuaS

    Pls help me with a simple script! Rep+++

    There's no a c++ for OT. http://cpp-tutorial.cpp4u.com/
  19. QuaS

    Script Problem.. Quest Box

    If u can read code and u can't write code, it's like reading egyptian book without knowing arabic language. Everybody can do that. But only the one understands thing [c++ code here = can write that], can read that book ;) Seems you're the one without [as u said] "ability to simple math"...
  20. QuaS

    Pls help me with a simple script! Rep+++

    Ye it can be done by lua. But you need to put on every tile with pz (or there where you wish to) a action id. Or tie one item id with script and use this item on pz entrance. What about c++: Amazon.co.uk: c++: Books
Back
Top