Anonymous | Login | Signup for a new account | 19-04-25 15:42 CEST | ![]() |
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 | |
0001539 | SphereServer | executable - generic | public | 19-10-08 23:15 | 26-10-08 15:07 | |
Reporter | XeroX | |||||
Assigned To | MrSugarCube | |||||
Priority | normal | Severity | crash | Reproducibility | always | |
Status | resolved | Resolution | fixed | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | 20-09-2009, 0.56b Prerelease | ||||
Summary | 0001539: Crash on Skillmenu Back function | |||||
Description | We are trying to have a back function to the main menu of the skillmenu. The result is the following on the screenshot with this script: [skillmenu sm_alchemie_heilung] Welcher Heiltrank? //This is producing the crash ON=i_testtube_rack_full Zurueck skillmenu sm_alchemie ON=i_potion_refreshtotal Schwache Heilung makeitem=i_schwacher_heiltrank ON=i_potion_refreshtotal Heiltrank makeitem=i_heiltrank ON=i_potion_refreshtotal Starker Heiltrank makeitem=i_guter_heiltrank | |||||
Tags | No tags attached. | |||||
Nightly Version | 09-09-2008 | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ![]() | |||||
![]() |
|
(0000120) MrSugarCube (administrator) 26-10-08 15:07 |
Since Sphere scans through all the SkillMenus to determine what can and can't be displayed, trying to add a 'Back' option in this way is going to result in an infinite loop (as it will obviously be scanning the same set of menus over and over again). I've fixed the crash that this causes (instead a console error will be shown), but it is probably best to avoid the loop completely by moving the "skillmenu sm_alchemie" call to a separate function (Sphere only scans under the 'ON=' line, not inside individual functions), for example: // call a function to open the skillmenu, this way Sphere // won't try to scan its items ON=i_testtube_rack_full Zurueck fskillmenu sm_alchemie // this function just opens a skillmenu [FUNCTION fskillmenu] SKILLMENU <ARGS> |
![]() |
|||
Date Modified | Username | Field | Change |
19-10-08 23:15 | XeroX | New Issue | |
19-10-08 23:15 | XeroX | File Added: skillmenucrash.JPG | |
19-10-08 23:15 | XeroX | Nightly Version | => 09-09-2008 |
19-10-08 23:15 | XeroX | Experimental Flags | => None |
19-10-08 23:15 | XeroX | Option Flags | => None |
26-10-08 15:07 | MrSugarCube | Status | new => resolved |
26-10-08 15:07 | MrSugarCube | Fixed in Version | => 0.56c Nightly |
26-10-08 15:07 | MrSugarCube | Resolution | open => fixed |
26-10-08 15:07 | MrSugarCube | Assigned To | => MrSugarCube |
26-10-08 15:07 | MrSugarCube | Note Added: 0000120 |
Copyright © 2000 - 2010 MantisBT Group |