8408323
Hoster
- Joined
- Mar 6, 2009
- Messages
- 432
- Reaction score
- 26
Hi OtLand,
I'm trying to create a custom spell system for my server, however I've encountered a problem when I exceed to current number of spells in spells.xml (the spellid number). I'm using TFS 1.0 with Tibia client 10.41. The problem is that the client crashes when casting the spell as a ordinary vocation, but when casting as a higher group than a player the spells works fine. The spell just looks like this
The client crash report says that
and it does mention the spellid as well (169). I interpret this as the spellid has exceeded the maximum number.
However, what makes me doubt on my interpretation is that it works to cast the spell as a god i.e.. Which I think should make a crash as well. Therefore I started to think that the problem is in the flags of different groups, or at lest that you can solve the problem there in any way.
Anyone who ha any ideas?
Thnaks in advice,
Kind Regards,
8408323
I'm trying to create a custom spell system for my server, however I've encountered a problem when I exceed to current number of spells in spells.xml (the spellid number). I'm using TFS 1.0 with Tibia client 10.41. The problem is that the client crashes when casting the spell as a ordinary vocation, but when casting as a higher group than a player the spells works fine. The spell just looks like this
Code:
<instant group="healing" spellid="169" name="Test" words="test" lvl="1" mana="10" aggressive="0" selftarget="1" exhaustion="6000" groupcooldown="1000" needlearn="0" script="test/test.lua">
<vocation name="Knight"/>
<vocation name="Elite Knight"/>
</instant>
Code:
Spell < SPELL_BEYONDLAST
However, what makes me doubt on my interpretation is that it works to cast the spell as a god i.e.. Which I think should make a crash as well. Therefore I started to think that the problem is in the flags of different groups, or at lest that you can solve the problem there in any way.
Anyone who ha any ideas?
Thnaks in advice,
Kind Regards,
8408323