quer / the-steam-awards

Steam multi account module/event (get updates when event for steam)
95 stars 13 forks source link

ReferenceError: events is not defined #53

Closed stickerx closed 1 year ago

stickerx commented 1 year ago

hi thank for this big project

i have this issue can you help please

2022-11-24_191149

idimo commented 1 year ago

image

quer commented 1 year ago

Have you added it like @idimo describes?

stickerx commented 1 year ago

Have you added it like @idimo describes?

Yes and still same problème

quer commented 1 year ago

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

stickerx commented 1 year ago

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

2022-11-25_111706

quer commented 1 year ago

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 1 year ago

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 1 year ago

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 1 year ago

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

stickerx commented 1 year ago

![Uploading 2022-11-25_202117.jpg…]()

quer commented 1 year ago

@stickerx That is not image?

stickerx commented 1 year ago

2022-11-25_202117

quer commented 1 year ago

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(....

stickerx commented 1 year ago

2022-11-25_222325 2022-11-25_222547

quer commented 1 year ago

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 1 year ago

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