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
adding modules

 
Post new topic   Reply to topic Printable version
 View previous topic  How can I make arena field bigger? Post :: Post Recommended Database?  View next topic  
Author Message
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Thu Jan 25, 2007 2:09 pm    Post subject: adding modules Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Thu Jan 25, 2007 2:19 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Thu Jan 25, 2007 3:31 pm    Post subject: bounty rabbit Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Fri Jan 26, 2007 12:01 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Fri Jan 26, 2007 12:33 pm    Post subject: ty Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sat Jan 27, 2007 7:46 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Jan 27, 2007 1:56 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Jan 28, 2007 7:53 pm    Post subject: where Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Jan 28, 2007 8:06 pm    Post subject: .dll? Reply to topic Reply with quote

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?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Jan 30, 2007 7:09 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Jan 30, 2007 3:52 pm    Post subject: Reply to topic Reply with quote

too or instead?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Jan 30, 2007 3:57 pm    Post subject: Reply to topic Reply with quote

edit: i took the .so file and saved as .dll
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Jan 30, 2007 4:16 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Tue Jan 30, 2007 6:14 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Jan 31, 2007 1:20 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Wed Jan 31, 2007 1:01 pm    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Bak
?ls -s
0 in


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

PostPosted: Wed Jan 31, 2007 1:55 pm    Post subject: Reply to topic Reply with quote

im younger th3n u and i knew dat 101!!!!!1
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
corvey
Novice


Joined: Apr 02 2007
Posts: 40
Offline

PostPosted: Mon Apr 09, 2007 6:51 am    Post subject: Reply to topic Reply with quote

nevermind
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: 43 page(s) served in previous 5 minutes.

phpBB Created this page in 0.506812 seconds : 42 queries executed (87.7%): GZIP compression disabled