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

    TFS 0.X elevation system bug

    that was it, u fix the problem thank you so much!
  2. zabuzo

    TFS 0.X elevation system bug

    Hmmm now i gottcha, thank you so much at last now i know what is the problem... But i never did such a thing like this, this system i take from this forum How can i get functions like that on C++? I mean, when i need to make a script for LUA i always found functions to LUA here...
  3. zabuzo

    TFS 0.X elevation system bug

    game.cpp: In member function ‘ReturnValue Game::internalMoveCreature(Creature*, Creature*, Cylinder*, Cylinder*, uint32_t, bool)’: game.cpp:1258:71: error: ‘class Tile’ has no member named ‘getZ’; did you mean ‘getZone’? if((toTile->getHeight() - fromTile->getHeight() >= 2) &&...
  4. zabuzo

    TFS 0.X elevation system bug

    bump
  5. zabuzo

    TFS 0.X [EDIT] change bonus party x4

    I found here on this forum the famous bonus party x4 to 8.60 On the script each vocation give +50% exp, so 200% total with 4 vocations (2x) But i'm making a custom project, with custom vocation and idk how to adapt this This is the bonus code: uint32_t Player::getBaseVoc() { uint32_t...
  6. zabuzo

    Support C# scripting

  7. zabuzo

    TFS 0.X define exacly how many skills player will drop on death

    Is it possible to define exactly how many skills players will gonna drop when die on LUA? Just like this in a script on death or something: local totalblessreduction = 0.0 local eachblessreduction = 0.3 -- 5 blesses * eachblessreduction = 1.5 for i = 1, 5 do if(getPlayerBlessing(cid...
  8. zabuzo

    TFS 0.X define how many skills/ml player will lose

    Is it possible to do on LUA? On event onDeath or anywhere else If it is possible it is not a bad thing to do? Or its better to do on sources?
  9. zabuzo

    TFS 0.X define how many skills/ml player will lose

    How to define how many skills/ml player will lose when he dies? Just like this: if(skills >= 1 && skills <= 40) skillslose = 0.5; else if(skills >= 41 && skills <= 60) skillslose = 1; else if(skills >= 61 && skills <= 80) skillslose = 1.5; else if(skills >= 81 && skills <= 100) skillslose = 2...
  10. zabuzo

    TFS 0.X Red Skull/Black Skull don't drop ther items

    you were right, it bug so easy, sometimes don't remove tries, sometimes remove a lot there isn't a way instead of take risk to do some shits in ml https://github.com/Fir3element/3777/blob/aef29d0ac94140c5d095cb1f55a34035e42746b3/src/player.cpp#L2297 skill...
  11. zabuzo

    TFS 0.X elevation system bug

    I'm using the elevation system to make the famous parcel trap: Its just this 3 changes made by mkalo: Game.cpp: ReturnValue Game::internalMoveCreature(Creature* actor, Creature* creature, Cylinder* fromCylinder, Cylinder* toCylinder, uint32_t flags/* = 0*/) { //check if we can move the...
  12. zabuzo

    TFS 0.X change some things in bonus party share exp x4

    The base i was talking about is that: local voc = getPlayerVocation(pid) if voc == 1 or voc == 4 or voc == 5 or voc == 6 or voc == 7 then HUMAN = true elseif voc == 2 or voc == 8 or voc == 9 or voc == 10 then VAMPIRE = true...
  13. zabuzo

    TFS 0.X Red Skull/Black Skull don't drop ther items

    It works! THANK YOU It's not dropping all items anymore Could u help me with that other last thing? How to change the magic level loss? I tried this: sumMana += manaSpent; lostMana = (uint64_t)std::ceil(sumMana * ((double)(percent * lossPercent[LOSS_MANA]) / 100.))...
  14. zabuzo

    TFS 0.X change some things in bonus party share exp x4

    I found here on forum the famous party x4 bonus EXP to 8.60 When u have the 4 vocations (knight,paladin,sorcerer,druid) u have 200% exp bonus (+50% for each vocation) But i'm trying to make a custom project, with new vocations 0 no vocation (soul) 1 human, 2 vampire, 3 werewolf 4,5,6,7 humans...
  15. zabuzo

    TFS 0.X Red Skull/Black Skull don't drop ther items

    Where should i change in my source code to when players red skulls / black skulls when they die, they don't lose every items? Just lose items as players normal. But red skulls when die drops 3x more EXP/SKILLS/ML And black skulls when die drops 9x more EXP/SKILLS/ML I recommend u guys, server...
  16. zabuzo

    Lua dungeon lever error

    you helped a lot, now i can make a hole dungeon stuff :D and everybody else in this forum :D
  17. zabuzo

    Lua dungeon lever error

    thank you man
  18. zabuzo

    Lua dungeon lever error

    in after check everything and everything is right to start the dungeon, nothing happen no errors, just not teleport the players inside looks like it is not called for x = 1, #questPlayers do -- 4 how to: after go in have a exausted of 24 hours to go again...
Back
Top