EDuke32 2.0 and Polymer! "talk about the wonders of EDuke32 and the new renderer"
#2270 Posted 08 May 2011 - 02:23 PM
1. Are you absolutely sure you're using a non-ancient version? I introduced
"print 'cached tile' messages only from 5 ms up so as not to flood the OSD/log" in r1784, yet your log shows stuff like
"Load tile 2293: p0-m4-e0 "highres/sprites/decals/2293.png"... 1 ms"
2. Is an eduke32.crashlog produced? That should be much more helpful, but it's likely that it doesn't show up consistently with each different crash.
#2271 Posted 09 May 2011 - 04:10 AM
WheatleyNukem, on 08 May 2011 - 10:53 AM, said:
- Shadows are not casted
- No Flares
- Standard Polymer lighting
Standard Polymer lighting includes dynamic shadow-casting lights.
#2272 Posted 09 May 2011 - 04:41 AM
But I agree with DT that this one crash has been taking up a fair amount of the eduke32 and polymer thread. I've been wondering if this is a good idea or not but I went ahead and did it anyway, I made a thread that could potentially be used to discuss everyone's crashes, rather than have a new thread for each new crash, kind of like how the mapster32 problems and bugs thread works. I hope it can come as some use, here it is: http://forums.duke4....e-crash-thread/
#2273 Posted 13 May 2011 - 12:39 PM
James, on 18 April 2011 - 04:24 AM, said:
http://pastebin.com/DJsCednp
and here's my log from the last snapshot that works, dated 24th of March 2011:
http://pastebin.com/zejvV3y5
I'm still getting this problem even with the latest snapshot.
#2274 Posted 13 May 2011 - 04:29 PM
#2275 Posted 14 May 2011 - 02:39 AM
Mblackwell, on 13 May 2011 - 04:29 PM, said:
Here's an example of one of the states Eduke has a problem with:
state displaytemp_jplasma
setvar x 245
subvarvar x WEAPSWAYX
addvarvar x weapon_xoffset
subvarvar x looking_angSR1
setvar y 240
subvarvar y WEAPSWAYY
addvarvar y looking_arc
subvarvar y gun_pos
switch weaponcount
case 1
addvar y 5
addvar x 5
case 2
subvar x 5
subvar y 5
case 3
addvar y 5
addvar x 5
case 4
case 0
getplayer[THISACTOR].weapon_pos DISPLAY_TEMP2
mulvar DISPLAY_TEMP2 -20
rotatesprite x y NORMALSIZE DISPLAY_TEMP2 12104 shade pal 1024 0 0 xdim ydim
getplayer[THISACTOR].random_club_frame DISPLAY_TEMP
sin DISPLAY_TEMP DISPLAY_TEMP
divvar DISPLAY_TEMP 1024 // 2^10
addvar DISPLAY_TEMP 16
rotatesprite x y NORMALSIZE DISPLAY_TEMP2 12105 DISPLAY_TEMP 0 1024 0 0 xdim ydim
break
endswitch
ends
This code works in the earlier snapshot I've used, it works for a long time. It seems the compiler's having a problem because it's in a state or something.
This post has been edited by James: 14 May 2011 - 02:39 AM
#2276 Posted 14 May 2011 - 08:54 AM
#2277 Posted 14 May 2011 - 09:00 AM
Mblackwell, on 14 May 2011 - 08:54 AM, said:
Yeah I would try changing that up in various ways and see what happens. Try adding a default case. If that doesn't work, add breaks after each case (and then make the necessary changes so it is functionally equivalent).
#2278 Posted 14 May 2011 - 09:45 AM
http://pastebin.com/2zHECa1c
I don't know what is wrong.
#2279 Posted 14 May 2011 - 11:46 AM
WheatleyNukem, on 14 May 2011 - 09:45 AM, said:
http://pastebin.com/2zHECa1c
I don't know what is wrong.
I don't know what to make of that, maybe one of the eduke32 developers could help interpret it.
It says that it crashed while the current actor was FIRE, but that's one of the actors whose code is completely unchanged from the original game. Also, I see the "clearmapstate" command being referenced, but that command is not used anywhere in the CONs. So I'm puzzled.
What was happening when the game crashed?
#2280 Posted 14 May 2011 - 01:51 PM
#2281 Posted 14 May 2011 - 06:21 PM
James, on 14 May 2011 - 01:51 PM, said:
Well that sucks, and it should be fixed. But in the mean time, if that's the only problem then you can easily move the rotatesprite command so that it occurs after the switch statement.
#2282 Posted 14 May 2011 - 11:36 PM
WheatleyNukem, on 14 May 2011 - 09:45 AM, said:
http://pastebin.com/2zHECa1c
I don't know what is wrong.
Dude.
Micky C, on 09 May 2011 - 04:41 AM, said:
Bottom line, use this thread for your crash: http://forums.duke4....e-crash-thread/ The eduke32 thread, besides going off-topic every now and then, is really only used to discuss eduke32 features, or important suggestions or bugs such as what James and Deeperthought are talking about. It's not intended to be host to a post-a-thon of one person's crash. I empathize with your situation, it must be frustrating having the game crash like that, but please do follow the correct channels.
#2283 Posted 17 May 2011 - 01:15 AM
#define ROTATESPRITE_MAX 2048
Does this mean there's a limit of 2048 rotatesprite commands allowed? or something else?
EDIT: ok I've just checked and I've already got over 2060 rotatesprite commands so it can't be that.
This post has been edited by James: 17 May 2011 - 01:32 AM
#2285 Posted 17 May 2011 - 08:20 AM
#2286 Posted 17 May 2011 - 11:35 AM
Anyways I'm still getting the CON compiling error with the latest snapshot:
http://pastebin.com/Au7p43Bw
The multiple case warnings are wrong since I haven't done that - also I moved one of the rotatesprites out of the switch but it's still appearing in the list there. It's NOT in a state either, it's directly in the event command.
#2287 Posted 17 May 2011 - 09:32 PM
I want to play it already.
#2289 Posted 19 May 2011 - 03:12 PM
Is there a definitive polymer light tutorial around somewhere? I have done a search here and on the wiki for both se50 and spotlights but I have come up with nothing that is helpful. Either I'm searching for the wrong thing or something but I can't find out what I'm doing wrong.
#2291 Posted 19 May 2011 - 08:18 PM
Quote
SE 49 = point light
A SECTOREFFECTOR with lotag 49 is a point light.
HITAG = light distance
The HITAG of the SE is the maximum distance, in build units, that the light will travel. Note that it is impossible to enter a number higher than 65535.
XVEL/YVEL/ZVEL = RGB values
To edit these, press F8 on the SE in 2D mode, then select them and type in numbers. Numbers should be in the range 0-255
TRANSPARENCY = priority
a solid sprite is a high priority light, press T once (33% transparency) for lower priority, again (66%) for lowest priority
SE 50 = spot light
light distance, color and priority are as above
ANGLE = LIGHT ANGLE (duh)
SHADE = width
shade values are between -127 and 127, each gives a different width....experiment
EXTRA = horiz (up/down angle)
set EXTRA by pressing 'M on the sprite. 100 is straight ahead, higher positive values angle up, and values lower than 100 (including negative values) angle the light down.
#2292 Posted 19 May 2011 - 08:31 PM
#2293 Posted 19 May 2011 - 10:01 PM
I wasn't able to find this on the wiki which is rather odd. It should be in a place where anyone can find it. I just copied and pasted it into its own txt file and placed it in the folder I have for map FAQs.
Unrelated, but I searched for SE 50 and it errored because the search terms were less than 3 characters and a search for SE50 comes up with nothing. This actually makes searching this forum for this information almost impossible. Which, of course, brings me back to my first point: this should be in the wiki. Maybe in the mapping section that is really the Map FAQ from the early days.
This post has been edited by Mr.Flibble: 19 May 2011 - 10:03 PM
#2294 Posted 19 May 2011 - 11:18 PM
Mr.Flibble, on 19 May 2011 - 10:01 PM, said:
I guess you would put it here: http://wiki.eduke32....Reference_Guide
And put a more condensed version of the details in the explanation field.
#2295 Posted 20 May 2011 - 12:26 AM
#2296 Posted 20 May 2011 - 01:01 AM
#2297 Posted 20 May 2011 - 08:37 AM
DeeperThought, on 19 May 2011 - 11:18 PM, said:
And put a more condensed version of the details in the explanation field.
Yeah. That was the first place I looked too and it wasn't there. I expected it to be there. Thanks to whomever added it.
#2298 Posted 23 May 2011 - 02:13 AM
log:
Initialized 16.0M cache
Loading 'duke3d.def'
lots of things I working on use a lot of textures (ex: night-day effect on JP mod), I really need to desactive or increase the cache size, I'm stuck on this error message: ERROR: CACHE SPACE ALL LOCKED UP!

Help
Duke4.net
DNF #1
Duke 3D #1


