Author |
Message |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Thu Jan 25, 2007 2:09 pm Post subject: adding modules |
 |
|
|
|
Could someone plz give me an example of how they would or how you should add a module in asss. i would just like to know what format, like should you add it in modules.conf and then put it in the conf foler, put it as and #include in arena.conf and then keep the file in default, etc.
ty |
|
Back to top |
|
 |
Animate Dreams Gotta buy them all! (Consumer whore)

Age:37 Gender: Joined: May 01 2004 Posts: 821 Location: Middle Tennessee Offline
|
Posted: Thu Jan 25, 2007 2:19 pm Post subject: |
 |
|
|
|
Well, first we have to know what module you're talking about. Generally, you put the .ddl(Windows) or .so(Linux) or .py(any system) in the /bin folder, and then add the name of the module in modules.conf. If it's a C module, you generally put the name of the module twice, like modulename:modulename. if it's Python, you'll have to load <py> modulename. Some modules, though, have to be attached. Others you may only have the source to, and you'll have to compile them. Anyway, what module you looking at? |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Thu Jan 25, 2007 3:31 pm Post subject: bounty rabbit |
 |
|
|
|
I'm trying to add bounty rabbit and maybe spree. bounty rabbit only came with a .conf, which is what i don't get. the spree doesn't, work, although maybe it's python, never thought of that. ty. |
|
Back to top |
|
 |
Animate Dreams Gotta buy them all! (Consumer whore)

Age:37 Gender: Joined: May 01 2004 Posts: 821 Location: Middle Tennessee Offline
|
Posted: Fri Jan 26, 2007 12:01 pm Post subject: |
 |
|
|
|
Did you get those off of Smong's site? I've used both of those before. for bounty rabbit, you'll first need to make sure pymod:pymod is uncommented(has no ;) in your modules.conf. Then add "<py> br" to the bottom of modules.conf, since it can't be ?insmodded. Then just add "BountyRabbit = 1" to your arena.conf, and start your server. It should work. For spree, you have to add "spree:spree" to the bottom of your modules.conf. You'll need a spree.conf(sample comes with the module), put this in /conf. I think this module needs to be attached, so on your AtttachModules setting in arena.conf, add a new line by adding a \ to the last line under AttachModules, then add spree, like this:
points_kill \
buy \
spree
Start your server, and it should be working now. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Fri Jan 26, 2007 12:33 pm Post subject: ty |
 |
|
|
|
yeh, that's what i pretty much did, so i tried your idea too and it didn't work. is there other files or something? coding is so specific and that's basically what i was wondering about. i kinda knew most of the stuff you said. ty anyways though. maybe i don't have complete file, maybe a url to smongs site? i got it from a forum that he wrote and attached the br.py file too. |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sat Jan 27, 2007 7:46 am Post subject: |
 |
|
|
|
Also the BountyRabbit = 1 setting should go in the [Misc] section of arena.conf.
Once you login to the server type ?lsmod and see if the modules have loaded correctly. To see if spree has correctly attached to the current arena type "?lsmod -a".
You can get all my modules from this page:
http://toktok.sscentral.com/ss-asss.html _________________ ss news  |
|
Back to top |
|
 |
Animate Dreams Gotta buy them all! (Consumer whore)

Age:37 Gender: Joined: May 01 2004 Posts: 821 Location: Middle Tennessee Offline
|
Posted: Sat Jan 27, 2007 1:56 pm Post subject: |
 |
|
|
|
In the .zip files, there should be a .txt file named after the module. This should tell you everything you need to know about how to install the module, Smong does a good job with them. If you still can't get it to load, post your .conf files and your error messages here so we can help. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Sun Jan 28, 2007 7:53 pm Post subject: where |
 |
|
|
|
where should <py> br be placed as in a folder, would "py" folder in "src" work? seems like a good choice, just making sure though. |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Tue Jan 30, 2007 7:09 am Post subject: |
 |
|
|
|
I've never seen that error before. Did you actually get the dll or just rename the file?
You should put python modules in the bin folder too (there's some there already, like fg_wz). |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Tue Jan 30, 2007 3:52 pm Post subject: |
 |
|
|
|
too or instead? |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Tue Jan 30, 2007 3:57 pm Post subject: |
 |
|
|
|
edit: i took the .so file and saved as .dll |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Tue Jan 30, 2007 4:16 pm Post subject: |
 |
|
|
|
Sweet, i got br to work by putting it in bin. ty. can't get spree to work though although like i said i just saved my spree.so as spree.dll |
|
Back to top |
|
 |
Samapico No, these DO NOT look like penises, ok?

Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Tue Jan 30, 2007 6:14 pm Post subject: |
 |
|
|
|
Quote: | i just saved my spree.so as spree.dll | I'm guessing that cannot work, if there are dll's available, get them _________________ (Insert a bunch of dead links here) |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Wed Jan 31, 2007 1:20 am Post subject: |
 |
|
|
|
LOL.
That's like one of my applications. It uses zlib, and they changed zlib.dll to zlib1.dll a while ago because the new version was incompatible. One of my users "Oh, I just renamed the old zlib.dll to zlib1.dll." WTF.
tc: Rule of computers. Don't rename things unless you know what you're doing (aka you know what the file is and the difference between extensions). _________________ 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 |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Wed Jan 31, 2007 1:01 pm Post subject: |
 |
|
|
|
lol, i don't care i'm quite a lot younger than you if you're age is correct so idc. i learn newthings every day. at least i know what .dll means->dynamic linking library oh yeah. lol i'll look for one i guess. maybe i'll post a new topic looking for one i dunno. ty for help cyan~fire. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
corvey Novice
Joined: Apr 02 2007 Posts: 40 Offline
|
Posted: Mon Apr 09, 2007 6:51 am Post subject: |
 |
|
|
|
nevermind |
|
Back to top |
|
 |
|