decentraland-scenes / awesome-repository Goto Github PK
View Code? Open in Web Editor NEWA collection of links to examples and tutorials to help you get started building Decentraland scenes and other content.
License: Apache License 2.0
A collection of links to examples and tutorials to help you get started building Decentraland scenes and other content.
License: Apache License 2.0
Hello!
I believe you help me with Decentraland POAP server error.
I click on a button on the dispenset, solve captcha and recieve an error "No more POAP available" with 400 HTTP-status code.
Also I sent a request to https://poap-api.decentraland.org/addcodes/{event_id} and got the next answer:
{
"ok": true,
"data": {
"url": "/addcodes/{event_id}",
"body": {
"num": 0
}
}
}
I don't know what is the reason of this error, I really believe you help me solve that. Thank you!
I've copied the code exactly as it is on here into Visual Studio and the decentraland scene preview won't add it. Is there anything that commonly may cause this issue?
Thanks
import { getUserPublicKey } from "@decentraland/Identity"
const publicKeyRequest = executeTask(async () => {
const publicKey = await getUserPublicKey()
log(publicKey)
return publicKey
})
I am creating a POC. My we app is connected to Metmask. But the above code is giving null value for public key.
import { getUserData } from "@decentraland/Identity"
const userData = executeTask(async () => {
const data = await getUserData()
log(data.displayName)
return data.displayName
})
I am building a POC,. My web app is connected to Metamask. And I am not able to fetch the data of user, which has been created by same public key .
When I run the template and I click on the POAP button in the scene, it appears a pop up asking to get metamask.
I have noticed this function can't somehow find the user data by using the Identity
package.
if (!userData || !userData.hasConnectedWeb3) {
log('no wallet')
PlayCloseSound()
boothUI.metamask()
return
}
I have tried to connect both on local and deployment server with metamask ETH ropsten extension on (also tried with mainnet) and still failing.
I have also tried to run the command dcl start --web3
with the --web3
flag
Is it a bug or am I doing something wrong?
Error [AssertionError]: Assertion failed
at new goog.asserts.AssertionError (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2574054)
at Object.goog.asserts.doAssertFailure_ (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2574606)
at Object.goog.asserts.assert (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2574872)
at jspb.BinaryReader.readEnum (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2654267)
at Function.proto.protocol.SubscriptionMessage.deserializeBinaryFromReader (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2521613)
at Function.proto.protocol.SubscriptionMessage.deserializeBinary (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2521381)
at WebSocket. (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:2358426)
at WebSocket.emit (node:events:378:20)
at Receiver.L (/usr/local/lib/node_modules/decentraland/dist/cli.js:3:652466)
at Receiver.emit (node:events:378:20) {
reportErrorToServer: true,
messagePattern: 'Assertion failed'
}
I run npm install -g decentraland and then run 'dcl start', i recieve error message above. Also when first time running scene metamask requests a sign in to connect to the local scene. Any advice would be greatly appreciated!
When trying to run the included Dockerfile, i get following error. any idea whats needs to be fixed.
Error: dcl start
TextDecoder is not defined, run "dcl help start" for more info.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: dcl start "--ci"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
I'm using https://github.com/decentraland-scenes/nft-wall-example-scene
to show images that will have a unknown size to me.
They get weirdly stretched on the Canvas UI. The last pixels from the right side and/or bottom get stretched to fill the area.
It seems like the example got around this issue by making all the images 1024*1024, by adding white space to them.
Is there away to just have a image just naturally fill the width or height of the defined space, like you would with CSS.
When I click on the Files in a scene or any of the other hyperlinks for that matter I get a 404 error page.
Hello! great example, I tested on the browser client and works like a charm, but on the desktop client the video does not render.
Hi All,
Thank you for building this important tool for developpers.
I'm an artist trying to upload my creations onto decentraland. However my fist try building of a scene is not that successful.
I tried to build an example scene using dcl-edit, it was smooth and successful and fun. I got result as below:
Then I open dcl start, to simulate the result. I've updated to the lastest version of decentraland in npm.
However didnt see the scene. Shown as below:
The error messages I got from dcl start terminal is as follows:
_```
processing E:/dcl/src/scene.ts
Error E:/dcl/src/scene.ts (21,9): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2'.
Error E:/dcl/src/scene.ts (22,20): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2'.
Error E:/dcl/src/scene.ts (22,20): Expected 1 arguments, but got 2.
Error E:/dcl/src/scene.ts (23,9): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_transform'.
Error E:/dcl/src/scene.ts (28,3): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2'.
Error E:/dcl/src/scene.ts (28,60): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_transform'.
Error E:/dcl/src/scene.ts (29,9): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_GLTFShape'.
Error E:/dcl/src/scene.ts (30,3): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_GLTFShape'.
Error E:/dcl/src/scene.ts (31,3): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_GLTFShape'.
Error E:/dcl/src/scene.ts (32,3): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_GLTFShape'.
Error E:/dcl/src/scene.ts (33,3): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2'.
Error E:/dcl/src/scene.ts (33,60): Cannot find name 'bff909f73c9e4c2fa0756d03bffb8fc2_GLTFShape'.
Error E:/dcl/src/scene.ts (21,7): Variable declaration expected.
Error E:/dcl/src/scene.ts (21,8): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (21,9): ';' expected.
Error E:/dcl/src/scene.ts (21,9): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (22,19): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (22,20): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (23,7): Variable declaration expected.
Error E:/dcl/src/scene.ts (23,8): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (23,9): ';' expected.
Error E:/dcl/src/scene.ts (23,9): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (28,2): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (28,3): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (28,59): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (28,60): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (29,7): Variable declaration expected.
Error E:/dcl/src/scene.ts (29,8): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (29,9): ';' expected.
Error E:/dcl/src/scene.ts (29,9): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (30,2): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (30,3): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (31,2): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (31,3): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (32,2): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (32,3): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (33,2): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (33,3): An identifier or keyword cannot immediately follow a numeric literal.
Error E:/dcl/src/scene.ts (33,59): Numeric separators are not allowed here.
Error E:/dcl/src/scene.ts (33,60): An identifier or keyword cannot immediately follow a numeric literal.
bundling:
writing E:/dcl/bin/game.js
writing E:/dcl/bin/game.js.lib
The compiler is watching file changes...
Websocket closed
2022-11-27T21:29:47.651Z [DEBUG] (RoomsComponent): Disconnecting user {"room":"room-1","address":"0xb19faa30900f75a616224933692b6622cef09e85","alias":1,"count":1}
2022-11-27T21:29:47.652Z [DEBUG] (RoomsComponent): Destroying room {"room":"room-1","count":1}
2022-11-27T21:30:32.659Z [DEBUG] (LinearProtocol): Generating challenge {"challengeToSign":"dcl-0.m5dbw1pr7e9","address":"0x05e74a1e8597cf208b9da3fdc58b4aa792230fe4","alreadyConnected":"false"}
2022-11-27T21:30:32.702Z [DEBUG] (LinearProtocol): Authentication successful {"address":"0x05e74a1e8597cf208b9da3fdc58b4aa792230fe4"}
2022-11-27T21:30:32.703Z [DEBUG] (RoomsComponent): Connecting user {"room":"room-1","address":"0x05e74a1e8597cf208b9da3fdc58b4aa792230fe4","alias":2}
2022-11-27T21:30:32.704Z [DEBUG] (RoomsComponent): Creating room {"room":"room-1"}
Wondering if I did something wrong?
Thank you for supporting.
Best,
Aki
Hello!
Have you guys deleted server folder from the file?
I can't find POAP Handler.js
Can you upload the full POAP Booth folder, please?
It would be really nice of you if you can provide how to connect POAP handler.js and firebase API..
Looking forward to hear from you soon.
I am running Ubuntu 18.04.5.
Node.js v8.10.0
npm: 6.14.10
I have installed dependencies: npm i -g decentraland
For all the examples when I run dcl start
I get the following error:
/usr/local/lib/node_modules/decentraland/dist/cli.js:3
!function(t){var r={};function n(i){if(r[i])return r[i].exports;var o=r[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=r,n.d=function(t,r,i){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(i,o,function(r){return t[r]}.bind(null,o));return i},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=557)}([function(t,r,n){"use strict";n.r(r),n.d(r,"__extends"SyntaxError: Unexpected reserved word
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Any idea what is wrong?
Thanks for a great package and well written documentation. I have downloaded a sample museum template from the repo and trying to push it to the catalyst test server to check its working on the test env. As mentioned in the documentation I have tried publishing using the command -
dcl deploy --target peer-testing.decentraland.org
for which I'm getting an error like -
Check LAND permissions
You dont have permissions to update some of the coords
how can i overcome this issue and publish the models to a random co-ords on the test server ?
Is the discord WebSocket scene not working only for me? It stuck at 100% loading in multiple computers I tested.
I'm following the instructions to setup a POAP dispenser, but seem to be stuck at the stage where we transfer the POAP Event ID to the Decentraland POAP server.
I've tried using my own event ID, the one in the documentation (29108) and others from the POAP event listing page, but all seem to return "Event ID not found" on the Decentraland POAP server UI (https://poap.decentraland.org/).
Is the service down? Or am I doing something wrong?
Go here:
https://github.com/decentraland-scenes/Awesome-Repository#3d-modeling-for-decentraland
Notice the references to Google Poly in the 2nd and 3rd examples
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.