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
Pete's Punkin Junkinator
InsideADRIFT #41
All Through the Night
Three Monkeys One Cage
Skybreak v. 1.4
Trick or Treat
The Fortress of Fear
Bug Hunt On Menelaus
Museum Heist
The Day Program
 
Latest Forum Posts
Getting Adrift 4 to ignore "and"
Happy birthday, Rotter
CYS New Year's Prompt contest
Short story contest for the forum?
Text Adventure Literacy Jam 2026
Merry Christmas!
Constellaris Court
Hot IF topics
Happy birthday reelyor
New Game Uploaded: THINGS THAT GO BUMP IN THE NIGHT
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

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