tryforge / ForgeCanvas

GNU General Public License v3.0
13 stars 4 forks source link

FC not working properly with user installed apps? #18

Closed Project-Econome closed 1 month ago

Project-Econome commented 1 month ago

right so here is the issue `module.exports = { data: { name: "book", description: "book", type: 1,

    integration_types: [1]
 },
code: `

$createCanvas[meow; $setCanvasSize[1000;2000] ] $drawImage[meow;./assets/page.jpg;0;0;1000;2000]

$attachCanvas[meow]

`

}`

Project-Econome commented 1 month ago

image

Project-Econome commented 1 month ago

<@1096717977304453160>

devlordduck commented 1 month ago

are you sure this is a forge.canvas issue?

Project-Econome commented 1 month ago

are you sure this is a forge.canvas issue?

im not too sure but idk if its a fc issue or a Forge issue so i just put it under fc its a user installed command

Project-Econome commented 1 month ago

are you sure this is a forge.canvas issue?

also if you dont know alr i have left discord but am still coding

devlordduck commented 1 month ago

works fine for me

Project-Econome commented 1 month ago

works fine for me

Hmm I'm not sure of the issue then can you help me?

Project-Econome commented 1 month ago

<@1096717977304453160> send me the code you used for me to test full code including module exports and also send me your index.js without token

devlordduck commented 1 month ago

$createCanvas[meow; $setCanvasSize[512;512] $fillStyle[;color;#FF0000] $drawRect[;fill;0;0;512;512] ] $attachCanvas[meow;rawr.png]

Project-Econome commented 1 month ago

interesting but i need the $drawImage[meow;./assets/page.jpg;0;0;1000;2000] part working

devlordduck commented 1 month ago

its not working?

devlordduck commented 1 month ago

meow

Project-Econome commented 1 month ago

its not working?

im not sure why its not working its a jpg file and its directory is is assets/page.jpg

devlordduck commented 1 month ago

any errors?

Project-Econome commented 1 month ago

also is forge canvas supposed to come witout src folder? in node modules

Project-Econome commented 1 month ago

any errors?

Unknown interaction on mine but works on your code but am going to test it on a command

Project-Econome commented 1 month ago

it all works except image function for some reason idk why

Project-Econome commented 1 month ago

wait i have found the problem its the way sizing is handled

Project-Econome commented 1 month ago

its a FC sizing issue not a me isssue

Project-Econome commented 1 month ago

try size 1000;2000

devlordduck commented 1 month ago

😐 nyaaa

Project-Econome commented 1 month ago

wat how is it working for you but not me -_-

devlordduck commented 1 month ago

skull issue

Project-Econome commented 1 month ago

ok anyways ty also if you need anything just send me a message in my git inbox

Project-Econome commented 1 month ago

also tell berk or aggelos to open up some sort of cross chatting page for forge so people who are github only like me now can open support tickets on a gh page

aggelos-007 commented 1 month ago

brother just why can't u use fking discord when literally the whole project is based on discord

Project-Econome commented 1 month ago

brother just why can't u use fking discord when u r literally the whole project is based on discord

im not on discord anymore -_- so i only read the errors i get in my logs an maintain my projects and hope for the best

Project-Econome commented 1 month ago

its like saying why make a mc based bot to get serveer data when i rarely/dont play minecraft its because i want to make a project for others to use and enjoy