Jump to content
Message added by SrMiller,

Do you have questions or need help? Join my discord: https://discord.gg/EaM9fzMU9X

8 Screenshots

Recommended Comments



ClumsyZombie

Posted

17 minutes ago, SrMiller said:

Which version of NodeJS are you using?

 

Also your bot token is Letterand      numbers.sdfsdf.sdfsdifhasdufhasdlhjf_sdfsgeedf
The real long one you can only view one time correct?

SrMiller

Posted

16 minutes ago, ClumsyZombie said:

I am currently on 
clumsyzombie@gs01-nvme-rustprod:~/discord2skin$ node -v
v12.22.9
 

Try using 18.13.0 one, is the one what were tested by me.

ClumsyZombie

Posted

1 hour ago, SrMiller said:

Try using 18.13.0 one, is the one what were tested by me.

ok so I was able to get to node.js v18.18.2 
image.png.28b52860e04f1206627c66d8be8cb228.png

SrMiller

Posted

1 minute ago, ClumsyZombie said:

Thank you it is working now. 

Thank you so much 

 

Dont worry,

Remind that you can let your review after testing it 😄

ClumsyZombie

Posted

1 hour ago, SrMiller said:

Dont worry,

Remind that you can let your review after testing it 😄

O i am going to i also found away to run it on a linux system int eh background using pm2 so it will monitor the app.js and if crash it will auto restart. 
I will not past it all here but if you are on discord look me up and I can share what I have done and might be able to go even further with your directions if you wanted to take it that far I could share it all.   ClumsyZombie

Wajeeh Agbariya

Posted

hey, 

im trying to host the bot on a bot hosting website but i keep getting this error

 

npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/container/node_modules/discord-api-types
npm ERR! dest /home/container/node_modules/.discord-api-types-mSRmK4Q8
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/container/node_modules/discord-api-types' -> '/home/container/node_modules/.discord-api-types-mSRmK4Q8'

npm ERR! A complete log of this run can be found in: /home/container/.npm/_logs/2023-10-29T20_40_29_825Z-debug-0.log
npm WARN config production Use `--omit=dev` instead.
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/container/node_modules/discord-api-types
npm ERR! dest /home/container/node_modules/.discord-api-types-mSRmK4Q8
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/container/node_modules/discord-api-types' -> '/home/container/node_modules/.discord-api-types-mSRmK4Q8'

npm ERR! A complete log of this run can be found in: /home/container/.npm/_logs/2023-10-29T20_40_44_909Z-debug-0.log
node:internal/modules/cjs/loader:1080
  throw err;
  ^
Error: Cannot find module '../util/Options'
Require stack:
- /home/container/node_modules/discord.js/src/client/BaseClient.js
- /home/container/node_modules/discord.js/src/index.js
- /home/container/app.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/container/node_modules/discord.js/src/client/BaseClient.js:6:17)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/container/node_modules/discord.js/src/client/BaseClient.js',
    '/home/container/node_modules/discord.js/src/index.js',
    '/home/container/app.js'
  ]
}

 

Is there any way i can fix this?

SrMiller

Posted

7 minutes ago, Wajeeh Agbariya said:

hey, 

im trying to host the bot on a bot hosting website but i keep getting this error

 

npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/container/node_modules/discord-api-types
npm ERR! dest /home/container/node_modules/.discord-api-types-mSRmK4Q8
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/container/node_modules/discord-api-types' -> '/home/container/node_modules/.discord-api-types-mSRmK4Q8'

npm ERR! A complete log of this run can be found in: /home/container/.npm/_logs/2023-10-29T20_40_29_825Z-debug-0.log
npm WARN config production Use `--omit=dev` instead.
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/container/node_modules/discord-api-types
npm ERR! dest /home/container/node_modules/.discord-api-types-mSRmK4Q8
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/container/node_modules/discord-api-types' -> '/home/container/node_modules/.discord-api-types-mSRmK4Q8'

npm ERR! A complete log of this run can be found in: /home/container/.npm/_logs/2023-10-29T20_40_44_909Z-debug-0.log
node:internal/modules/cjs/loader:1080
  throw err;
  ^
Error: Cannot find module '../util/Options'
Require stack:
- /home/container/node_modules/discord.js/src/client/BaseClient.js
- /home/container/node_modules/discord.js/src/index.js
- /home/container/app.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/container/node_modules/discord.js/src/client/BaseClient.js:6:17)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/container/node_modules/discord.js/src/client/BaseClient.js',
    '/home/container/node_modules/discord.js/src/index.js',
    '/home/container/app.js'
  ]
}

 

Is there any way i can fix this?

Which NodeJS version is?

Amino

Posted

Skin controller commands changed from just addskin and addcollection to

- skincontroller.addskin
- skincontroller.addcollection

SrMiller

Posted

4 hours ago, Amino said:

Skin controller commands changed from just addskin and addcollection to

- skincontroller.addskin
- skincontroller.addcollection

Thanks Amino. Will add support to Skins Controler on the Next version again. ❤️

Kimbo

Posted

Hello, do you think you can install a counter that shows how many skins have been uploaded?

Wajeeh Agbariya

Posted

hey, im having an issue where the bot adds skins to the que thing but whenever i try to accept them on my discord server it wouldnt work. any idea why that is?

SrMiller

Posted

4 hours ago, Wajeeh Agbariya said:

hey, im having an issue where the bot adds skins to the que thing but whenever i try to accept them on my discord server it wouldnt work. any idea why that is?

Hey, did you get any error on console?

SrMiller

Posted

10 hours ago, Kimbo said:

Hello, do you think you can install a counter that shows how many skins have been uploaded?

I take notes and will to add.

Gay Sparkly T-Rex

Posted

Would love to see something on the bot side that posts what skins have sucessfully been added.  I also have a .bat file to reload the bot every 3 hours (with an output log and a loop counter!) if anyones interested in it PM me

SrMiller

Posted

11 hours ago, Gay Sparkly T-Rex said:

Would love to see something on the bot side that posts what skins have sucessfully been added.  I also have a .bat file to reload the bot every 3 hours (with an output log and a loop counter!) if anyones interested in it PM me

Do you mean it checks if a skin has already been added and if so it replies that it cannot add the skin because it has already been added?

DJ Ascendance

Posted

On 11/15/2023 at 10:46 AM, SrMiller said:

Do you mean it checks if a skin has already been added and if so it replies that it cannot add the skin because it has already been added?

That sounds like an amazing addition. Dupe skin protection would be great!

  • Like 1
Wajeeh Agbariya

Posted

Error: WebSocket is not open: readyState 3 (CLOSED)
    at WebSocket.send (c:\Users\Wajeeh\Desktop\Skins\node_modules\rustrcon\node_modules\ws\lib\websocket.js:329:19)
    at WebSocket.sendMessage (c:\Users\Wajeeh\Desktop\Skins\node_modules\rustrcon\src\client\websocket\ws.js:59:11)
    at Client.send (c:\Users\Wajeeh\Desktop\Skins\node_modules\rustrcon\src\client\client.js:19:11)
    at Client.<anonymous> (c:\Users\Wajeeh\Desktop\Skins\app.js:204:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Getting this error when accepting a skin

SrMiller

Posted

20 minutes ago, Wajeeh Agbariya said:

Error: WebSocket is not open: readyState 3 (CLOSED)
    at WebSocket.send (c:\Users\Wajeeh\Desktop\Skins\node_modules\rustrcon\node_modules\ws\lib\websocket.js:329:19)
    at WebSocket.sendMessage (c:\Users\Wajeeh\Desktop\Skins\node_modules\rustrcon\src\client\websocket\ws.js:59:11)
    at Client.send (c:\Users\Wajeeh\Desktop\Skins\node_modules\rustrcon\src\client\client.js:19:11)
    at Client.<anonymous> (c:\Users\Wajeeh\Desktop\Skins\app.js:204:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Getting this error when accepting a skin

Hey! Whats NodeJS version are you using?

MaLai

Posted (edited)

Hello,

we getting this error whenever we reject a skin:
 

PS C:\Users\Administrator\desktop\discord2skinbox> node app.js
Loaded Pending Skins: 1
RCON Connection Established for server at 45.138.49.49:27025.
Ready! Connected as Hansi#5040
node:events:495
      throw er; // Unhandled 'error' event
      ^

ReferenceError: rcon is not defined
    at Client.<anonymous> (C:\Users\Administrator\desktop\discord2skinbox\app.js:214:64)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Client instance at:
    at emitUnhandledRejectionOrErr (node:events:398:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

Node.js v18.19.0
PS C:\Users\Administrator\desktop\discord2skinbox>



Adding a skin (accepting) works fine.

**Posted this already in Support Forum**

Edited by MaLai
Wajeeh Agbariya

Posted

13 minutes ago, SrMiller said:

Hey! Whats NodeJS version are you using?

The latest one I think. But is there a way to check??

 

Also issue was resolved after I restarted the bot, but had to resend the skins to be able to accept them

SrMiller

Posted

10 minutes ago, MaLai said:

Hello,

we getting this error whenever we reject a skin:
 

PS C:\Users\Administrator\desktop\discord2skinbox> node app.js
Loaded Pending Skins: 1
RCON Connection Established for server at 45.138.49.49:27025.
Ready! Connected as Hansi#5040
node:events:495
      throw er; // Unhandled 'error' event
      ^

ReferenceError: rcon is not defined
    at Client.<anonymous> (C:\Users\Administrator\desktop\discord2skinbox\app.js:214:64)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Client instance at:
    at emitUnhandledRejectionOrErr (node:events:398:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

Node.js v18.19.0
PS C:\Users\Administrator\desktop\discord2skinbox>



Adding a skin (accepting) works fine.

**Posted this already in Support Forum**

Try using 18.13.0 version on NodeJS

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 5
  • Love 3

SrMiller's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.