Author |
Message |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Sun Apr 06, 2003 8:18 pm Post subject: Extended tutorial |
|
|
|
|
i understand:
- I am not the most qulaified to write anything technical
- A simple module tutorial is available in /doc/, but it is incomplete, and says so straightforwardly
nonetheless, here it is. _________________ Signatures just seem so quaint.
the actual module .c file
Helicon.c - 6.56 KB
File downloaded or viewed 97 time(s)
here it is...comments please (constructive ones)
modbot tutorial.txt - 6.04 KB
File downloaded or viewed 136 time(s)
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Sun Apr 06, 2003 10:37 pm Post subject: |
|
|
|
|
Its bad form to register a callback and don't do anything in it. I recommend just putting a SendMessage in there displaying some of the info you get in it.
|
|
Back to top |
|
|
m/b Guest
Offline
|
Posted: Mon Apr 07, 2003 8:02 am Post subject: |
|
|
|
|
i know i know, but this isnt meant to work in and of itself... this way one can cut the callbacks one doesn't need and already have the others registered in correct form... thats the point... more is done for you than necessary
|
|
Back to top |
|
|
AlphaBoB Seasoned Helper
Gender: Joined: Aug 12 2003 Posts: 140 Location: Everywhere you want to be. Offline
|
Posted: Mon Sep 01, 2003 9:21 am Post subject: |
|
|
|
|
I get the code and all, but you said I have to compile as a .c (??) and I don't know what to compile the .c file into??
Tell me if I'm an idiot... I use Linux with the GCC compiler and in the server/bin folder there's lots of .SO files, is that what I compile into?
|
|
Back to top |
|
|
AlphaBoB Seasoned Helper
Gender: Joined: Aug 12 2003 Posts: 140 Location: Everywhere you want to be. Offline
|
Posted: Mon Sep 01, 2003 9:23 am Post subject: |
|
|
|
|
Wait, I think I just solved my problem... a Linux DLL file is named .so (i believe) so now all I need to know is
Do you need an extra option or anything on GCC to compile into an SO file? (linux dll)
|
|
Back to top |
|
|
Smong (on Linux) Guest
Offline
|
Posted: Mon Sep 01, 2003 3:32 pm Post subject: |
|
|
|
|
Have a look at the makefile that came with Asss, you should be able to get some clues from there.
|
|
Back to top |
|
|
|