Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot General Tech How to create a SAMP client in node js?

 
  • 0 Vote(s) - 0 Average
How to create a SAMP client in node js?
goldprince
Offline

Burgershot Member
Posts: 6
Threads: 2
Joined: Jan 2021
Reputation: 0
#1
2021-01-30, 11:34 AM
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,
kemper
Offline

Burgershot Member
Posts: 6
Threads: 0
Joined: Dec 2020
Reputation: 0
Location: Kyiv, Ukraine
#2
2021-01-30, 12:47 PM
You can try with this package.
goldprince
Offline

Burgershot Member
Posts: 6
Threads: 2
Joined: Jan 2021
Reputation: 0
#3
2021-02-01, 05:57 AM
(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,
iAmir
Offline

open.mp Developer

Posts: 22
Threads: 0
Joined: Feb 2019
Reputation: 4
Location: Iran
#4
2021-02-01, 06:11 AM
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
goldprince
Offline

Burgershot Member
Posts: 6
Threads: 2
Joined: Jan 2021
Reputation: 0
#5
2021-02-01, 09:56 AM
(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,
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode