elliotsayes / Reality

https://weaveworld.vercel.app
22 stars 14 forks source link

chat message repeat again and again #7

Open EurekaChen opened 3 weeks ago

EurekaChen commented 3 weeks ago

see screenshot:

reality-error
elliotsayes commented 3 weeks ago

Hey, did you run any SQL commands for the Chat DB? This can mess up the index. Try resetting the Chat process:

ChatDb = nil
ChatDbAdmin = nil
ChatInitialized = false

and reload the Chat protocol: aos> .load Chat.lua

Let me know if this fixes it 🙏

EurekaChen commented 3 weeks ago

Hey, did you run any SQL commands for the Chat DB? This can mess up the index. Try resetting the Chat process:

ChatDb = nil
ChatDbAdmin = nil
ChatInitialized = false

and reload the Chat protocol: aos> .load Chat.lua

Let me know if this fixes it 🙏

I have done these, but still can not stop:

chaterror2

after load chat.lua:

reality-error3

You can visit here: https://reality-viewer.arweave.net/#/FBohwFe3w_awQZWZ4CMDotII8fCqmKt8mFiusyjDGbo

elliotsayes commented 3 weeks ago

It seems like there is a crazy cron on the process that is sending messages to itself. In aos: aos> .unmonitor

And:

Handlers.remove("Cron")
Handlers.remove("CronTick")
EurekaChen commented 3 weeks ago

I have not add any cron

EurekaChen commented 3 weeks ago

sandbox@aos-2.0.0[Inbox:15]> .unmonitor ⚡️ monitor not found! sandbox@aos-2.0.0[Inbox:15]>

EurekaChen commented 3 weeks ago

Handlers.remove("Cron") Handlers.remove("CronTick")

still not work

EurekaChen commented 3 weeks ago

Check more information in Discord ticket: https://discord.com/channels/1123679866072617021/1274885246554214404