ScriptUO
Scripting Resources & Utilities => Stealth Client => Stealth archive => Topic started by: rwo001 on November 26, 2013, 04:16:56 PM
-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ScriptDotNet;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
TExtendedInfo ExtInfo = Stealth.Script_GetExtInfo();
Console.Write(Convert.ToSingle(ExtInfo.FireResist));
// Output : 2304 , Real is 5
Console.ReadLine();
}
}
}
What the problem is ? I'm is OSI shard
-
Fixed in new ScriptDotNet.DLL
The record was packed coming from Stealth ... Sorry about that.
-
Thanks and waiting for the new patch.. ;D
-
I already uploaded the new ScriptDotNet.DLL
It's on the Bitbucket download link at the bottom of this post :
http://www.scriptuo.com/index.php?topic=11628.0
-
The thread 0x28e8 has exited with code 259 (0x103).
The thread 0x67c has exited with code 259 (0x103).
'ConsoleApplication2.vshost.exe' (CLR v4.0.30319: ConsoleApplication2.vshost.exe): Loaded 'c:\users\ray\documents\visual studio 2013\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe'. Symbols loaded.
'ConsoleApplication2.vshost.exe' (CLR v4.0.30319: ConsoleApplication2.vshost.exe): Loaded 'c:\users\ray\documents\visual studio 2013\Projects\ConsoleApplication2\ConsoleApplication2\bin\Debug\ScriptDotNet.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.TypeInitializationException' occurred in ConsoleApplication2.exe
Additional information: The type initializer for 'ScriptDotNet.Stealth' threw an exception.
'ConsoleApplication2.vshost.exe' (CLR v4.0.30319: ConsoleApplication2.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
An unhandled exception of type 'System.TypeInitializationException' occurred in ConsoleApplication2.exe
Additional information: The type initializer for 'ScriptDotNet.Stealth' threw an exception.
The program '[7372] ConsoleApplication2.vshost.exe' has exited with code 0 (0x0).
it seems have problem....
-
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'
I remember we pushed project to 4.5. Maybe missing assemblys?
I also get often that issue An unhandled exception of type 'System.TypeInitializationException' occurred in ConsoleApplication2.exe
when not running Visual Studio as Admin and try to run debugger.
-
Run as Administrator can work ;)