View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002575SphereServerexecutable - genericpublic10-02-16 11:2511-07-16 21:31
Reporternolok 
Assigned ToCoruja 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002575: TRIGGER keyword returns incorrect value
DescriptionLatest nightly.
In game .show TRIGGER @Something or .show TRIGGER=@Something and in scripts serv.log <TRIGGER @Something>, <TRIGGER=@Something>, <TRIGGER=@Something 1> and so on returns always the value "2". It happens for custom, non-custom, unexistant triggers; tried also to return or not a value in a custom trigger, in every case it returns 2.
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0003016)
Coruja (developer)
11-07-16 21:31

probably you're using wrong syntax to call the trigger, or calling it on wrong SRC

the correct syntax to manually call triggers is 'TRIGGER @Something' (eg: '.show trigger @Something' or <TRIGGER @Something>) and not <TRIGGER=@Something>

I tested here using this test event and it's working fine
1) .events +e_test
2) .show trigger @Testing //<-- this will return 6

[EVENTS e_test]
ON=@Testing
return 6

- Issue History
Date Modified Username Field Change
10-02-16 11:25 nolok New Issue
11-07-16 21:31 Coruja Note Added: 0003016
11-07-16 21:31 Coruja Status new => closed
11-07-16 21:31 Coruja Assigned To => Coruja
11-07-16 21:31 Coruja Resolution open => unable to reproduce


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker