vila4480's Forum Posts

  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • Apparently the bar was hiding to the left of my leftmost monitor. There was a 1 pixel vertical line that I managed to pull with my mouse cursor and the window stretched until I managed to grab and drag it.

    Seems like a simple solution but it was tricky as hell to spot where the window was at.

    Thanks anyway guys.

  • I saw other posts similar to this one but their problem was that they accidentally closed their properties window and wanted to get it back.

    Mine is open somewhere... just off-screen it seems!

    If I tick/untick/tickharder the tick button for the properties window nothing happens... what should I do?

    I'm trying to avoid reinstalling as I've got plenty of plugins installed. Is there a reset workspace button or file?

    Thanks!

    -ViLa4480

    EDIT: I am using a triple screen setup with DisplayFusion.. I tried disabling both but that didn't seem to fix it. My sprite editor is showing up on the wrong screen as well.

  • You do not have permission to view this post

  • I used OBS to record games I built for my twitch stream. I used display capture instead of game capture and it worked fine.

    twitch.tv/vila4480

  • Try Firebase, rex made plugins for it.

    This works wonders busydude thank you!

    It was relatively easy to set up in the Firebase backoffice.

    I bought an example .capx from the Scirra store that wasn't that good (too messy!!) but I believe it to be the only one available.

    Took me a day and a half but I just modified the login system enough to suit my needs and I'm currently adding leaderboards and everything seems easy and smooth now.

    Again, thanks for your suggestions guys!

  • vila4480

    Why post in a 2 year old Construct Classic thread, using an example not even using CC - your example is likely C2.

    Terribly sorry - I noticed the thread was old but the issue still current.

    I didn't notice it was Construct Classic and for that I apologise!