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

    Change player outfit on use (action) TFS 1.2

    I tried adding what you said @tetra20 but I received this error: attempt to index local 'outfit' (a boolean value) stack traceback: [C]: in function '__newindex' data/actions/scripts/orc_warrior_lever.lua:15: in function <data/actions/scripts/orc_warrior_lever.lua:3> @Sharkot I'm super newbie...
  2. Doitforthegains

    Change player outfit on use (action) TFS 1.2

    Just tried setting player:setOutfit(7) and it gave me this error: in function 'setOutfit' data/actions/scripts/lever.lua:13: in function <data/actions/scripts/lever.lua:3> :( --EDIT-- Apparently if I set it to 'doCreatureChangeOutfit(player, 7)' I get a similar error in function 'setOutfit'...
  3. Doitforthegains

    Change player outfit on use (action) TFS 1.2

    Hey guys! So I'm making vocation levers, that when used, the lever is is suppose to reward items, change players voc, send magic effect, and finally change outfit to corrisponding voc. As of right now the only thing not registering onUse is ChangeOutfit...Heres my script. As I mentioned in the...
  4. Doitforthegains

    Sword Art Online 2/Gun Gale Online - Official Discussion Thread

    It's not often you see @Flatlander interested so much in a project, just goes to show the level of work @UnsineSoft put into this. Looks good, keep up the great work!
  5. Doitforthegains

    What is the best map and exp?

    @PEMUS Well I mean with there being a lvl 1000 in rl tibia, 530 isn't that high anymore. People want to experience the new content and skip past all the low lvls
  6. Doitforthegains

    Assign Outfits based on Vocation

    @Shyzoul I cleaned up the outfits.xml and added type=1...as far as I know right now vocs only have the outfits I assigned them in login.lua
  7. Doitforthegains

    Assign Outfits based on Vocation

    Just plugged this and and tested it worked beautifully, thank you so much! @Sharkot
  8. Doitforthegains

    Assign Outfits based on Vocation

    Ahhh nevermind!! I had something wrong but it's working now! I just need to figure out how to add the basic onLogins into the script like if player:getLastLoginSaved() <= 0 then loginStr = loginStr .. ' Please choose your outfit.' since you spawn in with a default citizen outfit on
  9. Doitforthegains

    Assign Outfits based on Vocation

    Oh my bad, I copied the script from a different window that it wasn't tabbed out on! I changed it to what you posted, I have no errors but all vocations still have access to the unlocked human outfits, but not the orc looktypes...I'll just go ahead and post everything dealing with this...
  10. Doitforthegains

    Assign Outfits based on Vocation

    Hello! So I'm trying to make a "race" system (i.e Humans Vs. Orcs) and I want players to only be able to switch between their respectable outfits. So human vocations would have all the normal outfits and orc vocations having looktypes 2,4,5,6,7,8,50,59,342.. So far this is where I'm at with help...
  11. Doitforthegains

    [TFS 1.2] advanced drop loot system

    Alright I copied the new pastebin and reload creaturescripts..got the same error as before. Tried removing the semicolon after break like @tetra said, same error. So then I just removed the breaks completely and reloaded, no errors. Tested it with 10gp balance and it worked, everytime I was...
  12. Doitforthegains

    [TFS 1.2] advanced drop loot system

    Hmm.. I keep getting an error drop.lua:104 'end' expected (to close 'if' at line 101) near 'return' I tried messing with it and comparing it with the default droploot.lua but I can't get it to work :( the if statement looks right to me...but I'm a noob sooo haha
  13. Doitforthegains

    Action [TFS 1.1] - Slot system

    I see...well just I'll keep messing it with it in hopes I get it to work one day haha.. and yeah I figured you probably didn't, being that it's 2years old and all but decided there was no harm in asking :p
  14. Doitforthegains

    Preference of Training?

    I was wondering what type of trainers people prefer on servers these days? With the newer stamina training it restricts excessive training without hunting, but might deter people from playing skill based vocs or from vocs that depend on soul Offline trainers are pretty ez pz but maybe a bit...
  15. Doitforthegains

    [TFS 1.2] Raid Starter with Cooldown 2.0

    @God Mythera Incase you didn't get it working function Player:sendBossRaidWindow(raids) local function buttonCallback(button, choice) -- Modal window functionallity if button.text == "Confirm" then -- Start Checks -- Check if the system is on cooldown...
  16. Doitforthegains

    Action [TFS 1.1] - Slot system

    @zbizu For the slot remover, it works...but if I roll any a stat on an item that increases its atk/def value (+atk%/+def%/arm) and then remove it, the value remains while the slot is removed...allowing players to infinitely stack atk/def on items. Would you know the solution to this?
  17. Doitforthegains

    GlobalEvent [TFS 1.0/1.1] TP room text/effects

    @tibia10gogo I just tested on TFS 1.2 can confirm it works, all I did was change the function a lil and add an extra bracket after local....if you still need this you can just copy the fixes here: local effects = { {position = Position(32341, 32220, 7), text = 'Raid Boss Starter!', effect =...
  18. Doitforthegains

    [TFS 1.1] Outfit Bonuses

    Can't seem to get resistances to work...I'm not sure what I'm doing wrong. Skills and hp/mp attr are working fine and I get no errors but I still take full dmg from fire fields with 20% resist fire. If anyone could look at my scripts and tell me what I'm doing wrong? creature.lua events local...
  19. Doitforthegains

    Action [TFS 1.x] open world style chests

    Okay so I successfully added a second globalchest -yay- , now I'm just a bit confused on the function to add items..I set a local reward local ccrewards = { {2160, 45000, 50} } and I called it with uid using your example: if item.uid == 51001 then c:clear() -- chest with gold...
Back
Top