undef.de wrote: ↑02 Oct 2019 20:28
I'm pretty sure the code should look like this (but that's a untested guess):
Code: Select all
$this->currmap_path = $aseco->client->getResponse();
No...then i get:
Code: Select all
PHP Parse error: syntax error, unexpected ';' in D:\TMFserver\TMF\control\xaseco_1\plugins\askuri.dynmaps.php on line 92
Press a key to continue ...
if i do this:
Code: Select all
$this->currmap_path = $aseco->client->getResponse ['FileName'];
Removed
Then i get error on line 165:
Code: Select all
PHP Parse error: syntax error, unexpected '[' in D:\TMFserver\TMF\control\xaseco_1\plugins\askuri.dynmaps.php on line 165
Press a key to continue ...
code here on line 165 is:
pfff..but ok..i try million things.
Believe me..i have not really a clue what i do.
But ok...after some try's.
I removed whole line 165.
Now all works and server start.
Cache is loaded in dyn_infocache.json.
Now i have 5 tracks in my tracklist.
No tracks where added after load all 5000 tracks in any other list
So now the server keep running in a loop of this 5 tracks only.
Not that surprising...be course i remove:
out line 92
and remove this from line 165
So no list is saved anywhere
Now i most see too fix this.
EDIT:
What i forgot too tell.
If i do /list inside server...i see all 5000 tracks.
I can wish a track..then tracklist have 6 tracks inside.
Wish again a track..then 7 and so on.
But if you do nothing...and play track after track.
Then you keep playing those 7 tracks only.
The other tracks are not automatic playable..
So wishing tracks works
Thanks for the help
