clientcommands icon indicating copy to clipboard operation
clientcommands copied to clipboard

crashing on server

Open MineMasters555 opened this issue 4 years ago • 19 comments

sorry for bothering you again. i play on a vanilla minecraft server with some plugins one of them is spigot (not paper because i can enchantment crack). if i type in the command to start the script my game freezes and i get a not respond massage. it does work on single player do i need to change something in the code or what is wrong? I have 4gigs of ram allocated to minecraft. https://paste.ubuntu.com/p/z2zgXJDqtH/

MineMasters555 avatar Jun 16 '20 16:06 MineMasters555

i dont know maybe earthcomputer can answer

RobertasJ avatar Jun 16 '20 16:06 RobertasJ

also the server has anti x-ray

MineMasters555 avatar Jun 16 '20 16:06 MineMasters555

k and is the server yours

RobertasJ avatar Jun 16 '20 16:06 RobertasJ

And you show me your script?

Earthcomputer avatar Jun 16 '20 16:06 Earthcomputer

if that server is public and its not paper im in

RobertasJ avatar Jun 16 '20 16:06 RobertasJ

its a small server just for me and my friends. like a 6 person server. i didnt change the script. but ill send it anyway, i copyed the entire script and pasted it in a txt branch_mine.txt

MineMasters555 avatar Jun 16 '20 17:06 MineMasters555

i just tested on a 100% vannila server and it didnt work.

MineMasters555 avatar Jun 16 '20 17:06 MineMasters555

ok

RobertasJ avatar Jun 16 '20 17:06 RobertasJ

?template stale

Earthcomputer avatar Jun 23 '20 17:06 Earthcomputer

?template stale

Earthcomputer avatar Jun 23 '20 17:06 Earthcomputer

This issue has been inactive for 3 days or more, so it is assumed to be resolved and will be closed. If it was not resolved, simply reply again and it will be reopened.

earth-github-bot[bot] avatar Jun 23 '20 17:06 earth-github-bot[bot]

o sorry didnt know i needed to do it this way. but i still have the same problem could you help please?

MineMasters555 avatar Jun 23 '20 18:06 MineMasters555

I asked you to show me your script, can you show me your script?

Earthcomputer avatar Jun 23 '20 18:06 Earthcomputer

i pasted in a txt file because i couldnt send it in the normal file type. branch_mine.txt

MineMasters555 avatar Jun 23 '20 18:06 MineMasters555

Oh, sorry, I missed that you posted it before, I'll take a look and see if I can reproduce it. If everything works as intended, that script is supposed to do nothing at all, since you haven't actually called any functions. It shouldn't crash the game though.

Earthcomputer avatar Jun 23 '20 18:06 Earthcomputer

Did you managed to reproduce it?

MineMasters555 avatar Jun 27 '20 12:06 MineMasters555

I haven't got round to it yet. In the mean time you can make sure you don't use Thread.currentThread without doing something else as well.

Earthcomputer avatar Jun 27 '20 13:06 Earthcomputer

No problem, how do I do that can I go in the code and put it to false?

MineMasters555 avatar Jun 27 '20 13:06 MineMasters555

Postponed because Java 15 has been released which doesn't include Nashorn, and I'll be rewriting the scripting component of clientcommands and this bug will likely disappear in that process.

Earthcomputer avatar Jan 02 '21 14:01 Earthcomputer