Comments (20)
Same when running
node bot/Cluster.js
in the main dir
from discord-hybrid-sharding.
which hybrid sharding version are you using?
from discord-hybrid-sharding.
I think you are using the githubs readme, which is the new typescript rewrite
from discord-hybrid-sharding.
I think you are using the githubs readme, which is the new typescript rewrite
I got it to work by using the master branch's readme file but when I start the bot I get
error: tuple concurrently updated
1|cluster | at Parser.parseErrorMessage (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:287:98)
1|cluster | at Parser.handlePacket (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:126:29)
1|cluster | at Parser.parse (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:39:38)
1|cluster | at Socket.<anonymous> (C:\Users\super\form-fox\node_modules\pg-protocol\dist\index.js:11:42)
1|cluster | at Socket.emit (node:events:527:28)
1|cluster | at addChunk (node:internal/streams/readable:315:12)
1|cluster | at readableAddChunk (node:internal/streams/readable:289:9)
1|cluster | at Socket.Readable.push (node:internal/streams/readable:228:10)
1|cluster | at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
1|cluster | length: 83,
1|cluster | severity: 'ERROR',
1|cluster | code: 'XX000',
1|cluster | detail: undefined,
1|cluster | hint: undefined,
1|cluster | position: undefined,
1|cluster | internalPosition: undefined,
1|cluster | internalQuery: undefined,
1|cluster | where: undefined,
1|cluster | schema: undefined,
1|cluster | table: undefined,
1|cluster | column: undefined,
1|cluster | dataType: undefined,
1|cluster | constraint: undefined,
1|cluster | file: 'heapam.c',
1|cluster | line: '4271',
1|cluster | routine: 'simple_heap_update'
1|cluster | }
1|cluster | error: tuple concurrently updated
1|cluster | at Parser.parseErrorMessage (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:287:98)
1|cluster | at Parser.handlePacket (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:126:29)
1|cluster | at Parser.parse (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:39:38)
1|cluster | at Socket.<anonymous> (C:\Users\super\form-fox\node_modules\pg-protocol\dist\index.js:11:42)
1|cluster | at Socket.emit (node:events:527:28)
1|cluster | at addChunk (node:internal/streams/readable:315:12)
1|cluster | at readableAddChunk (node:internal/streams/readable:289:9)
1|cluster | at Socket.Readable.push (node:internal/streams/readable:228:10)
1|cluster | at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
1|cluster | length: 83,
1|cluster | severity: 'ERROR',
1|cluster | code: 'XX000',
1|cluster | detail: undefined,
1|cluster | hint: undefined,
1|cluster | position: undefined,
1|cluster | internalPosition: undefined,
1|cluster | internalQuery: undefined,
1|cluster | where: undefined,
1|cluster | schema: undefined,
1|cluster | table: undefined,
1|cluster | column: undefined,
1|cluster | dataType: undefined,
1|cluster | constraint: undefined,
1|cluster | file: 'heapam.c',
1|cluster | line: '4271',
1|cluster | routine: 'simple_heap_update'
1|cluster | }
1|cluster | error: tuple concurrently updated
1|cluster | at Parser.parseErrorMessage (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:287:98)
1|cluster | at Parser.handlePacket (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:126:29)
1|cluster | at Parser.parse (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:39:38)
1|cluster | at Socket.<anonymous> (C:\Users\super\form-fox\node_modules\pg-protocol\dist\index.js:11:42)
1|cluster | at Socket.emit (node:events:527:28)
1|cluster | at addChunk (node:internal/streams/readable:315:12)
1|cluster | at readableAddChunk (node:internal/streams/readable:289:9)
1|cluster | at Socket.Readable.push (node:internal/streams/readable:228:10)
1|cluster | at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
1|cluster | length: 83,
1|cluster | severity: 'ERROR',
1|cluster | code: 'XX000',
1|cluster | detail: undefined,
1|cluster | hint: undefined,
1|cluster | position: undefined,
1|cluster | internalPosition: undefined,
1|cluster | internalQuery: undefined,
1|cluster | where: undefined,
1|cluster | schema: undefined,
1|cluster | table: undefined,
1|cluster | column: undefined,
1|cluster | dataType: undefined,
1|cluster | constraint: undefined,
1|cluster | file: 'heapam.c',
1|cluster | line: '4271',
1|cluster | routine: 'simple_heap_update'
1|cluster | }
from discord-hybrid-sharding.
And also, the one thing that is probably unavoidable is nodejs windows in the background (I am on windows)
from discord-hybrid-sharding.
I think you are using the githubs readme, which is the new typescript rewrite
I got it to work by using the master branch's readme file but when I start the bot I get
error: tuple concurrently updated 1|cluster | at Parser.parseErrorMessage (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:287:98) 1|cluster | at Parser.handlePacket (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:126:29) 1|cluster | at Parser.parse (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:39:38) 1|cluster | at Socket.<anonymous> (C:\Users\super\form-fox\node_modules\pg-protocol\dist\index.js:11:42) 1|cluster | at Socket.emit (node:events:527:28) 1|cluster | at addChunk (node:internal/streams/readable:315:12) 1|cluster | at readableAddChunk (node:internal/streams/readable:289:9) 1|cluster | at Socket.Readable.push (node:internal/streams/readable:228:10) 1|cluster | at TCP.onStreamRead (node:internal/stream_base_commons:190:23) { 1|cluster | length: 83, 1|cluster | severity: 'ERROR', 1|cluster | code: 'XX000', 1|cluster | detail: undefined, 1|cluster | hint: undefined, 1|cluster | position: undefined, 1|cluster | internalPosition: undefined, 1|cluster | internalQuery: undefined, 1|cluster | where: undefined, 1|cluster | schema: undefined, 1|cluster | table: undefined, 1|cluster | column: undefined, 1|cluster | dataType: undefined, 1|cluster | constraint: undefined, 1|cluster | file: 'heapam.c', 1|cluster | line: '4271', 1|cluster | routine: 'simple_heap_update' 1|cluster | } 1|cluster | error: tuple concurrently updated 1|cluster | at Parser.parseErrorMessage (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:287:98) 1|cluster | at Parser.handlePacket (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:126:29) 1|cluster | at Parser.parse (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:39:38) 1|cluster | at Socket.<anonymous> (C:\Users\super\form-fox\node_modules\pg-protocol\dist\index.js:11:42) 1|cluster | at Socket.emit (node:events:527:28) 1|cluster | at addChunk (node:internal/streams/readable:315:12) 1|cluster | at readableAddChunk (node:internal/streams/readable:289:9) 1|cluster | at Socket.Readable.push (node:internal/streams/readable:228:10) 1|cluster | at TCP.onStreamRead (node:internal/stream_base_commons:190:23) { 1|cluster | length: 83, 1|cluster | severity: 'ERROR', 1|cluster | code: 'XX000', 1|cluster | detail: undefined, 1|cluster | hint: undefined, 1|cluster | position: undefined, 1|cluster | internalPosition: undefined, 1|cluster | internalQuery: undefined, 1|cluster | where: undefined, 1|cluster | schema: undefined, 1|cluster | table: undefined, 1|cluster | column: undefined, 1|cluster | dataType: undefined, 1|cluster | constraint: undefined, 1|cluster | file: 'heapam.c', 1|cluster | line: '4271', 1|cluster | routine: 'simple_heap_update' 1|cluster | } 1|cluster | error: tuple concurrently updated 1|cluster | at Parser.parseErrorMessage (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:287:98) 1|cluster | at Parser.handlePacket (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:126:29) 1|cluster | at Parser.parse (C:\Users\super\form-fox\node_modules\pg-protocol\dist\parser.js:39:38) 1|cluster | at Socket.<anonymous> (C:\Users\super\form-fox\node_modules\pg-protocol\dist\index.js:11:42) 1|cluster | at Socket.emit (node:events:527:28) 1|cluster | at addChunk (node:internal/streams/readable:315:12) 1|cluster | at readableAddChunk (node:internal/streams/readable:289:9) 1|cluster | at Socket.Readable.push (node:internal/streams/readable:228:10) 1|cluster | at TCP.onStreamRead (node:internal/stream_base_commons:190:23) { 1|cluster | length: 83, 1|cluster | severity: 'ERROR', 1|cluster | code: 'XX000', 1|cluster | detail: undefined, 1|cluster | hint: undefined, 1|cluster | position: undefined, 1|cluster | internalPosition: undefined, 1|cluster | internalQuery: undefined, 1|cluster | where: undefined, 1|cluster | schema: undefined, 1|cluster | table: undefined, 1|cluster | column: undefined, 1|cluster | dataType: undefined, 1|cluster | constraint: undefined, 1|cluster | file: 'heapam.c', 1|cluster | line: '4271', 1|cluster | routine: 'simple_heap_update' 1|cluster | }
@meister03 Do you know how to fix this
from discord-hybrid-sharding.
this bc the lib you are using
from discord-hybrid-sharding.
What lib is it though?
from discord-hybrid-sharding.
I fixed it by running
npm install tuple
but now the status doesn't update
bot.txt
is the bot.js file as a .txt file because github doesn't let you upload .js files
from discord-hybrid-sharding.
The status part start on line 81
from discord-hybrid-sharding.
@superJK92iscool you leaked your token, would regenerate it
from discord-hybrid-sharding.
I already did
from discord-hybrid-sharding.
When it works without the package you are using, then it is not a issue of Hybrid Sharding
from discord-hybrid-sharding.
but now the status doesn't update bot.txt is
the bot.js file as a .txt file because github doesn't let you upload .js files
What about this part it stopped working when I a bit after I adjusted the time between status the changing?
from discord-hybrid-sharding.
const Cluster = require('discord-hybrid-sharding');
const manager = new Cluster.Manager(`${__dirname}/bot.js`, {
totalShards: 8, // or 'auto'
/// Check below for more options
shardsPerClusters: 4,
totalClusters: 4,
mode: 'process', // you can also choose "worker"
token: (process.env.TOKEN),
});
manager.on('clusterCreate', cluster => console.log(`Launched Cluster ${cluster.id}`));
manager.spawn({ timeout: -1 });
Is the Cluster.js file's code (Fixed it so it won't show the token)
from discord-hybrid-sharding.
from discord-hybrid-sharding.
Could you join the discord server please, can assist you there faster
from discord-hybrid-sharding.
I am my username is superJK92#0001
from discord-hybrid-sharding.
@meister03 ^^^
from discord-hybrid-sharding.
@meister03 ^^^
If you are done then close it
from discord-hybrid-sharding.
Related Issues (20)
- Get rate limited when login to the bot. HOT 12
- this.manager.shardList?.chunk is not a function HOT 3
- Reclustering makes all clusters enter maintenance mode HOT 1
- BUG HOT 5
- Types Error on .map HOT 1
- Problem with express listening port already in use HOT 2
- got CLUSTER ALREADY SPAWNED when respawnAll or respawn HOT 3
- Help with setting client presence
- Broadcast eval not working when a cluster is offline HOT 3
- Not enough sessions remaining to spawn 1 shards; only 0 remaining
- Please connect
- Get info is not a function HOT 1
- bug?
- Deno Support? HOT 2
- Multiserver support? HOT 2
- Issues with ClusterManager HOT 7
- Zero Downtime Reclustering Cluster count HOT 2
- Example in README not working HOT 1
- `ConnectTimeoutError` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-hybrid-sharding.