Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
installing custom made modules with .h header files

 
Post new topic   Reply to topic Printable version
 View previous topic  NPCs Post :: Post BulletSpeed  View next topic  
Author Message
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Oct 30, 2007 9:10 pm    Post subject: installing custom made modules with .h header files Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Tue Oct 30, 2007 9:12 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Wed Oct 31, 2007 4:01 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Oct 31, 2007 6:58 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Wed Oct 31, 2007 9:38 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 25 page(s) served in previous 5 minutes.

phpBB Created this page in 0.422053 seconds : 29 queries executed (94.3%): GZIP compression disabled