Anonymous | Login | Signup for a new account | 19-04-25 21: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 | |
0002363 | SphereServer | executable - generic | public | 12-06-14 20:46 | 01-07-14 23:05 | |
Reporter | Coruja | |||||
Assigned To | Ben | |||||
Priority | normal | Severity | minor | Reproducibility | always | |
Status | closed | Resolution | won't fix | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | |||||
Summary | 0002363: TIMERF and console errors | |||||
Description | If a TIMERF call a undefined function, the console error wont show the correct script reference to the error. Example: script.scp: Line 666: SRC.TIMERF 20,roflmao If function roflmao doesn't exists, the console will show 15:25:ERROR:Undefined keyword 'roflmao' instead 15:25:ERROR:(script.scp,666):Undefined keyword 'roflmao' it's not a huge problem, but can make things more difficult because there's no way to know what script is causing the error this can be confused with internal sphere errors too, because if the error doesn't show the script reference, ppl can think this could be a problem on some sphere internal function instead a script problem | |||||
Tags | No tags attached. | |||||
Nightly Version | Automated (specify build number) | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
![]() |
|
(0002292) Ben (manager) 13-06-14 00:01 |
I don't think this can be changed. If an error is triggered by a script, it will display from which one it was, but a TIMERF is triggered later so it don't remember which script it was from. I'll see if there is a way around it but I can't promise anything. |
(0002293) Feeh (developer) 13-06-14 03:17 edited on: 13-06-14 03:19 |
(Side note) Even if the server just say that 'roflmao' does not exist, you can change how windows search for files and allow it to search inside .SCP files http://windows.microsoft.com/en-us/windows7/change-advanced-indexing-options [^] So, when you reach something like "Undefined keyword 'roflmao'" and you don't know the source of it, you can search for the error or anything else. I do not use NP++ or anything rather than notepad so it does help me a lot I know it is not as efficient as having the script/line where the problem is, but it may save you some time if you need to guess where 'roflmao' is if there is no way to signalize the source |
(0002295) Coruja (developer) 13-06-14 04:09 |
yea the main problem is not really search for 'roflmao' on files, but the confusion that can make ppl think the problem is on some internal sphere function instead a problem on some script |
(0002300) Ben (manager) 17-06-14 23:36 |
Thing is, that kind of error would never happen with an internal sphere function. It must be from a script or an in game command. Without the script reference, one might assume it was caused by a client using a command... I really don't see the big deal here, but we'll see. |
(0002316) Ben (manager) 01-07-14 23:05 |
This is not worth it. To be able to display the script it was from I would need to save it in memory, and also in the saves if the timerf didn't expire before a save. |
![]() |
|||
Date Modified | Username | Field | Change |
12-06-14 20:46 | Coruja | New Issue | |
13-06-14 00:01 | Ben | Note Added: 0002292 | |
13-06-14 03:17 | Feeh | Note Added: 0002293 | |
13-06-14 03:19 | Feeh | Note Edited: 0002293 | View Revisions |
13-06-14 04:09 | Coruja | Note Added: 0002295 | |
17-06-14 23:36 | Ben | Note Added: 0002300 | |
01-07-14 23:05 | Ben | Note Added: 0002316 | |
01-07-14 23:05 | Ben | Status | new => closed |
01-07-14 23:05 | Ben | Assigned To | => Ben |
01-07-14 23:05 | Ben | Resolution | open => won't fix |
Copyright © 2000 - 2010 MantisBT Group |