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

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Thanks for the reply. I am new to scripting, and trying to learn. Im using TFS 1.3 and well, i just started the scripting from there. However, ur code does not work. I did some minor changes due to errors; local config = { center = Position(558, 744, 7), rangeX = 5, rangeY = 2...
  2. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Hello! Im struggling on getting this code to work.. So, the start of this function is 4x different creatures(not random) summoned when performing an action. What i want this script to do, is to search an area defined in the code, to confirm that all 4 creatures are killed. That is, 1 ghoul, 1...
  3. Klank

    [France][10.98/Custom] Trollheim Online - no payments/free to play

    Many great features! Worth trying!
  4. Klank

    TFS 1.X+ [LUA][Newbie] ScriptHelp - Local variables resets and more

    ahh thanks man... Now it works perfectly ! Appriciate the help!
  5. Klank

    TFS 1.X+ [LUA][Newbie] ScriptHelp - Local variables resets and more

    Hey, thanks that solved the issue, i did not put anything into the global.lua but just removed "local" infront, but that might be the same thing.. I have evolved the script some more and facing a new issue. Scripts works fine, but if i click the wall within the 10 seconds the stair shall appear...
  6. Klank

    TFS 1.X+ [LUA][Newbie] ScriptHelp - Local variables resets and more

    Hello, My plan is two click on two different walls and a stairwell will appear. I'm in the phase of learning scripting and i know my code is super crap.. However, i almost got it to work. The problem i am facing is that "local Wall1" and "local Wall2" resets to 0 every time I activate the...
  7. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Update: Somehow the revert of the tile worked as expected if i inserted an "if" statement extra in the event, similar to the "else" statement Instead of using "game.createitem()". Dont ask me why, but it worked.
  8. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Thank you , that explain a lot! Exactly what i was wondering on. You still have no idea on why yours work and mine not? Regarding the tile being removed/added?
  9. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Thats weird.. i see the poff and everything, but the actual tile does not go back to 3177, it stays at 4835.. Thx for the other info, but i was more intrested in when and how i should use the different parameters within the function.
  10. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Thank you man, this time it didnt crash :D The event works 90%, the tileposition does not revert back to its normal tile (3177). Why? Does this have anything to do about the value is not called back to the function? The "game:createitem" for 3177 doesnt actually go anywhere? Also another...
  11. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Sorry i must be blind... I feel i have exact copy of your picture. Code is in here; Script at Github With this last "version" of code, im getting this;
  12. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Hey, thanks for the responds. Hmm ok, do you have any examples to show on how to use "toPosition" in event in a function? I can't get it to work, i've read some basic lua, but i dont understand everything about argument, index etc. You got any tips on a good page to read about it?
  13. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Thank you, but it seems it crashes the client. Error in TFS:
  14. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    hmm okey. Can you like show me exactly how it should look like in my script? I tried to add these but didnt work. As title says, sorry, but i'm fairly new to this..
  15. Klank

    TFS 1.X+ [LUA]AddEvent with function problem [Newbie]

    Hello, I'm currently trying to learn scripting and im facing an (probably easy) issue. I know Line 13 causing the error, but i dont know how to fix it yet. I followed the tutorial from this thread; [How-to] Using addEvent() by Evan. I'm trying to reset a function that was done after X seconds...
  16. Klank

    [PROJECT] Welcome to Clickz Custom Map Project!

    Keep it up. I recommand using 100% RAW. This way your mapping will look more natural and you have control over every single thing you map. It takes more time, but the result is much better. I started off with autoborder on my map and ended up edit it all with RAW (which was very time consuming...
  17. Klank

    From Windows 10 to OTS development machine for dummies - part 2

    Hello, I changed the files (copied from your release to IntelliJ) you released but i'm getting this error: "Uncaught Error: Class "ConfigPHP" not found in C:\xampp\htdocs\classes\website.php:36 Stack trace: #0 C:\xampp\htdocs\classes\website.php(44): Website::loadWebsiteConfig() #1...
  18. Klank

    Althea ¤ A New World ¤ Mapping Thread ( Scripting atm, low activity on mapping part )

    Hey Otland! Im back and will give it a new try to finilize this project. @HalfAway helps me getting everything up to date as per now, so stay tuned for more updates. As the map has come pretty far theres much scripting to do aswell. I will try to upload new pictures of the map as the old links...
  19. Klank

    Sanchez |Mapping thread|

    You are a great tomb mapper! Loved those. Doing a good job, but i agree with @Kuzyn, small detailing gives a good finnish. at the last pictures i miss gravel on the ground outside of the building, but looking good. :)
  20. Klank

    Gilgamach - Mapping Showoff

    I actually liked your first picture. Good placement of interior, good start. if you would like to improve nature mapping, i suggest you try to map exactly the same as another nature scenario mapyou find here at Mapping Showoff. I recommand you to use Pure RAW ( i saw you used raw) mapping for...
Back
Top