• 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

    I need a server 8.6 with working SQL and STORAGES and no ugly bugs

    thats it i need a server 8.6 where i can make sql querys with no problems and also need player and global storages working i have downloaded lots of it and keep finding this 3 not working!. and when i tought i found one !! i realized that has this bug that when you click a creature to...
  2. T

    how to add using time to this script? +rep

    yeah i tought about that but in my tfs version the function is "doPlayerAddMana" so i didnt wanted the script to fail in another TFS version :p. anyway in the original script there amount of mana added its for sure full filling your max mana :p
  3. T

    Some one can tellme 2 things about TFS!!!!

    as i see this looks like TFS 0.2.10 is "literally" "the forgotten server" xD i downloaded from a talaturen's thread and it has the global events directory with files as example inside.
  4. T

    Some one can tellme 2 things about TFS!!!!

    i mean that i have a TFS that has many unfixed bugs, and i would like to "fixthem" or "get rid of it" am ok with Tibia client 8.7 i dont understand why the new tfs are older versions of the tibia client. also i dont understand why the 0.3 version went back to 8.54. i need someone to tellme how...
  5. T

    Some one can tellme 2 things about TFS!!!!

    i downloaded TFS 0.2.10 and i think it was a mistake xD i had to make my own script to make global events works. and .... i discovered another problem with global storages, they are just... dont saved. i use the "setGlobalstorageValue" command and doesnt save it in the DB. and no errors in...
  6. T

    how to add using time to this script? +rep

    EDITED!, sorry i dont like to dissapoint people :p so i fixed it and tested it on my server. now its fully working and as you can see you can set: -how much speed would you like -cooldown time -minimun lvl to use -the storage number used for this script -the msg type -and the msgs that...
  7. T

    Lua [Global Events], [Creature Script], [TFS 0.2.10] strange issu :D

    SOLVED MY SELF :D (as almost always :S) as i sayed before my script works only once so i created a loop like this. in the global events function onThink(interval, lastExecution, thinkInterval) for _, name in ipairs(getOnlinePlayers()) do local cid = getPlayerByName(name) function...
  8. T

    Lua [Global Events], [Creature Script], [TFS 0.2.10] strange issu :D

    Thx for your comment i did try it but that didnt work in 3 attemps the first: is getOnlinePlayers. fixed it second: player not found thirth: storage problem. well, i fixed all but doesnt work. my script the one i posted at the top works as i sayed, but am sure there is a problem with the...
  9. T

    Datebase error

    sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "war" sqlFile = "schemas+Database/war.s3db" --check if the root its ok sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" if this doesnt work then...
  10. T

    Datebase error

    in sqldatabase = "war"
  11. T

    Lua [Global Events], [Creature Script], [TFS 0.2.10] strange issu :D

    Hello!, i made a tiny script so if a player has cetain storage value == 1 then an animated text should come over in a 5 seconds interval. but... looks like the interval its not working, when i reload global events, the animated text appears, but not anymore. (it should appear on 5 secs and on...
  12. T

    Lua Error on Scipt

    Use getItemName(id) :D
  13. T

    Lua Requesting info from mysql database problem

    Solved now! already solved :D alone -.-? ill post the solution so anyone can find it :D well. first this lines has to be there dofile("./config.lua") if sqlType == "mysql" then env = luasql.mysql() con = env:connect(mysqlDatabase, mysqlUser, mysqlPass...
  14. T

    Lua Requesting info from mysql database problem

    Ok i made it to this! i installed this system http://otland.net/f163/forgotten-server-0-3-db-class-0-2-a-26225/ and suddenly que querys started to work with no errors, but just the UPDATE type like this local name = getPlayerName(cid) sql:execute("UPDATE accounts SET number = 1 WHERE...
  15. T

    Lua Requesting info from mysql database problem

    look the script i am writing is for a private server and its rules are that what i am asked to do are top secret stuff, thats why i cant share the rest of the script, but i can assure you that the rest of the script is nothing more that sentences with "if then" that has nothing to do with it...
  16. T

    Lua Requesting info from mysql database problem

    well this is what i was talking about xD i remember you that i am using TFS 0.2.10 and as i was reading there is a problem with mysql look this is the script in the line "41" db.executeQuery("INSERT INTO `accounts` ('number') VALUES ('1')") is just like you sayed xD Please HELP! xD
  17. T

    Lua Requesting info from mysql database problem

    am sorry, can you be more especific, like writing an example that looks like my script? i need to send 1 value to the table and then get it back. something like this. if player say "white" then insert "white" in the database in the column "number" that is in the table "accounts" end if...
Back
Top