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

    Lua TFS 0.3.6 is it possible to check if there are two party group on a place?

    I am going to do a war script myself. I need to check if there are 2 party groups on a place. I mean first group party for example with 3 memebrs and second group party with 3 memebrs. How can i check it? I know how to check a place on which group stand, but i do not know how to recognize...
  2. waqmaz

    [Vocations]

    Thank you so much for the answer but now it says in game: And I cannot use any spells. :( /edit only main vocations works like knight, sorc, druid, pal... nothing above them - with higher id :( :( When I try to log on a knight its ok, but when i log on elite knight server says: and then...
  3. waqmaz

    [Vocations]

    Hello. What if I want some spells to be used only by Super Sorcerer? If i remove: <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/> system still sees spells fo master sorcerer (1 voc down) like a elite knigh sees spells for knight
  4. waqmaz

    Spells for additional vocations

    Spellbook has nothing to it, because it still allows players to use the spells of their previous vocations. I've just tested that. Maybe it is about: getPlayerInstantSpellCount
  5. waqmaz

    Spells for additional vocations

    The best way would be to find a script that allows a god to use all spells and edit it to use only one vocation's spells and add this scripts to each vocations. Someone know the script?
  6. waqmaz

    Lua TFS 0.3.6 If party is created, do something

    Maybe lets try to modify a cpp script onJoinChannel to onJoinParty? :P
  7. waqmaz

    Spells for additional vocations

    I am not sure, but it will probably require a source edit. Just make all vocations above 4 like vocation 1,2,3,4 are. I can't help you. I am not C++ programmer. Maybe somone from this phorum will come here and help. Anyway, good luck!
  8. waqmaz

    Spells for additional vocations

    Do you want all 4 vocations to use only spells for them? I mean: Voc 4 (knight) can only use spells for voc 4 -- It is now implicitly. Voc 8 (elite knight) can only use spells for voc 8 Voc 12 (bloody) can only use spells for voc 12 Voc 16 can only use spells for voc 16 Yes?
  9. waqmaz

    Lua TFS 0.3.6 If party is created, do something

    function onThink(interval, lastExecution, thinkInterval) for _, pid in ipairs(getOnlinePlayers()) do local ItemID = xxxx local Leader = getPlayerByNameWildcard(getPartyLeader(pid)) if isInParty(pid) then if getPlayerItemById(Leader, ItemID) == false then...
  10. waqmaz

    onDeath ifSummon

    deleted
  11. waqmaz

    Solved TFS 1.0 getCreatureMaster check master level doesnt work?

    tfs 0.3.6 - doesn't work local master = getCreatureMaster(cid) if master ~= nil and isPlayer(master) then doCreatureSay(cid, "The creature is a summon of a player", TALKTYPE_ORANGE_1) else doCreatureSay(cid, "The creature is not a summon of a player"...
  12. waqmaz

    Lua How to check if a summon is your or someone other?

    Hey, it doesn't work. if isPlayer(getCreatureMaster(target)) then doCreatureSay(cid, "The creature is your!", TALKTYPE_ORANGE_1) end I've done 2 characters and checked it on multiclient. Both summons of both characters makes me saying "The creature is your".
  13. waqmaz

    Lua How to check if a summon is your or someone other?

    TFS 0.3.6 Hello. How to check if a summon is your or someone other? This way I can check if a summon is a summon: if getCreatureMaster(target) ~= target then Now I want to check if a summon is my summon and if a summon os others. Please helpe me. I need this script to make my server. How to use...
  14. waqmaz

    Lua TFS 0.3.6 If party is created, do something

    oh, no :(( but thanks...
  15. waqmaz

    Lua TFS 0.3.6 If party is created, do something

    I am trying to make a function that if someone create party then the leader get an item. Which function should I use? I think a one of the creaturesctipts:
  16. waqmaz

    Lua Summoned Creatures - unattackable

    Can someone help with understanding this script? Summons shouldnt be killable by a summoner and party members: --[[ if getCreatureSummons(cid) then doCreatureSay(cid, "getCreatureSummons cid", TALKTYPE_ORANGE_1) end if getCreatureSummons(target) then doCreatureSay(cid...
  17. waqmaz

    Lua Own function contais a function from TFS 0.3.6 and doesn't work.

    just found solution: local function add_something(msg, bbb, cid) if msgcontains(msg, bbb) and talkState[talkUser] == 1 then selfSay("You have been "..bbb..".", cid) talkState[talkUser] = 0 end return true end add_something("msg, the text"...
  18. waqmaz

    Lua Own function contais a function from TFS 0.3.6 and doesn't work.

    Hello. I am learning about functions in lua. I will post a piece of a code, which doesn't work. I would like to know, how to make it working and why it doesn't work. Please, help me. I will give a like and will be grateful. :) This is the code: local function add_something(bbb, msg, cid)...
Back
Top