This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public enum Forage | |
| /* */ { | |
| /* 36 */ GSHORT_BLUEBERRY(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)571, 364, (byte)0, 5, 5, 10, 10, ModifiedBy.NOTHING, 0), | |
| /* 37 */ GSHORT_CORN(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)569, 32, (byte)0, 8, 8, -5, -5, ModifiedBy.NOTHING, 0), | |
| /* 38 */ GSHORT_COTTON(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)570, 144, (byte)0, 5, 5, -5, -5, ModifiedBy.WOUNDED, 15), | |
| /* 39 */ GSHORT_LINGONBERRY(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)571, 367, (byte)0, 6, 6, -5, -5, ModifiedBy.NEAR_BUSH, 12), | |
| /* 40 */ GSHORT_ONION(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)569, 355, (byte)0, 1, 20, -5, -5, ModifiedBy.NOTHING, 0), | |
| /* 41 */ GSHORT_POTATO(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)569, 35, (byte)0, 10, 10, -5, -5, ModifiedBy.NOTHING, 0), | |
| /* 42 */ GSHORT_PUMPKIN(Tiles.Tile.TILE_GRASS.id, GrassData.GrowthStage.SHORT, (short)569, 33, (byte)0, 15, 15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function Test-ODBCConnection { | |
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory=$True, | |
| HelpMessage="DSN name of ODBC connection")] | |
| [string]$DSN | |
| ) | |
| $conn = new-object system.data.odbc.odbcconnection | |
| $conn.connectionstring = "(DSN=$DSN)" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dofile "$SURVIVAL_DATA/Scripts/game/SurvivalPlayer.lua" | |
| WaypointManager = class(nil) | |
| WaypointManager.init = function(self) | |
| self:load_from_database() | |
| end | |
| WaypointManager.create_waypoint = function(self, name, x,y,z, r,g,b, player) | |
| if not self.waypoints_data then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function INJECT_CRAFTING(self) | |
| local orig_load = SurvivalGame.loadCraftingRecipes | |
| SurvivalGame.loadCraftingRecipes = function(self) | |
| orig_load() | |
| local extra = { | |
| { -- Water + Ember => Milk | |
| itemId = "2c4a2633-153a-4800-ba3d-2ac0d993b9c8", -- what gets made |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local orig_load = SurvivalGame.loadCraftingRecipes | |
| SurvivalGame.loadCraftingRecipes = function(self) | |
| orig_load() | |
| local extra = { | |
| { -- Water + Ember => Milk | |
| itemId = "2c4a2633-153a-4800-ba3d-2ac0d993b9c8", | |
| quantity = 1, | |
| craftTime = 12, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _WAYPOINTS = {} | |
| _WAYPOINTS.stored_waypoints = {} | |
| _WAYPOINTS.old_chat_handler = nil | |
| _WAYPOINTS.installed = false | |
| --[[ | |
| "uuid": "869d4736-289a-4952-96cd-8a40117a2d28", | |
| "name": "obj_consumable_water", | |
| ]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- fixed invalid mmap_uses_liquid check | |
| local file = GetHackDirectory() .. "\mmaps\\0002239.mmtile" | |
| function pack(...) | |
| return {...} | |
| end | |
| function ToStream(byte_array) | |
| byte_array.index = 0 | |
| byte_array.read_bytes = function(self, len) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [NG Tools] #0 - Packet NGTools.NGRemoteScene.ServerSendGameObjectDataPacket has thrown an exception: | |
| System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> uLink.NetworkException: caller must have authority over the object | |
| at uLink.Utility.Exception (System.Object[] args) [0x00000] in <filename unknown>:0 | |
| at uLink.Utility.Assert (Boolean condition, System.Object[] args) [0x00000] in <filename unknown>:0 | |
| at uLink.NetworkViewBase.get_authFlags () [0x00000] in <filename unknown>:0 | |
| at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) | |
| at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 | |
| --- End of inner exception stack trace --- | |
| at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Game; | |
| using GV; | |
| using System; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| [Serializable] | |
| public class MobStats | |
| { | |
| [SerializeField] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NGTools: [E3500] SocketException: No connection could be made because the target machine actively refused it. | |
| [NG Tools] Connection on :17255 failed. | |
| [NG Tools] Make sure your firewall allows TCP connection on 17255. | |
| [NG Tools] Check if Stripping Level is not set on "Use micro mscorlib". | |
| [NG Tools] Try to connect Unity Profiler to guarantee the device is reachable. | |
| [NG Tools] Find more tips at: https://bitbucket.org/Mikilo/neguen-tools/wiki/Home#markdown-header-31-guidances | |
| [NG Tools] Unhandled packet 3315. | |
| NGTools: The given type is null. |
NewerOlder