Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v. 1.4
Skybreak v 1.3
The Angel, the Devil and the Human
Skybreak v 1.2
The Fortress of Fear
Lost Coastlines
Starship Quest
Tingalan
the virtual human
Jacaranda Jim
 
Latest Forum Posts
Happy birthday ElliotM
Running a System task
A question for programmers about save-files (.tas)
Where do you get your ideas from?
Adrift’s map
Introducing ourselves - Share a little about yourself
Moving static object from hidden to inside an object?
Skybreak
UNDERZION (a WIP)
The IFDB Awards officially announced
 
Latest Reviews
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
AI
Hint System Library - Release 1
The Dead of Winter
The Odd Competition
Grandpa's Ranch - Play Online Version
The Dwarf of Direwood Forest

Make a donation

Cursor  Location Exit Restriction Bug

Issue Type: Status: Priority: Date Submitted: Votes:
Bug New High Sat 26th Sep 2020 1 vote Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.36.4 Sat 26th Sep 2020 Log In
 
LazzahSat 26th Sep 2020 13:40
If you have more than one restriction in any location exit ADRIFT will throw up a "GetGeneralTaskError: Object reference not set to an instance of an object."

This only seems to happen if you have created the location and set the exit either without any restrictions, or only one restriction, but then subsequently add a second restriction. The stack trace is:

at ADRIFT.frmError..ctor(String sErrorMessage, Exception ex)
at ADRIFT.SharedModule.ErrMsg(String sMessage, Exception ex)
at ADRIFT.RunnerSession.GetGeneralTask(String sInput, Int32 iMinimumPriority, Boolean bSecondChance)
at ADRIFT.RunnerSession.EvaluateInput(Int32 iMinimumPriority, Boolean bPassingOnly)
at ADRIFT.RunnerSession.Process(String sCommand)
at ADRIFT.frmRunner.SubmitCommand()
at ADRIFT.frmRunner.txtInput_KeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.KeyEventHandler.Invoke(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.RichTextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at ADRIFT.frmRunner.Main()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at R.P.Main(String[] args)
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster