[Plugin] SKY - Slice's fork of kurta999's fork of YSF
#21

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!
Reply
#22

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?
Reply
#23

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.
Reply
#24

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?
Reply
#25

Why would you want to do that?
Reply
#26

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?
Reply
#27

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.
Reply
#28

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
Reply
#29

How can i compile it?
Reply
#30

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.
Reply
#31

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

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
Reply
#33

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.
Reply
#34

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.
Reply
#35

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

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

Nice
Reply
#38

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?
Reply
#39

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

Код:
[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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)