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

    Looking for a good custom server.

    If you play TheOTServer it's pretty much fun when there's someone else playing with you. If you go play there just tell me and I can login to play with you :)
  2. Elwyn

    Linux About Error in Console - Mysql!

    I don't know how acc manager work, what distro do you use so I can study it?
  3. Elwyn

    Solved TFS 1.0 onLook

    Ok, I now understand how it all works. I learnt a lot trying to help you, lol. So, when we do db.storeQuery we are storing the result somewhere, so we need to do a result.getDataInt(place) to have the exact value. I'm trying to understand a warning I'm receiving but now it should all work...
  4. Elwyn

    Solved TFS 1.0 onLook

    Change %d to %s in description = string.format("%s\nThis player killed %d and died %d times", description, getKillsPlayer(creature), getDeathsPlayer(creature))
  5. Elwyn

    Solved TFS 1.0 onLook

    Sorry. my bad, forgot (), try again. Just edited it.
  6. Elwyn

    Solved TFS 1.0 onLook

    Ok, then it's all good. try this: function getKillsPlayer(cid) local Info = db.storeQuery("SELECT `frags` FROM `players` WHERE `id` = " .. cid:getGuid() .. " LIMIT 1") local frags = db.escapeString(Info) return frags end function getDeathsPlayer(cid) local Info =...
  7. Elwyn

    Solved TFS 1.0 onLook

    local player_thing = Player(thing.uid) if player_thing ~= nil then --true = it's a player. end same effect as isPlayer(thing.uid) Here is isPlayer function: function isPlayer(cid) return Player(cid) ~= nil end About your error, it really caught my attention. I tried to do the same here...
  8. Elwyn

    Compiling /usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_W

    Does your makefile have something like a -DBOOST_POSIX_API or -DBOOST_WINDOWS_API? Delete it, if it does. It'll help if you can post your terminal output here.
  9. Elwyn

    Linux About Error in Console - Mysql!

    It's the same thing as with Na'vi, you can't have a player with ' in it's name. about player_storage: do a drop table player_storage and then do this: CREATE TABLE IF NOT EXISTS `player_storage` ( `player_id` int(11) NOT NULL DEFAULT '0', `key` int(10) unsigned NOT NULL DEFAULT '0'...
  10. Elwyn

    [TFS 1.0] Quest log Dont work

    It should, lol
  11. Elwyn

    Linux About Error in Console - Mysql!

    You don't need to turn off your server. Can you tell me what's the data structure you used for your columns in 'player_storage'? I was trying here to reproduce your error, but I can't ):
  12. Elwyn

    [TFS 1.0] Quest log Dont work

    Does your script change the storages value?
  13. Elwyn

    [TFS 1.0] Quest log Dont work

    Did you register it at quests.xml? <?xml version="1.0" encoding="UTF-8"?> <quests> <quest name="Example Quest I" startstorageid="1001" startstoragevalue="1"> <mission name="Example Mission 1" storageid="1001" startvalue="1" endvalue="3"> <missionstate id="1" description="Example...
  14. Elwyn

    Linux About Error in Console - Mysql!

    That's really strange, do you have a schema of your db? (The thing that create just the tables and so on, without data inside)
  15. Elwyn

    Linux About Error in Console - Mysql!

    Ok, I think I got your error. I'm no master at mysql, but from my knowledge you can only do this: INSERT INTO `player_storage` (`player_id`, `key`, `value`) VALUES (2,'0','{[\"subType\"] = 1, [\"type\"] = 1}'); the others you need to do a new query like this: INSERT INTO `player_storage`...
  16. Elwyn

    Linux About Error in Console - Mysql!

    Well, you're vulnerable to a lot of things. First of all: mysql_real_query(): UPDATE `players` SET `ip` = '179.235.163.56' WHERE name = 'Na'vi'; - MYSQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use...
  17. Elwyn

    Solved [TFS 1.0]Potion system Help

    cid is already a variable declared when he does a onUse(), if I don't put the local, it'll still be global? (I'm really curious, lol)
Back
Top