| Feb 9, 2026, 05:02 PM | |
|
jjCOLORMAP using a layer in xlmdragon.j2l eventually causes access violation
Code:
void onLevelBegin() {
jjCOLORMAP what(uint(206), uint(1830), uint(128), uint(71), jjLayerOrderGet()[4]);
}
Tested with JJ2+ v6.6a in Windows 10. |
| Feb 10, 2026, 12:30 AM | |
|
I cycled 55 times with that mutator and got no crashes. Can you think of anything else you might be doing that might contribute to the crash, that you didn't specify in the first post?
|
| Feb 10, 2026, 07:39 AM | |
|
This one seems to have a higher likelihood of crashing:
Code:
void onLevelBegin() {
jjCOLORMAP(uint(206), uint(1830), uint(128), uint(71), jjLayerOrderGet()[4]);
jjCOLORMAP(uint(1105), uint(786), uint(128), uint(71), jjLayerOrderGet()[4]);
jjCOLORMAP(uint(3237), uint(1699), uint(128), uint(71), jjLayerOrderGet()[4]);
jjCOLORMAP(uint(3264), uint(1203), uint(128), uint(71), jjLayerOrderGet()[4]);
}
Code:
void onPlayer(jjPLAYER@ player) {
if (jjKey[0x02]) { // right click
uint x = uint(jjMouseX + player.cameraX - player.subscreenX - jjBorderWidth);
uint y = uint(jjMouseY + player.cameraY - player.subscreenY - jjBorderHeight);
jjCOLORMAP(x, y, uint(128), uint(71), jjLayerOrderGet()[4]);
jjSample(float(x), float(y), SOUND::RAPIER_HITCHAR);
}
}
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -8. The time now is 11:33 AM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.




