Author Topic: Small issue: console errors when applying events  (Read 378 times)

Note: This thread is only here to report a small issue to be fixed/looked at by a person working on the game, so community replies probably won't needed.

A problem I noticed when eventing is that the console is spammed with error messages when events are applied to a brick. I can recreate this error by starting up a server, wrenching a brick and going to the events tab, putting in an input event on the first row, and clicking send.

Here is a console log with trace on...
Code: [Select]
*** LOADING MISSION: Add-Ons/Map_Bedroom/bedroom.mis
*** Stage 1 load
Mission Name: Bedroom
Mission SaveName: Bedroom
Mission Description:
*** Stage 2 load
Executing Add-Ons/Map_Bedroom/bedroom.mis.
*** Mission loaded
Regenerating file manifest
Got 1227 items in manifest, 0 files hashed
Posting to master server
Got connect request from IPX:00000000:000000000000:0
  net name = dUMBELLS
Connection established
Connected successfully, killing other pending connections
AUTHCHECK: dUMBELLS = LAN client -> internet server, auth with server ip
Auth Init Successfull: dUMBELLS
CADD: 7236 local
 +- bl_id = 268
 +- AUTO SUPER ADMIN (ID same as host)
*** Sending mission load to client: Add-Ons/Map_Bedroom/bedroom.mis
Posting to master server
Posting to rtb server
*** Prep-Phase 2: Download GUI
*** New Mission: Add-Ons/Map_Bedroom/bedroom.mis
*** Phase 1: Download Datablocks & Targets
Received manifest and requested 835 blobs. (392 duplicates removed)
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
Got non-CURLE_OK result on a request, result was 3
 - Request was for ''
CDN Download finished
*** Phase 2: Download Ghost Objects
*** Phase 3: Mission Lighting
  Successfully loaded mission lighting file: 'Add-Ons/Map_Bedroom/bedroom_ce7dd2f0.ml'
Mission lighting done
dUMBELLS spawned.
Console trace is on.
Entering wrenchEventsDlg::send(wrenchEventsDlg)
   Set::getObject index out of range on (null). Index = 4, Size = 4
   BackTrace: ->wrenchEventsDlg::send
   
   base/client/scripts/allClientScripts.cs (21855): Unable to find object: '-1' attempting to call function 'isVisible'
   BackTrace: ->wrenchEventsDlg::send
   
   Set::getObject index out of range on (null). Index = 5, Size = 4
   BackTrace: ->wrenchEventsDlg::send
   
   base/client/scripts/allClientScripts.cs (21859): Unable to find object: '-1' attempting to call function 'getSelected'
   BackTrace: ->wrenchEventsDlg::send
   
   Set::getObject index out of range on (null). Index = 4, Size = 4
   BackTrace: ->wrenchEventsDlg::send
   
   base/client/scripts/allClientScripts.cs (21855): Unable to find object: '-1' attempting to call function 'isVisible'
   BackTrace: ->wrenchEventsDlg::send
   
   Set::getObject index out of range on (null). Index = 5, Size = 4
   BackTrace: ->wrenchEventsDlg::send
   
   base/client/scripts/allClientScripts.cs (21859): Unable to find object: '-1' attempting to call function 'getSelected'
   BackTrace: ->wrenchEventsDlg::send
   
   Set::getObject index out of range on (null). Index = 4, Size = 4
   BackTrace: ->wrenchEventsDlg::send
   
   base/client/scripts/allClientScripts.cs (21855): Unable to find object: '-1' attempting to call function 'isVisible'
   BackTrace: ->wrenchEventsDlg::send
   
   Set::getObject index out of range on (null). Index = 5, Size = 4
   BackTrace: ->wrenchEventsDlg::send
   
   base/client/scripts/allClientScripts.cs (21859): Unable to find object: '-1' attempting to call function 'getSelected'
   BackTrace: ->wrenchEventsDlg::send
   
   Entering [RTBC_IRCClient]Canvas::popDialog(Canvas, wrenchEventsDlg)
      Entering [CanvasCursor]GuiCanvas::popDialog(Canvas, wrenchEventsDlg)
         Entering wrenchEventsDlg::onSleep(5851)
         Leaving wrenchEventsDlg::onSleep() - return 0
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
            Entering [CanvasCursor]GuiCanvas::checkTabFocus(Canvas)
            Leaving [CanvasCursor]GuiCanvas::checkTabFocus() - return
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
      Leaving [CanvasCursor]GuiCanvas::popDialog() - return
   Leaving [RTBC_IRCClient]Canvas::popDialog() - return
   Entering [RTBC_IRCClient]Canvas::popDialog(Canvas, wrenchDlg)
      Entering [CanvasCursor]GuiCanvas::popDialog(Canvas, wrenchDlg)
         Entering wrenchDlg::onSleep(5540)
         Leaving wrenchDlg::onSleep() - return
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
            Entering cursorOff()
            Leaving cursorOff() - return
            Entering [CanvasCursor]GuiCanvas::checkTabFocus(Canvas)
            Leaving [CanvasCursor]GuiCanvas::checkTabFocus() - return
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
      Leaving [CanvasCursor]GuiCanvas::popDialog() - return
   Leaving [RTBC_IRCClient]Canvas::popDialog() - return
   Entering [RTBC_IRCClient]Canvas::popDialog(Canvas, wrenchSoundDlg)
      Entering [CanvasCursor]GuiCanvas::popDialog(Canvas, wrenchSoundDlg)
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
            Entering [CanvasCursor]GuiCanvas::checkTabFocus(Canvas)
            Leaving [CanvasCursor]GuiCanvas::checkTabFocus() - return
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
      Leaving [CanvasCursor]GuiCanvas::popDialog() - return
   Leaving [RTBC_IRCClient]Canvas::popDialog() - return
   Entering [RTBC_IRCClient]Canvas::popDialog(Canvas, wrenchVehicleSpawnDlg)
      Entering [CanvasCursor]GuiCanvas::popDialog(Canvas, wrenchVehicleSpawnDlg)
         Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
            Entering [CanvasCursor]GuiCanvas::checkTabFocus(Canvas)
            Leaving [CanvasCursor]GuiCanvas::checkTabFocus() - return
         Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
      Leaving [CanvasCursor]GuiCanvas::popDialog() - return
   Leaving [RTBC_IRCClient]Canvas::popDialog() - return
Leaving wrenchEventsDlg::send() - return
Entering serverCmdClearEvents(7236)
   Entering getTrustLevel(7236, 9564)
      Entering getBrickGroupFromObject(7236)
      Leaving getBrickGroupFromObject() - return 7737
      Entering getBrickGroupFromObject(9564)
      Leaving getBrickGroupFromObject() - return 7737
   Leaving getTrustLevel() - return 3
   Entering SimObject::clearEvents(9564)
   Leaving SimObject::clearEvents() - return 0
Leaving serverCmdClearEvents() - return 0
Entering serverCmdAddEvent(7236, 1, 0, 0, 0)
   Entering getTrustLevel(7236, 9564)
      Entering getBrickGroupFromObject(7236)
      Leaving getBrickGroupFromObject() - return 7737
      Entering getBrickGroupFromObject(9564)
      Leaving getBrickGroupFromObject() - return 7737
   Leaving getTrustLevel() - return 3
Leaving serverCmdAddEvent() - return 9564
Entering serverCmdAddEvent(7236, 1, 4, 0, 0)
   Entering getTrustLevel(7236, 9564)
      Entering getBrickGroupFromObject(7236)
      Leaving getBrickGroupFromObject() - return 7737
      Entering getBrickGroupFromObject(9564)
      Leaving getBrickGroupFromObject() - return 7737
   Leaving getTrustLevel() - return 3
Leaving serverCmdAddEvent() - return 9564
Entering serverCmdAddEvent(7236, 1, 2, 0, 0)
   Entering getTrustLevel(7236, 9564)
      Entering getBrickGroupFromObject(7236)
      Leaving getBrickGroupFromObject() - return 7737
      Entering getBrickGroupFromObject(9564)
      Leaving getBrickGroupFromObject() - return 7737
   Leaving getTrustLevel() - return 3
Leaving serverCmdAddEvent() - return 9564