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

    [HALF SOLVED] need help with source editing to...

    i dont know why but this did worked!!! :D function doPlayerRemoveLethalConditions(cid) local tmp = {1, 2, 4, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 32768, 65536} for i = 1, #tmp do if(hasCondition(cid, tmp[i])) then doRemoveCondition(cid, tmp[i]) end end return...
  2. T

    [HALF SOLVED] need help with source editing to...

    actually i started trying lots of simple lua scripts, and no results. but when i was reading your post, i started searching some arena script. just found one that i havent tried yet ill post the result ;p
  3. T

    [HALF SOLVED] need help with source editing to...

    come on! xD i'm having problems -.- am trying to compile and get the error in tools because it includes a library that i dont have the lib is "cryptopp" any suggestions?
  4. T

    [HALF SOLVED] need help with source editing to...

    yeah i did that, but as i saw in sources, ondeath is a onthink function that is executed just before the death process and the death process loggs you out and bring this relogin window and kills you xD by using your code the only thing i got was player not leaving a body and death not...
  5. T

    [HALF SOLVED] need help with source editing to...

    if you can script something in lua and it will work it would be the BEST! couse i can't get it to work in lua xD
  6. T

    Attacking levels

    just edited my script, the lua part, as i said before, if it doesnt work its because of the "return part", so i modified it, still not tested ,so give it a shot
  7. T

    totally invisible players

    go ahead script it :D i made this post with some code to start, because there was no answer on all my threads about this xD i got none idea of what you say :D it really took me VERY long to find this piece of code that "i believe" its the /ghost script xD but if there is another way xD go...
  8. T

    totally invisible players

    thats not true, you are confused, i have tried in the past to execute this kind of sentences and works perfectly instant. what you mean is that the DB editation need the player to re-login to get the changes. but in this case when a SQL sentence is made the change in the data base Column is...
  9. T

    totally invisible players

    i ripped this from the source, and i think that may work, not as i wish, but the best i can xD i want to insert this (that i ripped) just before the ghost part the idea is that if in DB in table players column invisible the value is 0 when use the command player get invisible, and...
  10. T

    Auto promotion or !promote.

    the talkaction in data/talkactions/talkactions.xml add this line <talkaction words="!promote" event="script" value="talkpromo.lua"/> in data/talkactions/scripts/talkpromo.lua function onSay(cid, words, param, channel) local promoney = 20000 local msg = "Congratulations you...
  11. T

    Auto promotion or !promote.

    wn no sabia ke eras de chile xDDDD hare el post en ingles por que tu kachay po si te sirve este script porfa levantame mis temas ke se estan llendo xD well... the first one its easy! in data/creaturescripts/creaturescripts.xml add this new line <event type="advance" name="promo"...
  12. T

    ACTION crowbar

    NO! you dont need to check the position where he is using it all you need is to assign an unique id (uid) to the mailbox in the map editor. 3434 in this example function onUse(cid, item, fromPosition, itemEx, toPosition) local mailuid = 3434 local storage = 9999 local getstorage...
  13. T

    [HALF SOLVED] need help with source editing to...

    nothing you could say?
  14. T

    Vip Test

    -- Made by Tymofek, hope it works on the first TRY!!! function onSay(cid, words, param, channel) local level = getPlayerLevel(cid) local lvmin = 150 local yesMsg = "Voce ganhou 1 dia de VIP para TEST, Aproveite!!." local lvlMsg = "Voce precisa de level ".. lvmin .." para testar a VIP." local...
  15. T

    Attacking levels

    don't be so happy, the idea was really good i have to say i did it my self too, but the function you use should not work as he needs xD so am still the winner (unless he test it and it doesnt work in wich case we both lose xD) anyway haven't he tested it yet?
  16. T

    Attacking levels

    i did tought about onTarget, but what if someone does a massive attack spell o.O? so i did it with onAttack that should be the best. also have to say that i'm impressed xD i posted the script and i saw your post they look almost the same xD
  17. T

    Attacking levels

    open data/creaturescripts/creaturescripts.xml paste this: <event type="attack" name="lvlrestriction" event="script" value="lvlrestriction.lua"/> open data/creaturescripts/scripts/ and create lvlrestriction.lua paste this in it: function onAttack(cid, target) local dif = 20 -- lvl of...
  18. T

    Vip Test

    i have the solution to your problem but may be different depending on the version of tfs you use first your problem is because your script is limiting a player to do the talkaction, but the vip days are stored in the account so if you made 40 characters then you get 40 days for all of them...
Back
Top