PlasmaServer

PlasmaServer

For the discussion of infrastructure improvements and changes.

Moderator: Moderators

Post Reply
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

PlasmaServer

Post by Licho »

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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: PlasmaServer

Post by abma »

Licho wrote: Also added
GetResourceDataByResourceID
can we try to establish a system that uses the SDP (the rapid filename of the sdp) hash to identify files?

would mean lobbys use it to check sync.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: PlasmaServer

Post by Licho »

I dont understand how, maps are not .sdp
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: PlasmaServer

Post by abma »

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.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: PlasmaServer

Post by Licho »

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.
Post Reply

Return to “Infrastructure Development”