strange d3d error

Posted By: flits

strange d3d error - 12/02/08 19:56

the game starts at startup and when i manaul create a entity the game crash

in acklog stands this
D3D_Validate: D3DERR_UNSUPPORTEDTEXTUREFILTER
D3D_Validate: E_FAIL
D3D_Validate: E_FAIL
D3D_Validate: E_FAIL ok

if i remove a function out of the code it works but the ony thing in there is wait(1);


its simular like this

Code:

function regs_my()
{
wait(1);
}

function stone_ent()
{
regs_my();
}


Posted By: EvilSOB

Re: strange d3d error - 12/02/08 21:11

Few thing to try. (none a cure, just trying to point to the faulty part).
Leave all your other coding(besides the below) in the state that DOES cause the error.

Try these one at a time. Only combine them if none individually resolve the issue.
1> Try creating the entity from a different MDL file, there maybe something iffy in the model itself.
2> Try creating the entity without any action, in case its the action code causing issues.
3> When you call the ent_create function, immediately after (before any waits) set the ProblemEntity.material = mat_model;

Let us know which (if any) makes the problem stop, then we can see if it is a problem
coming from 1>Model Corruption, 2>LiteC coding, or 3>Shader/Material problems.
Posted By: flits

Re: strange d3d error - 12/03/08 15:44

it was my fault its was a realy noob mistake

funcion func_a();
{
...


but still dont know why i get 3d error then

any way the error is gone

thx evilsob for your help
Posted By: EvilSOB

Re: strange d3d error - 12/03/08 20:16

Wierd, but if func_a (or whatever your function was actually called) is a
function name INSIDE directX, that may explain it.
Posted By: flits

Re: strange d3d error - 12/04/08 16:26

i tried white some different names and still get the same error but its fixed
Posted By: EvilSOB

Re: strange d3d error - 12/04/08 20:29

Oh well, hopefully it wont come back later.
Catch ya later.
© 2024 lite-C Forums