-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script error in fn_sm_business_state_voyage_loop #39
Comments
🍌 ... hm, vllt checken ob Waypoints - array leer ist ? |
Jo |
der explodierende Code:
ok, eben mal geschaut - "Error Zero divisor" kommt bei Zugriff auf undefinierte array indices, abgesehen von dem direkt nach dem letztdefinierten Element des Arrays; dieses gibt fehlerlos nil zurück
Könnt ich mir jetz aussuchen was der Fall ist, allerdings wird
Ist meine einzige Erklärung -.- Zwar ist |
(letztere Möglichkeit kann ich vermeiden, siehe 76b9d3e . die andere nicht. ich laß das ticket erstma offen. ) |
still occurs, rarely (first time I'm actually seeing this) |
...provided SQF execution does not suspend within a single statement.
no.
|
judging by the fact it occurs some time into the mission, i'm guessing this does happen at the end of all waypoints after all, probably at the cycle wp. will check. |
cannot reproduce while letting AI run/drive in circles with cycle waypoints. BUT how about this: private _group = group objNull; // grpNull
private _wps = waypoints _group; // []
private _wppos = waypointPosition (_wps select (currentWaypoint _group)); // currentWaypoint grpNull => -1⚡ =>
🎉 |
civilian gets passed and is not null, but group is null.
|
looks like the state machine iterates over killed civs even up to a minute later. wth. it only happens once though for each civ, which is even crazier. I have still no idea how this is even possible, as the state machine usually iterates over all civs within 1s-3s and then re-creates the list from There's a workaround in #80 that will avoid the error though so... closed, as there's no adverse effects of this that I know of. |
Happened during Money in the Mist 2020/01/27.
The text was updated successfully, but these errors were encountered: