Author |
Message |
Initrd.gz Seasoned Helper
Joined: Sep 18 2008 Posts: 134 Location: Over there ---> Offline
|
Posted: Fri Nov 28, 2008 12:49 pm Post subject: Why does this not work? |
 |
|
|
|
I tried making a python module to spec/kick players, but pymod gives me a "error loading module" error message when I try to ?insmod it. Can someone tell me what I am doing wrong? (PS I added some debug stuff that sends arena messages)
afk.py - 6.18 KB
File downloaded or viewed 36 time(s)
|
|
Back to top |
|
 |
Adam01 Novice
Joined: Oct 03 2008 Posts: 51 Offline
|
Posted: Fri Nov 28, 2008 12:58 pm Post subject: |
 |
|
|
|
Is there something wrong in the module?
|
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Nov 28, 2008 10:49 pm Post subject: |
 |
|
|
|
try to load a blank python module that does nothing. If that works start commenting stuff out of your code (starting with the module load part) until it works. Chances are some required interface is missing (because the proper module is not loaded) _________________ 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: Sat Nov 29, 2008 12:08 pm Post subject: |
 |
|
|
|
i saw mm_attach and mm_detach, but shouldn't their be load and unload functions as well?
|
|
Back to top |
|
 |
Initrd.gz Seasoned Helper
Joined: Sep 18 2008 Posts: 134 Location: Over there ---> Offline
|
Posted: Sun Nov 30, 2008 6:16 pm Post subject: |
 |
|
|
|
tcsoccerman wrote: | i saw mm_attach and mm_detach, but shouldn't their be load and unload functions as well? | The tutorials on the wiki did not say anything... And I have the "todo" list module loaded and it works.
Yeah, I will try commenting stuff out I guess... and maybe run it through SPE for syntax errors.
|
|
Back to top |
|
 |
Chambahs Power attack

Joined: Jun 19 2005 Posts: 820 Offline
|
Posted: Fri Dec 05, 2008 2:34 am Post subject: |
 |
|
|
|
The todo list was thought up by yours truly. (waits for this to get junked)
|
|
Back to top |
|
 |
|