www.ClassicTW.com
http://classictw.com/

SWATH Scripting - Refreshing Planet Info
http://classictw.com/viewtopic.php?f=15&t=34429
Page 1 of 1

Author:  BreCalmor [ Tue Sep 16, 2014 12:46 pm ]
Post subject:  SWATH Scripting - Refreshing Planet Info

After I move colonists, the planet object still shows the old colonist level. The only way I see to update the planet object colonist level is to LiftOff and then Land back on the planet.

Any ideas? I figured there might be a way to redisplay the planet (send "d") but that function isn't available that I can see.

Thanks!
BreCalmor/RMI

Author:  Vid Kid [ Tue Sep 16, 2014 3:33 pm ]
Post subject:  Re: SWATH Scripting - Refreshing Planet Info

BreCalmor wrote:
After I move colonists, the planet object still shows the old colonist level. The only way I see to update the planet object colonist level is to LiftOff and then Land back on the planet.

Any ideas? I figured there might be a way to redisplay the planet (send "d") but that function isn't available that I can see.

Thanks!
BreCalmor/RMI


What version of Swath ? 1.9.8 ?
What version of server ? BBS or TWGS , v1 or v2 ?
and is this a java script in Swath ?
Or are you referring to the resource mover ?

I'm asking in hopes I can be of help in this and maybe you did genuinely find a bug.

Vid Kid/CareTaker

Author:  BreCalmor [ Tue Sep 16, 2014 5:04 pm ]
Post subject:  Re: SWATH Scripting - Refreshing Planet Info

Vid Kid wrote:
BreCalmor wrote:
After I move colonists, the planet object still shows the old colonist level. The only way I see to update the planet object colonist level is to LiftOff and then Land back on the planet.

Any ideas? I figured there might be a way to redisplay the planet (send "d") but that function isn't available that I can see.

Thanks!
BreCalmor/RMI


What version of Swath ? 1.9.8 ?
What version of server ? BBS or TWGS , v1 or v2 ?
and is this a java script in Swath ?
Or are you referring to the resource mover ?

I'm asking in hopes I can be of help in this and maybe you did genuinely find a bug.

Vid Kid/CareTaker


v1.9.8
TWGS (prob v2)
Java
Not existing script, just trying to learn so I can create a script for planet grooming.

Thanks!!

Author:  Vid Kid [ Tue Sep 16, 2014 7:00 pm ]
Post subject:  Re: SWATH Scripting - Refreshing Planet Info

BreCalmor wrote:
Vid Kid wrote:
BreCalmor wrote:
After I move colonists, the planet object still shows the old colonist level. The only way I see to update the planet object colonist level is to LiftOff and then Land back on the planet.

Any ideas? I figured there might be a way to redisplay the planet (send "d") but that function isn't available that I can see.

Thanks!
BreCalmor/RMI


What version of Swath ? 1.9.8 ?
What version of server ? BBS or TWGS , v1 or v2 ?
and is this a java script in Swath ?
Or are you referring to the resource mover ?

I'm asking in hopes I can be of help in this and maybe you did genuinely find a bug.

Vid Kid/CareTaker


v1.9.8
TWGS (prob v2)
Java
Not existing script, just trying to learn so I can create a script for planet grooming.

Thanks!!


Ok , thank you for the answers to clarify the problem.

You answered it yourself in your statement.
is
Quote:
to update the planet object colonist level is to LiftOff and then Land back on the planet.


Its a Java thing.

Vid

Author:  BreCalmor [ Wed Sep 17, 2014 2:46 am ]
Post subject:  Re: SWATH Scripting - Refreshing Planet Info

Vid Kid wrote:
You answered it yourself in your statement.
is
Quote:
to update the planet object colonist level is to LiftOff and then Land back on the planet.


Its a Java thing.

Vid


Well that stinks, but at least I found a workable solution just not pretty or efficient.

I figured if I could just sent a "d" or return to redisplay the planet info then the info would be updated and I wouldn't have to leave and land... couldn't figure out a way to do that.

Thanks!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/