Page MenuHomeFeedback Tracker

Game crashes when using kbTell from SQF script.
Closed, ResolvedPublic

Description

Game crashes when using kbTell from SQF script. After the character is telling the sentence game hangs. {F21979}

Details

Legacy ID
4000250866
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Game Crash
Steps To Reproduce

Create a new mission, create two soldiers on the map, name the one that's not under player control - "Man1", in the init line of this unit add grp1 = group this; save the mission.

In the mission folder create kb subdirectory.
In this directory create a file named mission.bikb with this:


class Sentences
{
class FollowMe
{
text = "All, follow me!";
speech[] = {"ReturnToFormation"};
actor = "grp1";
variant = "";
variantText = "";
};
};
class Arguments{};
class Special{};
startWithVocal[] = {hour};
startWithConsonant[] = {europe, university};


Create a init.sqf script


sleep 3;
man1 kbAddTopic ["mission", "kb\mission.bikb"];
sleep 3;
man1 kbTell [player, "mission", "FollowMe"];


Run the mission and enjoy the crash.

Event Timeline

sudden edited Steps To Reproduce. (Show Details)Sep 7 2013, 7:33 PM
sudden edited Additional Information. (Show Details)
sudden set Category to Game Crash.
sudden set Reproducibility to Always.
sudden set Severity to None.
sudden set Resolution to Fixed.
sudden set Legacy ID to 4000250866.May 7 2016, 4:35 PM

Thank you for great repro and repro mission.

dazhbog added a subscriber: dazhbog.May 7 2016, 4:35 PM

First thing - you should add an empty Arguments class inside the FollowMe class to prevent script errors.

The crash itself is fixed in revision 110023 which should be released next week in a dev branch update.

sudden added a subscriber: sudden.May 7 2016, 4:35 PM

Thank you!!! ;-)))

Mass-closing resolved issues not updated in 10 days.