Sven Co-op
Trying to add a custom coded npc in my map.
Hello i need help. can you please help me how to register the custom coded npc in my map? the angelscript text is saying errors.
< >
Сообщения 17 из 7
this one: ERROR: Failed to add include file 'monster_barney357'!
ERROR: Could not load map script 'barneytest/barneytest'
Failed to include 1 script; compilation may fail!
ERROR: c:/program files (x86)/steam/steamapps/common/sven co-op/svencoop/scripts/maps/barneytest/barneytest.as (12, 9) : No matching symbol 'barney_357::Register'
ERROR: Map script compilation failed
It appears the first failure causes the second. The first failure is the barneytest file could not be included, either due to invalid file name or file path. The second error, “no matching symbol” should fix itself when the first error is resolved.

Double check the file names that they match what file you are trying to #include
Отредактировано Knee; 16 янв в 11:01
sorry its been like months but still showing errors. Angelscript log opened
Server started logging Angelscript on map 'barneytest' at: 2025-02-05 09:46:32
ERROR: Failed to add include file 'monster_barney357'!
ERROR: Could not load map script 'barneytest/barneytest'
Failed to include 1 script; compilation may fail!
ERROR: c:/program files (x86)/steam/steamapps/common/sven co-op/svencoop/scripts/maps/barneytest/barneytest.as (9, 5) : No matching symbol 'RegisterBarney357'
ERROR: Map script compilation failed
Server stopped logging Angelscript at: 2025-02-05 09:47:12
can you please fix it or youre not a coder?
The error is telling you it cannot find the "monster_barney357.as" script.
Then it has a domino effect causing other errors. First try figuring out why it cannot find the script.

Does the "monster_barney357.as" file exist? Is it in the correct directory?
< >
Сообщения 17 из 7
Показывать на странице: 1530 50

Дата создания: 14 янв в 6:31
Сообщений: 7