• 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. Swiftxd

    /Ghost be seen by party

    talkaction.cpp else if(m_functionName == "ghost") m_function = ghost; bool TalkAction::ghost(Creature* creature, const std::string&, const std::string&) { Player* player = creature->getPlayer(); if(!player) return false...
  2. Swiftxd

    /Ghost be seen by party

    @Marcelo Druida but i dont have it on my luascript files. I just have static int32_t luaGetPlayerGhostAccess(lua_State* L); what made the player become inv is this : void Game::internalCreatureChangeVisible(Creature* creature, Visible_t visible)
  3. Swiftxd

    /Ghost be seen by party

    @Jano thanks for your help till now. Yes dude, i'm using twice, one to become stealth, other to become visible. And the prob is only in "disappear", when you use ghost->invisible. My guess is the problem is on talkaction, that send the "disappear", ill keep studying it
  4. Swiftxd

    /Ghost be seen by party

    https://github.com/mattyx14/otxserver/tree/otxserv2/path_10_x so, yes !
  5. Swiftxd

    Help, Adding more tiles to game window

    pra adicionar mais tu precisa fazer o server mandar mais, é um conjunto server-client. então tu vai ter que fazer as alterações no teu server, compilar e fazer o mesmo no client. antes de mais nada, tente usar esse tutorial ...
  6. Swiftxd

    /Ghost be seen by party

    just on time !
  7. Swiftxd

    How to show a storage value inside the skill window?

    In your init, register the opcode with a function. then in the function you get the buffers from opcode. with the buffers you refresh the window with the informations.
  8. Swiftxd

    Help, Adding more tiles to game window

    cara ja que tu é brasileiro vou facilitar e falar portugues. Não da pra entender absolutamente nada oque tu pediu. Oque exatamente tu não entendeu ?
  9. Swiftxd

    /Ghost be seen by party

    all here https://github.com/Swiftxd/sources
  10. Swiftxd

    /Ghost be seen by party

    if youre in a party with 2 or more players, and use the ghost, they will see you, but you left a copy behind, like in the picture 1.
  11. Swiftxd

    /Ghost be seen by party

    Actually it worked, but if have more than 2 in a party it happens:
  12. Swiftxd

    /Ghost be seen by party

    @Jano thanks again. You're right i've looking in void Game::internalCreatureChangeVisible(Creature* creature, Visible_t visible) but idk what to do here : Player* tmpPlayer = NULL; for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()))...
  13. Swiftxd

    /Ghost be seen by party

    @Jano thanks a lot dude, but have one problem, with this code, the party member only can be seen if uses ghost far from you, if uses next to you it will disapear , because of talkaction ghost, so i think needs change something in bool TalkAction::ghost(Creature* creature, const std::string&...
  14. Swiftxd

    /Ghost be seen by party

    @whitevo sorry i made a mistake, its the server who send if you can see something or not @Edited the post
  15. Swiftxd

    /Ghost be seen by party

    ye but if the player got this flag, he will be able to see everyone ghost, even who isnt in his party
  16. Swiftxd

    /Ghost be seen by party

    @whitevo no it isnt, its the client who sends if you see or not. @mpa no it isnt too. i know is in PLAYER.CPP in this funct: bool Player::canSeeCreature(const Creature* creature) const, but i really dont know how to do it :/
  17. Swiftxd

    /Ghost be seen by party

    hello, have some way to who uses /ghost talkaction can be seen by party members too ? i think its in player.cpp in this function: bool Player::canSeeCreature(const Creature* creature) const, but i failed to create. the closest i got is this : bool Player::canSeeCreature(const Creature*...
  18. Swiftxd

    Compiling OTC Problem after compile.

    Hello dudes, i compiled otc-master, with no errors ,but when i log in into account manager, or talk to a npc gives this error: some fix ? please
  19. Swiftxd

    Compiling OTC Compiling Problem

    (SOLVED)
  20. Swiftxd

    I can close and open windows in rl map

    It will be better if you post your code. But you can check if the tile is a house, then open, else return false.
Back
Top