$gBuildingInvestment does not reflect Building Investment

Forum Archive - from http://theuniversal.net
Locked
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

$gBuildingInvestment does not reflect Building Investment

Post by zaroba »

Software:Universal Client
Version Number:
________________________________________________________________________
Location

________________________________________________________________________
Description:
This test script:

Event("AccessBuilding", "14")
{
*say $gBuildingAccessNum
*say $gBuildingInvestment
*addtoinvestment $gBuildingAccessNum 1000
*say $gBuildingInvestment
}

Yields this result
4
0
1000

running it a 2nd time yields this:
4
1000
2000

The command is working and the $gBuildingInvestment is showing different vales due ot the command.
But when accessing the building itself, the investment shows as 0
________________________________________________________________________
Steps to Replicate:
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

mm, can't see any reason why this would be a problem.. Is it still the case?
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

script can't manipulate the money added to a building via Building Admin -> Investment
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

ah, sorry.. got wrong end of the stick. Its adding ok, just not replicating the change to client, right? New server will ensure that updates when the player next accesses the building.
Locked