• 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!

monster

  1. Paulix

    Get all monster info

    I'm trying to print all monster info on my console, so I know how to use it to make my script. I've been making this but looks like there is a lot of tables inside other tables and I can't figure how to make print it all. Here is how I was trying... function onSay(cid, words, param, channel)...
  2. L

    Spell that make players hit back

    I have a passive monster edit in sources Feature - Simple passive monsters So i wanted to make monsters ignore players by storage but couldn't find anything for TFS 1.2 If someone can make me a spell (wave) that the monster uses and if the spell lands the player damages the monster so it...
  3. B

    Windows After killing monster, other monsters on the screen do not pass through the bodies

    Dear friends, can anyone help me? I am with a Global Server OT 8.6, I have the following problem. After killing monster, let's say I'm surrounded by dead body, the other monsters on the screen do not pass dead bodies to attack me. I have heard that it is problem in source file, I assume in...
  4. T

    Lua Variable Monsters Health (TFS 0.4.0)

    Hi there, I'm recreating D&D aspects in my personal server (TFS 0.4.0 based) and I would like to recreate the variable max health from creatures. I mean, actually the max health is based in the monster.xml file, as default (health max ="xxx"), so every creature from the same type has the same...
  5. S

    Spawn Lure Position - TFS 0.4

    Hello guys, How can i change the distance/sqms/radius to attract/lure monsters? I searched in many files at the source and did not find. My interest is to decrease this distance lure was the same in the servers OldSchool (like a 8 sqms, for example). Thank you!!!
  6. GhostWD

    C++ monster getAttackedCreature

    Hi there! I've got code like this in monster.cpp if(isSagaMonster() && valueses == sagaNumber() && creature->getAttackedCreature() == this) ){ return (!creature->isRemoved() && creature->isAttackable() && creature->getZone() != ZONE_PROTECTION &&...
  7. K

    Unmovable monster?

    Hello! I´m working on a little project, a 7.6 server (XML - it´s old, I know, but usually simple, just for a few friends and I.), and monsters can move diagonally, is it possible to make 1 specific monster/creature unmovable so it just stands still wherever it is placed in its spawn? Thanks, in...
  8. GhostWD

    C++ How to make monster attack only player with storage

    Hi there, I've got problem to solve, idk how to refere to attacker at isTarget method in monster.cpp bool Monster::isTarget(Creature* creature) { if(creature->isSagaMonster()){ return (!creature->isRemoved() && creature->isAttackable() && (creature->isSagaMonster() &&...
  9. GhostWD

    Lua Change monster flag

    Hi OTLanders, Got question to you, is there any possibility to change monster flag(attackable,hostile) with lua functions? I'm using tfs 0.4 Thanks in advance
  10. elnelson

    Lua Catch monsters

    Hello, otlanders, hope you guys are fine :). im trying to modify this script. these are the features: 1-.Use X ítem on monster 2-.% succes rate 3-.If monster captured (ex. Wolf) it soul get contained until use my requeriments are these: -If i capture a Wolf, when i use the ítem it should summon...
  11. Pluto

    [TFS 0.4] 8.6, Distance Attack stops while walking

    While using distance weapons (spears, bows etc.) and walking at the same time, player doesn't attack. To shoot any distance weapon, you have to stop first and not move. No problems with melee weapons. Any ideas how could I fix that, or solutions? -- SOLUTION -- Thanks very much to fla5h for...
  12. Aled

    [TFS 1.x] Monster pick up item and throw

    Just a little fun: Monster picks up item from ground and throws it at the player. Put <script> <event name="rockthrow"/> </script> in the monster xml and in creaturescripts.xml <event type="think" name="rockthrow" script="rockthrow.lua" /> and in rockthrow.lua local rockid = 1285 function...
  13. L

    Lua Change health of summon.

    Is there any function in tfs 1.2 equivalent to "setHealth ()" Example usage Local health = [556] Monster: setHealth (health)
  14. G

    Lua [TFS 1.2] monster use spell only if it is at a distance > 1 from target

    Have this spell for example: someone knows how to check the distance between the creature and the target? thanks
  15. P

    Lua Damage from monsters

    Good night, I have a problem .. demons and monsters in general when they give magic in area are taking life from other monsters .. is there any way to avoid this? creaturescript?
  16. DukeeH

    [1.3] Arena for exp.

    Hello, I'd like to request an arena script, I'll try my best to explain what I want, already tried a few ways to do it, requested for a few ppl, but after lots of tries and errors I'm here. Would be 4 arena "types" (One monster each type). 6 Rooms for each type. Map SS: How it works? Player...
  17. DukeeH

    Lua Simple doubts on 1.3. Vocations & Monster Balance.

    Hello, I have some small doubts on 1.3 and I'll try to post them all to this thread, most of them should be small ones. 1. On 0.3.7 and 0.4 I used to balance vocations by using "wandDamage="1.0" magDamage="1.2" magHealingDamage="1.0" defense="1.6" magDefense="1.6"" on vocations.xml, is there...
  18. Crixpx

    [Request]Monster attacking with different damage depending on level

    Hello everyone.. I'm looking for a monster that attacks the player causes a greater damage if you are high level and minor damage if you are low level I need it for a quest in my server :D thanks <3
  19. demon088

    Lua Monster mystery box action script [SOLVED]

    Hello OtLanders! I need your help with this action script: local config = { monsterName = 'Demon', } function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = getPlayerPosition(cid) if(fromPosition.x ~= CONTAINER_POSITION) and item.itemid == 10503 then spawnEffect...
  20. Nekiro

    Help with monster spell

    Well, im really bad in scripting spells, so im asking for help u guys. How do I make monster to hit one sqm before himself always in direction he is facing? I want to make it in lua not in xml, because monster is talking something when he is doing this. But he is hitting only one direction...
Back
Top