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
compiling

 
Post new topic   Reply to topic Printable version
 View previous topic  Changing Settings Values Post :: Post Scores are getting mangled  View next topic  
Author Message
resol guest
Guest


Offline

PostPosted: Wed Oct 20, 2010 3:58 pm    Post subject: compiling Reply to topic Reply with quote

When I try to complile fg_ctf I get this error

resol@krslynx:~/subspace/server/asss-1.5.0/src$ make
gcc -std=gnu99 -pipe -I. -Iinclude -I/home/resol/subspace/server/asss-1.5.0/build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o /home/resol/subspace/server/asss-1.5.0/build/fg_ctf.o fg_ctf/fg_ctf.c
fg_ctf/fg_ctf.c: In function 'rewardpoints':
fg_ctf/fg_ctf.c:669: error: too few arguments to function 'stats->SendUpdates'
make: *** [/home/resol/subspace/server/asss-1.5.0/build/fg_ctf.o] Error 1
resol@krslynx:~/subspace/server/asss-1.5.0/src$

This module was also pre-compiled but using that didn't work either.

I also have another problem with the elim module. It installs fine, but wont attach to an arena, I get this code when I try ?attmod in game.

E <pymod> error in 'mm_attach'
Attaching module elim failed.

I got a different python module to load fine. Going to try more..
Back to top
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Wed Oct 20, 2010 5:43 pm    Post subject: Reply to topic Reply with quote

Was fg_ctf designed for a recent version of ASSS? If not, you may have to tweak it to get it to compile. Same applies to elim.

Perhaps someone more familiar with those modules can provide some more details.
_________________
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
resol guest
Guest


Offline

PostPosted: Wed Oct 20, 2010 6:15 pm    Post subject: Reply to topic Reply with quote

Yeah, I think its coded for 1.4.4

fg_ctf v1.9 [Smong Jun 15 2007]

Not really sure where to start. And as for the




asss-fg_ctf-1.9.zip - 58.27 KB
File downloaded or viewed 7 time(s)
Back to top
Samapico
No, these DO NOT look like penises, ok?


Age:32
Gender:Gender:Male
Joined: May 08 2003
Posts: 1252
Location: Montreal, Canada
Offline

PostPosted: Wed Oct 20, 2010 6:57 pm    Post subject: Reply to topic Reply with quote

From what I can see, in 1.5.0, the function is:
local void SendUpdates(Player *exclude)

So, at the line 669, replace
Code: Show/Hide
if (stats)
      stats->SendUpdates();

with
Code: Show/Hide
if (stats)
      stats->SendUpdates(NULL);



As for the elim module, make sure you have loaded all the modules on which it depends
_________________
DCME co-developer
17th Parallel Head Sysop
Subspace: The Future
Back to top
View users profile Send private message Add User to Ignore List
resol guest
Guest


Offline

PostPosted: Wed Oct 20, 2010 7:36 pm    Post subject: Reply to topic Reply with quote

resol@krslynx:~/subspace/server/asss-1.5.0/src$ make
gcc -std=gnu99 -pipe -I. -Iinclude -I/home/resol/subspace/server/asss-1.5.0/build -D_REENTRANT -D_GNU_SOURCE -fPIC -g -Wall -c -o /home/resol/subspace/server/asss-1.5.0/build/fg_ctf.o fg_ctf/fg_ctf.c
fg_ctf/fg_ctf.c: In function 'rewardpoints':
fg_ctf/fg_ctf.c:669: error: too few arguments to function 'stats->SendUpdates'
make: *** [/home/resol/subspace/server/asss-1.5.0/build/fg_ctf.o] Error 1
resol@krslynx:~/subspace/server/asss-1.5.0/src$
Back to top
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Wed Oct 20, 2010 10:23 pm    Post subject: Reply to topic Reply with quote

That error is identical to the first one you posted. Are you sure you made the change that Samapico suggested? Make sure you edited the correct copy of the file.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
resol guest
Guest


Offline

PostPosted: Thu Oct 21, 2010 4:08 am    Post subject: Reply to topic Reply with quote

lol! forgot to upload fg_ctf.c to bin
Back to top
resol guest
Guest


Offline

PostPosted: Thu Oct 21, 2010 3:13 pm    Post subject: Reply to topic Reply with quote

Everything works fine, but one thing.

The 'utctfhud' that comes with the module doesn't display.
Back to top
Samapico
No, these DO NOT look like penises, ok?


Age:32
Gender:Gender:Male
Joined: May 08 2003
Posts: 1252
Location: Montreal, Canada
Offline

PostPosted: Thu Oct 21, 2010 3:25 pm    Post subject: Reply to topic Reply with quote

Did you add the lvz file to the map's settings (arena.conf) ?

Either in [Misc] LevelFiles, like subgame, or (more appropriately) [General] .... something, forgot... Just check the default arena.conf, it's in there
Back to top
View users profile Send private message Add User to Ignore List
resol guest
Guest


Offline

PostPosted: Fri Oct 22, 2010 4:49 am    Post subject: Reply to topic Reply with quote

Yes I did that.

On a better note, I was wondering if there was maybe someone way to add a scoreboard for the ctf game, just to keep track of captures and jackpot display.
Back to top
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: 51 page(s) served in previous 5 minutes.

phpBB Created this page in 0.140042 seconds : 36 queries executed (51.4%): GZIP compression disabled