Gun range assembly code- .NET reflector problem

Posts 1–15 of 17 · Page 1 of 2
Gun range assembly code- .NET reflector problem
the title may not be clear, but i've seen a range hack for guns, so i'd like to know the source code.
i also have a problem with .NET reflector with reflexil 1.8 and i would like to know how to change values, as i can't see any way to do so, thanks.
Dosnt the guns have alot of range
400 at most but that's quite low
✓ Noodle Confirmed: Can be made.

Recent Update 2.1.7
Code:
Tweaks:
-Refilling Savage drums now requires only 3 boxes of ammo.
-Reduced Timberwolf range to 400 meters.
Start there
Quote Originally Posted by xiEatNoodlezx View Post
✓ Noodle Confirmed: Can be made.

Recent Update 2.1.7
Code:
Tweaks:
-Refilling Savage drums now requires only 3 boxes of ammo.
-Reduced Timberwolf range to 400 meters.
Start there
thanks, i found out how to do it, but i still can't modify values with reflector+ reflexil
Took me two seconds...

Recent Update 2.1.7
Code:
Tweaks:
-Refilling Savage drums now requires only 3 boxes of ammo.
-Reduced Timberwolf range to 400 meters.
Code:
      case 7011:
        return "Timberwolf";
Code:
  public static float getEffectiveness(int \u08A3)
  {
    switch (param0)
    {
      case 7011:
        return 400f;
Quote Originally Posted by xiEatNoodlezx View Post
Took me two seconds...

Recent Update 2.1.7
Code:
Tweaks:
-Refilling Savage drums now requires only 3 boxes of ammo.
-Reduced Timberwolf range to 400 meters.
Code:
      case 7011:
        return "Timberwolf";
Code:
  public static float getEffectiveness(int \u08A3)
  {
    switch (param0)
    {
      case 7011:
        return 400f;
hi dude, thank you very much, unfortunately i was looking at the wrong instruction (range)
Quote Originally Posted by angrydps View Post
hi dude, thank you very much, unfortunately i was looking at the wrong instruction (range)
It happens haha, no problem
Quote Originally Posted by xiEatNoodlezx View Post
It happens haha, no problem
i've found out that the range for guns is capped, i've changed Outfield's range to 400 from 325 and it hasn't crashed, but if i change it to 800 it crashes

EDIT: i've gone to 775m, and it definitely looks that the range is capped at 800
can anyone help me out with this? im using "DotNetResolver" for it and i cant seem to edit the "operand"(aka value). any help would be appreciated
Quote Originally Posted by paul3355 View Post
can anyone help me out with this? im using "DotNetResolver" for it and i cant seem to edit the "operand"(aka value). any help would be appreciated
http://www.mpgh.net/forum/802-unturn...pi-pt-3-a.html

Next time make a thread, its better than just randomly asking in the comments..
sorry, i'll remember that. i thought this was just for the program "Reflector"?
i found out how to do it, thanks anyway
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?