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

    Solved Action not working

    Maybe if you change: if getPlayerLevel(config.oldpos[i]) >= config.level then to: if getPlayerLevel(p[1]) >= config.level and getPlayerLevel(p[2]) >= config.level then
  2. Elime

    Solved NPC responds to all keywords

    Add: function greet(cid) talkState[cid] = 0 return true end after: function onThink() npcHandler:onThink() end and at the bottom add: npcHandler:setCallback(CALLBACK_GREET, greet) This will reset the talk state every time you say 'hi' to the NPC. Edit: What happened to the edit...
  3. Elime

    I have a problem with the code.

    @raezil Hm... I guess you can make use of boost instead: if(points>value) { g_game.addAnimatedText(getPosition(), TEXTCOLOR_GREEN, "New Damage!"); std::string pointsString = boost::lexical_cast<std::string>(points); setStorage(1000, pointsString.c_str()); }
  4. Elime

    I have a problem with the code.

    @raezil Sorry, it should be: if(points>value) { g_game.addAnimatedText(getPosition(), TEXTCOLOR_GREEN, "New Damage!"); std::string pointsString = std::to_string(points); setStorage(1000, pointsString.c_str()); } I forgot the name space =P
  5. Elime

    WASD walker

    I checked out the Classicus client and I can see they have changed the class name, probably to prevent bots? I could add support for Classicus but as you pointed out I don't know if they consider it cheating. =P
  6. Elime

    I have a problem with the code.

    @raezil I believe this is what you want: if(points>value) { g_game.addAnimatedText(getPosition(), TEXTCOLOR_GREEN, "New Damage!"); string pointsString = to_string(points); setStorage(1000, pointsString.c_str()); }
  7. Elime

    WASD walker

    Are you talkning about OTClient? I believe OTClient got WASD walking built in already. =)
  8. Elime

    WASD walker

    Yes, but you can only type with keys that are not redirected. To be able to type anything you want you will have to press 'y' or Ctrl + Enter. ^^
  9. Elime

    Elime's NPC Editor

    Strange... =S Here you got MediaFire links: Windows Linux OSX
  10. Elime

    WASD walker

    Did you download vcredist_x86.exe?
  11. Elime

    Elime's NPC Editor

    I tested the xml file and had the same problem using TFS 0.2.14. Apparently it doesn't work if you start the keywords with a capital letter. Changin "Kruphix;Sanctuary;Hideouts;Evil" to "kruphix;sanctuary;hideouts;evil" will make it work as expected.
  12. Elime

    Elime's NPC Editor

    What exactly was generated in the xml file? What destribution are you using?
  13. Elime

    WASD walker

    I don't think so. This tool doesn't send any packets or make any dll injection.
  14. Elime

    WASD walker

    So just to clarify for everyone. You need the 32 bit version of Visual C++ packages even if you got Windows 64 bit installed on your computer.
  15. Elime

    Elime's NPC Editor

    The server is temporarily down now and then. Just check again later.
  16. Elime

    Elime's NPC Editor

    So I would only have to add the old outfits to make this tool fully compatible with OTHire? This tool does not generate any lua file. The xml file contains both walkinterval and idleinterval? I thought walkinterval had replaced idleinterval.
  17. Elime

    Elime's NPC Editor

    Currently it doesn't support servers that old. I guess you are using Avesta? The editor doesn't have the old outfits and the attribute 'walkinterval' would have to be changed to 'idleinterval'. Also I'm not sure the old servers have the shop module, messages and keywords module. Do you know if...
  18. Elime

    Elime's NPC Editor

    Updated to version 1.1 Changes: Scrolling with the scroll wheel in Talking tab is now much faster It is now possible to make the outfit image larger than before with the size slider Selecting speech bubble is now done differently The speech bubble is now shown on the actual outfit image...
  19. Elime

    Solved error create monster

    I think you need to change the source code to remove this error. The luaDoCreateMonster function prints an error instead of returning false. But you could just ignore the error. It's not dangerous in any way. =P
  20. Elime

    Action/GOD - Click and Drag

    You have to recompile after editing the sources. You can search the forum for a compiling guide.
Back
Top