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
tcsoccerman - Sat Mar 01, 2008 8:09 pm
Post subject:
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.
tcsoccerman - Sat Mar 01, 2008 11:26 pm
Post subject:
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:
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:
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.
hellzlaker - Sun Mar 02, 2008 10:12 am
Post subject:
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
tcsoccerman - Sun Mar 02, 2008 10:27 am
Post subject:
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.
Smong - Sun Mar 02, 2008 11:21 am
Post subject:
Small correction to step #4, fm_normal and fm_shiplimits can coexist in modules.conf, just not in the AttachModules setting.
hellzlaker - Sun Mar 02, 2008 11:40 am
Post subject:
what if you want to exclude a ship for 2 freqs? how do you do that?
Smong - Sun Mar 02, 2008 12:22 pm
Post subject:
You can't
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.
hellzlaker - Sun Mar 02, 2008 12:44 pm
Post subject:
its ok i figured something else out with that module that works just as good
thanks
hellzlaker - Sun Mar 02, 2008 1:01 pm
Post subject:
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
tcsoccerman - Sun Mar 02, 2008 3:20 pm
Post subject:
i updated the module for a correction smong told me of.
Smong - Sun Mar 02, 2008 6:18 pm
Post subject:
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