Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Object Screen always throws an exception #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
well...

whatever that i want to do with the object Screen, results in an exception

whther i want to draw text or remove text or whatever

here is a copy
note: i'm using vista with sp1

Tibia.Exceptions.InjectDLLNotFoundException was unhandled
  Message="Operation is not valid due to the current state of the object."
  Source="TibiaAPI"
  StackTrace:
       at Tibia.Objects.Client.InitializePipe()
       at Tibia.Objects.Screen.RemoveCreatureText(Int32 CreatureID)
       at TibiaTest1.Form1.button2_Click(Object sender, EventArgs e) in 
C:\Users\mm\Documents\Visual Studio 2008\Projects\TibiaTest2\TibiaTest2
\Form1.cs:line 45
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons 
button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage
(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc
(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr 
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& 
msg)
       at 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.Unsa
feNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 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 System.Windows.Forms.Application.Run(Form mainForm)
       at TibiaTest1.Program.Main() in C:\Users\mm\Documents\Visual Studio 
2008\Projects\TibiaTest2\TibiaTest2\Program.cs:line 18
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] 
args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

Original issue reported on code.google.com by m.a.g...@gmail.com on 24 Jul 2008 at 5:54

GoogleCodeExporter commented 9 years ago
You will get this exception if the file "TibiaAPI_Inject.dll" is not found in 
the
directory the executable is running in. You can find a compiled version of this 
file,
along with a readme explaining how to use it at the downloads page.

Original comment by ian320 on 31 Jul 2008 at 7:03