Hallo Leute könnt ihr mir sagen wo man die steigungen des Schadens einstellt beim upgradten? Seit dem letzten oder vorletzen Update steigt der Schaden meiner waffen nur noch maximall 10 Punkte. Hat sich erledigt. Andere mod ist schuldig.
Hello folks Can you tell me where to set the damage increments when upgrading?Since the last or second to last update, the damage of my weapons has only increased by a maximum of 10 points. It's been dealt with. Other mod is guilty.
verifying that applying the two previously mentioned fixes for line 150 (from Demon9ne) *and* line 835 (from haunter1212) got the mod working again *edit for typos - sorry
yes it worked, i edited 150, saved, started cyberpunk no problems, then added the lines in 835 and started the game and the mod uses crafting materials for upgrades, thanks guys.
line 150 change @wrapMethod(UpgradingScreenController)to: @wrapMethod(CraftingMainLogicController) line 835 add: if (canUpgrade) { canUpgrade = this.m_craftingSystem.EnoughIngredientsForUpgrading(InventoryItemData.GetGameItemData(item)); }
well it gave me errors too when i did it all at once... then i started over, changed 150 only, started the game, no redscript error... closed the game... then i added the 835 and started the game (i don't know if matters but mind adding the empty line after the added lines) hope it helps. (maybe it is the blank line at the end... or maybe doing it all at once that gives the error, who knows, but it works! i swear)
ok so line 150 is easy... also, you can delete that section to pass the redscript error message, both solutions work... as for 835 this is what i have, edited with notepad++ (hope you guys get it working [mind the changes from 834 to 838]) https://postimg.cc/cKVjgMV2
your brilliant bro, was about to roll back redscript but i was unaware i was in the presence of a genius thank you, also just learned .reds files can be edited this easy
I tried adding the 835 lines above, and my game crashed instantly with no "Cyberpunk has flatlined" message, so reverted back to ONLY changing line 150.
Managed to upgrade a gun, access the mod settings, and the game is functioning perfectly... so far...
Do i have to delete all line form @if........ ....(this); this and also - this one - } - i mean this litte thing ... i dont know what name for it ....
I mean the mod works.... in the game i can upgrade weappons - cost different materials.. so its now work properly but im missing a mod settings in the game/ main menu or menu..
i did, and mod settings now shows, but be careful, someone on red script support on discord say's ....also that fix is going to cause a memory leak and possibly issues with Mod Settings please don't ask me to explain what that means as i don't talk computer language , just know that my game is OK for now. If you can wait for an updated file would be better and play another game until then, me, i only pay this game so I'm taking a chance and if my game explodes and i have to reinstall, then so be it.
Don't worry, a memory leak won't explode neither your computer nor the game. It means the mod might starting and taking more and more memory. In worst case, you run out of memory and have to restart the game.
It's good to have found a solution, but I believe the more appropriate fix is to change line 150 from: @wrapMethod(UpgradingScreenController)to: @wrapMethod(CraftingMainLogicController)
I tried adding the 835 lines above, and my game crashed instantly with no "Cyberpunk has flatlined" message, so reverted back to ONLY changing line 150.
Managed to upgrade a gun, access the mod settings, and the game is functioning perfectly... so far...
This is an excellent mod, however it currently doesn't work for me due to a redscript compellation error. Hoping for an update soon as the posted solutions seemingly haven't solved my problem.
427 comments
If it is not like that, please provide me with list of mods you use, and I'll try to figure out why it is not working as intended.
könnt ihr mir sagen wo man die steigungen des Schadens einstellt beim upgradten?
Seit dem letzten oder vorletzen Update steigt der Schaden meiner waffen nur noch maximall 10 Punkte.
Hat sich erledigt. Andere mod ist schuldig.
Hello folks
Can you tell me where to set the damage increments when upgrading?Since the last or second to last update, the damage of my weapons has only increased by a maximum of 10 points.
It's been dealt with. Other mod is guilty.
other than that, preem mod when it works as intended.
for line 150 (from Demon9ne) *and* line 835 (from haunter1212) got the mod working again
*edit for typos - sorry
line 150 change
@wrapMethod(UpgradingScreenController)
to:@wrapMethod(CraftingMainLogicController)
line 835 add:
if (canUpgrade) {
canUpgrade = this.m_craftingSystem.EnoughIngredientsForUpgrading(InventoryItemData.GetGameItemData(item));
}
as for 835 this is what i have, edited with notepad++ (hope you guys get it working [mind the changes from 834 to 838])
https://postimg.cc/cKVjgMV2
I tried adding the 835 lines above, and my game crashed instantly with no "Cyberpunk has flatlined" message, so reverted back to ONLY changing line 150.
Managed to upgrade a gun, access the mod settings, and the game is functioning perfectly... so far...
@if(ModuleExists("ModSettingsModule"))
@wrapMethod(UpgradingScreenController)
protected cb func OnUninitialize() -> Bool {
wrappedMethod();
ModSettings.UnregisterListenerToModifications(this);
}
Credit to @onethirtyone who reported this bug. ((I'm not sure how to comment out code but deleting seemed to work)
Read this carefully as there are several "chunks" of code that start the same way. It's like the fourth one that starts this way...
jamesvdz
Do i have to delete all line form @if........ ....(this); this and also - this one - } - i mean this litte thing ... i dont know what name for it ....
I mean the mod works.... in the game i can upgrade weappons - cost different materials.. so its now work properly but im missing a mod settings in the game/ main menu or menu..
please don't ask me to explain what that means as i don't talk computer language , just know that my game is OK for now. If you can wait for an updated file would be better and play another game until then, me, i only pay this game so I'm taking a chance and if my game explodes and i have to reinstall, then so be it.
@wrapMethod(UpgradingScreenController)
to:@wrapMethod(CraftingMainLogicController)
I tried adding the 835 lines above, and my game crashed instantly with no "Cyberpunk has flatlined" message, so reverted back to ONLY changing line 150.
Managed to upgrade a gun, access the mod settings, and the game is functioning perfectly... so far...
In the doc, ctrl+F this line to find the right block of code quickly: protected cb func OnUninitialize() -> Bool {