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

    Project X? Maybe... (10.++ XDC)

    Decided to make an attempt at recreating item sets as they appear in many modern mmos. I think it turned out pretty nice. Still unsure how to display the bonuses of said set without the item description becoming too cluttered.
  2. Xagul

    [Canada] [8.60] DeathZot | 99% Custom Map | 22 Vocations | Over 200 New Items | Prestige | Dungeons

    Server is back online, sorry for the downtime. Our host had an electrical incident that is now resolved. As compensation for downtime both experience and uber spawn rate have been increased by 50% until March 14th.
  3. Xagul

    Lua How change to need wait 30 days to use stamina pot

    @Xikini Looks like hes using the older tfs which means storage is saved as a string. doCreatureSetStorage(cid, "randomstoragename", "huehuehue")
  4. Xagul

    Stealth, /ghost problem spell

    In the source there should be a spot where it checks if you can see a creature. In the event of both creatures being a player it then checks each players group to determine if the players group is the same or higher. You would want to change it so it is only higher.
  5. Xagul

    Remove button in hex editor

    Not sure how to remove the buttons but I thought I would let you know that you can disable item hotkeys in the server config. The buttons will work but the hotkey when pressed will not. hotkeyAimbotEnabled = false
  6. Xagul

    Lua How change to need wait 30 days to use stamina pot

    You can use storage value and os.time() to hold the timestamp you last used it. doCreatureSetStorage(cid, storagevaluehere, os.time()) Then just compare the current time to the stored time to determine if it is on cooldown. if(os.time() < getCreatureStorage(cid, storagevaluehere) +...
  7. Xagul

    need to make something visible for one players but for others not

    @Codex NG What he is requesting is a fair bit more complex than simply sending an animation to 1 player. xD @frida22 TFS 0.3.6 > When you send the screen to a players client (this is via source btw) you will have to find some way to determine if the tile requires a storage and then check the...
  8. Xagul

    Project X? Maybe... (10.++ XDC)

    @Kenia wow haven't seen you around in a while :D nice picture btw!
  9. Xagul

    Project X? Maybe... (10.++ XDC)

    Got some time to do a bit of work recently. ~ Spellbook ~ In XDC I really liked the idea of looting spells but the main issue that came up was players learning every spell, or wanting to trade spells with other players. My goal here was to keep the idea of looting spells, allow players to...
  10. Xagul

    Solved Still receiving the rewarditem onAdvance

    When troubleshooting something like this, once you locate where the script is "hanging", you should print out the stuff you are checking. In this case you should print the storage value being checked. print(player:getStorageValue(12345)) I think you will find that the storage has already been...
  11. Xagul

    Solved how use table.insert ?

    Oh I misunderstood. You could do something like this to move the first result to the end so its not used until all bosses are cycled through. local tableStuff = { {name = "thing 1", pos = {x = 1, y = 2, z = 3}}, {name = "thing 2", pos = {x = 1, y = 2, z = 3}}, {name = "thing 3"...
  12. Xagul

    Account Manager on TFS 1.1

    I feel like @Evan was making a modal window aac. Did he ever finish it? I might be wrong...
  13. Xagul

    Lua Drop Exp when die

    Ok your script from top to bottom. player logs in set loss variable to the config value for deathLostPercent (you have this set to 1) P.S. this should be moved outside of the function check that loss is not nil (you have it set to 1 so it is not nil) print message to confirm it is working (in...
  14. Xagul

    Lua Frag Reward problem

    What are botters? If they are monsters, I can't see why they would be getting rewarded in the scripts you posted. I can however see that if a player kills a "botter" and the botter has that onDeath script registered, the player will get rewarded for killing said botter.
  15. Xagul

    Solved how use table.insert ?

    Sorry if it was already answered, but if you just want 1 boss to spawn on startup it might be easier to make it spawn in globalevents>scripts>startup.lua rather than onThink.
  16. Xagul

    Solved I need help for stamina system , please :c

    local regainStaminaMinutes = offlineTime / 180 For each 180 seconds (3 minutes) offline you will gain 1 minute back. You could for example change it to / 120 which would be 2 minutes offline = 1 minute back. Same goes for happy hour local happyHourStaminaRegen = (offlineTime -...
  17. Xagul

    How to put list character with outfit in OTClient ?

    I feel like this is a request... This forum is for support. If you have started some code we can see to help you, please post it!
  18. Xagul

    Solved Mana Rune Problem

    Your original script was fine, you just needed to add the magic effect. --[[ REMOVE ALL OF THIS local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat...
  19. Xagul

    Solved doCreateItem fire field not decay to

    Looks good if it's for the older versions. Just in case someone comes through here with the same problem using 1.x item:decay()
  20. Xagul

    Solved Still receiving the rewarditem onAdvance

    If you really want it all broken down into different if statements, here is an example with some comments/changes explaining why everything was done the way it was. function onAdvance(player, skill, oldlevel, newlevel) -- changed cid to player to prevent future confusion -- local storage =...
Back
Top