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 » 18 Dec 2011, 03:18

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
0 x

abma
Spring Developer
Posts: 3540
Joined: 01 Jun 2009, 00:08

Re: PlasmaServer

Post by abma » 18 Dec 2011, 10:30

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.
0 x

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

Re: PlasmaServer

Post by Licho » 18 Dec 2011, 12:14

I dont understand how, maps are not .sdp
0 x

abma
Spring Developer
Posts: 3540
Joined: 01 Jun 2009, 00:08

Re: PlasmaServer

Post by abma » 18 Dec 2011, 12:22

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.
0 x

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

Re: PlasmaServer

Post by Licho » 18 Dec 2011, 12:25

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.
0 x

Post Reply

Return to “Infrastructure Development”

cron