Shader not supported and other things

11 replies [Last post]
Posts: 147

Hi Spodi

Okay directly when I press on to Spodi file to log in I get an error saying their is something wrong with the shader (shader not supported). when I press continue ( i think it is called in the english version) instead of abort the game will work. If I wait a few seconds and don't press anything I get a lot more errors ( the same error every half a second orso) : Netgore.ExceptionSwallower swalloed unhandeld exception: system.NullreferenceException: Object reference not set to an instance of object. ( and then some more text and the lines in which it occurs ( at least i think that that is what it means.

Posts: 1691

Ooph, that isn't good. I take it your system doesn't support shaders. Try opening the editor, go File -> Map -> Load, and open map 3 and see if that also crashes.

What graphics card do you have?

Posts: 147

Yes same problem happens if i try to open the map in the editor. If i press continue the map loads but when i tried to make that screen bigger i got some errors again.

I looked it up and i believe this laptop has a Via Chrome9 hc3 igp graphics card. But I think this whole laptop sucks Because the game runs really slow. around 1 or 3 fps so no good lol

Posts: 1691

My guess is it is crashing once the water comes into sight, which is the only thing that requires shader support in the default game.

What exactly is the error you are getting?

In all fairness to your laptop, the game does runs like 5x faster when built for release. Wink Debug mode builds unoptimized code and does extensive amounts of assertion checks, some of which are pretty expensive. These all vanish completely in release builds.

Posts: 147

I got to go now. I will come back to the precize errors when i get back from shooting some pool and partying afterwards.

Posts: 1691

Applied a potential fix. Only so much testing I can do without being able to remove shader support from my system, but I think it will work now (assuming shader support is the only problem).

Posts: 143

No removing shader support xD we needs them Tongue

Posts: 1691

I'm not removing shader support, just making it so systems that don't support using shaders can still run the game.

Posts: 143

Fallbacks are always good Tongue

Posts: 147

Hey Spodi,

I just checked netgore 0.3.1 and I don't get the error anymore when logging in. I also checked it in the editor with the maps and they show up without an error; so nice job.
Unfortunatly when I make the screen of the map wider I get spammed by these errors: Completely unexpected exception in createbufferrenderimage. Exception: System.AccesViolationException: Attemted to read or write protected memory this is often an indication that other memory is corrupt. (and it tells me some lines in the code corresponding to this error)

I don't know how to attach a picture to this post. Else I could add a picture of the errors.

Going to bed now

Love ya'all

Posts: 1691

I'll look into it. Thanks.

Posts: 147

no prob, just reporting the errors i get. It is you who is doing all the hard work Wink.

Bye