| Anonymous | Login | Signup for a new account | 03-12-25 22:39 CET | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0001672 | SphereServer | executable - generic | public | 14-11-09 19:29 | 13-12-09 00:13 | |
| Reporter | Fire-Dragon-DoL | |||||
| Assigned To | MrSugarCube | |||||
| Priority | normal | Severity | major | Reproducibility | always | |
| Status | resolved | Resolution | fixed | |||
| Platform | OS | Microsoft Windows XP | OS Version | SP 3 | ||
| Product Version | 20-09-2009, 0.56b Prerelease | |||||
| Target Version | Fixed in Version | 0.56c Nightly | ||||
| Summary | 0001672: <trigger @bla> function returning 2 if "return 0" is used inside @bla | |||||
| Description | Ok if I build a custom trigger like [EVENTS e_dunno] ON=@Bla return 0 then somewhere [FUNCTION ftest] say <eval <trigger @bla>> it returns 2 (always), don't ask me why... Other values (less then 0 or greater then 0) are correct I can't return string, but I don't know if this thing probably is wanted (could be correct because all triggers can't return strings); so this is not a big problem | |||||
| Tags | No tags attached. | |||||
| Nightly Version | 20-09-2009 | |||||
| Experimental Flags | None | |||||
| Option Flags | None | |||||
| Internal Build Number | ||||||
| Attached Files | ||||||
Notes |
|
|
(0000313) Fire-Dragon-DoL (reporter) 16-11-09 21:37 |
A true example where this become a problem: I have weapons which deal critical hits with particular effects different for each weapon... the most obvius thing is to script the critical effect under the weapon However Should be a good idea to return from the trigger (under weapon) @CriticalHit the damage changed (if is changed) to the @Hit trigger, giving new damage if the damage becomes 0 obviusly it will return 2, which is a problem because is not 0 :P |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 14-11-09 19:29 | Fire-Dragon-DoL | New Issue | |
| 14-11-09 19:29 | Fire-Dragon-DoL | Nightly Version | => 20-09-2009 |
| 14-11-09 19:29 | Fire-Dragon-DoL | Experimental Flags | => None |
| 14-11-09 19:29 | Fire-Dragon-DoL | Option Flags | => None |
| 16-11-09 21:37 | Fire-Dragon-DoL | Note Added: 0000313 | |
| 13-12-09 00:13 | MrSugarCube | Status | new => resolved |
| 13-12-09 00:13 | MrSugarCube | Fixed in Version | => 0.56c Nightly |
| 13-12-09 00:13 | MrSugarCube | Resolution | open => fixed |
| 13-12-09 00:13 | MrSugarCube | Assigned To | => MrSugarCube |
| Copyright © 2000 - 2010 MantisBT Group |