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

    Solved Editing the database manually

    Fantastic, got online! Thank you! About that string, is it a hash code or something? I might want to create more accounts this way it'd be good to know how to do it. Is there a formula?
  2. R

    Solved Editing the database manually

    So I got the TFS sources from github and compiled them, and noticed there is no longer an account manager. I went to my database to add a test account so that I could log into the game but it doesn't seem to work. I went through the insert option and created an account, id 1, name 123 pass 123...
  3. R

    Lua NPC help needed!

    Hello guys I want some help with my NPCs, I want them to do two things: First I want them not to say things right away, but to wait idk two seconds or so Second I wanted them to advertise things on default chat. As for the first problem, I'm using this function: function delay_s(delay) local...
  4. R

    Solved Create an item with a unique ID

    If you have a couple scripts malfunctioning, the server itself shouldnt close, only show a few error messages. Try doing what doggy said and put these variables as non-local inside the onUse(), if the other functions don't work just add the variables inside each of them. This is because some...
  5. R

    Solved Create an item with a unique ID

    you don't need the conditional if you don't actually have a condition lol. i mean, what is the condition that must have the value TRUE in order to create that item? I've written a short explanation if you want to read, if not, skip it: to ilustrate that situation better, let me use an example...
  6. R

    Solved Create an item with a unique ID

    if I understood the code well, the function that is going to set the unique id is 'create', since you left it almost blank. i'm sorry i didn't explain well, but let me try it again: if you still didn't get it, the variable item is the item created by the function doCreateItem(), for example...
  7. R

    Solved Create an item with a unique ID

    I think something like that should work:
  8. R

    Need a script to write something in a book

    I want the book to be obtainable by every player, not only by the first that loots the body. That's like putting a fire sword inside a chest because it's the reward of the quest.
  9. R

    Need a script to write something in a book

    Both worked, thank you very much Summ, that was very helpfull! Have a nice day!
  10. R

    Need a script to write something in a book

    I've found this on the sources static int luaDoSetItemText(lua_State *L); trying both solutions right now, updating in a few minutes
  11. R

    Upgrading 8.1 XML server to 8.6 SQL

    if you're looking for something to upgrade your database (players and stuff) look up for 'xml to sql' about the scripts and stuff, they should be working on the newer versions, but maybe some functions are too old.
  12. R

    Need a script to write something in a book

    I'm making a quest on which you open a dead body and find a book with some stuff written on it. I'm kinda experienced in scripting but I don't know of any function that writes on books, something like doAddText(), I don't know. the script should be like function onUse(cid) if...
Back
Top