ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

ZORO COMMUNITY

ZORO COMMUNITY

关闭频道

显示更多
未指定国家未指定类别
875
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
Repost from N/a
15 10月, 03:15

function sendAll(msg,except){const s=JSON.stringify(msg);for(const p of net.peers)if(p!==except)sendTo(p,s);} function sendHost(msg){try{if(net.dc&&net.dc.readyState==='open')net.dc.send(JSON.stringify(msg));}catch(e){}} function setStat(id,s){const e=$(id);if(e)e.textContent=s;} function setTile(x,y,v){set(x,y,v);if(net.mode!=='solo')net.eq.push(x,y,v);} function worldString(){const a=new Array(world.length);for(let i=0;i<world.length;i++)a[i]=String.fromCharCode(48+world[i]);return a.join('');} function newRemote(id,name,cols,x,y){return net.players[id]={id,name:name'Player',cols:cols[1,1,0,0],pal:palFromCols(cols[1,1,0,0]),x:x0,y:y0,tx:x0,ty:y||0,face:1,walk:0,mv:0,og:1,sw:0,hold:''};} async function makeOffer(){ const pc=new RTCPeerConnection(RTC_CFG),dc=pc.createDataChannel('tt',{ordered:true}); const peer={id:net.nextPid++,pc,dc,inv:0,name:'Friend',cols:[1,1,0,0],ready:false}; net.pend=peer; dc.onmessage=e=>hostMsg(peer,e.data); dc.onclose=()=>peerGone(peer); pc.oniceconnectionstatechange=()=>{const s=pc.iceConnectionState;if(s==='failed'){setStat('istat','Connection failed. Both phones must be on the same Wi-Fi/hotspot. Try again.');peerGone(peer);}}; const off=await pc.createOffer();await pc.setLocalDescription(off);await waitIce(pc); return enc({t:'o',sdp:pc.localDescription.sdp}); } async function acceptAnswer(code){ const a=dec(code);if(!net.pend)throw new Error('Create a new host code first'); await net.pend.pc.setRemoteDescription({type:'answer',sdp:a.sdp}); const p=net.pend;setStat('istat','Connecting...'); setTimeout(()=>{if(!p.ready&&$('invite').style.display==='flex')setStat('istat','Still connecting... if nothing happens, both phones must be on the same Wi-Fi/hotspot. Try again.');},15000); } function peerGone(peer){ const i=net.peers.indexOf(peer); if(i>=0){net.peers.splice(i,1);delete net.players[peer.id];toast(peer.name+' left the game');sendAll({t:'gone',id:peer.id});} try{peer.pc.close();}catch(e){} } function hostMsg(peer,raw){ let m;try{m=JSON.parse(raw);}catch(e){return;} if(m.t==='hello'){ if(peer.ready)return; peer.name=String(m.name'Friend').slice(0,14);peer.cols=m.cols[1,1,0,0];peer.ready=true;net.peers.push(peer); newRemote(peer.id,peer.name,peer.cols,P.x,P.y); const s=worldString(),CH=8000,n=Math.ceil(s.length/CH); const others=[{id:0,name:char.name,cols:myCols()}]; for(const q of net.peers)if(q!==peer)others.push({id:q.id,name:q.name,cols:q.cols}); sendTo(peer,{t:'welcome',id:peer.id,tm:dayT,n,sx:P.x,sy:P.y,others}); for(let i=0;i<n;i++)sendTo(peer,{t:'wc',i,d:s.slice(i*CH,(i+1)*CH)}); sendAll({t:'pi',id:peer.id,name:peer.name,cols:peer.cols},peer); toast(peer.name+' joined!');setStat('istat','Connected! '+peer.name+' joined.'); }else if(!peer.ready)return; else if(m.t==='p'){const p=net.players[peer.id];if(!p)return;const v=m.v;p.tx=v[0];p.ty=v[1];p.face=v[2];p.mv=v[3];p.og=v[4];p.sw=v[5];p.hold=v[6]||'';} else if(m.t==='e'){const a=m.a;for(let i=0;i+2<a.length;i+=3)set(a[i],a[i+1],a[i+2]);sendAll({t:'e',a},peer);} else if(m.t==='hit'){const mb=mobs.find(q=>q.id===m.id);const p=net.players[peer.id];if(mb&&p&&!mb.dead&&mb.k!=='villager')hurtMob(mb,clamp(m.d|0,1,12),peer.id,p.tx);} else if(m.t==='shoot'){arrows.push({x:m.x,y:m.y,vx:m.vx,vy:m.vy,own:peer.id,d:5,life:3});} } async function makeAnswer(code){ const o=dec(code);const pc=new RTCPeerConnection(RTC_CFG);net.pc=pc; pc.ondatachannel=e=>{ const dc=e.channel;net.dc=dc; dc.onopen=()=>{setStat('jstat','Connected! Loading world...');sendHost({t:'hello',name:char.name,cols:myCols()});}; dc.onmessage=ev=>clientMsg(ev.data); dc.onclose=()=>{if(state==='play'&&net.mode==='client'){toast('Disconnected from host');setTimeout(()=>quitHome(),1800);}}; }; pc.oniceconnectionstatechange=()=>{if(pc.iceConnectionState==='failed')setStat('jstat','Connection failed. Both phones must be on the same Wi-Fi/hotspot. Try again.');};
20 10月, 11:01

👅𝐓𝑬𝖤𝑵 S𝘌𝑿 👅 𝖢𝗛𝗜𝘓𝐷𝑷𝗥𝑁 🥵40.000 𝘝𝐼𝑫𝖤𝗢 𝘏𝐸𝖱𝑬👉 @MZKQVXJR
21 10月, 06:22

🔥𝐓𝑬𝖤𝑵 𝕊𝑬𝖃 🔞 𝑪Нl𝘓𝐷𝑷𝖮𝗥𝑁 👅80.000 𝗩𝘐𝔻𝑬𝖮 𝘏𝐸𝖱𝑬▶️ @KPMZRQXV
21 10月, 01:56

Repost from N/a
no share no win send proof minimum 30
15 10月, 09:23

UI
19 10月, 10:29

🔞𝐓𝑬𝖤𝑵 𝑆𝑬𝗫 💦 𝗖𝘏𝙸𝑳𝖣Р0𝑹𝙉 🫦50.000 𝘝𝐼𝔻𝖤𝙊 𝐻Е𝖱𝗘🔜 @JQKTXVZM
21 10月, 14:14

Repost from N/a
25 10月, 08:08

Hindi nagana key
05 9月, 12:21

💋𝐓𝑬𝖤𝑵 𝗦𝑬𝕏 🫦 𝗖𝘏𝙸𝑳𝖣𝐏𝑹𝖭 🍒100.000 𝖵𝗜𝔻𝐸𝑶 Н𝐸𝑹𝖤▶️ @KXVRMZQJ
18 10月, 21:26

Ban ba agad to
04 11月, 07:20

Repost from Sachio
I HAVE NEW BYPASS GUYS
07 10月, 09:24

🔥𝖳𝐄𝐸𝙉 𝖲𝙀𝗫 🍑 𝙲ℍ𝙸𝑳𝗗𝗣𝘖𝙍N 😈30.000 𝘝𝐼𝘿𝖤𝙊 𝐻𝑬𝖱𝗘👉🏽 @RXQVNZKJ
19 10月, 13:19

Repost from Sachio
ANNOUNCEMENT! si zoro hindi maka log in sa telegram.
14 10月, 13:02

🔥𝑻𝖤𝙀𝐍 S𝙀𝖃 💦 𝘊𝐻𝐈𝑳𝖣𝘗𝙊𝚁𝑁 👅80.000 𝑽𝖨𝙳𝘌𝐎 𝗛𝐸𝖱Е👉 @XVZRMKQJ
22 10月, 13:14

Repost from JAMES MAIN CHANNEL
╔═━─━─━─━─━─━─━─━─━═╗    ✦ 𝑵𝑶 𝑷𝑹𝑶𝑶𝑭 𝑶𝑭 𝑺𝑯𝑨𝑹𝑬 ✦          ➤ 𝑵𝑶 𝑹𝑬𝑾𝑨𝑹𝑫    ✧ 𝑳𝑨𝑻𝑬 𝑺𝑯𝑨𝑹𝑬 ✧          ➤ 𝑨𝑼𝑻𝑶 𝑹𝑹 ✦ SHARE THIS TO 20 GROUPS ➤ NO PROOF NO WIN ✦ ✦ DOUBLE NUM = REROLL ✧ ╚═━─━─━─━─━─━─━─━─━═╝
09 10月, 06:37

🍒𝑻𝖤𝙀𝐍 𝕊𝑬𝖃 💋 𝐶𝑯𝖨𝗟𝐃𝖯𝗢𝑹𝙉 🫦100.000 𝑉𝑰𝖣𝗘𝘖 𝑯𝖤ℝ𝐸👉🏽 @RQZVKXJP
19 10月, 12:20

🍑𝖳𝐄𝙀𝑁 S𝑬𝘟 👅 𝘊𝐻𝑰𝖫𝐃𝗣𝘖𝙍N 😈30.000 𝘝𝐼𝑫𝖤𝗢 Н𝐸𝑹𝖤👉🏽 @KQJZWXRM
18 10月, 19:19

Repost from N/a
no share no win send proof minimum 30
26 10月, 11:50

Repost from N/a
26 10月, 05:25