This WAD randomly crashes Zandronum AND Zdoom

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Aqua Kitty
Forum Regular
Posts: 182
Joined: Sat Jul 28, 2012 10:26 pm
Location: Dreamland. There's a rebellion going on there and it isn't pretty.
Clan: Organization XIII

This WAD randomly crashes Zandronum AND Zdoom

#1

Post by Aqua Kitty » Wed Jan 02, 2013 6:05 am

...and being my WAD I'd like to know why. Here's a link to the WAD thus far if anyone wants to take a look at it.

http://www.filedropper.com/doommaku
DooMMakU - Bullet Hell Doom
<BlakJacket> Reisen: so basically you're Uwe Boll
"The smart kids know there isn't really a line between fact and fantasy" -Ranger
Spoiler: Names I may go by ingame (Open)
Aqua Kitty
Reisen Udongein Inaba
James Frost
Cirno
Cirnobog
Cyclo-F
ARX/NG 891

Net status: Finally have a better internet plan - alive and kicking!

darkstar64
Forum Regular
Posts: 264
Joined: Sun Dec 09, 2012 3:48 am
Location: Canada

RE: This WAD randomly crashes Zandronum AND Zdoom

#2

Post by darkstar64 » Wed Jan 02, 2013 7:09 am

Well for starters, try telling us what is you're trying to do in your WAD. I started it in Zandronum and it ran fine, and then I figured out it was weapon mod. You didn't really give us enough information to work with. Do you get an error report? Does it happen mid-gameplay or only when you try to start it? Is it a DECORATE problem?
Hypnotoad wrote:
That's a pony? I pegged him for some kind of skunk furry.

Sonicteam Power
New User
Posts: 18
Joined: Tue Dec 11, 2012 8:56 pm
Location: São Paulo, Brazil

RE: This WAD randomly crashes Zandronum AND Zdoom

#3

Post by Sonicteam Power » Wed Jan 02, 2013 10:59 am

Tested, Did Crash...

The WAD did crash when i was in Underhalls (MAP02), using a Supershot Gun and exploding the Barrels (after picking up the card, etc,etc) with
Zandronum
Last edited by Sonicteam Power on Wed Jan 02, 2013 10:59 am, edited 1 time in total.

User avatar
Aqua Kitty
Forum Regular
Posts: 182
Joined: Sat Jul 28, 2012 10:26 pm
Location: Dreamland. There's a rebellion going on there and it isn't pretty.
Clan: Organization XIII

RE: This WAD randomly crashes Zandronum AND Zdoom

#4

Post by Aqua Kitty » Wed Jan 02, 2013 11:02 am

It happens mid-gameplay and it's likely a DECORATE problem I don't know what. At the moment it's pretty much just a weapon mod but I'm planing on modding the monsters. It freezes mid-gameplay particularly when you change maps, and I have to force close.
Last edited by Aqua Kitty on Wed Jan 02, 2013 11:04 am, edited 1 time in total.
DooMMakU - Bullet Hell Doom
<BlakJacket> Reisen: so basically you're Uwe Boll
"The smart kids know there isn't really a line between fact and fantasy" -Ranger
Spoiler: Names I may go by ingame (Open)
Aqua Kitty
Reisen Udongein Inaba
James Frost
Cirno
Cirnobog
Cyclo-F
ARX/NG 891

Net status: Finally have a better internet plan - alive and kicking!

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: This WAD randomly crashes Zandronum AND Zdoom

#5

Post by Torr Samaho » Wed Jan 02, 2013 11:53 am

Aqua Kitty wrote: It freezes mid-gameplay particularly when you change maps, and I have to force close.
Freezing sounds like an infinite loop with zero duration in your DECORATE code.

User avatar
Aqua Kitty
Forum Regular
Posts: 182
Joined: Sat Jul 28, 2012 10:26 pm
Location: Dreamland. There's a rebellion going on there and it isn't pretty.
Clan: Organization XIII

RE: This WAD randomly crashes Zandronum AND Zdoom

#6

Post by Aqua Kitty » Wed Jan 02, 2013 12:01 pm

Torr Samaho wrote:
Aqua Kitty wrote: It freezes mid-gameplay particularly when you change maps, and I have to force close.
Freezing sounds like an infinite loop with zero duration in your DECORATE code.
Thanks. I noticed the firing states had a Refire with duration 0 so I changed those to 1 and it works fine.

EDIT: It is most definitely the select and deselect frames on all weapons. Is there a better way to make instant weapon switches?
Last edited by Aqua Kitty on Wed Jan 02, 2013 12:15 pm, edited 1 time in total.
DooMMakU - Bullet Hell Doom
<BlakJacket> Reisen: so basically you're Uwe Boll
"The smart kids know there isn't really a line between fact and fantasy" -Ranger
Spoiler: Names I may go by ingame (Open)
Aqua Kitty
Reisen Udongein Inaba
James Frost
Cirno
Cirnobog
Cyclo-F
ARX/NG 891

Net status: Finally have a better internet plan - alive and kicking!

User avatar
Ænima
Addicted to Zandronum
Posts: 3579
Joined: Tue Jun 05, 2012 6:12 pm

RE: This WAD randomly crashes Zandronum AND Zdoom

#7

Post by Ænima » Wed Jan 02, 2013 4:59 pm

Aqua Kitty wrote: EDIT: It is most definitely the select and deselect frames on all weapons. Is there a better way to make instant weapon switches?
Put this in an ACS script that the player calls:

Code: Select all

SetPlayerProperty(0, On, PROP_INSTANTWEAPONSWITCH);
Last edited by Ænima on Wed Jan 02, 2013 5:00 pm, edited 1 time in total.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Cruduxy
Zandrone
Posts: 1059
Joined: Fri Jun 08, 2012 4:24 pm

RE: This WAD randomly crashes Zandronum AND Zdoom

#8

Post by Cruduxy » Wed Jan 02, 2013 6:15 pm

If your going with decorate only spam A_raise with 0 tics and finish with a single line with a raise state with 1 tic as duration..
I haven't tested it tbh but I know from the wiki it'll raise faster by doing multiple instances of a_raise at once.
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]

User avatar
Aqua Kitty
Forum Regular
Posts: 182
Joined: Sat Jul 28, 2012 10:26 pm
Location: Dreamland. There's a rebellion going on there and it isn't pretty.
Clan: Organization XIII

RE: This WAD randomly crashes Zandronum AND Zdoom

#9

Post by Aqua Kitty » Wed Jan 02, 2013 9:31 pm

Ænima wrote:
Aqua Kitty wrote: EDIT: It is most definitely the select and deselect frames on all weapons. Is there a better way to make instant weapon switches?
Put this in an ACS script that the player calls:

Code: Select all

SetPlayerProperty(0, On, PROP_INSTANTWEAPONSWITCH);
Thank you sir, giving the raise frames positive values stopped the WAD from freezing with that infinite loop crash.
DooMMakU - Bullet Hell Doom
<BlakJacket> Reisen: so basically you're Uwe Boll
"The smart kids know there isn't really a line between fact and fantasy" -Ranger
Spoiler: Names I may go by ingame (Open)
Aqua Kitty
Reisen Udongein Inaba
James Frost
Cirno
Cirnobog
Cyclo-F
ARX/NG 891

Net status: Finally have a better internet plan - alive and kicking!

User avatar
Ænima
Addicted to Zandronum
Posts: 3579
Joined: Tue Jun 05, 2012 6:12 pm

RE: This WAD randomly crashes Zandronum AND Zdoom

#10

Post by Ænima » Wed Jan 02, 2013 9:32 pm

You're welcome. Lemme know if you have any other issues. c:
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
Aqua Kitty
Forum Regular
Posts: 182
Joined: Sat Jul 28, 2012 10:26 pm
Location: Dreamland. There's a rebellion going on there and it isn't pretty.
Clan: Organization XIII

RE: This WAD randomly crashes Zandronum AND Zdoom

#11

Post by Aqua Kitty » Thu Jan 03, 2013 5:13 am

Well no need for this thread anymore, the script worked perfectly and I can easily edit the DECORATE for my monsters now.
DooMMakU - Bullet Hell Doom
<BlakJacket> Reisen: so basically you're Uwe Boll
"The smart kids know there isn't really a line between fact and fantasy" -Ranger
Spoiler: Names I may go by ingame (Open)
Aqua Kitty
Reisen Udongein Inaba
James Frost
Cirno
Cirnobog
Cyclo-F
ARX/NG 891

Net status: Finally have a better internet plan - alive and kicking!

Post Reply