Go Back   Novahq.net Forum > Games > Delta Force
FAQ Community Calendar Today's Posts Search

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-19-2018, 08:14 AM
Oscarmike247 is offline Oscarmike247
Oscarmike247's Avatar
Registered User

Join Date: Feb 2018
Posts: 229

So, once again i have run into the error. (I knew it would happen again once i added a certain number of looping scripts)

Im trying to get to the bottom of this. I experimented and pasted my wac into a new blank map and it caused the same error. And again if i remove a looping script (doesnt matter which one) it will fix it.

This suggests that there is nothing in my maps events or objects causing the error. Its all in the WAC.
Reply With Quote
  #2  
Old 05-20-2018, 05:02 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Quote:
Originally Posted by Oscarmike247 View Post
So, once again i have run into the error. (I knew it would happen again once i added a certain number of looping scripts)

Im trying to get to the bottom of this. I experimented and pasted my wac into a new blank map and it caused the same error. And again if i remove a looping script (doesnt matter which one) it will fix it.

This suggests that there is nothing in my maps events or objects causing the error. Its all in the WAC.
That's hard to judge from here, especially with such limited data and no working example to go on, this problem has come up before and been overcome, so it may appear as you say but it could still be caused by script, med, windows etc.
Reply With Quote
  #3  
Old 05-20-2018, 09:39 AM
Oscarmike247 is offline Oscarmike247
Oscarmike247's Avatar
Registered User

Join Date: Feb 2018
Posts: 229

Quote:
Originally Posted by stompem View Post
That's hard to judge from here, especially with such limited data and no working example to go on, this problem has come up before and been overcome, so it may appear as you say but it could still be caused by script, med, windows etc.
Well i seem to have singled out the problem to actions with looping scripts.

I added a new looped script with not action...

If eq(v60, 1) then
Endif


... the game runs fine.


But as soon as you add an action, even something as simple as text ("testing") it will crash. But if you remove 1 action from another looped script it will work again.
Reply With Quote
  #4  
Old 05-20-2018, 01:12 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Quote:
Originally Posted by Oscarmike247 View Post
Well i seem to have singled out the problem to actions with looping scripts.

I added a new looped script with not action...

If eq(v60, 1) then
Endif


... the game runs fine.


But as soon as you add an action, even something as simple as text ("testing") it will crash. But if you remove 1 action from another looped script it will work again.
Like I said before it may only look that way because other wacs in the past have failed in similar fashion with far fewer instructions in them than this one.

Also leaving out never() is not really looping in the strictest sense of the word, instructions in the same stream may be executing in the same instance, shorten your script and leave as many vars switched off until needed, use else, chain, link etc to exclude or reduce incidences of them queuing too long or firing whilst other variables are operating.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:35 AM.




Powered by vBulletin®