Jump to content

AlysiumX

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by AlysiumX

  1. So I am implementing a specific farming feature into the engine for our game. The layout looks of the object looks like this. FarmingBase FarmingSteps FarmingRequirements. Now when I look at DBInterface.LoadGameObjects() I can see where I am getting the id for the farming requirements but when I call FarmingBase.Get it pulls all the information except the Id field which is empty. Anyone have any ideas where this GUID could be getting lost? I tried to breakpoint on the classes constructor where it sets the id, but I am not seeing where it would clear it out.
  2. Nevermind, my changes for DBInterface.AddGameObject and DBInterface.SaveGameObject were not setup correctly. Thanks
  3. So I have a class that is defined like this. PrimaryClass DetailsClass Now I am saving the primary object using PacketSender.SendSaveObject(PrimaryClassInstance); and it is writing the tables as expected one table for the primary class and one table for the detail class with a foreign key, however when I call PrimaryClass.Get(id) it pulls the PrimaryClass details from the table but not the DetailsClass details from the sub table. I tried to add a specific foreign key from to the primary class and do a lookup on it but that will not return the recently save data unless I close the editor and reload (Not sure if this is just a cache I need to bust or something like that) Has anyone else had this issue?
  4. Nevermind. Pretty sure the issue is there are already overrides that use the key I am trying to create.
  5. So I am working on a feature for being able to drag and drop items out of the inventory, as part of that I am planning on passing the tileIndex based on the mouse position to the server. The problem is in order to do that I need to modify the DropItemPacket which is dependent upon the SlotQuantityPacket abstract class. When I add a property to the class I start getting these error when rebuilding the code : Error The command ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" "..\targets\Intersect.Building.KeyGeneration.msbuild" /property:KeySize=4096 /property:GenerateEachBuild=false /property:OutputDirectory="..\build\debug\keys" /property:IntersectBuildingAssemblyFile="..\build\debug\Intersect.Building\Intersect.Building.dll"" exited with code 1. Intersect.Network D:\Development\Intersect-Engine-Shoppe\Intersect.Network\Intersect.Network.csproj 121 Error The "Intersect.Building.KeyGenerationTask" task could not be loaded from the assembly D:\Development\Intersect-Engine-Shoppe\targets\..\build\debug\Intersect.Building\Intersect.Building.dll. Could not load file or assembly 'file:///D:\Development\Intersect-Engine-Shoppe\build\debug\Intersect.Building\Intersect.Building.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. Intersect.Network D:\Development\Intersect-Engine-Shoppe\targets\Intersect.Building.KeyGeneration.msbuild 12 Error The "Intersect.Building.KeyGenerationTask" task could not be loaded from the assembly D:\Development\Intersect-Engine-Shoppe\targets\..\build\debug\Intersect.Building\Intersect.Building.dll. Could not load file or assembly 'file:///D:\Development\Intersect-Engine-Shoppe\build\debug\Intersect.Building\Intersect.Building.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. Intersect.Network D:\Development\Intersect-Engine-Shoppe\targets\Intersect.Building.KeyGeneration.msbuild 12 Is anyone able to tell my why that is happening? Thanks
×
×
  • Create New...