June 17, 2021, 04:11:38 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: 1 [2]

Author Topic: [Client-Side] AmmoRing  (Read 1987 times)

Kansiwiz

  • Junior Member
  • **
  • Karma: 9
  • Offline Offline
  • Posts: 64
  • It's m3me btw
Re: [Client-Side] AmmoRing
« Reply #15 on: March 06, 2018, 06:54:16 pm »

Will this work with custom crosshairs?
Logged
we're all a little hard - mang0, 2008

Spazz

  • Seasoned Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 1933
  • Almost too much seasoning.
Re: [Client-Side] AmmoRing
« Reply #16 on: March 06, 2018, 07:00:51 pm »

Don't see why it wouldn't, whether it be the Sprite Loader or default custom crosshair= path.
Logged

<3 Bustatunez

Anyar

  • New Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 21
  • Personal Text
Re: [Client-Side] AmmoRing
« Reply #17 on: May 15, 2018, 08:35:41 pm »

Nice and useful. However, there seems to be a bug. The error code below shows up whenever I try playing Sniper (if I try ignoring it, it'll keep popping up until I abort).

ERROR in
action number 2
of Draw Event
for object AmmoCounter:

Error in code at line 14:
      currentSectors = global.myself.object.currentWeapon.ammoCount * maxSectors / global.myself.object.currentWeapon.maxAmmo;
                                                                                                                   ^
at position 114: Division by 0.
Logged
shoutout to teal paz, whoever you are

held your own vs me and another decently skilled player while still gunspinning every single second

Spazz

  • Seasoned Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 1933
  • Almost too much seasoning.
Re: [Client-Side] AmmoRing
« Reply #18 on: May 15, 2018, 08:57:31 pm »

Nice and useful. However, there seems to be a bug. The error code below shows up whenever I try playing Sniper (if I try ignoring it, it'll keep popping up until I abort).

ERROR in
action number 2
of Draw Event
for object AmmoCounter:

Error in code at line 14:
      currentSectors = global.myself.object.currentWeapon.ammoCount * maxSectors / global.myself.object.currentWeapon.maxAmmo;
                                                                                                                   ^
at position 114: Division by 0.
Pretty sure PrOF wouldn't overlook Rifleman..? Did you alter any of the values for the customizable options?
Logged

<3 Bustatunez

PrOF

  • Full Member
  • ***
  • Karma: 43
  • Offline Offline
  • Posts: 594
  • Sometimes a dev. Only sometimes
Re: [Client-Side] AmmoRing
« Reply #19 on: May 16, 2018, 02:56:46 pm »

Nice and useful. However, there seems to be a bug. The error code below shows up whenever I try playing Sniper (if I try ignoring it, it'll keep popping up until I abort).

ERROR in
action number 2
of Draw Event
for object AmmoCounter:

Error in code at line 14:
      currentSectors = global.myself.object.currentWeapon.ammoCount * maxSectors / global.myself.object.currentWeapon.maxAmmo;
                                                                                                                   ^
at position 114: Division by 0.
Pretty sure PrOF wouldn't overlook Rifleman..? Did you alter any of the values for the customizable options?
I thought I uploaded the fix for that a long time ago, guess I never did. Thanks for pointing it out, I updated it
« Last Edit: May 16, 2018, 02:56:58 pm by PrOF »
Logged

Anyar

  • New Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 21
  • Personal Text
Re: [Client-Side] AmmoRing
« Reply #20 on: May 18, 2018, 06:07:14 pm »

Nice and useful. However, there seems to be a bug. The error code below shows up whenever I try playing Sniper (if I try ignoring it, it'll keep popping up until I abort).

ERROR in
action number 2
of Draw Event
for object AmmoCounter:

Error in code at line 14:
      currentSectors = global.myself.object.currentWeapon.ammoCount * maxSectors / global.myself.object.currentWeapon.maxAmmo;
                                                                                                                   ^
at position 114: Division by 0.
Pretty sure PrOF wouldn't overlook Rifleman..? Did you alter any of the values for the customizable options?
I thought I uploaded the fix for that a long time ago, guess I never did. Thanks for pointing it out, I updated it
Seems good, thanks.
Logged
shoutout to teal paz, whoever you are

held your own vs me and another decently skilled player while still gunspinning every single second
Pages: 1 [2]
 

Page created in 0.045 seconds with 36 queries.