Hosted rooms: seats, owner-first room IDs, T5 items in their scenes
CI / build (push) Successful in 31s
CI / build (push) Successful in 31s
- The seat chosen on joining, and "*msg SeatAssignment" room seats, go to the hub, so people joining get free seats (both stood on seat 1). - Instance IDs are "<owner>-<2100000000+n>" (the hub's change): the client takes the owner from them, so owners can decorate their rooms. - A hosted room's scene carries community products as the hub's IDs (placements too), turned into local IDs by each proxy, instead of being stripped; saved and loaded scenes translate placements too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
13ee023836
commit
c483099558
6 files changed
+192
-31
No files matched your search
@@ -571,7 +571,7 @@ func (p *Products) interceptBaseLook(x *proxy.Exchange) error {
|
||||
func (p *Products) Outgoing(queue, mount string, message []byte) ([]byte, bool) {
|
||||
out, drop := p.outgoing(queue, mount, message)
|
||||
// A hosted room's message goes to the hub (without community products, as to IMVU), never to IMVU.
|
||||
if p.Hosted != nil && !drop && p.Hosted.Send(queue, mount, out) {
|
||||
if p.Hosted != nil && p.Hosted.Send(queue, mount, out, message, drop) {
|
||||
return nil, true
|
||||
}
|
||||
return out, drop
|
||||
|
||||
Reference in new issue
Block a user