vila4480's Recent Forum Activity

  • I fear that you're both talking of different things - and to be honest, I don't think you've solved Xeeko's problem. I also think it is basically the same as my own, so let me try and clarify my issue:

    I need to use local .txt files in my projects that keep changing by other apps accessing them.

    Simply put, I need to access local .txt files that are not embedded in the project whilst in preview mode. How would you do that?

    -Would real-time importing a file to the project be a solution? How do you do that?

    I had a couple of projects in Construct 2 where I was able to load the contents of a TXT file in preview, using NWjs or AJAX.

    This was easy and functional in Construct 2 - you had several ways of importing a file and read its contents. Now because of the way Construct 3 works (especially on preview that runs on "https://preview.construct.net", instead of localhost), it seems to fire up CORS policies - and it obviously won't access any files on the "construct.net" "folder".

    I also tried exporting the project but the embedded project txt files don't show up in the export folder at all. How would I edit them with an external editor?

    Please disregard security concerns or efficiency - this is for local usage in my own computer where no one else has access to - and my disks are fast enough for what I need.

    Please help!

    Thank you for your support!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Wow thank you so much for your reply!

    Such a trove of information. I will look into it and see if I manage to figure it out.

    I'll look into it!

    Thank you so much YoyoEleanor - you've been helping me out a lot lately! :)

  • why not only send health information when it changes

    Hey thank you for your reply!

    Well, it is supposed to be a set of stats that change all the time... and I read Ashley say somewhere that for that kind of thing its more reasonable to sync object variables - which I can't figure out how it works.

  • This is the current code for my peer side (which doesnt work):

    i.gyazo.com/c0ee6262b6f26ef03ff65cc93c1e1beb.png

    This is the host side:

    i.gyazo.com/fcfcd4d6bc24fbb8aec9363496b89b42.png

  • Hi guys, I know this sounds strange, but my project requires it and I can't figure out how it works!

    In my game, the host is handling all character movement and the peers only get character stats. The multiplayer connection is working just fine and I'm able to send messages from the peer to the host.

    However, I'd like to be able to sync the host's "peer-avatar-object"'s variables with the peer's avatar variables.

    All multiplayer tutorials that I found always consider the peer as an "emitter" that synchs with the host.

    I want it to be able to sync object variables just as if it was the host receiving them from the peers.

    I could use messages from the host to the peer, but as I understood, it isn't as effective nor practical for constant flows of info.

    In other words:

    My host handles a "Health" variable for each avatar. I would like to have the peers know what their "Health" is as frequently as possible.

    Tutorials only show how to send peer info to the host and let it update automatically via synch.

    How can I accomplish this?

    Thanks!

    -ViLa

  • Hi guys, I've been using rexrainbow's Firebase Authentication plugin.

    Unfortunately I seem to require that my clients always clear their browser's cache first before attempting to authenticate. Otherwise it doesn't put out an error message nor does it succeed.

    Nothing happens.

    No error message, no console notification, no connection.

    I'm not sure how to pursue and solve this issue... Any ideas?

    Thanks

    -ViLa

  • send you a message how

    Wow that's actually a great question! xD

    How did you add a link to your Twitter page on your profile?

    I can't seem to be able to find the option to add it to mine! Anyways my Twitter ID is vila4480_Twitch

  • I'm super frustrated with incomplete tutorials and documentation.

    I was going to post some screenshots here on how to solve this issue as I managed to figure it out on my own - but the forum decided it was not going to accept my pictures and scraped the whole post - so if anyone wants to know how to do it just send me a message.

  • Hello,

    Me too I met this problem, to add data and recover them only use the itembook plugin you will see that it's really cool! sorry for my english but i'm french ..

    Thank you for your quick reply. I've been trying to figure out ItemBook since you suggested it - but it seems pretty much the same as ItemTable and I wasn't able to get it to work properly.

    I'm thinking it might have to do with how the DB is structured with so many levels - so I'll be working on making a new database from scratch and trying this again.

    Thank you for your suggestion Myster62!

  • TLDR: how do I fetch value data from Firebase using ItemTable? I thought I knew... but it's not working and the tutorials aren't clear enough for this particular case! :(

    Hi guys, I'm super sad to hear that Rex has abandoned plugin support. Unfortunately, his documentation wasn't the best when it came to putting out extensive examples covering all actions - and the available tutorials (all my google links have been clicked!) are incomplete or only show half-solutions that don't apply universally.

    I'm currently trying to download info from my Firebase DB but I can't figure out how to do it considering my DB structure which goes as follows:

    DatabaseID
    	-items
    		-Requested_Login
    			Manuel: "Allowed"
    		-Session_Info
    			Game_Room: "GameRoomName"
    		-User_Info
    			-Antonio
    				HP: "100"
    				Speed: "500"
    			-Jake
    				HP: "85"
    				Speed: "250"
    

    Have I got too much depth in my DB?

    What I'm trying to do is to check whether or not a username is registered - and if so download all the info from this username's record.

    I managed to do the checks to figure out whether or not it was registered - and it seems to be working fine.

    Here's a picture of my current code:

    What I can't seem to figure out is simply how to download the HP value to a variable. I just can't understand what the sequence should be for Rexrainbow's ItemTable plugin.

    The problem is apparently simple: how to download HP values from Firebase?

    ALSO: I'm trying to avoid downloading the whole database each time I need to check a user's stats.

    Could someone please help me out?

    I didn't post the whole code here as I've tried and deleted all sorts of ItemTable combos to no avail but I'll give you more details if you require.

    You may also contact me on Discord: ViLa4480

    Thank you verrrrrrry much for your kind help!

  • Of course it works, since it's not about targeting the screen of the game itself, but rather the whole screen, which isn't this topic's subject :)

    The problem we're talking about is about Game capture or Window capture, and a lot of users won't ever go for the solution you've mentioned since it's really not optimal at all on the streamer's end.

    Sorry if I sent the wrong vibes - I was just sharing the only solution I found to be working well with my stream. But you're right - it isn't a good solution for most streamers!

  • It is highly doubtful that you will get a response from Rexx as he as essentially dropped support for his plugins.

    He hasn't really posted here for over 6 months, other than to give a Github link to his addons.

    Thank you for the notification A real shame that rexrainbow has given up.

    My games all rely on his amazing developments. Has he moved to a different platform?

    Are there any alternatives to his most popular plugins?

    Thanks

    -ViLa4480

vila4480's avatar

vila4480

Member since 29 Jan, 2013

None one is following vila4480 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies