Gothic Online Forums
Developing mudules for Gothic Online - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Scripting Help (https://archive.gothic-online.com/forum-12.html)
+--- Thread: Developing mudules for Gothic Online (/thread-238.html)

Pages: 1 2


Developing mudules for Gothic Online - Kladvey - 25.12.2015

Hello my friends, my name is Vladimir. I have question for developers Gothic Online.
I'm learning Squirrel syntax, and sometimes read Wikipedia Gothic Online (data functions for create system).
I want create new system (new modules (gui, npc, bots)). How me this do?
What me need download for developing new modules for Gothic Online? I'm know C++ (basic - console application).
And last question..
How me get more information on (functions, constants - Gothic Online)? Wikipedia infrequently updates. Thank very much!


RE: Developing mudules for Gothic Online - Bimbol - 25.12.2015

Hi, I will upload project for module after christmas. I will fill missing article on wiki, but I need time.


RE: Developing mudules for Gothic Online - Xardas0327 - 29.05.2016

It isn't uploaded, is it?
Or just I am blink.


RE: Developing mudules for Gothic Online - Nubzior - 29.05.2016

Here you are, its my project for File Loader, build in Visual Studio 2015.

https://mega.nz/#!fUB11YZb!u6GVImRrzzSs-c2bMOx9qXlaHXJd6ogAWtGXHRsXgXo


RE: Developing mudules for Gothic Online - Xardas0327 - 04.06.2016

Is a nud file created with c++?
Okay.
Can I created nud file from nut file?
I created a class, which I want to use in client and server, but firstly I won't use c++, if it mustn't.
And i don't wanted to copy the script into client and server.


RE: Developing mudules for Gothic Online - Bimbol - 04.06.2016

(04.06.2016, 08:54)Xardas0327 Wrote: Is a nud file created with c++?
Okay.
Can I created nud file from nut file?
I created a class, which I want to use in client and server, but firstly I won't use c++, if it mustn't.
And i don't wanted to copy the script into client and server.
You can't, nud file is dynamic link library not a script.


RE: Developing mudules for Gothic Online - Xardas0327 - 18.06.2016

I tried to create a modul in code::blocks.
But I have error: WinMain@16
The error is, that I haven't main function.
How can i compile it?
(29.05.2016, 17:21)Nubzior Wrote: Here you are, its my project for File Loader, build in Visual Studio 2015.

https://mega.nz/#!fUB11YZb!u6GVImRrzzSs-c2bMOx9qXlaHXJd6ogAWtGXHRsXgXo

With Visual Studio 2015 Your project is work. But I try create small module, but I have a error.

Error (active) argument of type "char *" is incompatible with parameter of type "const SQChar *" 
What did you do that it work?


RE: Developing mudules for Gothic Online - Bimbol - 26.06.2016

Change char* to const char*


RE: Developing mudules for Gothic Online - Xardas0327 - 26.06.2016

(26.06.2016, 16:15)Bimbol Wrote: Change char* to const char*

Sry bad error.
Here which I want.
Error (active) argument of type "const char *" is incompatible with parameter of type "const SQChar *"

I try that I create a new project and I just add every file/folder from File loader, but the error is same.


RE: Developing mudules for Gothic Online - Bimbol - 26.06.2016

Maybe show some of your code. But const char* should be compatible with const SQChar*.