Skip to content
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

Ore spawn radius(SpawnsTiberium.xxxxxx) may cause game crash #1170

Open
5 tasks done
kotoricon opened this issue Oct 11, 2023 · 0 comments
Open
5 tasks done

Ore spawn radius(SpawnsTiberium.xxxxxx) may cause game crash #1170

kotoricon opened this issue Oct 11, 2023 · 0 comments
Labels
Phobos bug Something isn't working properly

Comments

@kotoricon
Copy link

Description

Not sure which one cause this, but I'm very sure it's because these codes.

[SOMETERRAINTYPE]             ; TerrainType
SpawnsTiberium.Type=0         ; tiberium/ore type index
SpawnsTiberium.Range=1        ; integer, radius in cells
SpawnsTiberium.GrowthStage=3  ; integer - single or comma-sep. range
SpawnsTiberium.CellsPerAnim=1 ; integer - single or comma-sep. range

Phobos Version

v0.3.0.1

Conditions to reproduce

Play a skirmish after few minutes game will random crash after sometime.

INI code

[TIBTRE01]
Name=Tiberium Tree
SpawnsTiberium=yes
RadarColor=192,192,0
IsAnimated=yes
LightVisibility=4000
LightIntensity=0.01
LightRedTint=0.01
LightGreenTint=1.5
LightBlueTint=0.01
AnimationRate=3
AnimationProbability=.003
AmbientSound=OreMineExtract
TemperateOccupationBits=7
SnowOccupationBits=7
Immune=yes
SpawnsTiberium.Type=0         ; tiberium/ore type index
SpawnsTiberium.Range=5        ; integer, radius in cells
SpawnsTiberium.GrowthStage=3  ; integer - single or comma-sep. range
SpawnsTiberium.CellsPerAnim=3 ; integer - single or comma-sep. range
[TIBTRE02]
Name=Tiberium Tree
SpawnsTiberium=yes
RadarColor=192,192,0
IsAnimated=yes
LightVisibility=4000
LightIntensity=0.01
LightRedTint=0.01
LightGreenTint=1.5
LightBlueTint=0.01
AnimationRate=3
AnimationProbability=.003
AmbientSound=OreMineExtract
TemperateOccupationBits=7
SnowOccupationBits=7
Immune=yes
SpawnsTiberium.Type=1         ; tiberium/ore type index
SpawnsTiberium.Range=4        ; integer, radius in cells
SpawnsTiberium.GrowthStage=3  ; integer - single or comma-sep. range
SpawnsTiberium.CellsPerAnim=3 ; integer - single or comma-sep. range
[TIBTRE03]
Name=Tiberium Tree
SpawnsTiberium=yes
RadarColor=192,192,0
IsAnimated=yes
LightVisibility=4000
LightIntensity=0.01
LightRedTint=0.01
LightGreenTint=1.5
LightBlueTint=0.01
AnimationRate=3
AnimationProbability=.003
AmbientSound=OreMineExtract
TemperateOccupationBits=7
SnowOccupationBits=7
Immune=yes
SpawnsTiberium.Type=2         ; tiberium/ore type index
SpawnsTiberium.Range=3        ; integer, radius in cells
SpawnsTiberium.GrowthStage=3  ; integer - single or comma-sep. range
SpawnsTiberium.CellsPerAnim=3 ; integer - single or comma-sep. range

Steps to reproduce

1.add the spawn radius code
2.start a game
3.crash
...

Expected behaviour

except.txt

Actual behaviour

After remove them everything is ok again even a more than 1-2 hour game.

Additional context

No response

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).
@kotoricon kotoricon added the Phobos bug Something isn't working properly label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phobos bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

1 participant