Jump to content

Raul

Members
  • Posts

    253
  • Joined

  • Last visited

Posts posted by Raul

  1. Is there another downloader for the 2.31 version? I only have this file: "LESDK2.3.exe" which was mailed me by Josh when I bought the update. I cannot find any other NEW downloader...

     

    and in the old "developer" zones there are only old SDKs

  2. I do not understand whats happening.

     

    First I tried to compile your code (which is same as mine of course :) ) and I receive the following error message:

     

    Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

    in

    inline TController CreateController(flt height, flt radius, flt stepheight, flt maxslope)
    {
    return leCreateController(height, radius, stepheight, maxslope);
    }

     

    Second:

    I saw in your exe that the player height is lower than in my original exe... :|

     

    EDIT:

    Also the engine.dll file is NOT the same as mine :|

    Your dll is a little bigger than mine.

  3. No, I do not use any raycasting..

     

    I tried with the bodymass = 80 and 100 and the maxaccleration = 500 and even 15000

     

    No difference. Same behavior.

     

    I also tried the SweptCollision function: No difference.

  4. I rewrote the whole application again and again. In the archive I uploaded there is also the source code. For almost 24 hours I try to understand how is this possible and no one can help me.. B)(

     

    I do not understand why i have that freeze, why the collision are not working properly... why why why.. it's frustrating. :|

  5. something I observed: After a while I used the engine (for example using the editor or even trying my code) I observed the problem does not reproduce anymore. If I do a computer restart then the problems appear again B)

  6. I tested on my laptop (Intel Core 2 Duo, T5800 @ 2GHz, Nvidia 9200 M). I run it like 10 times and there was no problem. Now I am waiting a response from a friend of mine.

     

    I assume there is a problem on my pc then. But what can be? I just installed the windows before buying the 2.3 B)

     

    Maybe is a hardware issue?

  7. It seems the problem is not solved. I worked in the last days to my map so I did notice until yesterday.

     

    I have created a very simple map to test it. Only a terrain + the SDK Oildrum. I attached the full source code + exe in the rar archive. Simply running the exe you will see sometimes there is a wrong behavior with he barrels when they are hit by the player. This happens only sometimes. It's a random behavior. Like 1 from 3 tries.

     

    Also I noticed I have a little freeze after starting the application. Immediately after I run the exe (1-2 seconds) I have a small pause, like 1 sec, then the app continue. I think this is wrong too.

  8. I am trying to "translate" the fpsshooter.lua script to c++ code. I need this to create a nice FPS control + weapon + light...

    My first "milestone" is how to limit the X angle (because right now you can rise up and down your head up to 360 degrees)

     

     

    In cPlayer.h I have:

    	float CameraPitch;
    float CameraYaw;
    

     

    In the cpp::UpdatePlayer, I have:

    CameraPitch = Min(CameraPitch,90);

     

    But I receive this error message:

     

    'Min' : 3 overloads have similar conversions

×
×
  • Create New...