yuh25 / Ping-Grapher

Graphs the ping to the current world
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

Plugin Stops Updating #9

Closed natewiebe13 closed 2 years ago

natewiebe13 commented 2 years ago

After a few minutes the graph and values stop being updated. Turning the plugin off and back on solves the problem, but stops again a few minutes later.

I can try to provide logs if you can help point me in the right direction.

yuh25 commented 2 years ago

Hi, I don't appear to have the same issue with my client, so the client.log would be very helpful if you could send it.

%userprofile%.runelite\logs on Windows or $HOME/.runelite/logs on Linux and macOS.

Does the World Hopper plugins "Display current ping" still work when it stops updating?

natewiebe13 commented 2 years ago

Looking in client log, I don't see any errors, the latest are some info lines showing plugin initialization. Regarding the world hopper plugin, the ping column continues to be updated.

natewiebe13 commented 2 years ago

I decided to go ahead and clone the repo and run a debug build. When the graph stops rendering, no new lines are echoed out, but below is the full logs.

I tried both a normal build as well as a debug build (logs below) for more info. Let me know if there's anything else I can do to help move this along.

9:29:01 p.m.: Executing ':PingGraphPluginTest.main()'...

Starting Gradle Daemon...
Connected to the target VM, address: '127.0.0.1:36411', transport: 'socket'
Gradle Daemon started in 940 ms
> Task :compileJava UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
Disconnected from the target VM, address: '127.0.0.1:36411', transport: 'socket'
> Task :compileTestJava UP-TO-DATE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
Connected to the target VM, address: 'localhost:42339', transport: 'socket'

> Task :PingGraphPluginTest.main()
2022-04-25 21:29:07 [main] INFO  net.runelite.client.RuneLite - RuneLite 1.8.18.3 (launcher version unknown) starting up, args: none
2022-04-25 21:29:10 [Preloader] INFO  net.runelite.client.rs.ClientLoader - Using cached vanilla client
2022-04-25 21:29:10 [Preloader] INFO  net.runelite.client.rs.ClientLoader - Using cached patched client
2022-04-25 21:29:10 [Preloader] INFO  net.runelite.client.rs.ClientLoader - client-patch 2222475501.115
2022-04-25 21:29:10 [main] INFO  n.r.client.account.SessionManager - No session file exists
2022-04-25 21:29:11 [main] INFO  n.r.c.plugins.kourendlibrary.Library - Library is now reset
2022-04-25 21:29:11 [main] INFO  n.r.client.discord.DiscordService - Initializing Discord RPC service.
2022-04-25 21:29:13 [AWT-EventQueue-0] INFO  com.pinggraph.PingGraphPlugin - Ping Graph started!
2022-04-25 21:29:13 [main] INFO  net.runelite.client.RuneLite - Client initialization took 5488ms. Uptime: 6262ms
2022-04-25 21:29:13 [AWT-EventQueue-0] INFO  net.runelite.client.ui.ClientUI - Showing frame net.runelite.client.ui.ContainableFrame[frame0,322,38,1812x1088,layout=java.awt.BorderLayout,title=RuneLite,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,25,1802x1058,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2022-04-25 21:29:13 [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using device: NVIDIA GeForce GTX 780 Ti/PCIe/SSE2
2022-04-25 21:29:13 [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using driver: 4.6.0 NVIDIA 470.103.01
2022-04-25 21:29:13 [pool-2-thread-1] INFO  n.r.client.discord.DiscordService - Discord RPC service is ready with user natewiebe13.
yuh25 commented 2 years ago

I was hoping it was similar to this issue someone was having on discord below as my plugin uses the same ping as worldhopper:

https://user-images.githubusercontent.com/11281828/165722648-78d9b7b3-b3b1-498f-82f1-8ead37ed0cac.mp4

I can't see anything obvious that would be causing this. I've tried idling for around 30mins on Ubuntu and a fresh Runelite install but can't seem to get it to stop working. Usually there would be a exception in the logs/console when it breaks like this.

Does the issue still occur with the "Graph Game Ticks" setting on? What settings do you have for the plugin?

natewiebe13 commented 2 years ago

I think this has now been fixed in the client. Reading https://runelite.net/blog/show/2022-07-13-1.8.27-Release there's mention of a fix for ping freezing

A bug causing the world ping overlay to freeze on MacOS/Linux has been fixed

That being said, I find it strange that the world hopper plugin was fine, but this was affected.

Regardless it hasn't happened since.