BETA 4: Race to Seven

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

BETA 4: Race to Seven

Post by RPG » Mon Aug 22, 2005 3:52 pm

Author: RPG

Description: Due to the increasing popularity of this plugin, I've commited myself to release a new beta every time the API is bumped. What does that mean for you? You gotta use the latest CVS to run this.

This release should solve the issue of it crashing at a match end. Along with the API bump and the (hopefully) crash fix, numerous other features and bugfixes have been added.

Code: Select all

-------------------------CHANGELOG-------------------------
Beta 4:
REMOVAL: Took out /match ? and /match help, and combined that documentation with the documentation when you type /match.
BUGFIX: Upgraded to API 11.
BUGFIX: Commented out bz_resetPlayerScore as an attempt to stop the crashes we get.
BUGFIX: Changed the spelling of some of the classes to reflect changes in bzfsAPI.h.
BUGFIX: Admins could end matches when they weren't running, causing a blank report to be sent. This has been fixed.
FEATURE: If there is nobody on the server, the plugin will automatically end the match.
BUGFIX: Fixed the code that logged what team the person who typed "/match start" was on.
FEATURE: When a match is started, the plugin says "First team to # captures wins!".
Files:
meacan is the linux compiler

User avatar
[dmp]
Captain
Captain
Posts: 282
Joined: Mon Dec 09, 2002 3:20 pm
Location: CPH, Denmark
Contact:

Post by [dmp] » Mon Aug 22, 2005 3:57 pm

Yes I am
Attachments
racetoseven.tar.gz
linux binary
(14.92 KiB) Downloaded 214 times
I don't need huge pictures here.

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Mon Aug 22, 2005 8:34 pm

Eeek!

Code: Select all

death@linux:~> cd '/home/death/bzflag/plugins/racetoseven/racetoseven'
death@linux:~/bzflag/plugins/racetoseven/racetoseven> make
g++ -fPIC -frtti -I../../include -O   -c -o racetoseven.o racetoseven.cpp
racetoseven.cpp:4:21: bzfsAPI.h: No such file or directory
racetoseven.cpp:5:23: TextUtils.h: No such file or directory
racetoseven.cpp:14: error: syntax error before `int'
racetoseven.cpp:32: error: `bz_EventData' was not declared in this scope
racetoseven.cpp:32: error: `eventData' was not declared in this scope
racetoseven.cpp:32: error: variable or field `end_match' declared void
racetoseven.cpp:32: error: syntax error before `{' token
racetoseven.cpp:34: error: `playerList' was not declared in this scope
racetoseven.cpp:34: error: ISO C++ forbids declaration of `
   bz_getPlayerIndexList' with no type
racetoseven.cpp:35: error: syntax error before `for'
racetoseven.cpp:35: error: `playerList' was not declared in this scope
racetoseven.cpp:35: error: syntax error before `;' token
racetoseven.cpp:35: error: syntax error before `++' token
racetoseven.cpp:37: error: syntax error before `+=' token
racetoseven.cpp:38: error: syntax error before `+=' token
racetoseven.cpp:39: error: syntax error before `+=' token
racetoseven.cpp:40: error: syntax error before `+=' token
racetoseven.cpp:41: error: syntax error before `+=' token
racetoseven.cpp:52: error: syntax error before `+=' token
racetoseven.cpp:53: error: `eRedTeam' was not declared in this scope
racetoseven.cpp:53: error: `bz_getTeamScore' was not declared in this scope
racetoseven.cpp:54: error: syntax error before `+=' token
racetoseven.cpp:55: error: syntax error before `+=' token
racetoseven.cpp:57: error: ISO C++ forbids declaration of `RedTeaminfo' with no
   type
racetoseven.cpp:57: error: redefinition of `int RedTeaminfo'
racetoseven.cpp:53: error: `int RedTeaminfo' previously defined here
racetoseven.cpp:57: error: `eRedTeam' was not declared in this scope
racetoseven.cpp:57: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:58: error: syntax error before `if'
racetoseven.cpp:63: error: syntax error before `+=' token
racetoseven.cpp:64: error: syntax error before `+=' token
racetoseven.cpp:65: error: ISO C++ forbids declaration of `RedTeaminfo' with no
   type
racetoseven.cpp:65: error: redefinition of `int RedTeaminfo'
racetoseven.cpp:57: error: `int RedTeaminfo' previously defined here
racetoseven.cpp:65: error: `eRedTeam' was not declared in this scope
racetoseven.cpp:65: error: `bz_getTeamLosses' was not declared in this scope
racetoseven.cpp:66: error: syntax error before `+=' token
racetoseven.cpp:69: error: syntax error before `+=' token
racetoseven.cpp:70: error: `eBlueTeam' was not declared in this scope
racetoseven.cpp:70: error: `bz_getTeamScore' was not declared in this scope
racetoseven.cpp:71: error: syntax error before `+=' token
racetoseven.cpp:72: error: syntax error before `+=' token
racetoseven.cpp:74: error: ISO C++ forbids declaration of `BlueTeaminfo' with
   no type
racetoseven.cpp:74: error: redefinition of `int BlueTeaminfo'
racetoseven.cpp:70: error: `int BlueTeaminfo' previously defined here
racetoseven.cpp:74: error: `eBlueTeam' was not declared in this scope
racetoseven.cpp:74: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:75: error: syntax error before `if'
racetoseven.cpp:80: error: syntax error before `+=' token
racetoseven.cpp:81: error: syntax error before `+=' token
racetoseven.cpp:82: error: ISO C++ forbids declaration of `BlueTeaminfo' with
   no type
racetoseven.cpp:82: error: redefinition of `int BlueTeaminfo'
racetoseven.cpp:74: error: `int BlueTeaminfo' previously defined here
racetoseven.cpp:82: error: `eBlueTeam' was not declared in this scope
racetoseven.cpp:82: error: `bz_getTeamLosses' was not declared in this scope
racetoseven.cpp:83: error: syntax error before `+=' token
racetoseven.cpp:86: error: syntax error before `+=' token
racetoseven.cpp:87: error: `eGreenTeam' was not declared in this scope
racetoseven.cpp:87: error: `bz_getTeamScore' was not declared in this scope
racetoseven.cpp:88: error: syntax error before `+=' token
racetoseven.cpp:89: error: syntax error before `+=' token
racetoseven.cpp:91: error: ISO C++ forbids declaration of `GreenTeaminfo' with
   no type
racetoseven.cpp:91: error: redefinition of `int GreenTeaminfo'
racetoseven.cpp:87: error: `int GreenTeaminfo' previously defined here
racetoseven.cpp:91: error: `eGreenTeam' was not declared in this scope
racetoseven.cpp:91: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:92: error: syntax error before `if'
racetoseven.cpp:97: error: syntax error before `+=' token
racetoseven.cpp:98: error: syntax error before `+=' token
racetoseven.cpp:99: error: ISO C++ forbids declaration of `GreenTeaminfo' with
   no type
racetoseven.cpp:99: error: redefinition of `int GreenTeaminfo'
racetoseven.cpp:91: error: `int GreenTeaminfo' previously defined here
racetoseven.cpp:99: error: `eGreenTeam' was not declared in this scope
racetoseven.cpp:99: error: `bz_getTeamLosses' was not declared in this scope
racetoseven.cpp:100: error: syntax error before `+=' token
racetoseven.cpp:103: error: syntax error before `+=' token
racetoseven.cpp:104: error: `ePurpleTeam' was not declared in this scope
racetoseven.cpp:104: error: `bz_getTeamScore' was not declared in this scope
racetoseven.cpp:105: error: syntax error before `+=' token
racetoseven.cpp:106: error: syntax error before `+=' token
racetoseven.cpp:108: error: ISO C++ forbids declaration of `PurpleTeaminfo'
   with no type
racetoseven.cpp:108: error: redefinition of `int PurpleTeaminfo'
racetoseven.cpp:104: error: `int PurpleTeaminfo' previously defined here
racetoseven.cpp:108: error: `ePurpleTeam' was not declared in this scope
racetoseven.cpp:108: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:109: error: syntax error before `if'
racetoseven.cpp:114: error: syntax error before `+=' token
racetoseven.cpp:115: error: syntax error before `+=' token
racetoseven.cpp:116: error: ISO C++ forbids declaration of `PurpleTeaminfo'
   with no type
racetoseven.cpp:116: error: redefinition of `int PurpleTeaminfo'
racetoseven.cpp:108: error: `int PurpleTeaminfo' previously defined here
racetoseven.cpp:116: error: `ePurpleTeam' was not declared in this scope
racetoseven.cpp:116: error: `bz_getTeamLosses' was not declared in this scope
racetoseven.cpp:117: error: syntax error before `+=' token
racetoseven.cpp:119: error: `BZ_SERVER' was not declared in this scope
racetoseven.cpp:119: error: `BZ_ALLUSERS' was not declared in this scope
racetoseven.cpp:119: error: ISO C++ forbids declaration of `bz_sendTextMessage'
   with no type
racetoseven.cpp:119: error: initializer list being treated as compound
   expression
racetoseven.cpp:122: error: syntax error before `+=' token
racetoseven.cpp:123: error: ISO C++ forbids declaration of `bz_addURLJob' with
   no type
racetoseven.cpp:123: error: initializer list being treated as compound
   expression
racetoseven.cpp:123: error: invalid conversion from `const char*' to `int'
racetoseven.cpp:126: error: syntax error before `for'
racetoseven.cpp:126: error: `playerList' was not declared in this scope
racetoseven.cpp:126: error: syntax error before `;' token
racetoseven.cpp:126: error: syntax error before `++' token
racetoseven.cpp:128: error: `i' was not declared in this scope
racetoseven.cpp:128: error: `BZ_SERVER' was not declared in this scope
racetoseven.cpp:128: error: ISO C++ forbids declaration of `bz_killPlayer' with
   no type
racetoseven.cpp:128: error: initializer list being treated as compound
   expression
racetoseven.cpp:130: error: syntax error before `}' token
racetoseven.cpp:132: error: `eRedTeam' was not declared in this scope
racetoseven.cpp:132: error: ISO C++ forbids declaration of `bz_resetTeamScore'
   with no type
racetoseven.cpp:133: error: `eGreenTeam' was not declared in this scope
racetoseven.cpp:133: error: ISO C++ forbids declaration of `bz_resetTeamScore'
   with no type
racetoseven.cpp:133: error: redefinition of `int bz_resetTeamScore'
racetoseven.cpp:132: error: `int bz_resetTeamScore' previously defined here
racetoseven.cpp:134: error: `eBlueTeam' was not declared in this scope
racetoseven.cpp:134: error: ISO C++ forbids declaration of `bz_resetTeamScore'
   with no type
racetoseven.cpp:134: error: redefinition of `int bz_resetTeamScore'
racetoseven.cpp:133: error: `int bz_resetTeamScore' previously defined here
racetoseven.cpp:135: error: `ePurpleTeam' was not declared in this scope
racetoseven.cpp:135: error: ISO C++ forbids declaration of `bz_resetTeamScore'
   with no type
racetoseven.cpp:135: error: redefinition of `int bz_resetTeamScore'
racetoseven.cpp:134: error: `int bz_resetTeamScore' previously defined here
racetoseven.cpp:137: error: ISO C++ forbids declaration of `match_in_progress'
   with no type
racetoseven.cpp:137: error: conflicting types for `int match_in_progress'
racetoseven.cpp:22: error: previous declaration as `bool match_in_progress'
racetoseven.cpp:138: error: syntax error before `}' token
racetoseven.cpp: In function `void print_score(int, int, int, int, int)':
racetoseven.cpp:142: error: `BZ_SERVER' undeclared (first use this function)
racetoseven.cpp:142: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
racetoseven.cpp:142: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:147: error: `TextUtils' undeclared (first use this function)
racetoseven.cpp:147: error: syntax error before `::' token
racetoseven.cpp:148: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:153: error: syntax error before `::' token
racetoseven.cpp:154: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:159: error: syntax error before `::' token
racetoseven.cpp:160: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:165: error: syntax error before `::' token
racetoseven.cpp:166: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:170: error: syntax error before `::' token
racetoseven.cpp:172: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp: At global scope:
racetoseven.cpp:178: error: syntax error before `{' token
racetoseven.cpp:181: error: destructors must be member functions
racetoseven.cpp:181: error: virtual outside class declaration
racetoseven.cpp:182: error: `bz_EventData' was not declared in this scope
racetoseven.cpp:182: error: `eventData' was not declared in this scope
racetoseven.cpp:182: error: virtual outside class declaration
racetoseven.cpp:182: error: variable or field `process' declared void
racetoseven.cpp:183: error: syntax error before `}' token
racetoseven.cpp:185: error: invalid use of undefined type `class
   RaceToSevenAutomatic'
racetoseven.cpp:177: error: forward declaration of `class RaceToSevenAutomatic'
racetoseven.cpp:187: error: invalid use of undefined type `class
   RaceToSevenAutomatic'
racetoseven.cpp:177: error: forward declaration of `class RaceToSevenAutomatic'
racetoseven.cpp:189: error: `bz_EventData' was not declared in this scope
racetoseven.cpp:189: error: `eventData' was not declared in this scope
racetoseven.cpp:189: error: invalid use of undefined type `class
   RaceToSevenAutomatic'
racetoseven.cpp:177: error: forward declaration of `class RaceToSevenAutomatic'
racetoseven.cpp:189: error: invalid declarator
racetoseven.cpp:189: error: syntax error before `{' token
racetoseven.cpp:192: error: `eRedTeam' was not declared in this scope
racetoseven.cpp:192: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:193: error: `eGreenTeam' was not declared in this scope
racetoseven.cpp:193: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:194: error: `ePurpleTeam' was not declared in this scope
racetoseven.cpp:194: error: `bz_getTeamWins' was not declared in this scope
racetoseven.cpp:196: error: syntax error before `if'
racetoseven.cpp:200: error: `blue_score' was not declared in this scope
racetoseven.cpp:200: error: `BZ_ALLUSERS' was not declared in this scope
racetoseven.cpp:200: error: ISO C++ forbids declaration of `print_score' with
   no type
racetoseven.cpp:200: error: `int print_score' redeclared as different kind of
   symbol
racetoseven.cpp:141: error: previous declaration of `void print_score(int, int,
   int, int, int)'
racetoseven.cpp:200: error: initializer list being treated as compound
   expression
racetoseven.cpp:203: error: syntax error before `if'
racetoseven.cpp:206: error: `bz_CTFCaptureEventData' was not declared in this
   scope
racetoseven.cpp:206: error: syntax error before `)' token
racetoseven.cpp:206: error: ISO C++ forbids declaration of `bz_sendTextMessage'
   with no type
racetoseven.cpp:206: error: redefinition of `int bz_sendTextMessage'
racetoseven.cpp:119: error: `int bz_sendTextMessage' previously defined here
racetoseven.cpp:206: error: initializer list being treated as compound
   expression
racetoseven.cpp:208: error: syntax error before `if'
racetoseven.cpp:216: error: `bz_PlayerJoinPartEventData' was not declared in
   this scope
racetoseven.cpp:216: error: syntax error before `)' token
racetoseven.cpp:217: error: syntax error before `*' token
racetoseven.cpp:221: error: `joiners_id' was not declared in this scope
racetoseven.cpp:221: error: ISO C++ forbids declaration of `bz_kickUser' with
   no type
racetoseven.cpp:221: error: initializer list being treated as compound
   expression
racetoseven.cpp:222: error: syntax error before `}' token
racetoseven.cpp:228: error: `playerList' was not declared in this scope
racetoseven.cpp:228: error: ISO C++ forbids declaration of `
   bz_getPlayerIndexList' with no type
racetoseven.cpp:228: error: redefinition of `int bz_getPlayerIndexList'
racetoseven.cpp:34: error: `int bz_getPlayerIndexList' previously defined here
racetoseven.cpp:229: error: syntax error before `if'
racetoseven.cpp:233: error: 'RaceToSevenAutomatic' is used as a type, but is
   not defined as a type.
racetoseven.cpp:236: error: syntax error before `{' token
racetoseven.cpp:239: error: type specifier omitted for parameter `bzApiString'
racetoseven.cpp:239: error: syntax error before `,' token
racetoseven.cpp:239: error: virtual outside class declaration
racetoseven.cpp:242: error: aggregate `RaceToSeven raceToSeven' has incomplete
   type and cannot be defined
racetoseven.cpp:244: error: syntax error before `int'
racetoseven.cpp:246: error: ISO C++ forbids declaration of `
   bz_registerCustomSlashCommand' with no type
racetoseven.cpp:246: error: initializer list being treated as compound
   expression
racetoseven.cpp:247: error: `bz_eCaptureEvent' was not declared in this scope
racetoseven.cpp:247: error: `rtsa' was not declared in this scope
racetoseven.cpp:247: error: ISO C++ forbids declaration of `bz_registerEvent'
   with no type
racetoseven.cpp:247: error: initializer list being treated as compound
   expression
racetoseven.cpp:248: error: `bz_ePlayerJoinEvent' was not declared in this
   scope
racetoseven.cpp:248: error: `rtsa' was not declared in this scope
racetoseven.cpp:248: error: ISO C++ forbids declaration of `bz_registerEvent'
   with no type
racetoseven.cpp:248: error: redefinition of `int bz_registerEvent'
racetoseven.cpp:247: error: `int bz_registerEvent' previously defined here
racetoseven.cpp:248: error: initializer list being treated as compound
   expression
racetoseven.cpp:249: error: `bz_ePlayerPartEvent' was not declared in this
   scope
racetoseven.cpp:249: error: `rtsa' was not declared in this scope
racetoseven.cpp:249: error: ISO C++ forbids declaration of `bz_registerEvent'
   with no type
racetoseven.cpp:249: error: redefinition of `int bz_registerEvent'
racetoseven.cpp:248: error: `int bz_registerEvent' previously defined here
racetoseven.cpp:249: error: initializer list being treated as compound
   expression
racetoseven.cpp:250: error: syntax error before `return'
racetoseven.cpp:253: error: syntax error before `int'
racetoseven.cpp:255: error: `bz_eCaptureEvent' was not declared in this scope
racetoseven.cpp:255: error: `rtsa' was not declared in this scope
racetoseven.cpp:255: error: ISO C++ forbids declaration of `bz_removeEvent'
   with no type
racetoseven.cpp:255: error: initializer list being treated as compound
   expression
racetoseven.cpp:256: error: `bz_ePlayerJoinEvent' was not declared in this
   scope
racetoseven.cpp:256: error: `rtsa' was not declared in this scope
racetoseven.cpp:256: error: ISO C++ forbids declaration of `bz_removeEvent'
   with no type
racetoseven.cpp:256: error: redefinition of `int bz_removeEvent'
racetoseven.cpp:255: error: `int bz_removeEvent' previously defined here
racetoseven.cpp:256: error: initializer list being treated as compound
   expression
racetoseven.cpp:257: error: `bz_ePlayerPartEvent' was not declared in this
   scope
racetoseven.cpp:257: error: `rtsa' was not declared in this scope
racetoseven.cpp:257: error: ISO C++ forbids declaration of `bz_removeEvent'
   with no type
racetoseven.cpp:257: error: redefinition of `int bz_removeEvent'
racetoseven.cpp:256: error: `int bz_removeEvent' previously defined here
racetoseven.cpp:257: error: initializer list being treated as compound
   expression
racetoseven.cpp:258: error: ISO C++ forbids declaration of `bz_debugMessage'
   with no type
racetoseven.cpp:258: error: initializer list being treated as compound
   expression
racetoseven.cpp:258: error: invalid conversion from `const char*' to `int'
racetoseven.cpp:259: error: syntax error before `return'
racetoseven.cpp:262: error: type specifier omitted for parameter `bzApiString'
racetoseven.cpp:262: error: syntax error before `,' token
racetoseven.cpp:263: error: invalid use of undefined type `class RaceToSeven'
racetoseven.cpp:236: error: forward declaration of `class RaceToSeven'
racetoseven.cpp: In member function `bool RaceToSeven::handle(...)':
racetoseven.cpp:264: error: `bz_PlayerRecord' undeclared (first use this
   function)
racetoseven.cpp:264: error: `fromPlayer' undeclared (first use this function)
racetoseven.cpp:264: error: `bz_getPlayerByIndex' undeclared (first use this
   function)
racetoseven.cpp:265: error: `data' undeclared (first use this function)
racetoseven.cpp:267: error: syntax error before `::' token
racetoseven.cpp:273: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:275: error: `bz_hasPerm' undeclared (first use this function)
racetoseven.cpp:277: error: `BZ_ALLUSERS' undeclared (first use this function)
racetoseven.cpp:277: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:278: error: syntax error before `::' token
racetoseven.cpp:279: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:282: error: `bz_resetFlags' undeclared (first use this
   function)
racetoseven.cpp:285: error: `eRedTeam' undeclared (first use this function)
racetoseven.cpp:285: error: `bz_resetTeamScore' cannot be used as a function
racetoseven.cpp:286: error: `eGreenTeam' undeclared (first use this function)
racetoseven.cpp:286: error: `bz_resetTeamScore' cannot be used as a function
racetoseven.cpp:287: error: `eBlueTeam' undeclared (first use this function)
racetoseven.cpp:287: error: `bz_resetTeamScore' cannot be used as a function
racetoseven.cpp:288: error: `ePurpleTeam' undeclared (first use this function)
racetoseven.cpp:288: error: `bz_resetTeamScore' cannot be used as a function
racetoseven.cpp:292: error: `bzAPIIntList' undeclared (first use this function)
racetoseven.cpp:292: error: `playerList' undeclared (first use this function)
racetoseven.cpp:292: error: `bz_newIntList' undeclared (first use this
   function)
racetoseven.cpp:293: error: `bz_getPlayerIndexList' cannot be used as a
   function
racetoseven.cpp:304: error: syntax error before `::' token
racetoseven.cpp:307: error: `eRogueTeam' undeclared (first use this function)
racetoseven.cpp:312: error: `eObservers' undeclared (first use this function)
racetoseven.cpp:318: error: syntax error before `::' token
racetoseven.cpp:321: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:329: error: `end_match' cannot be used as a function
racetoseven.cpp:331: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:338: error: `bz_getTeamWins' undeclared (first use this
   function)
racetoseven.cpp:338: error: `print_score' cannot be used as a function
racetoseven.cpp:340: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:348: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:350: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:352: error: syntax error before `::' token
racetoseven.cpp:353: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:358: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:365: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:367: error: syntax error before `::' token
racetoseven.cpp:368: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:376: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:379: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:383: error: `cap_num' undeclared (first use this function)
racetoseven.cpp:384: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:393: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:397: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:403: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:410: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:411: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:412: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:413: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:414: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:415: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:416: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:417: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:418: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:419: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:420: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:421: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:422: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:423: error: `bz_sendTextMessage' cannot be used as a function
racetoseven.cpp:425:2: warning: no newline at end of file
racetoseven.cpp: At global scope:
racetoseven.cpp:242: error: storage size of `raceToSeven' isn't known
make: *** [racetoseven.o] Error 1
death@linux:~/bzflag/plugins/racetoseven/racetoseven>
                                                       
I extracted the archive file into a folder, cd'd, and ran make.

I think I'll just use meacan's posted .so
...This has been a recording.

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Mon Aug 22, 2005 9:10 pm

Looks like you're missing bzfsAPI.h. Whatever the case, meacan compiles them for a reason :).

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Wed Aug 24, 2005 1:40 pm

Beta 4 caused a number of crashes. It apprears the API is updated in CVS - I dare ya to make a new Beta 5
...This has been a recording.

User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once » Wed Aug 24, 2005 1:46 pm

**Note - deleting existing .so and .o files and re-running "make" created new plugins that are now working...

..but make a beta 5 anyway!
...This has been a recording.

Post Reply