Where can I find the Global Properties?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Where can I find the Global Properties?

Post by blckfire »

So, I need to delete a large number of global properties and I don't know where they are saved so that I can then go to the file an delete them manually.

Is there another way of doing this?

Thanks.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Where can I find the Global Properties?

Post by blckfire »

The problem I have is that I'm trying to figure out where and why the world always has temporary global properties and although I can see and delete the permanent global properties I can't seem to find a way to get my hands on those temporary ones, although they persist after server shutdown and restart.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Where can I find the Global Properties?

Post by blckfire »

I created a small script to delete all the extra variables, but I would still like to check if there are more temporary variables that exist and that I'm not aware of, since the code has changed a lot in several years...
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Where can I find the Global Properties?

Post by Turley »

In general global properties are stored in pol.txt, of cause the temporary ones are not listed there. Have you tried GetGlobalPropertyNames() this returns you an array of all property names.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Where can I find the Global Properties?

Post by blckfire »

The thing is that I'm using POL96 which doesn't have that function...
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Where can I find the Global Properties?

Post by Turley »

That's sad. ;)
You could try to search for "# in all src and inc files and hope that this combination is not used very often in other context.
blckfire
Apprentice Poster
Posts: 54
Joined: Thu Feb 26, 2015 10:28 am

Re: Where can I find the Global Properties?

Post by blckfire »

I guess that's the only solution left :(...
Post Reply