The following warnings occurred:
Warning [2] Undefined variable $captcha - Line: 15 - File: global.php(587) : eval()'d code PHP 8.2.24 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(587) : eval()'d code 15 errorHandler->error_callback
/global.php 587 eval
/showthread.php 28 require_once
Warning [2] Undefined variable $redirect_url - Line: 21 - File: global.php(587) : eval()'d code PHP 8.2.24 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(587) : eval()'d code 21 errorHandler->error_callback
/global.php 587 eval
/showthread.php 28 require_once



 
  • 0 Vote(s) - 0 Average
If you have some spare time
scorpion   05-08-2015, 12:05 PM
#2
(05-08-2015, 10:01 AM)Polymo Wrote: Map-area discovering (saving the state) seems to be bound to the SetPersistenVariable function/Message. From what i could find it may correspond to
an entry in an .ini file. The message i think takes arguments like: category, variable, value which i think are sections like:

[MapCompletion]
Hawksmouth = 412123

(I made that up, but it could be similar)

As there's the category, i would believe there are other cases where knowledge about it could be relevant.
I coudn't find out how and what, but maybe someone of you can?

Those are being saved in the database on the server. SetPersistentVariable takes 3 arguments: Context ID, Variable ID and Value.

For the map exploration it's context id 100, variable id corresponds to the map section id's and the value is '1' for explored, '0' for undiscovered.

Search for the GED files and look at the SectionIDs in there. They'll tell you the possible values for the variable ids. Example: Quarterstone has 'SetProperty,SectionIDs,"200,201,202,203"'
This post was last modified: 05-08-2015, 12:12 PM by scorpion.
« Next Oldest | Next Newest »


Messages In This Thread
If you have some spare time - by Polymo - 05-08-2015, 10:01 AM


Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.