fatal "Variable name expected" error on game start

Posted by jacko_price
so im using gm8.1, downloaded and added the latest version of gms and whenever i build and open my game i get this

[COMPILATION ERROR in extension package GameMaker Server+
Error in code at line 87:

i = instance_create(0, 0, global.__obj_other_player);
^
at position 24: Variable name expected.]
im pretty sure i installed the gm8 version of the extension

Replies (11)

Last message on 28 Sep 2020

Size43 (Administrator) on 7 Sep 2020, 17:53:03
You likely have a resource named 'i'. Renaming this resource to something else should fix the errors.
jacko_price (Topicstarter) on 19 Sep 2020, 03:49:33
ah yeah that was the problem
thanks
jacko_price (Topicstarter) on 19 Sep 2020, 03:51:55
ok now this happens

___________________________________________
COMPILATION ERROR in extension package GameMaker Server+
Error in code at line 12:
var result;
^
at position 24: Variable name expected.
jacko_price (Topicstarter) on 19 Sep 2020, 04:04:23
wait thats also cuz i have a resource named "result"
jacko_price (Topicstarter) on 19 Sep 2020, 04:08:59
ok i fixed all the resource related errors but whenever i try type something in the login menu this happens
___________________________________________
Illegal array index in script "<unknown>".
trying to access argument[1], but only 0 arguments have been supplied.
Size43 (Administrator) on 20 Sep 2020, 17:23:01
Strange, I haven't seen that error before. Which version of GameMaker are you using?
jacko_price (Topicstarter) on 26 Sep 2020, 07:45:25
gm8.1 standard
jacko_price (Topicstarter) on 26 Sep 2020, 07:47:02
also whenever i load the project this pops up
______________________________

| List index out of bounds (25) |
______________________________
Size43 (Administrator) on 26 Sep 2020, 16:50:28
Which version of GM8.1 standard are you using? Some versions have been quite buggy, so you should upgrade to the latest version if you haven't already.
jacko_price (Topicstarter) on 28 Sep 2020, 10:39:46
version 8.1.65 r5480
Size43 (Administrator) on 28 Sep 2020, 15:32:59
That is a very old version. You should upgrade to version 8.1.141.