• 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!

time

  1. J

    Timer Problem

    Hello guys I use tfs 0.4 tibia 8.6 and I have this script local teleportPosition = {x=32351, y=31994, z=7} local magicCoinId = 6527 local amountRequired = 100 function onUse(cid, item, fromPosition, itemEx, toPosition) if not doPlayerRemoveItem(cid, magicCoinId, amountRequired) then...
  2. donabimbo

    TFS 1.X Counter starts when the player has a storage.

    Greetings, I was thinking of making a counter by getting a storage. When getting for example the storage 4000, start a counter with its days, hours, minutes and seconds. This is an example: when saying !time, tell me the player has storage since 4 hours, 6 minutes and 17 seconds. It is to know...
  3. Paulix

    C++ How do I show datetime to my console outputs

    Title, my console is like this on TFS 1.4 I want to add date time to something like 0.4
  4. G

    please help with premium system

    my otserver is a Forgotten 0.4 the problem is when a player's premium days expire, they are not sent to thais, Also, premium magic is still available.
  5. DukeeH

    Lua Lever that counts time.

    I'm trying to make a system, and a part of my idea, would be a lever, that can be pushed by the members of 4 different guilds. If Guild A member pushes the lever, it starts counting time for his guild. If Guild B goes to this lever and clicks it, it will stop Guild A time, and start counting...
  6. Fabi Marzan

    TFS 0.X Magic Level For Time

    Version: OTX2 Hello, again, I wanted to add an enhancement spell that makes the Magic Level increase little by little. Ex: I have Magic Level 150, I use the buff and it increases little by little from 5 to 5 until it reaches 160, it is like placing an addevent at the magic level. Images: As...
  7. Dries390

    [C++] Ground-Underground Mapping and Sunshine

    Hello everyone. I recently ran into some problems tring to create more complex landscapes using the forgotten server engine and set out to try and bypass, if not fix, these following issues 1a) The z =< 7 and z > 7 floors of the map don't communicate with each other. You can map something very...
  8. T

    [tfs 1.2] Global storage for specific time

    I would like to allow action only once per X time for a whole server (10 min for example), how could I do this? Scheme: local config = { monsterPos = {x=790, y=978, z=11}, exhaust = X -- ?? } function onUse(player, item, fromPosition, target, toPosition, isHotkey) if game world...
  9. Loremaster7

    How to create a lever with time? (exausted)

    In my code, clicking on the lever removes a stone, and the stone comes back in 10 seconds, but if you keep clicking on the lever an error occurs, I would need the lever works again only after 10 seconds. if the player clicks before 10 seconds the lever would not perform any function. (my distro...
  10. Loremaster7

    How to create an item and then remove it with certain time? (using addEvent)

    I created a lever, and I need it to disappear after 3 seconds ... My code 1 : function onUse(cid, item, frompos, item2, topos) time = 3 lever = {x = 2892, y = 2687, z = 8, stackpos=1} getlever = getThingfromPos(lever) if item.uid == 60115 and item.itemid == 1945 then...
  11. 3alola1

    You can die in peace after watching this video

    I made this video only for going back to memories Some photos are taken from the old tibia.com site I know that this video is poor edited but any way enjoy
  12. S

    OTHire - Time to decrease frags

    Its possible to change the time of decrease frags in OTHire? I tried in diff ways, but without success. I have find this functions on sources: Player.cpp if(it->isUnjustKill()){ attackerPlayer->addUnjustifiedDead(this); } #endif and in...
  13. Aldo Axel

    Lua [Help] Server save lasts more than 30 seconds

    Greetings Otlanders, my issue is the next, i got a TFS 0.4 8.6, and my server when it saves, it freezes more than 30 seconds, i mean, server saving takes time at least 35-40 seconds, and disconnect from the server for a while. Is a problem with the save script, or maybe a bad configuration in...
  14. Crixpx

    [Gesior ACC]how fix? Date time fail

    how fix time date help me plz
  15. Colandus

    timeString(timeDiff) - "23 hours, 30 minutes and 10 seconds"

    Hey there ;) I made this for a script :p It's very simple to add more date formats, currently its only days, hours, minutes and seconds. UPDATED 2017-02-15 Place this function in data/lib/functions.lua: function timeString(timeDiff, roundVal, roundUpVal) if roundVal and roundVal <= timeDiff...
Back
Top