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

    Res Monster

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatArea(combat, createCombatArea(AREA_SQUARE1X1)) function onTargetCreature(cid, target) return doChallengeCreature(cid, target) end setCombatCallback(combat, CALLBACK_PARAM_TARGETCREATURE...
  2. Erexo

    TalkAction Basic Check HP

    Since 'level' is uint and TFS would go crazy if level == 0 (e.g. getExpForLevel(0) would return more than 1 trillion), you can omit that check for level. You don't need all those local variables since you are using them only once, try to make code as short as possible to improve readability. One...
  3. Erexo

    Wanna be spriter! 0-365

    that's a dope shield
  4. Erexo

    Client ip

    @Fresh will help you with that, he did that previously
  5. Erexo

    transforms error

    Take look at this.
  6. Erexo

    Condition

    @Fresh is right, he's an expert in TFS 1.2
  7. Erexo

    TFS 0.X Forever aol?

    Add the line that Catalyst proposed to remove, but change the charges count to some high number like 2000000000. If you want to make it right, you can mess with statement inside if(preventLoss) in Player::eek:nDeath(). If you want all of your preventLoss items to be ethereal, you can remove the...
  8. Erexo

    Fade tile

    Like quantum physics, right?
  9. Erexo

    Pixelart for naruto ots

    @RoyalzBHO
  10. Erexo

    What Anime Tibia Server Are You Playing Now?

    Let me avertise myself here a little bit ^^ www.ntsw.pl, we are launching in like 2-3 weeks
  11. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    yop, I've already fixed that. Your solution was also good
  12. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    The code looks fine, try to clean and rebuild.
  13. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    can you post your game.cpp?
  14. Erexo

    TFS 1.X+ where to find shootTypes?

    and you probably should add new shoot effect to the client itself
  15. Erexo

    TFS 1.X+ where to find shootTypes?

    tools.cpp ShootTypeNames shootTypeNames[] = { ... } const.h enum ShootEffect_t { ... }
  16. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    did you update game.h method headers? Not add but update them
  17. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    You can edit those functions in luascript.cpp int32_t LuaScriptInterface::luaDoPlayerRemoveMoney(lua_State* L) { //doPlayerRemoveMoney(cid,money[, includeBank = true]) bool includeBank = true; if(lua_gettop(L) > 2) includeBank = popBoolean(L); uint64_t money =...
  18. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    Those warnings are nothing to worry about, I've edited the code to get rid of them. I've also added the message you've requested, I've copied the text from real tibia.
  19. Erexo

    TFS 0.X Buy items with money backpack or bank balance 0.4

    I've updated my answer, now it should work. If you really think that a player can have more than 429497cc (that is 4294967295gp, or 215bps filled with stacked cc), you should change getMoney to uint64_t, and I think that there will be more problems with that.
Back
Top