View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000052Sanny Builder[All Projects] compilerpublic2019-10-20 20:172019-10-20 22:55
Reporterwmysterio 
Assigned ToSeemann 
PriorityimmediateSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.3.1 
Target VersionFixed in Version3.3.3 
Summary0000052: Направильная компиляция внешних скриптов
DescriptionПривет. Внешние скрипты начали неправильно компилироваться. Собственно ошибок при компиляции/декомпиляции нет. Код правильный. Игра просто вылетает вначале.

Однако, если это сделать в версии 3.2.2, то уже никаких вылетов и всё работает. Чудеса?
Steps To ReproduceDEFINE OBJECTS 0
DEFINE MISSIONS 0

DEFINE EXTERNAL_SCRIPTS 1
DEFINE SCRIPT TEST AT @TEST

DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 2048

thread 'MAIN'
// ...

0928: init_external_script_trigger 0 (TEST) with_actor_model 7 priority 100
0928: init_external_script_trigger 0 (TEST) with_actor_model 9 priority 100
// ...
0928: init_external_script_trigger 0 (TEST) with_actor_model 288 priority 100

while true
wait $DEFAULT_WAIT_TIME
end

// EXTERNAL SCRIPT
:TEST
thread 'TEST'

:TEST_ERROR_SKIP
wait 0
if
056D: actor 0@ defined
jf @TEST_ERROR_SKIP
if
0256: player $PLAYER_CHAR defined
jf @TEST_ERROR_SKIP
if
010F: player $PLAYER_CHAR wanted_level > 0
jf @TEST_ERROR_SKIP
0850: AS_actor 0@ follow_actor $PLAYER_ACTOR
end_thread
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000061)
Seemann (administrator)
2019-10-20 22:54

thanks for reporting, fixed in v3.3.3

- Issue History
Date Modified Username Field Change
2019-10-20 20:17 wmysterio New Issue
2019-10-20 20:17 wmysterio Status new => assigned
2019-10-20 20:17 wmysterio Assigned To => Seemann
2019-10-20 22:54 Seemann Note Added: 0000061
2019-10-20 22:54 Seemann Status assigned => resolved
2019-10-20 22:54 Seemann Resolution open => fixed
2019-10-20 22:55 Seemann Fixed in Version => 3.3.3


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker