[ARCHIVED] Warp - very fast & powerful networking library

you can try :Destroy()

ihjtigobirclpf

1 Like

I tried using this but it just stops my codeā€¦

I added some debugging and it stops printing after i require the Warp module from a local script.
image
image

How to fix?

1 Like

@Eternity_Devs Is there server-sided rate limiting available? Iā€™m able to easily circumvent the rate limit from the client which means that exploiters can too; or are we expected to use our own implementation?

1.0.12 has middleware feature, u can try that.

2 Likes

Yes, i would like to get the answer to the first question too.
I want to make remotes for each tool respectfully

Nevermind, After reading Warp source code, I understand how it works now.
@scel5525pro2 To your question about unique Remotes.

Iā€™m using this for a gun system, Iā€™m wondering on the gun client, do i need to do Network.client(ā€œRemoteā€ā€¦ Player.Name)?

Yes, you need to create an Index (aka Remote) with unique Identifier (aka Name) that is aviable on both Server and Client. Stuff like Warp.Server(GUN_NAME .. "_" .. Player.UserId) should work.
Also you must use :Destroy() on Indexes (aka Remotes) to Disconnect all Connections
However I have noticed that Indexes are not being Garbage Collected and stay in memory even after calling :Destroy()

Ive done remote.create yayadada(ā€œGunā€ā€¦Tool.Nameā€¦Client.Name)

I donā€™t know if it is a problem with me but sometimes some Signals are not registered on the client. I have tried different versions yet nothing seems to fix this issue.

Getting this issue too, itā€™s very annoying

seems like you dont require it on server side first.

Hi, @Eternity_Devs, I have encountered a bug in your module.
This bug never happened before, I tried switching to version 1.0.9 and version 1.0.12 but the error was still persistent.

screen_dev_forum_warp_1

I run this code in my script (local script) and I print the table t and the result is this:

screen_dev_forum_warp_client_1

But when I fire the table and other values to the server and I print the result I get this strange print:

screen_dev_forum_warp_server_1

Any help is appreciated thanks!

1 Like

is this always happens or just sometime? and have you also tried v1.0.11?

Whatā€™s inside table._items? Is it a mixed table?
If yes, then thatā€™s the issue :woman_shrugging:t2:

Always happens and no I did not try the v1.0.11, Iā€™m going to try it right now!

1 Like

Nope does not work either on v.1.0.11.

how is the .items table looks like?

@Eternity_Devs

This are the array items:

["_items"] = {
  [1] = Template --template is an instance (it's made for testing)
}

oh, you cant send instances to mixed table through remote eventā€™s

Ok thanks, now I will think about how to serialize the instance.

1 Like

yeah you can serialize the instance into tables as the data of property/attributes.