Author Topic: Theory: Unlimited Ammo in VC  (Read 1508 times)

0 Members and 1 Guest are viewing this topic.

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Theory: Unlimited Ammo in VC
« on: January 03, 2004, 11:37:48 pm »
In VC 1.3 Multiplayer there is a protection against the unlimited ammo feature.

What it does:
Kills the player when he uses up around wpnmagcapacity*2 without a reload (or perhaps in a certain time, reload more likely to protect against lag).
It's a very easy protection which practically is based on an IF-"Formula".

It is possible to extend the weapon capacities, extremely much on Machineguns like the Browning or the M60, Degetarev.


However the protection doesn't include unlimited mags (because that would be "too much" to do for the devs).

The theory or in other words how VC handles Magazines is that it just shows the amount just for look (in game u see the amount).

The amount of magazines is calculated by the game by taking

totalroundsinallmags div(similar to /) magcapacity +1
always returns integer.

Conclusion:
What we need to do to make a trainer on magazines is therefore not searching for the magazine value, there is none. You got to search for the amount of rounds there is.
Heckling is an art, and game hacking a science.

hoax-ravenheckler

  • Master Heckler
  • *****
  • Posts: 2429
  • Still the same old
    • View Profile
Theory: Unlimited Ammo in VC
« Reply #1 on: January 06, 2004, 11:21:30 pm »
You know, i will try it for you but plz say the right way then don't want to fuck  my hole game up.
Quote
There's never time to do things right, but there's always time to do it over.

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Theory: Unlimited Ammo in VC
« Reply #2 on: January 06, 2004, 11:43:20 pm »
Quote from: RavenHackler
You know, i will try it for you but plz say the right way then don't want to fuck  my hole game up.


There is already a trainer for it, it works and it's released (old boards).
However I wrote the "theory" to just make people understand how they should do.

Nothing is screwed when you do something in your internal memory (aka RAM-memory), and that's what trainers do; they manipulate values for adresses used by programs in the memory. The ram memory is deleted every restart (actually shutdown, when there is no power). So you could say that the trainers doesn't have any bad permanent side-effects.
Heckling is an art, and game hacking a science.

laxa

  • Online Villain
  • ***
  • Posts: 237
    • View Profile
    • http://www.diagonigal.com
Theory: Unlimited Ammo in VC
« Reply #3 on: January 14, 2004, 11:08:35 pm »
So does this mean that if you have 2 clips... say 100 rounds each... then you have a partly empty mag with 80 ammo, should you search for 280 ?  :oops:

[TKC] ~<{LTC}>~

  • Master Heckler
  • *****
  • Posts: 2781
    • View Profile
Theory: Unlimited Ammo in VC
« Reply #4 on: January 14, 2004, 11:15:41 pm »
weapon ini :wink:
southpark:
global warming is going to strike two days before the day after tomorrow

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Theory: Unlimited Ammo in VC
« Reply #5 on: January 14, 2004, 11:16:36 pm »
Quote from: laxa
So does this mean that if you have 2 clips... say 100 rounds each... then you have a partly empty mag with 80 ammo, should you search for 280 ?  :oops:


yuopp
Heckling is an art, and game hacking a science.