celohere
Advanced OT User
- Joined
- Nov 27, 2007
- Messages
- 270
- Solutions
- 21
- Reaction score
- 152
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dark Monk" nameDescription="a dark monk" race="blood" experience="145" speed="210" manacost="480">
<health now="190" max="190" />
<look type="225" corpse="6080" />
<targetchange interval="5000" chance="0" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="1" />
<flag convinceable="1" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="1" />
<flag targetdistance="1" />
<flag staticattack="90" />
<flag runonhealth="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-100" />
<attack name="lifedrain" interval="2000" chance="15" range="1" min="0" max="-50">
<attribute key="areaEffect" value="redshimmer" />
</attack>
</attacks>
<defenses armor="25" defense="25">
<defense name="healing" interval="2000" chance="15" min="25" max="49">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
<defense name="speed" interval="2000" chance="15" speedchange="240" duration="6000">
<attribute key="areaEffect" value="redshimmer" />
</defense>
</defenses>
<immunities>
<immunity invisible="1" />
</immunities>
<voices interval="5000" chance="10">
<voice sentence="You are no match to us!" />
<voice sentence="This is where your path will end!" />
<voice sentence="Your end has come!" />
</voices>
<loot>
<item id="2689" chance="20550" /> <!-- bread -->
<item id="2148" countmax="18" chance="14600" /> <!-- gold coin -->
<item id="1949" chance="1790" /> <!-- scroll -->
<item id="2177" chance="1000" /> <!-- life crystal -->
<item id="2193" chance="910" /> <!-- ankh -->
<item id="2642" chance="880" /> <!-- sandals -->
<item id="2044" chance="550" /> <!-- lamp -->
<item id="2015" chance="400" /> <!-- brown flask -->
<item id="2166" chance="130" /> <!-- power ring -->
</loot>
</monster>
I'm using the same monster file and its workingEDIT
Never mind i found the problem, im stupid ;/
@cleohere
Oh well, what u think where could be problem if i got like this script and it dosent work for me?
Code:<?xml version="1.0" encoding="UTF-8"?> <monster name="Dark Monk" nameDescription="a dark monk" race="blood" experience="145" speed="210" manacost="480"> <health now="190" max="190" /> <look type="225" corpse="6080" /> <targetchange interval="5000" chance="0" /> <flags> <flag summonable="0" /> <flag attackable="1" /> <flag hostile="1" /> <flag illusionable="1" /> <flag convinceable="1" /> <flag pushable="0" /> <flag canpushitems="1" /> <flag canpushcreatures="1" /> <flag targetdistance="1" /> <flag staticattack="90" /> <flag runonhealth="0" /> </flags> <attacks> <attack name="melee" interval="2000" min="0" max="-100" /> <attack name="lifedrain" interval="2000" chance="15" range="1" min="0" max="-50"> <attribute key="areaEffect" value="redshimmer" /> </attack> </attacks> <defenses armor="25" defense="25"> <defense name="healing" interval="2000" chance="15" min="25" max="49"> <attribute key="areaEffect" value="blueshimmer" /> </defense> <defense name="speed" interval="2000" chance="15" speedchange="240" duration="6000"> <attribute key="areaEffect" value="redshimmer" /> </defense> </defenses> <immunities> <immunity invisible="1" /> </immunities> <voices interval="5000" chance="10"> <voice sentence="You are no match to us!" /> <voice sentence="This is where your path will end!" /> <voice sentence="Your end has come!" /> </voices> <loot> <item id="2689" chance="20550" /> <!-- bread --> <item id="2148" countmax="18" chance="14600" /> <!-- gold coin --> <item id="1949" chance="1790" /> <!-- scroll --> <item id="2177" chance="1000" /> <!-- life crystal --> <item id="2193" chance="910" /> <!-- ankh --> <item id="2642" chance="880" /> <!-- sandals --> <item id="2044" chance="550" /> <!-- lamp --> <item id="2015" chance="400" /> <!-- brown flask --> <item id="2166" chance="130" /> <!-- power ring --> </loot> </monster>
exacly this code:
<voices interval="5000" chance="10">
<voice sentence="You are no match to us!" />
<voice sentence="This is where your path will end!" />
<voice sentence="Your end has come!" />
</voices>
1>------ Operación Compilar iniciada: proyecto: theforgottenserver, configuración: Release x64 ------
1> actions.cpp
1> ban.cpp
1> baseevents.cpp
1> bed.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\bed.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\bed.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\ban.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\ban.cpp)
1> chat.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\chat.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\chat.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\actions.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\actions.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\baseevents.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\baseevents.cpp)
1> combat.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\combat.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\combat.cpp)
1> commands.cpp
1> condition.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\commands.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\commands.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\condition.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\condition.cpp)
1> configmanager.cpp
1> connection.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\configmanager.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\configmanager.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\connection.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\connection.cpp)
1> container.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\container.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\container.cpp)
1> creature.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\creature.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\creature.cpp)
1> creatureevent.cpp
1> depotchest.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\depotchest.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\depotchest.cpp)
1> depotlocker.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\creatureevent.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\creatureevent.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\depotlocker.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\depotlocker.cpp)
1> events.cpp
1> game.cpp
1> globalevent.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\game.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\game.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\events.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\events.cpp)
1> groups.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\globalevent.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\globalevent.cpp)
1> guild.cpp
1> house.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\groups.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\groups.cpp)
1> housetile.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\guild.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\guild.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\housetile.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\housetile.cpp)
1> iologindata.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\house.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\house.cpp)
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\iologindata.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\iologindata.cpp)
1> iomap.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\iomap.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\iomap.cpp)
1> iomapserialize.cpp
1> item.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\item.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\item.cpp)
1> items.cpp
1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\items.cpp)
1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\items.cpp)
1>Se canceló una tarea.
1>Se canceló una tarea.
La compilación se ha cancelado.
Thanks for reporting , its weird ,are you using the datapack that comes by default?If not you need to add the migrations file 18 and 19.NICE RELEASE
Post automatically merged:
Latest sources downlaoded from here, today.Code:1>------ Operación Compilar iniciada: proyecto: theforgottenserver, configuración: Release x64 ------ 1> actions.cpp 1> ban.cpp 1> baseevents.cpp 1> bed.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\bed.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\bed.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\ban.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\ban.cpp) 1> chat.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\chat.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\chat.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\actions.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\actions.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\baseevents.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\baseevents.cpp) 1> combat.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\combat.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\combat.cpp) 1> commands.cpp 1> condition.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\commands.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\commands.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\condition.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\condition.cpp) 1> configmanager.cpp 1> connection.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\configmanager.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\configmanager.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\connection.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\connection.cpp) 1> container.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\container.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\container.cpp) 1> creature.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\creature.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\creature.cpp) 1> creatureevent.cpp 1> depotchest.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\depotchest.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\depotchest.cpp) 1> depotlocker.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\creatureevent.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\creatureevent.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\depotlocker.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\depotlocker.cpp) 1> events.cpp 1> game.cpp 1> globalevent.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\game.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\game.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\events.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\events.cpp) 1> groups.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\globalevent.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\globalevent.cpp) 1> guild.cpp 1> house.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\groups.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\groups.cpp) 1> housetile.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\guild.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\guild.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\housetile.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\housetile.cpp) 1> iologindata.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\house.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\house.cpp) 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\iologindata.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\iologindata.cpp) 1> iomap.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\iomap.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\iomap.cpp) 1> iomapserialize.cpp 1> item.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\item.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\item.cpp) 1> items.cpp 1>c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(324): error C2365: 'TEXTCOLOR_LIGHTGREY': nueva definición; la definición anterior era 'enumerador' (compilando archivo de origen ..\src\items.cpp) 1> c:\users\felip\onedrive\escritorio\forgottenserver-master-8.0\src\const.h(320): note: vea la declaración de 'TEXTCOLOR_LIGHTGREY' (compilando archivo de origen ..\src\items.cpp) 1>Se canceló una tarea. 1>Se canceló una tarea. La compilación se ha cancelado.
ps: solved by committing one line
with normal client 8.0 i got this error at character select to log in
Code:[Error - mysql_real_query] Query: SELECT `reason`, `expires_at`, `banned_at`, `banned_by`, (SELECT `name` FROM `players` WHERE `id` = `banned_by`) AS `name` FROM `player_bans` WHERE `player_id` = 1 AND (`expires_at` > 1579705400 OR `expires_at` = 0) Message: Table 'tfs80.player_bans' doesn't exist [Error - mysql_store_result] Query: SELECT `reason`, `expires_at`, `banned_at`, `banned_by`, (SELECT `name` FROM `players` WHERE `id` = `banned_by`) AS `name` FROM `player_bans` WHERE `player_id` = 1 AND (`expires_at` > 1579705400 OR `expires_at` = 0) Message: Table 'tfs80.player_bans' doesn't exist [Error - mysql_real_query] Query: SELECT `id`, `name`, `account_id`, `group_id`, `sex`, `vocation`, `experience`, `level`, `maglevel`, `health`, `healthmax`, `blessings`, `mana`, `manamax`, `manaspent`, `soul`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `posx`, `posy`, `posz`, `cap`, `lastlogin`, `lastlogout`, `lastip`, `conditions`, `skulltime`, `skull`, `town_id`, `balance`, `offlinetraining_time`, `offlinetraining_skill`, `stamina`, `skill_fist`, `skill_fist_tries`, `skill_club`, `skill_club_tries`, `skill_sword`, `skill_sword_tries`, `skill_axe`, `skill_axe_tries`, `skill_dist`, `skill_dist_tries`, `skill_shielding`, `skill_shielding_tries`, `skill_fishing`, `skill_fishing_tries`, `direction` FROM `players` WHERE `name` = 'Pasturry' Message: Unknown column 'direction' in 'field list' [Error - mysql_store_result] Query: SELECT `id`, `name`, `account_id`, `group_id`, `sex`, `vocation`, `experience`, `level`, `maglevel`, `health`, `healthmax`, `blessings`, `mana`, `manamax`, `manaspent`, `soul`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `posx`, `posy`, `posz`, `cap`, `lastlogin`, `lastlogout`, `lastip`, `conditions`, `skulltime`, `skull`, `town_id`, `balance`, `offlinetraining_time`, `offlinetraining_skill`, `stamina`, `skill_fist`, `skill_fist_tries`, `skill_club`, `skill_club_tries`, `skill_sword`, `skill_sword_tries`, `skill_axe`, `skill_axe_tries`, `skill_dist`, `skill_dist_tries`, `skill_shielding`, `skill_shielding_tries`, `skill_fishing`, `skill_fishing_tries`, `direction` FROM `players` WHERE `name` = 'Pasturry' Message: Unknown column 'direction' in 'field list'
and with otclient i cant log in at all
@celohere
function onUpdateDatabase()
print("> Updating database to version 19 (Add player direction)")
db.query("ALTER TABLE `players` ADD `direction` int(1) unsigned NOT NULL DEFAULT 2")
return true
end
function onUpdateDatabase()
print("> Updating database to version 20 (player_bans)")
db.query("CREATE TABLE IF NOT EXISTS `player_bans` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, PRIMARY KEY (`id`), KEY (`player_id`), KEY `banned_by` (`banned_by`), FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB")
return true
end
default datapack bro , its still a nice release i lgged in with normal but iwth otclient cantThanks for reporting , its weird ,are you using the datapack that comes by default?If not you need to add the migrations file 18 and 19.
18.lua
Lua:function onUpdateDatabase() print("> Updating database to version 19 (Add player direction)") db.query("ALTER TABLE `players` ADD `direction` int(1) unsigned NOT NULL DEFAULT 2") return true end
19.lua
I will check the otclient later ,i have to go back to work.Lua:function onUpdateDatabase() print("> Updating database to version 20 (player_bans)") db.query("CREATE TABLE IF NOT EXISTS `player_bans` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, PRIMARY KEY (`id`), KEY (`player_id`), KEY `banned_by` (`banned_by`), FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB") return true end
I tried this version of otclient and logged in without problems OTCv8/otclientv8 (https://github.com/OTCv8/otclientv8) , i also tried this one OpenTibia - OTClient 8.0 with Real Tibia features (https://otland.net/threads/otclient-8-0-with-real-tibia-features.256424/) works fine too.default datapack bro , its still a nice release i lgged in with normal but iwth otclient cant
regards
my bad i forgot that i migrated some files from the realera datapacxk 8.0I tried this version of otclient and logged in without problems OTCv8/otclientv8 (https://github.com/OTCv8/otclientv8) , i also tried this one OpenTibia - OTClient 8.0 with Real Tibia features (https://otland.net/threads/otclient-8-0-with-real-tibia-features.256424/) works fine too.
Thanks for reporting ,already fixed.unnable to load /lib/weapons.lua
I changed the id of lifefluid ,now the correct id is 2006,2 (you are probably buying vial of blood from npc) .my bad i forgot that i migrated some files from the realera datapacxk 8.0
now its working properly and im able to log in succesfully with OTC and TIBIA clients
PS:
i don't know if i have made something wrong again but
i found few new problems @celohere , im using realera datapack now everything works properly except for
1-i can use manafluids with hotkeys but not life fluids
2-if i have just one backpack and i buy for example 30 sudden death runes i get chargeback my money but im only capable of recieve just 20 SDS the other ones goes to nowhere or simply dissapear
3- if i step on a fire field and the on a poison field i wont get the seccond damage or effect(this is a known bug from tfs)
I'll be working on this project cuz its the most smooth that I've ever tested, if i change something, i'll post it here
I just tested here and seem to be working as intended.3- if i step on a fire field and the on a poison field i wont get the seccond damage or effect(this is a known bug from tfs)
I think that's exactly the issue, regardless rines i test it with a GM ir the issue was relates to capacity wouldnt runes fall yo the ground?Thanks for reporting ,already fixed.
But you can fix by yourself doing this:
Inside the weapons folder create a new folder called lib and inside that folder create a lua file called weapons.lua (just an empty lua file)
Post automatically merged:
I changed the id of lifefluid ,now the correct id is 2006,2 (you are probably buying vial of blood from npc) .
You need to change the lifefluid id inside the npcs scripts from 2006,10 to 2006,2.
About the runes you have checked the capacity?
Would.you mind share the script pls?problem is fixed was error in script
now is ok
sytuation was after 5 min ghost mode self stoping work but now is ok
I think that's exactly the issue, regardless rines i test it with a GM ir the issue was relates to capacity wouldnt runes fall yo the ground?
Post automatically merged:
Would.you mind share the script pls?
Give me few minits bro My PC choosed to get updated nowHmm, could you send some pictures to better illustrate the problem with the runes? I couldn't reproduce here.
1) ok if you chane fluids to you can compiling new exe file?? pleaseThanks for reporting ,already fixed.
But you can fix by yourself doing this:
Inside the weapons folder create a new folder called lib and inside that folder create a lua file called weapons.lua (just an empty lua file)
Post automatically merged:
I changed the id of lifefluid ,now the correct id is 2006,2 (you are probably buying vial of blood from npc) .
You need to change the lifefluid id inside the npcs scripts from 2006,10 to 2006,2.
About the runes you have checked the capacity?
Hiho1) ok if you chane fluids to you can compiling new exe file?? please
2) my be do you have allready and good working scrypt : movments / rookgaard / spike of fury??
if yes relase please
Well, the runes didn't dissapeared , the npc only sell if you have enought space and capacity .Hiho
Bro it's quite easily to compile this distribution, you just must use tfs sdk libs 3.2 + boost 1.66 ( not quite sure.if it's this one,)+ msvc 2015, run the batch files and there you gol
Post automatically merged:
@celohere
check the fotos and you'll see what im talking about, this happen with any items when someone has no more free slots to carry the "excesive" ammount of items that should fall to the ground
PS: i found another mini error related to using mana potion or health/life
the message displayed whn you use the hotkeys is vial and it should display using one of x mana fluid / life is the 1th photo
View attachment 41855View attachment 41852View attachment 41853View attachment 41854
Strange i will check later. Did you change anything on the modules.lua inside npcsystem folder?Cause should be working fine , anyway check this part on the modules.lua :Small bug: it is enabled to sell equipped items and often it causes to sell by mistake worn equipment.
if doPlayerRemoveItem(cid, itemid, amount, subType, ignoreEquipped) then
local msg = self.npcHandler:getMessage(MESSAGE_SOLD)
msg = self.npcHandler:parseMessage(msg, parseInfo)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg)
doPlayerAddMoney(cid, amount * shopItem.sell)
self.npcHandler.talkStart[cid] = os.time()
return true
else
ye i rushred too much with this oneWell, the runes didn't dissapeared , the npc only sell if you have enought space and capacity .
When you tried to buy more than your capacity , the npc answered that you do no have enought capacity, and didn’t sell all the items, just what you could carry, exactly to prevent it from falling on the floor .
case 0x9B: parseProcessRuleViolationReport(msg); break;
case 0x9C: parseCloseRuleViolationReport(msg); break;
case 0x9D: addGameTask(&Game::playerCancelRuleViolationReport, player->getID()); break;