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

    TFS 1.X+ combat:execute with targets from getSpectators

    I manage to make it work using this combat:execute(cid, {["type"] = 1, ["number"] = alt_targets[i].uid}) But this probably isn't the best way to make this, does anyone know how to get this kind of information from "Creature" userdata?
  2. Paulix

    Lua Spell - change vocation for 10 secounds

    Have you tried editing one of the buffing spells already present? I did a quick editing, try this... local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition =...
  3. Paulix

    TFS 1.X+ combat:execute with targets from getSpectators

    I was playing around with some spells, trying to do some combat on multi creatures... function onCastSpell(cid, var) alt_targets = Game.getSpectators(Creature(var.number):getPosition(), false, false, 1, 2, 1, 2) --minRangeX, maxRangeX, minRangeY, maxRangeY for i=1,#alt_targets do...
  4. Paulix

    C++ How do I show datetime to my console outputs

    I was looking on 0.4 sources, and looks like thats not how it is done (can't find how it is), it must have a better way to do this
  5. Paulix

    C++ How do I show datetime to my console outputs

    Title, my console is like this on TFS 1.4 I want to add date time to something like 0.4
  6. Paulix

    OTClient Prevent multi client

    bump
  7. Paulix

    OTClient Prevent multi client

    I'm actually using otclientv8-master, but you can open multiple instances, how do I prevent MC in OTClient?
  8. Paulix

    TFS 1.X+ Spells and Movements vocation id instead of name

    If anyone wants, here is how I solved the problem... spells.cpp for (auto vocationNode : node.children()) { if (!(attr = vocationNode.attribute("name"))) { continue; } int32_t vocationId = g_vocations.getVocationId(attr.as_string()); if (vocationId...
  9. Paulix

    TFS 1.X+ Spells and Movements vocation id instead of name

    I've tried only on spells tbh, and it didn't work i've made some adjustments, but now it is now showing properly weapon descriptions spells.cpp int32_t vocationId = g_vocations.getVocationId(attr.as_string()); to int32_t vocationId = attr.as_int(); weapons.cpp int32_t vocationId =...
  10. Paulix

    TFS 1.X+ Spells and Movements vocation id instead of name

    I'm actually using tfs 1.5 downgraded to 8.6, but in movements, spells and weapons, it is using <vocation name="vocation"/> instead of <vocation id="2"/> like it was used on tfs 0.4. Is it possible to change it in sources to use ID instead of name? couldn't find anything, can someone help?
  11. Paulix

    [8.6] [TFS1.3] Alkurius Global & Coustom

    I'm coming from a 8.6 server with account manager and sqlite, my server is running, but I can't login because I can't create any account... Is there any way to enable account manager? my website just show this error... I'm looking for hours trying to fix it
  12. Paulix

    Field makes element hit forever

    subid just make both apply at the same time, but if the player is on top of the field the poison hitting 400 stays forever
  13. Paulix

    Field makes element hit forever

    I'm using this to make a poison skill local condition = createConditionObject(CONDITION_POISON) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) setConditionParam(condition, CONDITION_PARAM_FORCEUPDATE, true) addDamageCondition(condition, 5, 1000, -400) The problem is that when a player...
  14. Paulix

    TFS 0.4.3 Block damage on same outfit

    worked like a charm, getting current outfit + code changes
  15. Paulix

    TFS 0.4.3 Block damage on same outfit

    i needed to remove ) at the end of each line, compiled but didn't work, i can attack players with exact the same outfit, no errors on console and no critical errors on client @EDIT it is working but only if players change for same outfit, when i set player temporary outfits it doesnt work, but...
  16. Paulix

    TFS 0.4.3 Block damage on same outfit

    i know there is a option that you cannot damage same feet, but i would like block attack only if the whole outfit is the same, can someone edit the sources for me? if((attackerPlayer = attacker->getPlayer()) || (attackerPlayer = attacker->getPlayerMaster())) { checkZones =...
  17. Paulix

    TFS 0.4.3 Hide gamemasters from highscores

    its called "group_id", but group 1 is access 0 and group 6 is access 5 so it would hide group 4 or more, could you do it for me? i know nothing about sql
  18. Paulix

    Level System. help

    dude, explain your "level system" better, how can someone help you if you dont describe your problem?
  19. Paulix

    TFS 0.4.3 Hide gamemasters from highscores

    Currently highscores on my server is working as it should, but it shows every player skill including god and gms characters, how can i hide characters with access 3 or more from appearing on highscores? here is what i found on sources: Highscore Game::getHighscore(uint16_t skill) {...
  20. Paulix

    TFS 1.X+ tfs 1.3 bug magicwall (when server is NO PVP)

    magic wall is considered a agressive move, so you cannot use it when server is no-pvp try adding:combat:setParameter(COMBAT_PARAM_AGGRESSIVE, FALSE) and see if it works
Back
Top