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

    Script request

    Thank you all. I'll dive into those tutorials and see what I can do.
  2. V

    Script request

    I really appreciate your will to help and would like to thank you for you attention. Unfortunately, I don't have this kind of access to in-server data. I could only run the requested script at the client's terminal. As a cyclic event so the character would constantly be checking the creature...
  3. V

    Script request

    I've pasted the whole script at the terminal. Nothing happened. Tried editing the code to this one: cycleEvent(function() if g_game.isOnline() then local creatures = {} function onStatsChange(cid, attacker, type, combat, value) if not isPlayer(attacker) then return true end if type ==...
  4. V

    Script request

    First of all, I've never said I wasn't trying to meet my goal or need. You assumed that. And it's not a bad thing. However, indeed I came to this forum looking for help to encode a function in a server that allows me to do so. If you can read Portuguese, I can link the same request I did here...
  5. V

    Script request

    Sorry about the misunderstanding. As I said, my coding skills are nearly zero. I came to this forum looking for help. So you suggest that I try using his complete code for the desired function? Or am I getting it all wrong (since the provided code works on the developer instance and I am...
  6. V

    Script request

    I'm trying to run this script on the terminal, with the compiled version of the client. The logic and the functions for the code aren't wrong, I guess. Can't figure out what's wrong.
  7. V

    Script request

    So, I've tried the following: I've established a trigger (hitting a certain percentage of health of a certain creature) and an action to take (send a message): cycleEvent(function () if g_game.isOnline() if getCreatureName(cid):lower() ~= "Juggernaut" then if (getCreatureHealth(cid) - value)...
  8. V

    Script request

    Good morning, I've tried writing a code, however could not make it work. My codding skills are below basic. I need a script that makes the player say a specific sentence once the monster health hit a certain percentage. For example, if a Juggernaut hits the 30% HP mark, the player will use a...
Back
Top