by Gez » Sat Feb 06, 2016 10:50 am
_mental_ wrote:Since merging of
scripting branch a bunch of 'Numeric type expected' errors are printed into the console when running
Adventure of Square.
Spoiler: The complete error log
Code: Select all
Script error, "square1.pk3:actors/square/base/scenery/fountains.txt" line 14:
Numeric type expected
Script error, "square1.pk3:actors/square/base/scenery/fountains.txt" line 44:
Yeah it's a real user error:
Code: Select all
TNT1 A 0 A_PlaySound("ambience/fountain", "SoundSlot5", 0.5, 1)
They basically confused the API for [wiki]A_PlaySound[/wiki] and [wiki]A_PlaySoundEx[/wiki]. APSX uses string names for the channels, APS uses constant identifiers. What they did never worked right; and if a workaround is added to make it load anyway it should still at least print a warning.
[quote="_mental_"]Since merging of [b]scripting[/b] branch a bunch of 'Numeric type expected' errors are printed into the console when running [url=http://adventuresofsquare.com/downloads.php]Adventure of Square[/url].
[spoiler=The complete error log][code]Script error, "square1.pk3:actors/square/base/scenery/fountains.txt" line 14:
Numeric type expected
Script error, "square1.pk3:actors/square/base/scenery/fountains.txt" line 44:[/code][/quote]
Yeah it's a real user error:
[code]
TNT1 A 0 A_PlaySound("ambience/fountain", "SoundSlot5", 0.5, 1)
[/code]
They basically confused the API for [wiki]A_PlaySound[/wiki] and [wiki]A_PlaySoundEx[/wiki]. APSX uses string names for the channels, APS uses constant identifiers. What they did never worked right; and if a workaround is added to make it load anyway it should still at least print a warning.