GTACoop icon indicating copy to clipboard operation
GTACoop copied to clipboard

Trying Side Scripting

Open excelsi0r opened this issue 9 years ago • 13 comments

Hello.

I am attempting to create a simple FilterScript to run at startup allongside the Server. But I am having a problem when I load the Server. It says:

Can't start server: Could not load file or assembly 'ScriptHookVDotNet.dll' or one of its dependencies. The specified module could not be found.

Is there Some sort of impossibilty to create filterscripts using the ScriptHookVDotNet.dll library/dependency?

BTW excellent work so far developing this outstanding project. Best Regards and thank you for your suport.

excelsi0r avatar Jul 31 '16 18:07 excelsi0r

You need to reference the library in Visual Studio: image

Bluscream avatar Aug 01 '16 02:08 Bluscream

That is what i thought first. And it didnt work. The final .dll file has scripthookvdotnet referenced but still gives the error. Does the GTAServer.exe also needs to have that reference in order for its filterscripts to use?

excelsi0r avatar Aug 01 '16 03:08 excelsi0r

image

Bluscream avatar Aug 01 '16 07:08 Bluscream

I explored the project a bit and i think I will manage. Just one more question when i am using the SendNativeCallToPlayer what do I need to do to save the returned information if that native call returns information?

excelsi0r avatar Aug 02 '16 02:08 excelsi0r

@excelsi0r https://gitter.im/crosire/scripthookvdotnet

Bluscream avatar Aug 02 '16 05:08 Bluscream

It is pratically impossible regarding the architecture of the mod. But thanks anyway xD

excelsi0r avatar Aug 02 '16 16:08 excelsi0r

I am currently trying to World Design using scripting. But I am strugling with Rotations. Do you have any idea on how to Edit a map and share it in a Gta Server in Gta Coop with myself being the hoster of the server?

If you don't know, just tell me as soon as you can so I can embark a new project! Thank you

excelsi0r avatar Aug 02 '16 18:08 excelsi0r

same problem, and have no clue how to fix it. :(

un3xxx avatar Sep 02 '16 22:09 un3xxx

I don't think there is a way to fix it. I studied all the code of GTACoop, both server and client, scripthookV scripthookVdotnet and Map editor and I don't believe it is possible regarding the architecture of the mod. It is something that the developer should have accounted for in the begining of development. I also heard that the original developer steped down on this one and is creating a new one from scratch, lets just hope he remembers this kind of details when coding. Until then we just wait and hope for the best.

excelsi0r avatar Sep 03 '16 01:09 excelsi0r

thanks excelsi0r for the answer. you might know why my lspdfr crash when i start it in coop.? cuz the coop mod work fine whitout any script. i check youtube and peaple playing that mod together. :/ lspdfr crash

un3xxx avatar Sep 03 '16 10:09 un3xxx

Sorry un3xxx can't help you that. I have no idea how that that LSPD mod is projected :/

excelsi0r avatar Sep 23 '16 17:09 excelsi0r

@un3xxx Use https://discord.gg/0v9TP1BOmfwZms7y or http://forums.ragepluginhook.net/default.aspx?g=topics&f=12&name=Technical%20Issues

Bluscream avatar Sep 27 '16 12:09 Bluscream

thanks. =)

un3xxx avatar Sep 27 '16 17:09 un3xxx