programmer needed (C-Script A8)

Posted By: preacherX

programmer needed (C-Script A8) - 10/05/11 20:50

Hi everyone!

I´m searching for a programmer who can create a plugin
for a C-Script project which can save and load from
special folders like "C:\Users\<username>\Saved Games".

Is here someone who can do that and what will it cost?

Beside that the programmer's name will also be shown in the credits. The project will be released soon!

You can also send me an e-mail: mschaefer(at)starlaxis.de

Thanks!
Posted By: Shadow969

Re: programmer needed (C-Script A8) - 10/05/11 21:08

pm'ed
Posted By: Quad

Re: programmer needed (C-Script A8) - 10/06/11 06:31

There is one on the wiki I have written long ago, it should work with c-script as well. You may check it out.
Posted By: preacherX

Re: programmer needed (C-Script A8) - 10/06/11 11:17

You mean this one:

http://www.opserver.de/wiki/index.php/Plugins#Special_Folders_Path_DLL

I tried it but have to admit that I have no idea how to
get it running with my project... frown
Posted By: MrGuest

Re: programmer needed (C-Script A8) - 10/06/11 12:28

The 'Saved Games' folder didn't exist before Vista so you may have some compatibility issues, why not just use Documents?
Code:
#include <acknex.h>
#include <default.c>
#include <windows.h>

void main(){
	char sPath[MAX_PATH];
	SHGetSpecialFolderPath(0, sPath, 5, false);
	printf("%s",sPath);
}

(Not sure if this'll work for c-script, it's a while since I've used it)
Posted By: preacherX

Re: programmer needed (C-Script A8) - 10/06/11 13:28


Thats the problem, it doesn't work with C-Script...
I cannot include windows.h in C-Script.

I also tried to convert my code to lite-c but it's just too big - about 50.000 lines.
Posted By: nomis23uk

Re: programmer needed (C-Script A8) - 10/09/11 20:56

Isnt their something in the Aums the OP can use. think its AUM 80 something if memory serves.
© 2024 lite-C Forums