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

Search results

  1. Drakkhan

    Lua NPC Editing: How to code items worth less than 1 gold.

    Is it possible to set an NPC to sell things for less than 1 gold? I'm trying to set it to sell feathers, but 1 gold coin seems excessive for 1 feather. Any ideas!? Anything would be helpful. Thanks!
  2. Drakkhan

    Vocations.xml help.

    I'm running TFS_10_915, and I've noticed that my Knight is gaining shielding skill very slow. I don't wish to slow down or speed up how his other skills gain, I just want to speed up shielding gain. The problem is, all the skills are set to 1.1 in Vocations.xml. What range of values is ok for...
  3. Drakkhan

    Lua [Help] Pop-Up Windows

    What kind of functionality is there to call pop-up windows from lua scripts, and how do they work? I am looking to open up a conversation on pop-up windows in general. I fully understand script and item inputs and outputs, but calling client-based windows is outside my knowledge. I'm using...
  4. Drakkhan

    Solved TFS 0.2.14 doTransformItem bug

    It appears that this function: doTransformItem(uid, toitemid, <optional> count/subtype) cannot be called in a function called using "addEvent(...)" or in a global function. If I use the "doTransformItem(...)" inside a global function or a function called using "addEvent(...)" I get an error...
  5. Drakkhan

    Lua Script that finds the surrounding items.

    I'm looking for a script that gets the SIDs, names and location of the 8 items immediately adjacent to the player when the script is called. These 8 items (using pseudo-"spell area" notation): { {1, 2, 3}, {4, P, 5}, {6, 7, 8} } Where P is the player. Regards, Drakkhan
  6. Drakkhan

    Lua Script that has effect while player isn't moving.

    I'm wondering if there is a way to loop a script so that it repeats every 1 second unless the player moves or changes the direction they're facing. Any ideas how this could be done? Regards, Drakkhan
  7. Drakkhan

    Item Editing Tutorial

    First! If you don't want the detailed version, here is my personal cheat sheet: And! I'm using Tibia 9.61, TFS 0.2.14 (Mystic Spirit) Links: Tibia Clients: http://tibiamulticlient.com/category/tibia-client/ The Forgotten Server 9.60/9.61...
  8. Drakkhan

    Item Editing Tutorial

    First! If you don't want the detailed version, here is my personal cheat sheet: And! I'm using Tibia 9.61, TFS 0.2.14 (Mystic Spirit) Links: Tibia Clients: http://tibiamulticlient.com/category/tibia-client/ The Forgotten Server 9.60/9.61...
  9. Drakkhan

    [Spell Help] How do instants decide direction?

    In "fire wave.lua" the code is: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.8, 0, -1.3, 0) local area =...
  10. Drakkhan

    Mapping Error on TFS 0.2.14

    This is pretty minor, but when my server loads my map it throws out a bunch of lines like this: [25/10/2013 23:19:10] ERROR: Attempt to set tile on invalid coordinate ( 00090 / 65535 / 006 )! What is causing this? My map is 10,000x10,000, who is trying to set these tiles here? RME won't even...
  11. Drakkhan

    Lua How exactly does movements.xml work?

    In my movements.xml I have lines like: <movevent event="StepIn" fromid="4620" toid="4625" script="swimming.lua"/> <movevent event="StepOut" fromid="4620" toid="4625" script="swimming.lua"/> and lines like: <movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem"/> <movevent...
  12. Drakkhan

    doPlayerSetMaxCapacity missing?

    I know this function used to exist.. but it is not listed. Is there some functionality to allow adding/removing maxcap? Regards, Drakkhan
  13. Drakkhan

    A couple talkaction guild commands.

    TFS 0.2.15 (Mystic Spirit) didn't have !invite functionality for my guildleader.. sooo.. I made a couple talkactions to replace that feature. Maybe someone else needs these? If nothing else, there's some informative use of functions! :) This in global.lua: GUILD_BASELINE = 9913000 This in...
  14. Drakkhan

    How do I capture the parameters typed after spell words?

    Consider the spell: Heal Friend --> exura sio "John" The string "John" is mysteriously transferred into the (table?) variable "var" in the spell's lau script: function onCastSpell(cid, var) How do I use var as a string variable? I want to be able to use the string "John" in my code within...
  15. Drakkhan

    Is it possible to set player names not to display?

    Does anyone think this is possible?: I'm looking to set up a talkaction that allows the player to declare whether others can see their name or not. Example: Player "John" walks up to player "Jane", neither of their names can be seen by the other, but each can see their own name. John says...
  16. Drakkhan

    Solved TFS What are the guild commands?

    Simple question, Where does one find a complete list of commands available to a guild leader? Specifically: How does a guild leader invite other characters to the guild?
  17. Drakkhan

    Sprites becoming see-through?

    Has anyone else encountered this? small chunks of random sprites in my server have become see-through... I HAVE edited the .spr, .dat, and .otb files.. but NOT these sprites/items that are invisible :/.. I'm using Storms Editor, Tibia Editor 9.81, and otitemeditor. Any ideas on why this is...
  18. Drakkhan

    Problem adding animated items

    So I'm trying to create an exact replica of "small enchanted sapphires" (SID: 7759 CID: 675 in my 9.61 .dat/.otb), except use the diamond graphics and call it "small enchanted diamonds", BUT my client flips out and crashes when I call the item into my server. Is there some special trick to...
  19. Drakkhan

    Solved doSendAnimatedText() help

    The function: doSendAnimatedText(pos, text, color) is listed in the "LUA_FUNCTIONS" reference of The Forgotten Server 0.2.14 (Mystic Spirit), but when I try to call it in my .lua script, I get: [05/10/2013 16:39:09] Lua Script Error: [Action Interface] [05/10/2013 16:39:09]...
  20. Drakkhan

    Help: More than 0-6 Skills

    I'm interested in adding more skills to my server (TFS 0.2.14 (Mystic Spirit)). I realize it may be extremely difficult to add the skills, and then over the top to get them to display in the client. I would LIKE to do both, but I would be happy with adding the skills and having them function...
Back
Top