ASSS Questions - installing custom made modules with .h header files tcsoccerman - Tue Oct 30, 2007 9:10 pm Post subject: installing custom made modules with .h header files
I've made several modules that include a .h file. i have referenced off other files in the asss core and i think i have the coding part right. now, do i need to do something with these files are include it in a certain file. I think this because it compiles perfect, but will not load(gives an error when loading in asss). Ty.
Bak - Tue Oct 30, 2007 9:12 pm Post subject:
when you compile a module, you should get a .dll file (windows) or a .o/.so file (linux). Put that file in your modules directory, and load the module using ?insmod (see asss reference for command details).
tcsoccerman - Wed Oct 31, 2007 4:01 pm Post subject:
well i know that lol, i'm just saying theres a consistency that all the custom modules i made that have a .h file related to it does not load correctly, and custom modules without a .h are fine...
Cyan~Fire - Wed Oct 31, 2007 6:58 pm Post subject:
Well, I think it would help if you told us what error you're getting.
tcsoccerman - Wed Oct 31, 2007 9:38 pm Post subject:
it was a stupid mistake but i'll tell you my solution for future reference. The problem was i had an adkey variable for arenas, and when i loaded in MM_LOAD i had coding that said if adkey == -1, than return MM_FAIL, and i never said adkey = aman->... to say what arena it ==. just a stupid mistake that's all.