• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a SAMP client in node js?
#1
Hello, I want to know, Is there any library or way to create a SAMP (San Andreas Multi Player)?client in?node js, I am working in?node js and I want to create a SAMP client.

Thank You,
  Reply
#2
You can try with this package.
  Reply
#3
(2021-01-30, 12:47 PM)kemper Wrote: You can try with this package.



Hello, Thank you for the package, I've tried it but I think I am doing something wrong, I can see "Connected" message on my console but?no incoming request on my server, If you have any?reference for this lib please share.



Thank You,
  Reply
#4
You have to make your own RakNet lib bindings for JS

because the one linked above is for latest RakNet and samp is using a very old version of it, v2.x

You have to find that, for example 2.5, and create a JS wrapper around it, then use that to connect to samp server, you can always check RakSAMP and see how the logic is done after creating that said wrapper
  Reply
#5
(2021-02-01, 06:11 AM)iAmir Wrote: You have to make your own RakNet lib bindings for JS

because the one linked above is for latest RakNet and samp is using a very old version of it, v2.x

You have to find that, for example 2.5, and create a JS wrapper around it, then use that to connect to samp server, you can always check RakSAMP and see how the logic is done after creating that said wrapper



Hi iAmir, Thank you for your response, The problem is, I am not familiar with JS bindings, nor CPP, This is why, I am here.



If you know any other way to archive this or you have a solution, Please share.



Thank You,
  Reply


Forum Jump: