Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

[Solved] Compile errors on v2022.9.1.51

A topic by bubblezzzzzz created Jan 14, 2023 Views: 476 Replies: 5
Viewing posts 1 to 6
(2 edits)

Hi, I am using v2022.9.1.51 and getting these errors. Is it possible it is due to my version?

Edited to add: I didn't make any changes to it, just downloaded and pressed play. 

Object: oBattle Event: Create at line 104 : wrong number of arguments for function string

Object: oBattle Event: Step at line 79 : wrong number of arguments for function string

Object: oBattle Event: Create at line 63 : malformed assignment statement

Object: oBattle Event: Step at line 79 : malformed assignment statement

Developer

Hey hey! Have you tried downloading the version I uploaded after this hotfix? https://shaunjs.itch.io/shauns-turn-based-battle-system/devlog/476207/hotfix

I think this should fix your issue. Otherwise the line to fix is in the collision event with oSlime, the last argument "sBGfield" should be the last argument of the function but is accidentally part of the array given as the first argument.

I just purchased this and the normal download links still have these errors.  I don't see anything downloadable at the hotfix link above.  

Developer (2 edits) (+1)

Oh I have misunderstood! I did not read your errors correctly and presumed they were part of an earlier issue. The problem is that the project uses very new techniques introduced in stable 2022.11. The "string" function explicitly now allows extra functionality that this project uses. I will add clarifications on this to the project page. Very sorry for not reading this properly! =(

And if either of you are unable/unwilling to update your GameMaker version for whatever reasons and therefore cannot use this project, please feel free to initiate a refund request with itch.io. Sorry about that!

I updated and no more errors. Thank you!

(+1)

That fixed it!! Thanks so much!