TorNix~|nR Posted October 31, 2017 Share Posted October 31, 2017 Hello guys, I just got this problem, and I've never seen before on my server, this script was working ( marker style ) and suddenly this comes on debugscript 14: Bad argument @ 'dxSetShaderValue' [Expected material at arugment 1, got boolean] 15: Bad argument @ 'engineRemoveShaderFromWorldTexture' [Expected material at argument 1, got boolean] 4: [D3DXCreateEffectFromFile failed (8007000e)[Loaded 'nameresource'/file/shwaeki.fx (135 bytes)]] @ 'dxCreateShader' [file/shwaeki.dx] 6: Bad argument @ 'dxSetShaderValue' [Expected material at argument 1, got boolean] 7: Bad argument @ 'engineApplyShaderToWorldTexture' [Expected material at argument 1, got boolean] I don't know why? any help? I can post the script if you want. Link to comment
Moderators IIYAMA Posted October 31, 2017 Moderators Share Posted October 31, 2017 The texture(image) has failed to load. Please post parts of the script and check if: screenshot (upload) / screen capture is enabled. (the script might be using that feature) You can find that option in your MTA settings menu. Link to comment
quindo Posted October 31, 2017 Share Posted October 31, 2017 Shader failed to create, "8007000e" means that it couldn't be created because there's not enough memory available. You could be creating too much of them, but there are also some problems with mta itself, which give that error even thought there is still theoretically lots of memory available. Link to comment
TorNix~|nR Posted October 31, 2017 Author Share Posted October 31, 2017 What should I do to fix it? Link to comment
Moderators IIYAMA Posted October 31, 2017 Moderators Share Posted October 31, 2017 Create less markers I think. If you have a texture file, make it a power of two and optimise it with dxt1or dxt5.(which will reduce the texture ram usage with dxt5 = 75% / dxt1 = 87,5%) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now