OTX Server 3 - Based on TFS 1.2 (7.6/7.72 - 8.6 - 8.70/71 - 10.96)

krejken

Well-Known Member
Joined
Nov 24, 2009
Messages
54
Reaction score
1
Location
poland
i have problem with Incredibly Old Witch
My script in monsters/sorcerers/

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Incredibly Old Witch" nameDescription="an incredibly old witch" race="blood" experience="0" speed="220">
<health now="100" max="100" />
<look type="54" corpse="20535" />
<targetchange interval="5000" chance="50" />
<flags>
<flag summonable="0" />
<flag attackable="0" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="1" />
<flag targetdistance="4" />
<flag staticattack="90" />
<flag runonhealth="0" />
</flags>
<attacks>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Rat" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Chicken" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Green Frog" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Pig" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Bug" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Kongra" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Dog" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Skunk" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
<attack name="outfit" interval="4000" chance="75" range="5" radius="5" target="1" monster="Donkey" duration="20000">
<attribute key="areaEffect" value="teleport" />
</attack>
</attacks>
<defenses armor="199" defense="199" />
<immunities>
<immunity energy="1" />
<immunity physical="1" />
<immunity death="1" />
<immunity holy="1" />
<immunity invisible="1" />
<immunity ice="1" />
<immunity earth="1" />
<immunity fire="1" />
<immunity drown="1" />
<immunity lifedrain="1" />
</immunities>
<voices interval="2000" chance="7">
<voice sentence="Stupid people!" />
<voice sentence="Everyone is so stupid!" />
<voice sentence="Feel the wrath of the witch!" />
<voice sentence="Oh how you will regret to have disturbed me!" />
<voice sentence="I will teach them all to leave me alone!" />
</voices>
</monster>


Script working excelent no bugs in console but the "Incredibly Old Witch" not changing outfit for donkey and pig. only Rat, Chicken, Green Frog, Bug, Kongra, Dog and Skunk working.
Some body help me fixing this problem??
 

krejken

Well-Known Member
Joined
Nov 24, 2009
Messages
54
Reaction score
1
Location
poland
my scripts pig and donkey

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Pig" nameDescription="a pig" race="blood" experience="0" speed="130" manacost="255">
<health now="25" max="25" />
<look type="60" corpse="6000" />
<targetchange interval="4000" chance="0" />
<flags>
<flag summonable="1" />
<flag attackable="1" />
<flag hostile="0" />
<flag illusionable="1" />
<flag convinceable="1" />
<flag pushable="1" />
<flag canpushitems="0" />
<flag canpushcreatures="0" />
<flag targetdistance="1" />
<flag staticattack="90" />
<flag runonhealth="25" />
</flags>
<voices interval="2000" chance="7">
<voice sentence="Oink oink" />
<voice sentence="Oink" />
</voices>
<loot>
<item id="2666" countmax="4" chance="64000" /> <!-- meat -->
<item id="10610" chance="950" /> <!-- pig foot -->
</loot>
</monster>


<?xml version="1.0" encoding="UTF-8"?>
<monster name="Donkey" nameDescription="a donkey" race="blood" experience="0" speed="150">
<health now="45" max="45" />
<look type="399" corpse="13509" />
<targetchange interval="2000" chance="20" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="0" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="1" />
<flag canpushitems="0" />
<flag canpushcreatures="0" />
<flag targetdistance="1" />
<flag staticattack="90" />
<flag runonhealth="25" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-5" />
</attacks>
<defenses armor="2" defense="2" />
<voices interval="2000" chance="7">
<voice sentence="Grunt!" />
</voices>
<loot>
<item id="2666" countmax="2" chance="20000" />
</loot>
</monster>
 

Syntax

Developer
Joined
Oct 10, 2007
Messages
2,832
Reaction score
179
Location
Texas
the map is same for otx and tfs, i am using tfs map on otx server.
It was a joke, old servers that used the OTX map type were called OTX servers (before OTBM got popular)
They stored the map in a xml file.
 

Arth07

New Member
Joined
Jan 21, 2010
Messages
16
Reaction score
0
Hello guys
im trying to compile this server on Linux Debian 9 and i got this error:

CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find PugiXML (missing: PUGIXML_INCLUDE_DIR PUGIXML_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/FindPugiXML.cmake:14 (find_package_handle_standard_args)
CMakeLists.txt:22 (find_package)
Someone can help? :(
 
Last edited:

Tecrtr

New Member
Joined
Jan 30, 2019
Messages
12
Reaction score
0
What are the GOD codes for creating items?
eg I want to create 1kk what should I enter?
/i 2160 100 - does not work, so what command
 

115820

Intermediate OT User
Joined
Feb 27, 2011
Messages
101
Reaction score
0
This version have support for sqlite?
 
Top