Giter Club home page Giter Club logo

better-renderer's People

Contributors

bram91 avatar runemoro avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

better-renderer's Issues

CTD upon loading client.

So, uh... I'm getting a CTD with the current build (a8cd162) of the BetterRenderer plugin. It occurs at startup, before I even login. Previous builds ran well enough, but I'm unable to get the client running with this one.

Here are the launcher, client, and crash logs:

launcher.log
client.log
jvm_crash_pid_12896.log

And if needed, here is a short clip demonstrating it: https://cdn.discordapp.com/attachments/689215119498018883/777386984942338088/Desktop_2020.11.15_-_04.17.08.02.mp4

On an additional note, you can see in that clip that the client appears to ... 'break' and scale weirdly, then refuse to maximise properly, before it crashes. If I disable your plugin and enable the official RuneLite gpu one, this does not happen and it behaves as expected. Here is a clip I recorded of that as well: https://cdn.discordapp.com/attachments/689215119498018883/777388477863297034/Desktop_2020.11.15_-_04.23.10.03.mp4

If you need any more information, please let me know.

Consdier using something other than bzip to archive data

I'm curious by bzip2 was chosen as it is a rather poor compression algorithm, cite.

Would you be willing to consider switching? I would happily do some of the leg work on this. I was eying zstd, but it would require using the JNI, is that prohibited in runelite?

Won't actually turn on

When I try and use the plugin I get a message about downloading the cache, thats as far as I get. Any ideas?

Black screen in raids

image
Hello this was inside the raid. Outside the render was off as well I tried with zoom off and on but it was hard to click on the entrance for example

Worse FPS compared to GPU plugin

Worse FPS then GPU plugin, anyway to make the plugin maybe utilize more of the gpu and if that happens
Couldn't you unlimit the cameras fps in the render to support 144hz + screens?
I remember seeing a jagex post saying something about that

Render is offset in resizable mode

Hello I was testing the plugin a bit with the zoom off/on and in fixed mode at sire the render seems to be off. Any location I click on the map does not move me to that location. I posted
image
here on discord. Hope it helps love the plugin it looks amazing the plugin does work as expected in resizeable mode which is great. Thank you for reading

use local cache instead of syncing

I suggest using the cache module of runelite itself.

Something along the lines of:

	public void dumpCache() throws IOException
	{
		Store store = new Store(DEFAULT_CACHE_DIR);
		store.load();
		Storage storage = store.getStorage();
		store.getIndexes().forEach(index ->
		{
			log.debug("Dumping index " + (index.getId() + 1) + "/20");
			index.getArchives().forEach(archive ->
			{
				try
				{
					byte[] archiveData = storage.loadArchive(archive);
					if (index.getId() == 5)
					CacheFiles.write(index.getId(), archive.getArchiveId(), archiveData);
					else
					{
						archive.getFiles(archiveData).getFiles().forEach(fsFile ->
							CacheFiles.write(index.getId(), archive.getArchiveId(), fsFile.getContents()));
					}
				}
				catch (IOException e)
				{
					e.printStackTrace();
				}
			});
		});
	}

And maybe detect an incomplete cache or wait until LOGIN_SCREEN as you have a full cache by that time.

Game Pixelated

Hello,

Game got extremely pixelated after install. Any fix on that? uninstalled the plugin and still have the issue.

Crashes after 5-10m

GPU is off, nvidia settings to let application decide, 125 view distance. Not sure what is causing the crashing.

Game crash

Just tried the plugin on my windows system, after waiting for about 5minutes after enabling the plugin(Still on the Downloading game cache, this may take a few minutes stage) The following exceptions occur:

2020-11-08 11:09:36 [Client] WARN  n.r.client.callback.ClientThread - Exception in invoke
java.lang.RuntimeException: 65544: WGL: Failed to set selected pixel format: The pixel format is invalid. 
	at renderer.plugin.BetterRendererPlugin.lambda$init$1(BetterRendererPlugin.java:154)
	at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36)
	at org.lwjgl.system.JNI.invokePPP(Native Method)
	at org.lwjgl.glfw.GLFWNativeWin32.glfwAttachWin32Window(GLFWNativeWin32.java:143)
	at renderer.plugin.JawtContextWindows.<init>(JawtContextWindows.java:23)
	at renderer.plugin.JawtContext.create(JawtContext.java:26)
	at renderer.plugin.BetterRendererPlugin.init(BetterRendererPlugin.java:157)
	at net.runelite.client.callback.ClientThread.lambda$invoke$0(ClientThread.java:48)
	at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:99)
	at net.runelite.client.callback.Hooks.clientMainLoop(Hooks.java:191)
	at lv.qb(lv.java:38201)
	at client.ak(client.java)
	at ba.d(ba.java:361)
	at ba.run(ba.java:315)
	at java.base/java.lang.Thread.run(Unknown Source)
2020-11-08 11:09:36 [Client] ERROR client-patch - Game crash: null
java.lang.NullPointerException: null
	at renderer.plugin.BetterRendererPlugin.draw(BetterRendererPlugin.java:235)
	at client.rx(client.java:41655)
	at hz.ql(hz.java:985)
	at ef.cg(ef.java)
	at fu.xi(fu.java:10342)
	at bv.gs(bv.java:4616)
	at ax.ik(ax.java:9441)
	at kv.io(kv.java:9330)
	at client.zv(client.java:4263)
	at client.ak(client.java:1621)
	at ba.d(ba.java:361)
	at ba.run(ba.java:315)
	at java.base/java.lang.Thread.run(Unknown Source)

Running the pluginhub version 8b3e5be0d9e07074e08ffacf68273ca06b859194 on the release client.

Crashes since latest update

If I leave the game on the 'Welcome to Runescape' (pre-login) screen with the plugin enabled, runelite will crash after a minute or two with the following uncaught exception

2020-11-14 03:12:19 [Thread-10] ERROR net.runelite.client.RuneLite - Uncaught exception:
java.lang.ThreadDeath: null
	at java.base/java.lang.Thread.stop(Unknown Source)
	at renderer.plugin.BetterRendererPlugin.lambda$shutDown$2(BetterRendererPlugin.java:205)
	at net.runelite.client.callback.ClientThread.lambda$invoke$0(ClientThread.java:48)
	at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:99)
	at net.runelite.client.callback.Hooks.clientMainLoop(Hooks.java:191)
	at lv.qb(lv.java:38201)
	at client.ak(client.java)
	at ba.d(ba.java:361)
	at ba.run(ba.java:315)
	at java.base/java.lang.Thread.run(Unknown Source)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.