Server Help

ASSS Questions - adding modules

tcsoccerman - 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
Animate Dreams - 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?
tcsoccerman - 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.
Animate Dreams - 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.
tcsoccerman - 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.
Smong - 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
Animate Dreams - 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.
tcsoccerman - 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.
tcsoccerman - Sun Jan 28, 2007 8:06 pm
Post subject: .dll?
Well, i found part of the problem(for spree) which was i run windows and i had .so file instead of .dll, but then when i ran my asss.bat it showed this:

Code: Show/Hide
Jan 28 20:04:54 I <cmod> loading C module 'objects' from 'internal'
Jan 28 20:04:54 I <pymod> loading python module 'fg_wz'
Jan 28 20:04:54 I <cmod> loading C module 'spree' from 'spree'
Jan 28 20:05:06 E <cmod> error in LoadLibrary: %1 is not a valid Win32 application.



do you know how icould make it valid?
Smong - 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).
tcsoccerman - Tue Jan 30, 2007 3:52 pm
Post subject:
too or instead?
tcsoccerman - Tue Jan 30, 2007 3:57 pm
Post subject:
edit: i took the .so file and saved as .dll
tcsoccerman - 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
Samapico - 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
Cyan~Fire - 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).
tcsoccerman - 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 icon_smile.gif 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.
Bak - Wed Jan 31, 2007 1:55 pm
Post subject:
im younger th3n u and i knew dat 101!!!!!1
corvey - Mon Apr 09, 2007 6:51 am
Post subject:
nevermind
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group