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

    Action Alive Skinning - Simple TFS 1.2 Script

    Better version of the same script posted above, following both tips. local mEffect = 1 local creatures = {pack1 = {"Sheep", "Black Sheep"}, pack2 = {"Deer", "Bear", "Rat"}, pack3 = {"Dragon", "Wyvern"}} local rewards = {pack1 = 11236, pack2 = 5878, pack3 = 5877} local amounts = {pack1 = 5...
  2. Oneda

    Action Alive Skinning - Simple TFS 1.2 Script

    Yeah! It probably would, I just started studying tables and other things @Codex's tutorial, thanks for the tip by the way! Right? Just didnt realized there were new functions for those, kinda getting into TFS 1.2 for basically the first time, thanks for the tip!
  3. Oneda

    Lua Small problem with "getTarget" in a new function

    So guys, How should I get the player target inside a new function I'm making? (Target isnt a creature, should be a tile/item) function isGathered(cid, decayId) for _, tPlayer in ipairs(Game.getPlayers()) do local target = cid:getTarget() target:transform(decayId)...
  4. Oneda

    Action Alive Skinning - Simple TFS 1.2 Script

    PS: I actually forgot to remove something from the script, and as I can't edit the topic, I'll just tell you guys what to do here: 1- Remove every "local tPos = getCreaturePosition(target)" from the script. 2- add "local tPos = getCreaturePosition(target)" just under local dleather....
  5. Oneda

    Spell Spell which can be cast only if you have X item on X slot.

    Hey guys, I just modified a berserk spell so it can only be cast if you have a Winged Helmet or a Warrior Helmet in your CONST_SLOT_HEAD. Have in mind, this is just a base spell so you can check out how to limit spells to be used only if you have X item equipped on X slottype. local combat =...
  6. Oneda

    Action Alive Skinning - Simple TFS 1.2 Script

    Hey guys! I've been developing my lua skills and I just finished a script which allows you to use your obsidian knife on alive creatures (which you can config. which creatures you would like to be skinnable when alive) This version is still pretty simple, but could be used as a base for...
  7. Oneda

    Lua Help with a simple Gather System TFS 1.2 Tables

    Alright, I tried it but it gave me a nil error, searched on google for TFS 1.2 functions and found out it has changed. Instead of table.contains I used isInArray and it worked just fine, thanks dude! Final script if someone needs: local bushIds = {2769, 2768, 2767, 2771} function onUse(player...
  8. Oneda

    Lua Help with a simple Gather System TFS 1.2 Tables

    Hey guys! I got a small problem here, I made a real simple base gather system for TFS 1.2, which has a table for bush IDs on it, and I just CANT remember how do I use tables at all. function onUse(player, item, fromPosition, target, toPosition, isHotkey) local bushIds = {2769, 2768}...
  9. Oneda

    Looking for RPG scripts ideas!

    Hello everyone, I'm Oneda. I'm planning on studying some LUA and C, and I thought that the best way of doing it, was to create RPG scripts, that could be later used in a server or released publicly here. Feel free to let your ideas down here! Don't forget to be as specific as you can when...
  10. Oneda

    Lua Need SetTown function.

    Ey everyone! I need a setPlayerTown function for TFS 0.36, the one I'm using didn't come with it. Thanks for the help! Att, Oneda.
  11. Oneda

    All files. If you help me, I will be very happy.

    https://otland.net/threads/compiling-error-glew32.245383/ Check this topic.
  12. Oneda

    All files. If you help me, I will be very happy.

    https://github.com/edubart/otclient/wiki
  13. Oneda

    Solved Fresh TFS 1.2 crashes at "Loading Script Systems"

    Welp. Dumb me, worked as a charm, thanks alot!
  14. Oneda

    Solved Fresh TFS 1.2 crashes at "Loading Script Systems"

    Well, I just fixed it, it really was the data folders, most updated one has something buggy in it or something. (Downloaded a global datapack just for the data folder and replaced the "fresh" ones) Thanks for the help tho everyone.
  15. Oneda

    Solved Fresh TFS 1.2 crashes at "Loading Script Systems"

    Well. Thats the problem. I didn't add anything. I just downloaded a fresh version of TFS 1.2 OBS: Even the last nightly release crashes at this, so it's definetly something on the folders, but what could it be?
  16. Oneda

    Solved Fresh TFS 1.2 crashes at "Loading Script Systems"

    Well, so. This is a FRESH (I mean it) TFS 1.2 which I just compiled [64bits], with fresh scripts and everything. No idea what I'm doing wrong, and if I try to compile it as 32bits it fails, says I'm missing some BOOST library file, which is weird, as I do have BOOST and it compiles fine as 64bits.
  17. Oneda

    What going happen in this

    mmh, some kind of upgrade system?
  18. Oneda

    How popular are you?

    4/10, haven't seen you around much
  19. Oneda

    Leshrot Graphics Gallery

    In love with the bright version, seems better than the near anime one
  20. Oneda

    Oneda's Mapping Thread

    Probably a problem with my map editor, it is actually randomized
Back
Top