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
python questions

 
Post new topic   Reply to topic Printable version
 View previous topic  Settings. Post :: Post Object packet handling (binary)  View next topic  
Author Message
Guest



Offline

PostPosted: Sat Mar 25, 2006 7:21 am    Post subject: python questions Reply to topic Reply with quote

1: im having some issues with the commands. i copied the really basic example from wiki and it doesnt work. ?help t1 works though. the weird part is that i have the watchgreen module set to load at startup and the ?watchgreen works fine. then i tried switching the 't1' to 'watchgreen' and it worked. does that mean the module needs to be loaded at startup if i want the commands to work?

2: in core.h (Ifreqman interface) it says you can stop people from changing ships with some of the functions and it has some python comments there. does that mean i can do that with python too? if so, i have no idea how and could use some assistance tongue.gif

3: is it possible to access some of the commands from python. mainly i was wondering if it was possible to call ?gamerecord from python.

thanks
Back to top
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Mar 25, 2006 8:15 am    Post subject: Reply to topic Reply with quote

Quote:
# note: add cmd_moo to conf/groupdef.dir/default so players have permission to
# use this command.
Did you follow those instructions? Add cmd_t1 to default.

The freqman stuff, there is an fm_password.py that comes with asss you can look at as an example. Note this "chains" freq managers. In the attach modules setting of your arena.conf make sure fm_normal attaches before fm_password (or whatever you make).

Controlling the record module from py isn't possible with vanilla asss. You can however get someone to add an interface to it for you and recompile the pymod and record modules. Unless you own the server you probably want to find the person that manages it and get them to do it for you.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Guest



Offline

PostPosted: Sat Mar 25, 2006 9:19 am    Post subject: Reply to topic Reply with quote

alright, thanks! and sorry for being blind : P
Back to top
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: 19 page(s) served in previous 5 minutes.

phpBB Created this page in 0.785602 seconds : 26 queries executed (97.6%): GZIP compression disabled