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
Why does this not work?

 
Post new topic   Reply to topic Printable version
 View previous topic  Help/Notify module Post :: Post ASSS help  View next topic  
Author Message
Initrd.gz
Seasoned Helper


Joined: Sep 18 2008
Posts: 134
Location: Over there --->
Offline

PostPosted: Fri Nov 28, 2008 12:49 pm    Post subject: Why does this not work? Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Adam01
Novice


Joined: Oct 03 2008
Posts: 51
Offline

PostPosted: Fri Nov 28, 2008 12:58 pm    Post subject: Reply to topic Reply with quote

Is there something wrong in the module?
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


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

PostPosted: Fri Nov 28, 2008 10:49 pm    Post subject: Reply to topic Reply with quote

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
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: Sat Nov 29, 2008 12:08 pm    Post subject: Reply to topic Reply with quote

i saw mm_attach and mm_detach, but shouldn't their be load and unload functions as well?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Initrd.gz
Seasoned Helper


Joined: Sep 18 2008
Posts: 134
Location: Over there --->
Offline

PostPosted: Sun Nov 30, 2008 6:16 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Fri Dec 05, 2008 2:34 am    Post subject: Reply to topic Reply with quote

The todo list was thought up by yours truly. (waits for this to get junked)
Back to top
View users profile Send private message Add User to Ignore List
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: 46 page(s) served in previous 5 minutes.

phpBB Created this page in 0.698805 seconds : 31 queries executed (96.6%): GZIP compression disabled