Added
FindResourceData
takes list of words and optional resource type (map,mod)
Returns list of ResourceData structures.
Searches for:
1) exact match of internal name
2) if words are number, resouce with given id
3) entries that contain all the words in name
Springies now use this directly for !listmaps and similar things.
Also added
GetResourceDataByResourceID
and
GetResourceDataByInternalName
PlasmaServer
Moderator: Moderators
Re: PlasmaServer
can we try to establish a system that uses the SDP (the rapid filename of the sdp) hash to identify files?Licho wrote: Also added
GetResourceDataByResourceID
would mean lobbys use it to check sync.
Re: PlasmaServer
I dont understand how, maps are not .sdp
Re: PlasmaServer
with sdp-hash i mean the md5 sum that is calculated the same way as for .sdp's. this way you have a checksum that is the same for .sdd, .sd7 and .sdp and can be relative easy calculated without unitsync.
Re: PlasmaServer
Yeah thats a good final target. Atm plasma is using ordinary md5 (one resources has several possibilities) + dependencies + spring hashes.
Spring hashes are needed until SL is patched to not demand them.
Spring hashes are needed until SL is patched to not demand them.