Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sequence engine works strange
#1
I load sequencepack from file, and then extract sequences using TLN_FindSequence(). Sometimes it works correctly, but in some cases it loads only a part of sequences and then giving a "Resource file not found". Example:

Code:
<?xml version="1.0" encoding="UTF-8"?>

<sequences>
    <sequence name="seq_eggmobilebody_default" delay="0" loop="0" >
        0
    </sequence>
    <sequence name="seq_eggmobilebody_destroyed" delay="0" loop="0" >
        1
    </sequence>
    <sequence name="seq_eggmobilehead_idle" delay="6" loop="0" >
        2,3
    </sequence>
    <sequence name="seq_eggmobilehead_laugh" delay="6" loop="0" >
        4,5
    </sequence>
    <sequence name="seq_eggmobilehead_hit" delay="0" loop="0" >
        6
    </sequence>
    <sequence name="seq_eggmobilehead_toasted" delay="0" loop="0" >
        7
    </sequence>
    <sequence name="seq_eggmobilehead_defeated" delay="6" loop="0" >
        8,9
    </sequence>
    <sequence name="seq_eggmobileflame" delay="6" loop="0" >
        10,11
    </sequence>
</sequences>

Code:
Tilengine: sequence pack created at 02F817F0, 28 size
Tilengine: sequence created at 02A629D0, 72 size
Tilengine: sequence created at 02A62A20, 72 size
Tilengine: sequence created at 02F84F40, 80 size
Tilengine: sequence created at 02F848B8, 80 size
Tilengine: sequence created at 02A60F90, 72 size
Tilengine: sequence created at 02A60C20, 72 size
Tilengine: sequence created at 02F84498, 80 size
Tilengine: sequence created at 02F84860, 80 size
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Resource file not found
Tilengine: Invalid SequencePack reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid SequencePack reference
Tilengine: Invalid object address is 00000000
Tilengine: Invalid SequencePack reference
Tilengine: Invalid object address is 00000000
Reply
#2
Sequence name lenght is hardcoded to 32 characters maximum. I suspect you're using longer names, preventing addition of sequences that have a similar name than others already created.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)