Author |
Message |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: 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. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: 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). _________________ SubSpace Discretion: A Third Generation SubSpace Client |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: 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... |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Wed Oct 31, 2007 6:58 pm Post subject: |
 |
|
|
|
Well, I think it would help if you told us what error you're getting. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: 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. |
|
Back to top |
|
 |
|