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

    Lua help with this script please

    im trying to modify my bot to make compatible with the autoloot of my ot server. UI.Label("Autoloot Add") addTextEdit("hpItem", storage.hpItem or "23375", function(widget, text) storage.hpItem = text UI.Button("Add Item", function() say("!autoloots add, storage.hpItem") end) end) im trying...
  2. D

    Lua block with pz this code please

    im trying to make a code thats only works with premium, that function works nice, but im trying if you got pz locked, doesnt matter if u have premium or no, break and show error message, please help me bros function onSay(player) if isPlayerPzLocked(cid) == TRUE then...
  3. D

    C++ help with this code please bros

    im trying to make a code when target got storage value on 1, cant be attacked, and cant attack, help me please int32_t value; if (targetPlayer->getStorageValue(77777412, value)){ if (value == 1) { return RETURNVALUE_TURNSECUREMODETOATTACKUNMARKEDPLAYERS; } }...
  4. D

    Lua spell with always hit same

    hey brothers please, help me with this local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA) combat:setParameter(COMBAT_PARAM_BLOCKARMOR, true) combat:setParameter(COMBAT_PARAM_BLOCKSHIELD, true)...
  5. D

    C++ help to fix this my code for tfs 1.x please

    hi bro, please help me to fix this code for tfs 1.x please, i want to players with 30 level of diference cant attack if (target->getPlayer()) { if((player->getLevel()) > ((target->getLevel()) + (30)) || (Player->getLevel()) < ((target->getLevel()) - (30))){...
  6. D

    OTCLIENT stops attack on freeze save

    its just get marked as red, but not attacking, only on server save, only on otclient, help please
  7. D

    TFS 1.X+ Character stop attack on server save

    Hey bro HI, please could you help me with a problem. Im using nostalrius tfs 1.2 but on every server save the character stop to attack, its Just still beign targeted with Red but no work, when the server save freez the ot it stop attack im using otclient v8 what could Be the problem?
  8. D

    TFS 1.X+ help with this code fishing please

    hi, i included alot of more new fishs on my server, i love to know how to include it to a random chance on fishing they appear. please help me this is the code
  9. D

    TFS 1.X+ code to buy mana bp

    hi im trying to make this code to buy a backpack of mana potions. im use nostalrius tfs 7.72 its just discounting money not do anything more please help function onUse(cid, item, frompos, item2, topos) local bag = getPlayerItemById(cid, false, 2869).uid if doPlayerRemoveMoney(cid,1300) == 1...
  10. D

    TFS 1.X+ ddos attack

    my server is suffering against ddos attacks, my ip changes, and my ot falls down, my internet entire fall down, what can i do? please help me
  11. D

    TFS 1.X+ how to create a teleport?

    how to create a teleport in tfs 1,2 nostalrius 7.7? please help me bro
  12. D

    Programmer c++ code issue pay on tibia coins.

    i have a problem with this code. if (getID() != ITEM_QUIVER && item->getAmmoType() != AMMO_NONE){ return RETURNVALUE_THISISIMPOSSIBLE; } with that only allow me to put any item inside only on quiver, not on backpack. and what i want is that allow me to put only ammo on quiver...
  13. D

    C++ help whit this code please

    hello i making a code for cant put items on my quiver, i tried this and this if (getName() != "Quiver" && (!(item->getSlotPosition() & SLOTP_AMMO) || item->getName() != "Quiver")) { return RETURNVALUE_NOTENOUGHROOM; } if (getName() == "Quiver" && (!(item->getSlotPosition() &...
  14. D

    C++ help with this code, just to work with one id item

    please help me to edit this code for just work with container id 5089, please bros Item* Player::getAmmunition() const { Item* item = inventory[CONST_SLOT_AMMO]; if(!item) return nullptr; if(Container *container = item->getContainer()) { Item* weapon = getWeapon()...
  15. D

    TFS 1.X+ help with this script please

    hey bros, please could you help me with this script im trying to do, its supposed when uuse a lever if ure level up to 80 or 80 and have 100.000 of money it changes ur vocation to voc 9 please help me bro local player = Player(cid) local cost = 100000 function onUse(player, item, fromPosition...
  16. D

    Lua movement help please

    hi i need help please to make a movement on item id, that when u step in for example you are in pz and in map is marked as pz the tile, but when player go in, mark it as non pz zone, please help me to do that bro
  17. D

    C++ help with this code modify please bros

    i already modified the tile on house, to not be pz, also the spell of summon for can be summoned on house. this was my line on tile.cpp allow walk monster walk in pz, but if(monster->getMaster()) return RETURNVALUE_NOERROR; im trying to add this now if(monster->getHouse())...
  18. D

    TFS 1.X+ creaturescript to not droploot under level 50

    im trying to make a script, that when u dies if u are under level 50, dont drop loot please help me bros
  19. D

    TFS 1.X+ multiple home on nostalrius npc

    Name = "Scott" Outfit = (131,75-38-77-96) Home = [32138,31659,7] Radius = 1 how to add more than one location?
  20. D

    Lua bless talkactions help please

    im trying to make a bless talkaction, but when u say !bless it works, but when u relog, and say bless again, it take your money again, like is not adding a blessing. or something, please help me i use nostalrius tfs 1,2 7.7 function onSay(cid, words, param) local p = Player(cid) local...
Back
Top