After enabling the "Daily Unlimited Standing" cheat in the debug menu, a bug occurs when exchanging items for faction standing in the game, preventing the conversion at Rank 3-5. #2388
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Error message.: 2025-07-02T21:31:55:074 [0.1.0] debug: NewLokaSyndicate is decreasing to title -3 after applying alignment
2025-07-02T21:31:55:080 [0.1.0] error: TypeError: Cannot read properties of undefined (reading 'minStanding') while processing /api/syndicateStandingBonus.php request
at getMinStanding (C:\Users\Administrator\SpaceNinjaServer\src\helpers\syndicateStandingHelper.ts:22:57)
at addStanding (C:\Users\Administrator\SpaceNinjaServer\src\services\inventoryService.ts:1283:55)
at addStanding (C:\Users\Administrator\SpaceNinjaServer\src\services\inventoryService.ts:1280:28)
at syndicateStandingBonusController (C:\Users\Administrator\SpaceNinjaServer\src\controllers\api\syndicateStandingBonusController.ts:58:16)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-07-02T21:31:55:081 [0.1.0] http: POST /api/syndicateStandingBonus.php?accountId=6862b15e17f43cb5696a81d5&nonce=5305178731398071&ct=MSI&Category=Pistols 500 52.859 ms - -
2025-07-02T21:32:14:090 [0.1.0] http: GET /api/hub?accountId=6862b15e17f43cb5696a81d5&level=EARTH_ZH_WIN_0&version=10®ionId=ASIA 200 0.240 ms - 20
2025-07-02T21:32:14:182 [0.1.0] http: GET /api/credits.php?accountId=6862b15e17f43cb5696a81d5&nonce=5305178731398071&ct=MSI 200 7.639 ms - 94
2025-07-02T21:32:15:993 [0.1.0] debug: NewLokaSyndicate is decreasing to title -3 after applying alignment
2025-07-02T21:32:15:994 [0.1.0] error: TypeError: Cannot read properties of undefined (reading 'minStanding') while processing /api/syndicateStandingBonus.php request
In the cheat backend, after enabling the daily unlimited reputation feature, when using items to exchange for reputation with factions in the game, a bug occurs where the reputation cannot be exchanged. The exchange works normally for factions at levels 1to After enabling the "Daily Unlimited Standing" cheat in the debug menu, a bug occurs when exchanging items for faction standing in the game, preventing the conversion at Rank 3-5.After updating to #2393, the location of the error message changed. The error content is as follows:
2025-07-03T07:32:04:496 [0.1.0] debug: PerrinSyndicate is decreasing to title -3 after applying alignment
2025-07-03T07:32:04:497 [0.1.0] error: TypeError: Cannot read properties of undefined (reading 'minStanding') while processing /api/syndicateStandingBonus.php request
at getMinStanding (C:\Users\Administrator\SpaceNinjaServer\src\helpers\syndicateStandingHelper.ts:22:57)
at addStanding (C:\Users\Administrator\SpaceNinjaServer\src\services\inventoryService.ts:1293:55)
at addStanding (C:\Users\Administrator\SpaceNinjaServer\src\services\inventoryService.ts:1290:28)
at syndicateStandingBonusController (C:\Users\Administrator\SpaceNinjaServer\src\controllers\api\syndicateStandingBonusController.ts:58:16)
After modifying the code at lines 1269 and 1270 in the inventoryService.ts file, the reputation exchange items feature still fails to work properly. A relevant demo video has been provided in the attachment for your reference.
Using the Iron Defense as an example: When using items to redeem reputation points in both Stage 1 and Stage 2, the redemption is successful while simultaneously reducing the reputation of the hostile faction. However, when attempting to redeem using items in Stage 3, the redemption fails—it appears that the hostile faction's reputation cannot be deducted. The specific log details are as follows:
1.{"level":"debug","message":"PerrinSyndicate is decreasing to title -1 after applying alignment","timestamp":"2025-07-03T14:43:13.992Z","version":"0.1.0"}
{"level":"debug","message":"NewLokaSyndicate is decreasing to title -1 after applying alignment","timestamp":"2025-07-03T14:43:13.992Z","version":"0.1.0"}
{"level":"http","message":"POST /api/syndicateStandingBonus.php?accountId=686685804e9387612bba1b0a&nonce=6859698127464481&ct=MSI&Category=Pistols 200 119.555 ms - 352","timestamp":"2025-07-03T14:43:14.075Z","version":"0.1.0"
2.{"level":"debug","message":"PerrinSyndicate is decreasing to title -2 after applying alignment","timestamp":"2025-07-03T14:44:40.941Z","version":"0.1.0"}
{"level":"debug","message":"NewLokaSyndicate is decreasing to title -2 after applying alignment","timestamp":"2025-07-03T14:44:40.941Z","version":"0.1.0"}
{"level":"http","message":"POST /api/syndicateStandingBonus.php?accountId=686685804e9387612bba1b0a&nonce=6859698127464481&ct=MSI&Category=Pistols 200 80.313 ms - 349","timestamp":"2025-07-03T14:44:40.997Z","version":"0.1.0"}
3.{"level":"debug","message":"PerrinSyndicate is decreasing to title -3 after applying alignment","timestamp":"2025-07-03T14:45:24.416Z","version":"0.1.0"}
{"level":"error","message":"TypeError: Cannot read properties of undefined (reading 'minStanding') while processing /api/syndicateStandingBonus.php request\n at getMinStanding (C:\Users\Administrator\SpaceNinjaServer\src\helpers\syndicateStandingHelper.ts:22:57)\n at addStanding (C:\Users\Administrator\SpaceNinjaServer\src\services\inventoryService.ts:1293:55)\n at addStanding (C:\Users\Administrator\SpaceNinjaServer\src\services\inventoryService.ts:1290:28)\n at syndicateStandingBonusController (C:\Users\Administrator\SpaceNinjaServer\src\controllers\api\syndicateStandingBonusController.ts:58:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-03T14:45:24.421Z","version":"0.1.0"}
{"level":"http","message":"POST /api/syndicateStandingBonus.php?accountId=686685804e9387612bba1b0a&nonce=6859698127464481&ct=MSI&Category=Pistols 500 26.294 ms - -","timestamp":"2025-07-03T14:45:24.422Z","version":"0.1.0"}
{"level":"info","message":"Detected a change to config file, reloading its contents.","timestamp":"2025-07-03T14:45:46.294Z","version":"0.1.0"}
likecheng210879 referenced this issue2025-07-03 10:49:51 -07:00