SEServerExtender / EssentialsPlugin

Dedicated Essentials Plugin
GNU Lesser General Public License v3.0
18 stars 18 forks source link

Compiling Server Essentials #21

Closed Ragnar24 closed 8 years ago

Ragnar24 commented 9 years ago

Hey dodexahedron,

If you have time, I could use help with finding the directory for SEMod.api.utility this is the only reference I need to be able to compile server essentials.

My plan is to dig through and find out how and why the turret management is not working.

I have looked through SE Server Extender and Essentials files from Tyrsis, you, chess, etc. And I have not been able to find a Utility under that directory.

Thanks in advance, Ragnar

dodexahedron commented 9 years ago

You need to reference semodapi.dll, semodapionternal.dll, and semodapiextensions.dll from extender. Those are the files essentials is looking for.

-----Original Message----- From: "Ragnar24" notifications@github.com Sent: ‎4/‎18/‎2015 5:44 PM To: "SEServerExtender/EssentialsPlugin" EssentialsPlugin@noreply.github.com Subject: [EssentialsPlugin] Compiling Server Essentials (#21)

Hey dodexahedron, If you have time, I could use help with finding the directory for SEMod.api.utility this is the only reference I need to be able to compile server essentials. My plan is to dig through and find out how and why the turret management is not working. I have looked through SE Server Extender files from Tyrsis, you, chess, etc. And I have not been able to find a Utility under that directory. Thanks in advance, Ragnar — Reply to this email directly or view it on GitHub.

Ragnar24 commented 9 years ago

Thank you for the fast reply.

I already have those files added but for the Core.cs file I'm getting this error:

Error 6 The type or namespace name 'Utility' does not exist in the namespace 'SEModAPI.API' (are you missing an assembly reference?)

on line 34: using SEModAPI.API.Utility

Is there something else that i'm missing other than what's been mentioned above? Or do I have the wrong version of Essentials?

I am using SESE v1.74.10.288-alpha and Essentials v1.11.1.2386

dodexahedron commented 9 years ago

You should be using the current version of SEServerExtender and EssentialsPlugin from github. Here's the easiest way to get up and running.

Check both projects out into the same root folder. ie c:\Dev\SE\ You will then end up with c:\Dev\SE\EssentialsPlugin and c:\Dev\SE\SEServerExtender

Next, compile SEServerExtender in x64 release mode in visual studio (the project configuration of Essentials looks in that particular output path).

Next, open up EssentialsPlugin and you should be able to build.

I just repeated those steps on this machine and it worked. Let me know how you fare.

zrisher commented 9 years ago

@dodexahedron's info above should be placed in the readme under "Installation" where it talks about compiling from source.

dodexahedron commented 9 years ago

It'll go on the wiki. I'll probably put that on the readme.md here, as well.

zrisher commented 9 years ago

By that you mean this wiki right? That would be great, yes please.

Github has project wikis, moving to that format could possibly save you some time maintaining that site in the long run.