• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Begin your search for Journey's End information here and here. Please report bugs and issues for Journey's End here.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

Need help Bad, mod has been going great but I ran into this problem

PhYCoZ x20

Terrarian
Code:
        private Vector2 _VirusHands = new Vector2(-1, -1);

        //Bool variables
        private bool Ram = ((_VirusHands.X == -1 && _VirusHands.Y == -1) || npc.ai[1] == 1);
Error is :
c:\Users\bbutl\Documents\My Games\Terraria\ModLoader\Mod Sources\PhYCoZsMod\NPCs\Bosses\Virus\Virus.cs(31,24) : error CS0236: A field initializer cannot reference the non-static field, method, or property 'PhYCoZsMod.NPCs.Bosses.Virus.Virus._VirusHands'
c:\Users\bbutl\Documents\My Games\Terraria\ModLoader\Mod Sources\PhYCoZsMod\NPCs\Bosses\Virus\Virus.cs(31,47) : error CS0236: A field initializer cannot reference the non-static field, method, or property 'PhYCoZsMod.NPCs.Bosses.Virus.Virus._VirusHands'
c:\Users\bbutl\Documents\My Games\Terraria\ModLoader\Mod Sources\PhYCoZsMod\NPCs\Bosses\Virus\Virus.cs(31,71) : error CS0120: An object reference is required for the non-static field, method, or property 'Terraria.ModLoader.ModNPC.npc.get'
 
Top Bottom