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

    [Lua] when monster with name xxx "kills" player then player tp to pos and not get killed

    cid is who dying ;p deathlist is who killed that dying creature i have edited this script so many times to make it work and it was "working" only teleporting to certain pos but it haven't gave any hp so i can't move or say any word/spell... idk maybe this function is bugged or smth
  2. GhostWD

    [Lua] when monster with name xxx "kills" player then player tp to pos and not get killed

    Hi there i tried to write some simple script for test and it's not working XD local pos = {x=192,y=541,z=7} function onPrepareDeath(cid, deathList) if (getCreatureName(deathList[1]) == "xxx") then doTeleportThing(cid, pos) doPlayerSendTextMessage(cid...
  3. GhostWD

    C++ Skull near monster if isSagaMonster()

    yea i had it in combat.cpp and i was wondering wth is wrong with this! Thank You.
  4. GhostWD

    C++ Skull near monster if isSagaMonster()

    lol it's working! hah thanks. Could you explain why i cant use creature->getMonster()->isSagaMonster() immediately? would be awsome!
  5. GhostWD

    C++ Skull near monster if isSagaMonster()

    Hi I wanted to change protocolgame.cpp near msg->put<char>(player->getSkullType(creature)); To : if(creature->getMonster()->isSagaMonster()){ msg->put<char>(SKULL_YELLOW); }else{ msg->put<char>(player->getSkullType(creature)); } but when i run OT i get Segmentation fault no...
  6. GhostWD

    C++ monster getAttackedCreature

    BuMp
  7. GhostWD

    C++ monster getAttackedCreature

    Hi there! I've got code like this in monster.cpp if(isSagaMonster() && valueses == sagaNumber() && creature->getAttackedCreature() == this) ){ return (!creature->isRemoved() && creature->isAttackable() && creature->getZone() != ZONE_PROTECTION &&...
  8. GhostWD

    [POLAND][8.6] DBO FireFun [PLAY2WIN] [NEW PROJECT]

    Bump More monsters were added to task system and rewards are items/exp
  9. GhostWD

    [POLAND][8.6] DBO FireFun [PLAY2WIN] [NEW PROJECT]

    Today Time Chamber and Quest for it has been added together with enlarged area of Namek and new TASK System(only few monsters are added on this time) Update requires downloading of new client(Dragon balls have been added and some items which drops from nameks so download it if you do not...
  10. GhostWD

    outfit limit

    Have you set that outfits to monster or you used command?
  11. GhostWD

    Linux ( Ubuntu ) Can´t start the server

    Navigate to dir with ot with cd /directory if you dont know where your server is use WINSCP program for windows
  12. GhostWD

    outfit limit

    What do you mean by that?
  13. GhostWD

    Solved VIP DAYS DOESEN'T REMOVE

    any errors in console at 00:01?
  14. GhostWD

    Lua getPlayerRates(cid) returns not same value

    Hi there! I'm wondering why getPlayerRates(cid) returns me freaky number not same which i set by doPlayerSetRate function onSay(cid, words, param, channel) local rates = getPlayerRates(cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, rates[SKILL_SWORD].." sword rate") if param ==...
  15. GhostWD

    Lua Buying Cap

    in script which has function onUse or in libs function cause this is only function which returns actual max cap
  16. GhostWD

    C++ How to make monster attack only player with storage

    *BuMp* edit@ ok got it: TFS 0.4 BACKUP FILES BEFORE EDITING!! CHANGE isOpponent and monsterThink METHOD IN MONSTER.CPP TO : bool Monster::isOpponent(const Creature* creature) { std::string keyes = "8000"; std::string valueses = "1"; creature->getStorage(keyes, valueses)...
  17. GhostWD

    C++ How to make monster attack only player with storage

    Hi there, I've got problem to solve, idk how to refere to attacker at isTarget method in monster.cpp bool Monster::isTarget(Creature* creature) { if(creature->isSagaMonster()){ return (!creature->isRemoved() && creature->isAttackable() && (creature->isSagaMonster() &&...
  18. GhostWD

    Lua Change monster flag

    @jestem pro chodzi mi o zmiane poprzez skrypt nie przez xml potworka i would like to obtain effect of changing flag in file with lua func
  19. GhostWD

    Lua Change monster flag

    Hi OTLanders, Got question to you, is there any possibility to change monster flag(attackable,hostile) with lua functions? I'm using tfs 0.4 Thanks in advance
Back
Top