1

Topic: Trouble compiling foot-0.7 on Windows

C:\Teeworlds-0.4.2-src>..\bam\src\bam server_release
bam: building 'server_release'
cmd5 nethash.c
gs_server.cpp
c:\teeworlds-0.4.2-src\src\game\server\gs_common.h(157) : error C4716: 'gameobject::on_player_takeflag' : must return a value
c:\teeworlds-0.4.2-src\src\game\server\gs_common.h(158) : error C4716: 'gameobject::on_player_rmflag' : must return a value
bam: compile_cxx returned error number 2
bam: error during build

i got this msg... any ideas how to fix it?

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

2

Re: Trouble compiling foot-0.7 on Windows

ive got the same problem

virtual int on_player_takeflag(class player *owner,int team){return 0;}
virtual int on_player_rmflag(int team){return 0;}

thanks to scosu for help wink

Remember me? Questions? Just leave a message, I will respond within 72 hrs!

3

Re: Trouble compiling foot-0.7 on Windows

cool thx... its working smile

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

4

Re: Trouble compiling foot-0.7 on Windows

i know.. i have foot server with spam protection smile

Remember me? Questions? Just leave a message, I will respond within 72 hrs!