feat: implement CreditBundle purchases #989

Merged
OrdisPrime merged 5 commits from neon/SpaceNinjaServer:credit-bundles into main 2025-02-23 03:53:57 -08:00
Contributor

This fixes purchasing one of the few bundles that include these credit bundles. Ex: Essential Damage mod bundles

This fixes purchasing one of the few bundles that include these credit bundles. Ex: Essential Damage mod bundles
neon added 1 commit 2025-02-22 13:15:49 -08:00
feat: implement creditbundle purchases
All checks were successful
Build / build (20) (pull_request) Successful in 34s
Build / build (18) (pull_request) Successful in 1m1s
Build / build (22) (pull_request) Successful in 1m12s
de9283e3a7
neon added 1 commit 2025-02-22 13:22:40 -08:00
handle invalid bundle request
All checks were successful
Build / build (20) (pull_request) Successful in 33s
Build / build (18) (pull_request) Successful in 58s
Build / build (22) (pull_request) Successful in 1m11s
2dfb36018f
neon force-pushed credit-bundles from cd6f773ec1 to af7df53799 2025-02-22 13:31:45 -08:00 Compare
Owner

does it not work to add the 2 bundles here?
export const creditBundles:

does it not work to add the 2 bundles here? export const creditBundles:
Author
Contributor

does it not work to add the 2 bundles here?
export const creditBundles:

why? the game already provides them

> does it not work to add the 2 bundles here? > export const creditBundles: why? the game already provides them
Author
Contributor

does it not work to add the 2 bundles here?
export const creditBundles:

why? the game already provides them

plus they are only used in market purchases so there is no need to define them somewhere

> > does it not work to add the 2 bundles here? > > export const creditBundles: > > why? the game already provides them plus they are only used in market purchases so there is no need to define them somewhere
Owner

creditBundles is a map defined in missionInventoryUpdateService. You should use it instead of doing this crap.

`creditBundles` is a map defined in missionInventoryUpdateService. You should use it instead of doing this crap.
Author
Contributor

creditBundles is a map defined in missionInventoryUpdateService. You should use it instead of doing this crap.
Those only include mission credit bundles, not market credit bundles

> `creditBundles` is a map defined in missionInventoryUpdateService. You should use it instead of doing this crap. Those only include mission credit bundles, not market credit bundles
Author
Contributor

creditBundles is a map defined in missionInventoryUpdateService. You should use it instead of doing this crap.
Those only include mission credit bundles, not market credit bundles
although i will add those ones there and use it now that i think about it.

> > `creditBundles` is a map defined in missionInventoryUpdateService. You should use it instead of doing this crap. > Those only include mission credit bundles, not market credit bundles although i will add those ones there and use it now that i think about it.
neon added 1 commit 2025-02-22 16:46:33 -08:00
use creditBundles
All checks were successful
Build / build (22) (pull_request) Successful in 41s
Build / build (18) (pull_request) Successful in 1m3s
Build / build (20) (pull_request) Successful in 1m1s
ab111d5c57
Owner

I'm pretty sure the logic as you have it now does not work.

I'm pretty sure the logic as you have it now does not work.
Author
Contributor

@OrdisPrime what is your new discord account, i want to send you a message

@OrdisPrime what is your new discord account, i want to send you a message
neon added 1 commit 2025-02-22 16:53:46 -08:00
oversight
All checks were successful
Build / build (18) (pull_request) Successful in 41s
Build / build (20) (pull_request) Successful in 1m0s
Build / build (22) (pull_request) Successful in 1m9s
998808505d
Author
Contributor

oh yeah lol i forgot it needs to use internal name, now it works

oh yeah lol i forgot it needs to use internal name, now it works
Owner

Closes #990. Sorry for my hesitation, but I do feel like this should eventually use ExportMisc.creditBundles from PE+.

Closes #990. Sorry for my hesitation, but I do feel like this should eventually use ExportMisc.creditBundles from PE+.
Author
Contributor

Closes #990. Sorry for my hesitation, but I do feel like this should eventually use ExportMisc.creditBundles from PE+.

no worries, in this case i just followed what ordis said :)

> Closes #990. Sorry for my hesitation, but I do feel like this should eventually use ExportMisc.creditBundles from PE+. no worries, in this case i just followed what ordis said :)
OrdisPrime merged commit e1af6bd598 into main 2025-02-23 03:53:57 -08:00
Sign in to join this conversation.
No description provided.