Skip to content

Commit 7f04613

Browse files
committed
v1.0.0
1 parent e81a1f0 commit 7f04613

8 files changed

Lines changed: 28 additions & 35 deletions

File tree

2 KB
Binary file not shown.
-635 KB
Binary file not shown.
18 KB
Binary file not shown.
-44 KB
Binary file not shown.
-92.5 KB
Binary file not shown.

IronPythonModule/IPEngine.cs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ private void InstallHooks(IPPlugin.Plugin plugin){
128128
case "OnNPCKilled": case "On_NPCKilled":
129129
Hooks.OnNPCKilled += new Hooks.KillHandlerDelegate (plugin.OnNPCKilled);
130130
break;
131-
case "OnBlueprintUse": case "On_BlueprintUse":
132-
Hooks.OnBlueprintUse += new Hooks.BlueprintUseHandlerDelegate(plugin.OnBlueprintUse);
133-
break;
131+
// this works here but there is a problem with it in RemoveHooks, note: wtf
132+
// case "OnBlueprintUse": case "On_BlueprintUse":
133+
// Hooks.OnBlueprintUse += new Hooks.BlueprintUseHandlerDelagate(plugin.OnBlueprintUse);
134+
// break;
134135
case "OnDoorUse": case "On_DoorUse":
135136
Hooks.OnDoorUse += new Hooks.DoorOpenHandlerDelegate (plugin.OnDoorUse);
136137
break;
@@ -210,9 +211,10 @@ private void RemoveHooks(IPPlugin.Plugin plugin){
210211
case "OnNPCKilled": case "On_NPCKilled":
211212
Hooks.OnNPCKilled -= new Hooks.KillHandlerDelegate (plugin.OnNPCKilled);
212213
break;
213-
case "OnBlueprintUse": case "On_BlueprintUse":
214-
Hooks.OnBlueprintUse -= new Hooks.BlueprintUseHandlerDelegate(plugin.OnBlueprintUse);
215-
break;
214+
// FIXME: something is broken here (it worked before and all the other still works, so must be fougerite side)
215+
// case "OnBlueprintUse": case "On_BlueprintUse":
216+
// Hooks.OnBlueprintUse -= new Hooks.BlueprintUseHandlerDelegate(plugin.OnBlueprintUse);
217+
// break;
216218
case "OnDoorUse": case "On_DoorUse":
217219
Hooks.OnDoorUse -= new Hooks.DoorOpenHandlerDelegate (plugin.OnDoorUse);
218220
break;

IronPythonModule/IronPythonModule.csproj

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,38 +32,38 @@
3232
</PropertyGroup>
3333
<ItemGroup>
3434
<Reference Include="System" />
35+
<Reference Include="Fougerite">
36+
<HintPath>references\Fougerite.dll</HintPath>
37+
</Reference>
3538
<Reference Include="IronPython">
36-
<HintPath>..\Example\rust_server_data\Managed\IronPython.dll</HintPath>
39+
<HintPath>references\IronPython.dll</HintPath>
3740
</Reference>
3841
<Reference Include="IronPython.Modules">
39-
<HintPath>..\Example\rust_server_data\Managed\IronPython.Modules.dll</HintPath>
42+
<HintPath>references\IronPython.Modules.dll</HintPath>
4043
</Reference>
41-
<Reference Include="Microsoft.Scripting">
42-
<HintPath>..\Example\rust_server_data\Managed\Microsoft.Scripting.dll</HintPath>
44+
<Reference Include="Microsoft.Dynamic">
45+
<HintPath>references\Microsoft.Dynamic.dll</HintPath>
4346
</Reference>
4447
<Reference Include="Microsoft.Scripting.Core">
45-
<HintPath>..\Example\rust_server_data\Managed\Microsoft.Scripting.Core.dll</HintPath>
48+
<HintPath>references\Microsoft.Scripting.Core.dll</HintPath>
4649
</Reference>
47-
<Reference Include="Fougerite">
48-
<HintPath>F:\Games\Rust\Server2\rust_server_Data\Managed\Fougerite.dll</HintPath>
50+
<Reference Include="Microsoft.Scripting">
51+
<HintPath>references\Microsoft.Scripting.dll</HintPath>
4952
</Reference>
50-
<Reference Include="Assembly-CSharp">
51-
<HintPath>F:\Games\Rust\Server2\rust_server_Data\Managed\Assembly-CSharp.dll</HintPath>
53+
<Reference Include="uLink">
54+
<HintPath>references\uLink.dll</HintPath>
5255
</Reference>
5356
<Reference Include="UnityEngine">
54-
<HintPath>F:\Games\Rust\Server2\rust_server_Data\Managed\UnityEngine.dll</HintPath>
57+
<HintPath>references\UnityEngine.dll</HintPath>
5558
</Reference>
56-
<Reference Include="uLink">
57-
<HintPath>F:\Games\Rust\Server2\rust_server_Data\Managed\uLink.dll</HintPath>
59+
<Reference Include="Assembly-CSharp">
60+
<HintPath>references\Assembly-CSharp.dll</HintPath>
5861
</Reference>
5962
<Reference Include="Facepunch.ID">
60-
<HintPath>F:\Games\Rust\Server2\rust_server_Data\Managed\Facepunch.ID.dll</HintPath>
63+
<HintPath>references\Facepunch.ID.dll</HintPath>
6164
</Reference>
6265
<Reference Include="Microsoft.Contracts">
63-
<HintPath>..\..\mono-contracts\bin\Debug\Microsoft.Contracts.dll</HintPath>
64-
</Reference>
65-
<Reference Include="Microsoft.Contracts.resources">
66-
<HintPath>..\..\mono-contracts\bin\Debug\en\Microsoft.Contracts.resources.dll</HintPath>
66+
<HintPath>references\Microsoft.Contracts.dll</HintPath>
6767
</Reference>
6868
</ItemGroup>
6969
<ItemGroup>

IronPythonModule/IronPythonModule.userprefs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
<Properties>
22
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
3-
<MonoDevelop.Ide.Workbench ActiveDocument="IPTimedEvent.cs">
3+
<MonoDevelop.Ide.Workbench ActiveDocument="IPPlugin.cs">
44
<Files>
5-
<File FileName="IPEngine.cs" Line="28" Column="33" />
5+
<File FileName="IPEngine.cs" Line="1" Column="1" />
66
<File FileName="IPPlugin.cs" Line="228" Column="80" />
7-
<File FileName="IPTimedEvent.cs" Line="53" Column="5" />
7+
<File FileName="IPTimedEvent.cs" Line="49" Column="28" />
88
</Files>
9-
<Pads>
10-
<Pad Id="ProjectPad">
11-
<State expanded="True">
12-
<Node name="IronPythonModule" expanded="True">
13-
<Node name="References" expanded="True" selected="True" />
14-
</Node>
15-
</State>
16-
</Pad>
17-
</Pads>
189
</MonoDevelop.Ide.Workbench>
1910
<MonoDevelop.Ide.DebuggingService.Breakpoints>
2011
<BreakpointStore />

0 commit comments

Comments
 (0)