Jump to content

Armor Glitch


Arroyo

Recommended Posts

Found a bug?

Let's squash it.

 

Bug Type (Server:): CWRP

Severity level (1-3): 2

Evidence (if you can): N/A you can do it yourself though

Description of the bug: When you get in and out of a vehicle it will give you extra armor. I have gotten like 1000 armor from it before. 

How can we recreate it: Just spawn a vehicle and get in and out 

 
Link to comment
  • 2 weeks later...

Unless they can change the way the stat system gives armor, this is either unfixable, or just not worth fixing due to difficulty. The vehicles respawn you when you exit their pilot positions, basically, which gives you anything that's given after spawning, like your armor. Originally this also used to affect health, but was since fixed so that your health is set via your stats (which also lets medkits heal people to their full health)

Link to comment
  • 2 weeks later...

If a developer goes to lua/entities/fighter_base.lua and deletes line 469 (or somewhere around that, idk if u made edits) its the line that goes self.Pilot:SetArmor(self.PlayerArmor). This will keep the armor from stacking when entering a vehicle because when a player exits the vehicle, he is "spawned" which triggers the PlayerSpawn hook and your jobs.lua file should set the player's armor to its normal stat and then your leveling addon should buff the armor to what it should be. Line 469 isn't needed.

Link to comment
5 minutes ago, Sim said:

If a developer goes to lua/entities/fighter_base.lua and deletes line 469 (or somewhere around that, idk if u made edits) its the line that goes self.Pilot:SetArmor(self.PlayerArmor). This will keep the armor from stacking when entering a vehicle because when a player exits the vehicle, he is "spawned" which triggers the PlayerSpawn hook and your jobs.lua file should set the player's armor to its normal stat and then your leveling addon should buff the armor to what it should be. Line 469 isn't needed.

You need to talk to Joah.

 

 

Link to comment
  • 2 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...