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
is there shiplimit module for ASSS?

 
Post new topic   Reply to topic Printable version
 View previous topic  fake module Post :: Post Wireless router and ASSS  View next topic  
Author Message
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Fri Feb 29, 2008 5:36 pm    Post subject: is there shiplimit module for ASSS? Reply to topic Reply with quote

i wonder if there is a mode for ASSS that limits ships like can use only ships 1 and 2 or like by points if you earn more points u unlock new ships :s
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Feb 29, 2008 6:51 pm    Post subject: Reply to topic Reply with quote

No. One can always create a module for that.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
tcsoccerman
Server Help Squatter


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

PostPosted: Sat Mar 01, 2008 9:57 am    Post subject: Reply to topic Reply with quote

I can give it a go sometime. Leave more details on how you want the module done and what it does.
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: Sat Mar 01, 2008 4:10 pm    Post subject: Reply to topic Reply with quote

Just make a configurable min/max points range for each ship I guess
_________________
(Insert a bunch of dead links here)
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


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

PostPosted: Sat Mar 01, 2008 4:19 pm    Post subject: Reply to topic Reply with quote

I'm going to wait to be sure.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Sat Mar 01, 2008 7:21 pm    Post subject: Reply to topic Reply with quote

Samapico wrote:
Just make a configurable min/max points range for each ship I guess


yea that would be the best, or if its easier you can make it which ships player cant use at all, doesn't really matter

thanks biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
tcsoccerman
Server Help Squatter


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

PostPosted: Sat Mar 01, 2008 8:09 pm    Post subject: Reply to topic Reply with quote

you didn't really make much sense except the fact that you mentioned samapico's idea would work.

I will be editing smong's shiplimit module by adding point limits per ship.
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: Sat Mar 01, 2008 11:26 pm    Post subject: Reply to topic Reply with quote

If someone could help me on a problem i ran into that would be great.

I'm still learning pointers, as i usually use c# which has manged pointers. I'm getting an error at this area:

Code: Show/Hide

else if(ad->ship[ship].pointlimit > 0)
   {
        int points;
        pd->Lock();
        points = d->flagpoints + d->killpoints;//error is here
        pd->Unlock();
        if(points < ad->ship[ship].pointlimit)
            return 0;
    }

(line 207)

that says:

Code: Show/Hide
dereferencing pointer to incomplete type


other than that i'm getting no other errors. i'll attach the file.

nvm stupid mistake. watch for my post in asss modules forum.




fm_shiplimits.c - 14.48 KB
File downloaded or viewed 12 time(s)
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Sun Mar 02, 2008 10:12 am    Post subject: Reply to topic Reply with quote

thanks, also to install it you put the dll into the bin, shiplimits.conf into \conf, add fm_shiplimits on \conf\modules.com and add on arena.conf

AttachModules = fm_shiplimits \


am i right? beacuse i did that and it didnt work
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
tcsoccerman
Server Help Squatter


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

PostPosted: Sun Mar 02, 2008 10:27 am    Post subject: Reply to topic Reply with quote

1.add fm_shiplimits.dll to bin
2.add fm_shiplimits.conf to the arena that you want. to add it to public, for example, add it to arenas/(default)
3. Here is where it is trickier. this is not an "addon" module. this module replaces the fm_normal module.
4.So in modules.conf in conf/ folder, look for "fm_normal" and change that line to "fm_shiplimits:fm_shiplimits".
5. then in "AttachModules" remove fm_normal and add just "fm_shiplimits".
6. Make sure you use the module in the asss project forum. NOT this topic.

smong made a help file when he made this module so i will attach that too in case you need it.




fm_shiplimits.txt - 1.26 KB
File downloaded or viewed 32 time(s)
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: Sun Mar 02, 2008 11:21 am    Post subject: Reply to topic Reply with quote

Small correction to step #4, fm_normal and fm_shiplimits can coexist in modules.conf, just not in the AttachModules setting.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Sun Mar 02, 2008 11:40 am    Post subject: Reply to topic Reply with quote

what if you want to exclude a ship for 2 freqs? how do you do that?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Mar 02, 2008 12:22 pm    Post subject: Reply to topic Reply with quote

You can't icon_sad.gif it's either 1 freq or all freqs.

Since there are 10k freqs it's harder to do excludes for N-freqs, no one wants to write that many settings. If you can explain your game type I may be able to add it into the module as a setting, but you could be better off with a completely custom module.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Sun Mar 02, 2008 12:44 pm    Post subject: Reply to topic Reply with quote

its ok i figured something else out with that module that works just as good biggrin.gif thanks
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
hellzlaker
Registered Cap Buster
Popping men in the ass since Oct 2005


Gender: NEVER ENOUGH!
Joined: Oct 27 2005
Posts: 34
Offline

PostPosted: Sun Mar 02, 2008 1:01 pm    Post subject: Reply to topic Reply with quote

ok another problem for some reason it doesnt read my settings correctly


Ship1 = only,1,0,0
Ship2 = only,1,0,0
Ship3 = only,1,0,0
Ship4 = only,0,0,0
Ship5 = only,0,0,0
Ship6 = only,0,0,0
Ship7 = only,2,0,0
Ship8 = only,2,0,0


i wanted to make it that freq 0 can use only warbird jav and spider and freq 1 can use lev terr and weasel

and i dont have a freq 2 so i wanted no one to use ship 7 and 8 so i put them on freq 2

problem is that when i log into my zone, on freq 0 it lets me use only 4 5 6 and on freq 1 it doesnt let me use anything
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address MSN Messenger
tcsoccerman
Server Help Squatter


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

PostPosted: Sun Mar 02, 2008 3:20 pm    Post subject: Reply to topic Reply with quote

i updated the module for a correction smong told me of.
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: Sun Mar 02, 2008 6:18 pm    Post subject: Reply to topic Reply with quote

Looks like you have freq 0/1 mixed up, try these:
Ship1 = only,0,0,0
Ship2 = only,0,0,0
Ship3 = only,0,0,0
Ship4 = only,1,0,0
Ship5 = only,1,0,0
Ship6 = only,1,0,0
Ship7 = only,2,0,0
Ship8 = only,2,0,0
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
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: 31 page(s) served in previous 5 minutes.

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