Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Crash in Lite-C & Invalid Pointer-freed & flashlight Question #310229
02/13/10 19:56
02/13/10 19:56
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Hello laugh

I have a bunch of questions tongue

1. What does "Crash in Lite-C" mean?

2. When I close the engine I get the error: "Invalid Pointer Freed". This happens when I close the engine via escape(default.c included) or via "X"-Button. I think it has something to do with sys_exit cuz I don't use an exit function yet.

3. How to make a really good looking flashlight effect?
Helghast already wanted to help me, but his shader needed to be assigned to every block and model, and there are to many blocks for this in my level...
A model with spotlight flag doesen't look good, too, cause I even with a low tesselation it is too unsmooth.
Any other Idea?


Thanks and best regards,
rei laugh

Re: Crash in Lite-C & Invalid Pointer-freed & flashlight Question [Re: Rei_Ayanami] #310242
02/13/10 20:56
02/13/10 20:56
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
what helghast offerd is probably a per-pixel lighting shader, you do really need that for dynmiac lights. the default block shader uses vertec lighting, so with high tesselation it will look like it has very hard egged.

mat_shaded is default material of the level blocks. you can define a new material with set that as mat_shaded.


3333333333
Re: Crash in Lite-C & Invalid Pointer-freed & flashlight Question [Re: Quad] #310250
02/13/10 22:13
02/13/10 22:13
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
thanks for that answer, i will try as soon as my com arrives laugh

do you have an idea about the other problems?

Re: Crash in Lite-C & Invalid Pointer-freed & flashlight Question [Re: Rei_Ayanami] #310265
02/14/10 00:02
02/14/10 00:02
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
both has something to with your script, wihout seeinf the script it is hard to say what's the problem. But kinda looks like you are trying to reach/write unallocated memory or some other pointer/memory related issue.


3333333333

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1