View Issue Details

IDProjectCategoryView StatusLast Update
0009738Multi Theft Auto : San AndreasServerpublic2018-07-22 21:08
ReporterSHC//SniperAssigned Toccw 
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0009738: [Request] refreshResource function

Currently getResourceInfo meta data (such as resource/map name, author etc.) does not get updated after making changes to the meta.xml file. The only way to enforce getResourceInfo meta data to be updated is through refreshResources(true) AKA /refreshall. As this is a very resource intensive task, it would freeze our server for 10-20 minutes with 7396 maps stored on our server. Restarting the affected resource is not a solution either, as we do not start any map resource.

Manually parsing meta.xml data with XML functions may be a workaround fix but is neither elegant nor would it work in our specific case. We depend on what getResourceInfo returns and we cannot replace it with manual XML parsing, as it is way slower and causes server to take 2-3h for start-up (compared to 10 minutes regular start-up). At current state of affairs our system experiences issues with maps whose names have been changed.

This was talked about on the forum before and sadly ended nowhere. Bonsai's post pretty much sums up our problem:

TagsNo tags attached.

Users sponsoring this issue
Sponsors List Total Sponsorship = EUR 10

2017-10-07 03:06: SHC//Sniper (EUR 10)
Users sponsoring this issue (Total Sponsorship = EUR 10)



2017-10-07 16:27

administrator   ~~0026226

Please check if the console command upgrade <resource-name> does the required action


2017-10-07 19:14

viewer   ~~0026228

I have tried using upgrade command on the console.

It seemed to do the trick.


2017-10-08 03:10

administrator   ~~0026231

Fixed in

Issue History

Date Modified Username Field Change