quer/the-steam-awards

ReferenceError: events is not defined

stickerx opened this issue · 16 comments

hi thank for this big project

i have this issue can you help please

2022-11-24_191149

idimo commented

image

quer commented

Have you added it like @idimo describes?

Have you added it like @idimo describes?

Yes and still same problème

quer commented

can i make you send the main.js file. How do it look like?

can i make you send the main.js file. How do it look like?

2022-11-25_111706

quer commented

i have never seen that error before. as the line, it is telling that the error is on. We justasign a simple text, into a list.
the way the error is showen. It look like it thinks it is a npm module.

What will happen if you change the list name from modules to eks modulesToRun. then node cant. mistake it for a npm module.

so just change line 5, 11 and 15. to the new name. And run it agirn

quer commented

then run it agirn. there is build in a save mode, where it check if a account is done. then it just skips it. So it will try agirn whit the account missing.

quer commented

if it still not giving the full badge. then please help me, fix the script. so other doent get the same error. so i can fix it.

idimo commented

after change names script run tf2 and give badge 75xp and some accounts 50xp

module steamawards-2022 contains the ids of games that can be banned in your region, just change to which are exactly available in your region

quer commented

@stickerx That is not image?

quer commented

you change the list name. from modules to modulesToRun if im not wrong.

so now you are trying to add to the old list. you have to change all the modules.push(.... to modulesToRun.push(....

quer commented

It wierd that you have so many problems, whit, even the simple stuff.

The problem it is showing, it is saying that inside the "modules" folder there is not a file called Wishlist_AddGame.js can you validate that, the file exitst?

if you do have the it. Then add me on steam, and we can see if we can find the problem.

quer commented

did you find a solution, so i can close this issue?