SA-MP Forums Archive
[Plugin] SKY - Slice's fork of kurta999's fork of YSF - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] SKY - Slice's fork of kurta999's fork of YSF (/showthread.php?tid=563442)

Pages: 1 2 3 4 5


Re: SKY - Slice's fork of kurta999's fork of YSF - Ha$H_Sexyboy - 25.06.2015

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
Here is compiled version for linux (Compiled on Ubuntu 12.04 LTS) http://negative-iq.tk/sky/
NOTE: That is not official release, its just compiled by me. (At least while slice does not upload his release to github).

EDIT: Just compiled for windows. Compiled on Windows 7 32bit with Visual Studio 2012.
Link is the same http://negative-iq.tk/sky/
Thanks alot!


Re: SKY - Slice's fork of kurta999's fork of YSF - Yashas - 03.07.2015

Quote:
Originally Posted by Slice
Посмотреть сообщение
That won't work because the VM checks if addresses are within itself.
What about the indexes returned by amx_FindPublic?


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

Quote:
Originally Posted by Yashas
Посмотреть сообщение
What about the indexes returned by amx_FindPublic?
You can never actually traverse into the memory space of another AMX, at least not for executing code. You could make functions to (almost) directly read variables there, but that's about it.
If you find a way to run the bytecode of a function from another AMX, references to variables and such will get completely mixed up and further calls to other functions will result in access violations.


Re: SKY - Slice's fork of kurta999's fork of YSF - Yashas - 03.07.2015

Is it possible to store all the AMX Instances in a vector of Multiple Indirection pointers? And use that pointer as the argument to amx_Exec/amx_FindPublic?


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

Why would you want to do that?


Re: SKY - Slice's fork of kurta999's fork of YSF - mirou123 - 06.07.2015

I compiled this myself and it is causing the server to crash when I login. And I found out that this problem will happen just by placing SKY.dll in your server.cfg even if you don't use any of its functions. I saw other people have the same problem so could you please fix it?


Re: SKY - Slice's fork of kurta999's fork of YSF - Xeonmeister - 10.07.2015

Could someone please tell me how to make this plugin work? I downloaded the plugin for the weapon-config that requires this and the only thing i see is a bunch of files which i don t know where to put.
Sorry for this stupid question.


Re: SKY - Slice's fork of kurta999's fork of YSF - amirab - 11.07.2015

Quote:
Originally Posted by Xeonmeister
Посмотреть сообщение
Could someone please tell me how to make this plugin work? I downloaded the plugin for the weapon-config that requires this and the only thing i see is a bunch of files which i don t know where to put.
Sorry for this stupid question.
if you meant sources in github , you should compile it and receive output as .dll file


Re: SKY - Slice's fork of kurta999's fork of YSF - Xeonmeister - 11.07.2015

How can i compile it?


Re: SKY - Slice's fork of kurta999's fork of YSF - nickdodd25 - 18.07.2015

Just curious why isn't there any precompiled versions in the release section on github? Would be nice to have a precompiled windows if possible.


Re: SKY - Slice's fork of kurta999's fork of YSF - Abagail - 18.07.2015

I've compiled it for you:
https://evanabagail.net/files/SKY.dll


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

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


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

Perhaps they could detect eachother and share the hook somehow?

The best solution will probably be to create and issue and write "@Zeex help us!" He will come up with a really clever solution in 5 minutes, which would takes us 5 hours.


Re: SKY - Slice's fork of kurta999's fork of YSF - codectile - 04.02.2016

I am quite new to this field, but still I would like to share my thought on this issue. You could export the hooked function in YSF and use GetProcAddress(in Windows, of course) to use the hooked function in SKY.


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

We should do it in both plugin, then the load order wouldn't matter. I'll try it, this is good idea.


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

This problem has been solved finally: https://github.com/kurta999/YSF/comm...6b4a649a9a3b6b


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

Nice


Re: SKY - Slice's fork of kurta999's fork of YSF - iKarim - 12.02.2016

Where to get the linux version of this? I tried downloading from github and its for windows. Tried searching for it but no results. Can't use weapon-config without this plugin so can someone compile it to linux and give me link?


Re: SKY - Slice's fork of kurta999's fork of YSF - supernerd2000 - 17.02.2016

I compiled this plugin for Linux, link here: https://mega.nz/#!7ZwWwTbA!6tJjth4ft...lEutd0Pp1TF4rU


Re: SKY - Slice's fork of kurta999's fork of YSF - Ha$H_Sexyboy - 29.02.2016

Код:
[00:30:55] [debug] Server crashed while executing LSGWv4.amx
[00:30:55] [debug] AMX backtrace:
[00:30:55] [debug] #0 00000029 in ?? (... <8 arguments>) at <unknown file>:0
[00:30:55] [debug] #1 00000029 in public OnPlayerWeaponShot () at <unknown file>:0