WorldGuard

WorldGuard

8M Downloads

trouble with mob spawning flag

LadyCailinBot opened this issue ยท 8 comments

commented

WORLDGUARD-3926 - Reported by Andreas

Hello i was using Spigot 1.8.8 with World Guard 6.1, after i made some 'malformed' changes to the config files. Like copy paste the flags.
( Yeah i know this is not malformed but i think it's how the bug started )
I saw that flags stopped working or some of their futures like (in my case) mob-spawning stopped working. I thinked it was propably the config problem so i deleted it and restarted the server ( Or stop and delete ). After a lot mind burning cause something is going totaly wrong, the only way that helped me fix this was to remove plugin re change world version and updated the plugin to the last stable version. Just created the first region, everything fine. But after this i changed the worlds and i created another region the same bug. And the same way to fix it.

For now im using CraftBukkit 1.8.8 with latest stable version of WorldGuard. And everything working fine for CraftBukkit. ( The plugin is working normal with this CraftBukkit version. TESTED no errors of methodes or any other. )
This bug happened on 1.12 version too (1.12 Spigot), i updated to 1.12 to check it there and yeah the same bug, same fixes.
I can provide a video and log files if you want to.

Suggestions:
On world close don't save unless folder exist, if not make memory pointers or just simple clear.
Make memory clears. an explain: blahblah.clear(); << (C++).
Improve the mob-spawning protection. (DENY Method)
This is a memory leak sinse it need from World Guard to re-install or even an Version change to make it work.

commented

Comment by wizjany

i don't understand what the problem is. can you be more clear as to exactly what is wrong

commented

Comment by Andreas

The flag MobSpawning is not working after a memory leak caused by the spoken steps.
( I say it is a memory leak cause it need the plugin to removed to get fixed. Some short of fail thing but without a error. I can provide a video if you want. )

I just suggested some thinks to help you with other type of glitches and gived a full report about how it happened.

commented

Comment by wizjany

can you stop using the word "memory leak" if you don't mean memory leak, and actually say what's broken.

commented

Comment by Andreas

Of Course is a debug method available?

commented

Comment by wizjany

what?

commented

Comment by Andreas

For the plugin so i can provide you more information.

commented

Comment by Andreas

Should i provide a video please so you believe and fix the bug ?
Im testing it right now and the mob-spawning protection not working.

commented

Comment by wizjany

ok? it is working for everyone else so it's certainly not a bug.