BG-Software-LLC / WildInspect

Custom inspect-mode with CoreProtect hookup!
https://bg-software.com/wildinspect/
GNU General Public License v3.0
8 stars 16 forks source link

WildInspect throws warn. #2

Closed Firestone82 closed 3 years ago

Firestone82 commented 3 years ago

Hi, I have talked with creator of CoreProtect about that warn. He sas, that you are using page number 0 as default. And thats wrong.

image

Could you please fix it?

Error: https://pastebin.com/9i7iXGrA

OmerBenGera commented 3 years ago

Check out latest dev build, should fix the issue.

Firestone82 commented 3 years ago

Fixed

Firestone82 commented 3 years ago

Ok, nvm. I found anotherthing, pages are not working. Its shows only 7 lines, then there should be page, but thats now showing.

image

Command, /faction inspect 2 works fine. Just its not showing that page footer.

OmerBenGera commented 3 years ago

You're talking about the footer message?

Firestone82 commented 3 years ago

From CoreProtect you can see that Page 1/3, but from WildInspect, its not showing it.

OmerBenGera commented 3 years ago

@Firestone82 Check out latest dev build, it should hopefully fix the issue

Firestone82 commented 3 years ago
[23:04:05 INFO]: Firestone82 issued server command: /plot inspect
[23:04:06 WARN]: [WildInspect] Plugin WildInspect v2.3.3-DEVb15 generated an exception while executing task 1992
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:614) ~[?:?]
        at java.lang.Integer.parseInt(Integer.java:770) ~[?:?]
        at com.bgsoftware.wildinspect.coreprotect.CoreProtect.lambda$performLookup$1(CoreProtect.java:138) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Yatopia-17]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:58) ~[patched_1.16.5.jar:git-Yatopia-17]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Yatopia-17]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
        at java.lang.Thread.run(Thread.java:832) [?:?]
OmerBenGera commented 3 years ago

Fixed in latest dev build

Firestone82 commented 3 years ago

Error is still showing. https://pastebin.com/nzVH96Qp Have you tried using mysql? When I use SQLITE its working fine, but if I have coreprotect with mysql. It throws this error.

CoreProtect Settings:
---------------------

# MySQL is optional and not required.
# If you prefer to use MySQL, enable the following and fill out the fields.
use-mysql: true
table-prefix: cp_creative16_
mysql-host: IP
mysql-port: 3306
mysql-database: coreprotect
mysql-username: coreprotect
mysql-password: PASS
OmerBenGera commented 3 years ago

Hey, no - I didn't try it with MySQL, but I found what might cause it. Check latest dev build, let me know if it fixes the issue

Firestone82 commented 3 years ago

Finally fixed. Pages is showing and no warns in console. Nice. GJ.

OmerBenGera commented 3 years ago

Finally fixed. Pages is showing and no warns in console. Nice. GJ.

Finally lol If it happens again, make sure you post here and not on discord :)