Mr.Stalin
Mildly Dipped
Text errors are fixes in MSG files, not in sfall. in sfal was no such fix.
This can't be really fixed in msg.Text errors are fixes in MSG files, not in sfall. in sfal was no such fix.
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bei ScriptEditor.CodeTranslation.Compiler.Compile(String infile, String& output, List`1 errors, Boolean preprocessOnly)
bei ScriptEditor.TextEditor.Compile(TabInfo tab, String& msg, Boolean showMessages, Boolean preprocess)
bei ScriptEditor.TextEditor.compileToolStripMenuItem1_Click(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.8762 (QFE.050727-8700).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
ScriptEditor
Assembly-Version: 3.5.4.5.
Win32-Version: 3.5.4.5.
CodeBase: file:///F:/SVN/SD3/trunk/Fallout2/Modding%20Files/sfall/modderspack_4.1.9.7/ScriptEditor/ScriptEditor.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.8770 (QFE.050727-8700).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
ICSharpCode.TextEditor
Assembly-Version: 3.2.1.6466.
Win32-Version: 3.2.1.6466.
CodeBase: file:///F:/SVN/SD3/trunk/Fallout2/Modding%20Files/sfall/modderspack_4.1.9.7/ScriptEditor/ICSharpCode.TextEditor.DLL.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.8762 (QFE.050727-8700).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
Zum Beispiel:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
Here's a sample script:I wrote the script years ago and lots of stuff has changed since. At this point I wouldn't even know how to do this.
#include ".\headers\sfall.h"
#include ".\headers\dik.h"
procedure start;
procedure KeyPressHandler;
procedure start begin
if game_loaded then begin
register_hook_proc(HOOK_KEYPRESS, KeyPressHandler);
end
end
procedure KeyPressHandler begin
variable
event := get_sfall_arg,
keyDX := get_sfall_arg,
tmp;
if ((keyDX == DIK_V) and event) then begin // I guess you use "if key_pressed(DIK_V) then begin" here?
display_msg("V key pressed.");
end
end
My example didn't use anything from main.h. I guess you're talking about your keypress script?Thanks for the example! One thing to note: I had to include main.h and not sfall.h, otherwise it wouldn't compile. Both of these files are the latest version.
Now by default sfall-mods.ini, Awareness and Gecko Skinning perks are inherited from the player.Changelog said:v4.1.9.1
>Fixed the error handling for loading sfallgv.sav to improve backward compatibility with older saved games
>Fixed key_pressed script funtion not working in hs_keypress hook script
>Fixed a bug in NPC combat control that caused perks picked in combat to disappear after switching control to other critters
>Fixed a bug in NPC combat control that caused player's selected weapon mode not to be saved
>Fixed the map elevation check in get/set_can_rest_on_map script functions
>Improved the functionality of add_extra_msg_file script function to allow automatically assigning numbers to msg files
>Changed DebugMode and HideObjIsNullMsg to not require enabling sfall debugging mode
>Added an option to NPC combat control mod to let you set a list of perks to be inherited from the player
You can use the new "create_win", which creates windows with "MoveOnTop" flag set by default.
create_win_flag("WIN2", 120, 170, 100, 150, 0x14); // MoveOnTop + Execlusive