Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
Euflorium: The Eufloria Community
»
Eufloria
»
Eufloria Classic
»
Eufloria Classic Support
»
ChangeOwner and/or Empire bugs
Print
Pages: [
1
]
Author
Topic: ChangeOwner and/or Empire bugs (Read 5948 times)
Mihhaelo
Sapling
Thank You
-Given: 0
-Receive: 1
Posts: 67
ChangeOwner and/or Empire bugs
«
on:
November 09, 2011, 07:26:05 PM »
As far as I can see, when GetAsteroid():ChangeOwner() is used in script, it doesn't update the information GetEmpire():GetNumOwnedAsteroids() returns.
Likewise, GetEmpire():GetRandomAsteroid() also fails.
Logged
Aino
Ent
Thank You
-Given: 4
-Receive: 30
Posts: 1,527
Eufloria: Yes
Re: ChangeOwner and/or Empire bugs
«
Reply #1 on:
November 10, 2011, 01:51:03 AM »
I don't use ChangeOwner()... I use .Owner = x
But the GetRandomAsteroid() fail is strange...
Logged
Alex
Administrator
Ent
Thank You
-Given: 3
-Receive: 14
Posts: 1,035
Re: ChangeOwner and/or Empire bugs
«
Reply #2 on:
November 14, 2011, 11:35:42 PM »
You may need the game to run an update before that number is corrected... you may in fact be able to call the empire's update from the script so that the number gets updated.
Logged
Print
Pages: [
1
]
Euflorium: The Eufloria Community
»
Eufloria
»
Eufloria Classic
»
Eufloria Classic Support
»
ChangeOwner and/or Empire bugs