SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Plugin Development (https://forum.sa-mp.com/forumdisplay.php?f=18)
-   -   [Plugin] SKY - Slice's fork of kurta999's fork of YSF (https://forum.sa-mp.com/showthread.php?t=563442)

Richie© 07/01/2016 09:45 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Anyone having problem with OnVehicleSpawn not getting called when using this plugin?

ajwar 08/01/2016 10:15 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Richie© (Post 3638147)
Anyone having problem with OnVehicleSpawn not getting called when using this plugin?

I have also this problem :) . It may be even wep-config include. It's called but vehicleid is 0.

Richie© 08/01/2016 10:56 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by ajwar (Post 3638393)
I have also this problem :) . It may be even wep-config include. It's called but vehicleid is 0.

Its not called for me at all, i placed a print on top of the callback. No print when i respawn a vehicle ig.
I noticed this coz inside OnVehicleSpawn it applies mods for the cars. This fails in 2 servers with different scripts after WC ans SKY.

I took a quick look in WC.inc in OVS cb, but i couldnt see anything that could bug it from there, might be wrong..

This happends on debian and when i tested locally on windows.

Slice 08/01/2016 11:28 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
That's strange.. Do you use YSF?

Richie© 08/01/2016 12:17 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Slice (Post 3638425)
That's strange.. Do you use YSF?

No, when i used ysf and sky it caused crash, so i removed ysf so i could use this.

Edit:
This was caused by weapon-config.inc and was solved by Slice.
Could you put GetPlayerSurfingPlayerObjectID into this? Its one of the things i miss from YSF and cant use anymore along with SKY.

YouServ 10/01/2016 10:16 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Thanks for share but where is the LINUX VERSION ?

Slice 10/01/2016 02:04 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by YouServ (Post 3639523)
Thanks for share but where is the LINUX VERSION ?

Code:

git clone https://github.com/oscar-broman/SKY.git
cd SKY
make


kurta999 18/01/2016 06:28 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Im curious why you use that c method for subhook instead of c++ (like how i use in ysf and how its in zeex example)?

Slice 18/01/2016 09:00 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
The c++ method kept crashing when the server gracefully shut down, if I remember correctly.

I think Zeex fixed that problem by now, though.

kurta999 20/01/2016 09:40 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Looks like subhook doesnt like when two plugin hooks the same function. I would like to add support for ysf & sky at same time, so i think i will disable GetPacketId hook in ysf when sky loaded and then both plugin will work. Ysf wont lose too much if i disable that hook, not like sky


All times are GMT. The time now is 05:19 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.