Post: Devs Have unlimted ammo on a video
09-25-2015, 05:28 AM #1
Turk_Warrior
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); saw him using a grenades launcher everytime he shot he had 1/4 bullets all the time

pretty sure unlimited ammo is possible
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned Turk_Warrior for this awful post:

x_com
09-25-2015, 12:27 PM #2
Only in the Training room
the server detect the ammo & change back into the original value.
09-25-2015, 01:58 PM #3
Turk_Warrior
League Champion
Originally posted by Envolvwed View Post
Only in the Training room
the server detect the ammo & change back into the original value.


He was in a normal sever man i swear he was shooting Grenade launcher 1/4
09-25-2015, 07:38 PM #4
qNSp
Brute
Originally posted by Warrior View Post
He was in a normal sever man i swear he was shooting Grenade launcher 1/4


short answer : yes you can

long answer :
it's can be don by two way as i know but these way was test in pc modding and as i know you can port pc modz to ps3 cuz it's the same game :

1- [Block Read] remove the bullet VaultData from the ClientPlayerManager in english block the server from read the bullet number and the ammo will not decrease but it's too high risk and the server will ban you in pc .

2- [Make one] by this way you will have to make modz give you the same good as unlimited Ammo will there one i have tried in PC and worked for me but there a lot of ways you can create one:

A- you need to do these things to make pre unlimited ammo:
1- Enable ammo box regenerator for your ClientSoldier you can found it in p_GameContext.
2- make the ammo box regenerator speed 999.9F to give you instant ammo [Fast].
now you have unlimited Ammo but you will need to reload your magazine the next part to make your magazine unlimited .
3- port your gun magazine ammo to your original Soldier ammo you can find it in BulletEntityData this will make your gun use all the ammo you have without reload .

this mod was created by [shellBullet] in pc it's work for any server but you will ban if detected

the thing about these modz you need to find the address every new server cuz it's Variables but you can create code to make it auto find and inject your code as dll.


all these modz can port to ps3 and it's can habend .
09-29-2015, 03:07 AM #5
FarSideX
I’m too L33T
It is ghost ammo. It is in the code to apply ghost ammo since BF 1943. Well 1943 is a little different but anyways. There is a ghost projectile class that is the base class of the actual projectiles class.
It only looks like real ammo to the player so it will look like infinite ammo in a video, but it is not.

The following user thanked FarSideX for this useful post:

NGU GHOST
09-29-2015, 03:10 PM #6
I've never modded battlefield before, but couldn't you just find the function that returns the amount of ammo you have every time you shoot and instead of returning the actual amount of ammo, you return the ammo + 1 so the ammo never decreases?
09-29-2015, 05:33 PM #7
FarSideX
I’m too L33T
Originally posted by robj View Post
I've never modded battlefield before, but couldn't you just find the function that returns the amount of ammo you have every time you shoot and instead of returning the actual amount of ammo, you return the ammo + 1 so the ammo never decreases?


No the server tracks how much ammo each player has. When you reload, once the time required to reload passes, the server sends a packet that syncs the number of bullets the client has loaded to what the server says is there. Each bullet fired sends a vector for origin and velocity so the server knows how many you have fired.
As for your reserve ammo the server also tracks that but the client does not show what is synced with the server so by adjusting that the server lets you think you have ammo left but you end up firing ghost ammo.

You can see the server syncing your ammo by using a LMG that has a 200 round clip and a long reload time. Turn on no reload and empty the clip, keep firing while watching the ammo go down, after the time to reload passes the ammo in the clip will jump back up to 200. This is the server syncing the ammo.

The method suggested by qNSp does not work because of this syncing with the server. The ammo box part partly does, just the pointing your clip to your reserve ammo does not. Speeding up ammo regen from the box delivers ghost ammo just as repointing the clip to reserve, but you can make the box move with you.

The following user thanked FarSideX for this useful post:

192.168.1.1
09-29-2015, 06:25 PM #8
bigboiii33:)
Pokemon Trainer
Originally posted by Warrior View Post
saw him using a grenades launcher every time he shot he had 1/4 bullets all the time
similar thing happened to me with this one gun on bf4. that gives you semi unlimited ammo. which is some sort of bomb launcher that gives you 4/4 on full but once you reach 0/4 which is empty. it reloads back to 1/4 every time

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo