Login to ZARP
|
Suggestion Title: Fix The Holster Exploit How would it benefit the server: As of right now once you equip a weapon you have zero ammo and are forced to reload. In some cases weapons will not work since they cant reload so therefor can not be fired. This fix will solve the issues with this problem as well as the un-needed reload upon equip. My solution to this is to do these actions: Once a weapon is equipped it will have full ammo
Once holstered a variable with the amount of ammo will be stored
Once re-equipped the variable will be used to give the ammo you holstered
it with
If a death is occurred then the variable is reset and the weapon is reset to
full ammo This will continue to solve the problem of holster-exploiting as well as remove the useless no ammo upon equip. Potential Issues/Exploits: This may cause lag since each user will have a unique variable for each individual gun. Additional notes:
Feedback is useful.
I am not a coder so my 'Pseudo code' isn't the greatest. However you should get the right idea. |
|
Last Edit: 7 years 2 months ago by Fred Wroolie.
The topic has been locked.
|
best suggestion yet
![]() |
|
The topic has been locked.
The following user(s) said Thank You: Fred Wroolie
|
Warning: Spoiler! [ Click to expand ][ Click to hide ] Fred Wroolie wrote:
Suggestion Title: Fix The Holster Exploit How would it benefit the server: As of right now once you equip a weapon you have zero ammo and are forced to reload. In some cases weapons will not work since they cant reload so therefor can not be fired. This fix will solve the issues with this problem as well as the un-needed reload upon equip. My solution to this is to do these actions: Once a weapon is equipped it will have full ammo
Once holstered a variable with the amount of ammo will be stored
Once re-equipped the variable will be used to give the ammo you holstered it with
If a death is occurred then the variable is reset and the weapon is reset to full ammo This will continue to solve the problem of holster-exploiting as well as remove the useless no ammo upon equip. Potential Issues/Exploits: This may cause lag since each user will have a unique variable for each individual gun. Additional notes:
Feedback is useful.
I am not a coder so my 'Pseudo code' isn't the greatest. However you should get the right idea. We need Max_ to find a smart way to fix it, instead of updating Zarp like this, with all chaos in forums lol. Something like, you pull out a weapon, use 3 on 6 bullets, holster it, then when you re-pull out your weapon, there, in your mag there's 3/6 bullets. |
|
The topic has been locked.
|
ToBeHonest wrote:
Warning: Spoiler! [ Click to expand ][ Click to hide ] Fred Wroolie wrote:
Suggestion Title: Fix The Holster Exploit How would it benefit the server: As of right now once you equip a weapon you have zero ammo and are forced to reload. In some cases weapons will not work since they cant reload so therefor can not be fired. This fix will solve the issues with this problem as well as the un-needed reload upon equip. My solution to this is to do these actions: Once a weapon is equipped it will have full ammo
Once holstered a variable with the amount of ammo will be stored
Once re-equipped the variable will be used to give the ammo you holstered it with
If a death is occurred then the variable is reset and the weapon is reset to full ammo This will continue to solve the problem of holster-exploiting as well as remove the useless no ammo upon equip. Potential Issues/Exploits: This may cause lag since each user will have a unique variable for each individual gun. Additional notes:
Feedback is useful.
I am not a coder so my 'Pseudo code' isn't the greatest. However you should get the right idea. We need Max_ to find a smart way to fix it, instead of updating Zarp like this, with all chaos in forums lol. Something like, you pull out a weapon, use 3 on 6 bullets, holster it, then when you re-pull out your weapon, there, in your mag there's 3/6 bullets. |
|
The topic has been locked.
The following user(s) said Thank You: EiPUS, Fred Wroolie
|
![]() Spam me on steam again and I'll get my boys to curb stomp u |
|
The topic has been locked.
The following user(s) said Thank You: Fred Wroolie
|
![]() |
|
The topic has been locked.
The following user(s) said Thank You: Fred Wroolie
|
There is a reason we made it like it is in the first place(your idea would be performance heavy). Not only does it fix holster abuse it gives everyone who just pulls out a gun from their inventory a disadvantage. This should allow other players more of a chance to react to someone pulling a gun out. Now of course if you dont want to have to reload then the solution is simple just keep the gun on your hotbar and you can quickly swap to it without needing reloading.
|
|
Last Edit: 7 years 2 months ago by EMP.
The topic has been locked.
|