ffrostfall
(ffrostfall)
August 17, 2022, 11:01pm
#87
Yeah unfortunately tuples with nil would result in a massive amount of data being taken
Tysm for the compliments though! Iāll definitely add in your case to the documentation.
EDIT: Nil parameters will likely be supported in the next update- I can just make it an identifier.
2 Likes
it look likes BridgeNet.CreateBridgesFromDictionary
doesnāt work and doesnāt exist but in the api it does
Iām using the newest version
1.6.5-beta
of the module.
2 Likes
ffrostfall
(ffrostfall)
August 19, 2022, 6:38pm
#89
Think this might be due to a version mis-match, try updating to 1.7.5?
2 Likes
ffrostfall
(ffrostfall)
August 20, 2022, 1:23am
#90
1.8.5-beta
Get it here or from the Roblox marketplace .
Added better performance profiling
Added ExceededTimeLimit signal
Added InternalError signal (Unused for now)
Added server-sided middleware (no typescript support yet, sorry ): [UNSTABLE]
Added :SetMiddleware()
Added :AddMiddleware()
Middleware will be added to the client soon enough
Added .CreateIdentifiersFromDictionary
Added .WaitForIdentifier, client-sided only.
ReceiveLogFunction and SendLogFunction are now stable and ready to be used
Fixed symbols for roblox-ts(?)
Improved typings for Luau
Better error handling
Whatās up next?
Rate limiting (most likely in the next update!)
Better API for ācentralizingā your Bridge objects (e.g. adding middleware in .CreateBridgesFromDictionary
)
Typechecking
Preset middleware functions. Youāll be able to pick and choose what you want! These presets will most likely include compression techniques.
Better error handling and logging- pretty much debug modes.
Potentially HttpService utils.
4 Likes
ffrostfall
(ffrostfall)
August 20, 2022, 2:04pm
#92
1.8.6
Small update. Get it here or from the Roblox marketplace .
You can now pass nil in as an argument and it will be nil (Thank you @Bailyeatspizza )
1 Like
ffrostfall
(ffrostfall)
August 20, 2022, 7:22pm
#95
1.9.8-beta
Get it here or from the Roblox marketplace .
Switched for loops to be generics for consistency. This should help performance.
Switched time limit to be .5 milliseconds
Fixed Bridge:Destroy()?
Type improvements
BridgeNet.Started has been added
Middleware fixes. Should be stable now!
2 Likes
Iām having a problem converting to newer versions specifically anything after the default send/receive rates. I keep getting [BridgeNet] waiting for (Deposit) to be replicated to the client. When it never said that before and I canāt seem to figure out why because when I switch back to the older version it seems to work.
1 Like
ffrostfall
(ffrostfall)
August 20, 2022, 9:22pm
#97
Can you give me more info? This doesnāt mean much alone. What is āDepositā in this case? Is it a bridge?
Yes Itās a bridge. I started the client bridges on a local script in replicated first. I create bridges on both server and client but it says itās waiting for it to be replicated to the client.
2 Likes
ffrostfall
(ffrostfall)
August 20, 2022, 9:59pm
#99
Can you check the AutoSerde
folder? There should be an instance with your bridgeās name.
1 Like
Itās infinite yielding for the folder, I saw it but didnāt know what AutoSerde was for until you mentioned it.
2 Likes
ffrostfall
(ffrostfall)
August 20, 2022, 10:33pm
#101
You need to call BridgeNet.Start on not-replicated-first I guess?
I recommend single-script architecture. I have no idea what calling BridgeNet in ReplicatedFirst will do.
Thank you I appreciate you for the help!
1 Like
Hey, I donāt know why but Iām having this issue and itās breaking my script.
And it wont transfer any information to the server.
On the start of the script I define all the variables I need, including the bridge which isnāt replicated.
CLIENT ^
SERVER ^
No other bridge is having this issue and itās the only part of my script not working (when I use the āPlaceBlocksā bridge
The client script is in StarterGUI and itās always being loaded in, so how is the bridge not replicating?
Yes, I updated to version 1.9.8 Beta
Whatās the issue? Iāve been stuck on this for hours.
Also, sometimes the bridge gets replicated on rare occasions, itās very inconsistent.
2 Likes
Hey, what did you do āincorrectlyā? from my tests by just running the script in a loop I have found that BridgeNet is slightly slower.
commitblue
(commitblue)
August 21, 2022, 11:27am
#105
correct me if im wrong, but this module isnt for optimizing speed, but rather recieve data and send data because roblox remotes are old and sends so much data (even if your sending a simplr string)
1 Like
I mean, looking at Send and Recv the difference is almost none, and ping is if not higher using Bridge.
I would really like to use this module but I donāt exactly know if this has a certain āuse caseā or I am not testing it properly.
I had the same problem and I went back to version 1.5.5 and messed with the BridgeNet codes, the error stopped and the variables go straight to AutoSerde, everything working just fine. But I recommend waiting for the new update.
You have to call start BridgeNet.Start
on the server too.
1 Like