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

    Solved [TFS 1.0] Ring Charges

    What is the code of the NPC selling the right? Or is it a trade system? Maybe speciffy the charges on the npc itself?
  2. filipus

    Solved Need added line here! ;)

    ------ DDoS protection ------ By Mock ------ Require Lua socket local conf = { check_website1 = 'http://www.google.com/', ---- First website check_website2 = 'http://pt.wikipedia.org/', ---- Second website ifoff = { --- If this 2 websites was offline kickall = true, --- Kick all players? save =...
  3. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    Ok, lub you! And sorry if you are not a man, happy woman's day! haha
  4. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA IT WORKSSSSS <3333333 Thank you so much! Could you explain me why? Why does it go with an addEven and not with a normal db.executequery? Man, I could even pay you now, Im...
  5. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    Ok, tried it. It isn't connecting to the DB at all. That is super weird, because all the players and values and etc are from the DB itself. Anyone knows why? Any tricks to solve this @_CorneX_ ? @Ninja
  6. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    @_CorneX_ It has the complete script here. Already changed all the obvious errors (login name, execuTeQuery, etc...) http://otland.net/threads/tfs-0-3-6-isnt-calling-a-script.210861/ Thanks for helping btw.
  7. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    @_CorneX_ I have. It doesn't recognize db.query (says its a nil value), possibly because I'm using TFS 0.3.6. But Im not sure that is the reason. Someone said the query didn't go because you can't execute a query on a dead player. It that true or... ?
  8. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    None of them work (I had actually tried all those ways also haha). I know the function is being called because I added a doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "THIS WORKS GRAWW") And it prints the message when the player dies (its a onDeath function). Now, I have no idea...
  9. filipus

    Solved TFS 0.3.6 db.executeQuery (Sqlite)

    I was looking fora db.executeQuery that could update the player on the database to a certain level, no skulls, in a certain position, etc... I have this but it isn't working :/ db.executeQuery("UPDATE `players` SET `level` = `".. newlevel .."`,`experience` = `".. newexp .."`,`skull` = `"...
  10. filipus

    TFS 0.3.6 Isn't calling a script

    No error. If I change to db.Query it says this Description: [07/03/2014 15:43:12] data/creaturescripts/scripts/death.lua:17: attempt to call field 'Query' (a nil value) [07/03/2014 15:43:12] stack traceback: [07/03/2014 15:43:12] data/creaturescripts/scripts/death.lua:17: in function...
  11. filipus

    Summon Spell that Summons only one creature.

    Yea, my bad. Only learned about the Then yesterday hahaha
  12. filipus

    Summon Spell that Summons only one creature.

    He said it worked. I actually took a working summon spell and just changed around.
  13. filipus

    TFS 0.3.6 Isn't calling a script

    OK SORRY FOR DOUBLE POST, BUT THE FUNCTION IS BEING CALLED, THE PROBLEM IS IN THE db.executeQuery. I added a doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "THIS WORKS GRAWW") and it printed it on the screen. Im using SQLite. I love you guys, thanks so much for helping!
  14. filipus

    TFS 0.3.6 Isn't calling a script

    Did this, still doesn't call. Maybe it is a problem in the db.executeQuery? Is there any way I can print a message to test if the function is even being called?
  15. filipus

    TFS 0.3.6 Isn't calling a script

    So, I want to call a script when the character dies but I've been going around this for hours and I haven't been able to do anything! Can anyone help?? Creaturescripts <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="PlayerLogin" event="script"...
  16. filipus

    Startskills on TFS 0.3.6

    Also, how can I do it through a SQLite db.query?
  17. filipus

    No Vocation - What would it be like?

    Im doing something exactly like that right now. I love the idea, but that is me.
  18. filipus

    Startskills on TFS 0.3.6

    My code doesn't seem to be working, I don't know why. It doesn't give any error but it doesn't seem to even run. function onLogin(cid) local playerVoc = getPlayerVocation(cid) local reqTries = getPlayerRequiredSkillTries local skillStor = 56364 local gotSkills = getPlayerStorageValue(cid...
  19. filipus

    Windows TFS 0.3.6 console ERROR help

    I have no idea but... Are you on windows? And maybe you are using a function that is from a more recent version of TFS so he doesn't recognize.
  20. filipus

    Summon Spell that Summons only one creature.

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_NONE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0) local area = createCombatArea(AREA_CIRCLE3X3) setCombatArea(combat, area)...
Back
Top