mirror of
https://github.com/urbit/shrub.git
synced 2024-12-13 16:03:36 +03:00
Continuity breach to protocol 7.
This commit is contained in:
parent
0adc4eb45b
commit
9b61bd7388
@ -440,7 +440,7 @@
|
||||
vix=(bex +((cut 0 [25 2] mag))) :: width of sender
|
||||
tay=(cut 0 [27 5] mag) :: message type
|
||||
==
|
||||
?> =(6 vez)
|
||||
?> =(7 vez)
|
||||
?> =(chk (end 0 20 (mug bod)))
|
||||
:+ [(end 3 wix bod) (cut 3 [wix vix] bod)]
|
||||
(kins tay)
|
||||
@ -460,7 +460,7 @@
|
||||
=+ tay=(ksin q.kec)
|
||||
%+ mix
|
||||
%+ can 0
|
||||
:~ [3 6]
|
||||
:~ [3 7]
|
||||
[20 (mug bod)]
|
||||
[2 yax]
|
||||
[2 qax]
|
||||
@ -1048,7 +1048,7 @@
|
||||
++ gnaw :: gnaw:am
|
||||
|= [kay=cape ryn=lane pac=rock] :: process packet
|
||||
^- [p=(list boon) q=fort]
|
||||
?. =(6 (end 0 3 pac)) [~ fox]
|
||||
?. =(7 (end 0 3 pac)) [~ fox]
|
||||
=+ kec=(bite pac)
|
||||
?: (goop p.p.kec) [~ fox]
|
||||
?. (~(has by urb.ton.fox) q.p.kec)
|
||||
|
@ -366,7 +366,7 @@
|
||||
=+ ^= hay
|
||||
%+ skim cul
|
||||
|= [a=ship b=@da c=status]
|
||||
(lte lat.hid (add ~m2 b))
|
||||
(lte lat.hid (add ~m15 b))
|
||||
?: =(cul hay) +>
|
||||
%. viewers
|
||||
pa-display(locals (~(gas by *(map ship (pair ,@da status))) hay))
|
||||
|
@ -532,7 +532,7 @@
|
||||
^- [(list move) _+>]
|
||||
:_ +>
|
||||
:~ [ost %pass /cmd-in %g %show [our.hid +.imp.hid] you /in/[-.imp.hid]]
|
||||
[0 %pass /time %t %wait (add ~s90 lat.hid)]
|
||||
[0 %pass /time %t %wait (add ~m10 lat.hid)]
|
||||
[ost %pass /cmd-ac %g %show [our.hid +.imp.hid] you /active/[-.imp.hid]]
|
||||
^- move
|
||||
:* ost %pass /server
|
||||
|
Loading…
Reference in New Issue
Block a user