Vice City: Multiplayer

Server Development => Scripting and Server Management => Snippet Showroom => Topic started by: Rhytz on Nov 20, 2016, 09:09 PM

Title: Lu Php/websdk
Post by: Rhytz on Nov 20, 2016, 09:09 PM
Hi there,

VCMP may already have a similar solution for this, but I have created a SDK for Liberty Unleashed (http://forum.liberty-unleashed.co.uk/index.php?topic=2701) that allows your server and website to easily communicate with each other. I'm sure it can be easily ported to work with VCMP as well, since both mods are so similar.  Or it might at least contain some useful code snippets and concepts, so I thought I might as well post it here.

Check out the project on GitHub (https://github.com/Rhytz/LU-WebSDK)

Feel free to contribute/fork.



Title: Re: Lu Php/websdk
Post by: KAKAN on Nov 21, 2016, 03:41 AM
By the looks of the nut file, I think you won't need to port it.
And for the PHP part( which I ofc didn't read ), this can be used:- http://pastie.org/9501000
:edit: Looks like the PHP part requires no edit too :)
And, good job!
Title: Re: Lu Php/websdk
Post by: Anik on Dec 02, 2016, 10:57 AM
When I visit sample.php the server crashes but no error.