[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Mysterious UnCappable ControlPoint
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Mysterious UnCappable ControlPoint
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=2007
Page 1 of 2

Author:  midnight [ Sat Mar 25, 2006 10:33 am ]
Post subject:  Mysterious UnCappable ControlPoint

It seems that nowhere in the code can I find where this control point is being assigned as uncappable, yet when I run it up on a dedicated server, crashsite is there with a 'no' symbol and is assigned as Iraqi. Oddly enough, if I try to spawn opposition, I cannot spawn there. Everything works perfect when I replace the map and run it directly, just not when it's on the server. AnyHelp?

Attaching Relevent Code:
NOTE: some rem's removed
ANOTHER NOTE: In my RFA, I've deleted all data pertaining to AI, Pathfinding, Singleplayer, CoOp, Conquest, and TDM on a whim that maybe it was accidentally pulling info from these locations.

---
bf1942\levels\DC_Basrahs_Edge\init.con
---
ObjectTemplate.create Flag BlueFlag
ObjectTemplate.team 1
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 3
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedGeFlag

ObjectTemplate.create Flag RedFlag
ObjectTemplate.team 2
ObjectTemplate.networkableInfo FlagBodyInfo
ObjectTemplate.radius 3
ObjectTemplate.TimeToReSpawn 10
ObjectTemplate.addTemplate AnimatedUsFlag


---
bf1942\levels\DC_Basrahs_Edge\ctf.con
---
run Ctf/SpawnpointManagerSettings

run Ctf/SoldierSpawnTemplates
run Ctf/SoldierSpawns

run Ctf/ObjectSpawnTemplates
run Ctf/ControlPointTemplates

if v_arg1 == host
run Ctf/ObjectSpawns
run Ctf/ControlPoints

rem *** CREATE FLAG BASES ***
object.create usbase
Object.absolutePosition 714.2375/25.8089/735.9367
Object.Rotation 0/0/0

object.create gebase
Object.absolutePosition 338.6008/2.606621/409.9239
Object.Rotation 0/0/0
else
rem *** CREATE FLAG BASES ***
object.create FlagPole
Object.absolutePosition 714.2375/25.8089/735.9367
Object.Rotation 0/0/0

object.create FlagPole
Object.absolutePosition 338.6008/2.606621/409.9239
Object.Rotation 0/0/0
endIf


---
bf1942\levels\DC_Basrahs_Edge\GameTypes\ctf.con
---
run Ctf/SpawnpointManagerSettings

run Ctf/SoldierSpawnTemplates
run Ctf/SoldierSpawns

run Ctf/ObjectSpawnTemplates
run Ctf/ControlPointTemplates

if v_arg1 == host
run Ctf/ObjectSpawns
run Ctf/ControlPoints

rem *** CREATE FLAG BASES ***
object.create usbase
Object.absolutePosition 714.2375/25.8089/735.9367
Object.Rotation 0/0/0

object.create gebase
Object.absolutePosition 338.6008/2.606621/409.9239
Object.Rotation 0/0/0
else
rem *** CREATE FLAG BASES ***
object.create FlagPole
Object.absolutePosition 714.2375/25.8089/735.9367
Object.Rotation 0/0/0

object.create FlagPole
Object.absolutePosition 338.6008/2.606621/409.9239
Object.Rotation 0/0/0
endIf


---
bf1942\levels\DC_Basrahs_Edge\ctf\ControlPoints.con
---
rem *** crashspawn ***
Object.create crashspawn
Object.absolutePosition 549.6031/1.794128/507.3176

rem *** marketspawn ***
Object.create marketspawn
Object.absolutePosition 420/2.961664/516

rem *** slumspawn ***
Object.create slumspawn
Object.absolutePosition 648/14.37597/616


---
bf1942\levels\DC_Basrahs_Edge\ctf\ControlPointTemplates.con
---
NetworkableInfo.createNewInfo ControlPointInfo
NetworkableInfo.setPredictionMode PMNone
NetworkableInfo.setBasePriority c_NIGhostAlways

rem -----------------------------------------
rem --- USspawn ---
rem -----------------------------------------
ObjectTemplate.create ControlPoint USspawn
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName USspawn
ObjectTemplate.radius 0
ObjectTemplate.team 2
ObjectTemplate.spawnGroupId 1
ObjectTemplate.objectSpawnerId 1
ObjectTemplate.areaValue 0
ObjectTemplate.timeToGetControl 9999
ObjectTemplate.timeToLoseControl 9999
ObjectTemplate.disableIfEnemyInsideRadius 1
ObjectTemplate.disableWhenLosingControl 1
ObjectTemplate.loseControlWhenEnemyClose 0
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.setPosition 0.000000/8.200000/0.000000
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

rem -----------------------------------------
rem --- iraqspawn ---
rem -----------------------------------------
ObjectTemplate.create ControlPoint iraqspawn
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName iraqspawn
ObjectTemplate.radius 0
ObjectTemplate.team 1
ObjectTemplate.spawnGroupId 2
ObjectTemplate.objectSpawnerId 2
ObjectTemplate.areaValue 0
ObjectTemplate.timeToGetControl 9999
ObjectTemplate.timeToLoseControl 9999
ObjectTemplate.disableIfEnemyInsideRadius 1
ObjectTemplate.disableWhenLosingControl 0
ObjectTemplate.loseControlWhenEnemyClose 0
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.unableToChangeTeam 1
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.setPosition 0.000000/8.200000/0.000000
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

rem -----------------------------------------
rem --- crashspawn ---
rem -----------------------------------------
ObjectTemplate.create ControlPoint crashspawn
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName CrashSite
ObjectTemplate.radius 18
ObjectTemplate.team 0
ObjectTemplate.spawnGroupId 3
ObjectTemplate.objectSpawnerId 3
ObjectTemplate.areaValue 50
ObjectTemplate.timeToGetControl 10
ObjectTemplate.timeToLoseControl 10
ObjectTemplate.disableIfEnemyInsideRadius 0
ObjectTemplate.disableWhenLosingControl 0
ObjectTemplate.loseControlWhenEnemyClose 1
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.unableToChangeTeam 0
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.setPosition 0.000000/8.200000/0.000000
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

rem -----------------------------------------
rem --- marketspawn ---
rem -----------------------------------------
ObjectTemplate.create ControlPoint marketspawn
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName MarketCenter
ObjectTemplate.radius 15
ObjectTemplate.team 0
ObjectTemplate.spawnGroupId 4
ObjectTemplate.objectSpawnerId 4
ObjectTemplate.areaValue 50
ObjectTemplate.timeToGetControl 10
ObjectTemplate.timeToLoseControl 10
ObjectTemplate.disableIfEnemyInsideRadius 0
ObjectTemplate.disableWhenLosingControl 0
ObjectTemplate.loseControlWhenEnemyClose 1
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.setPosition 0.000000/8.200000/0.000000
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

rem -----------------------------------------
rem --- slumspawn ---
rem -----------------------------------------
ObjectTemplate.create ControlPoint slumspawn
ObjectTemplate.networkableInfo ControlPointInfo
ObjectTemplate.setControlPointName Slums
ObjectTemplate.radius 12
ObjectTemplate.team 0
ObjectTemplate.spawnGroupId 5
ObjectTemplate.objectSpawnerId 5
ObjectTemplate.areaValue 50
ObjectTemplate.timeToGetControl 10
ObjectTemplate.timeToLoseControl 10
ObjectTemplate.disableIfEnemyInsideRadius 0
ObjectTemplate.disableWhenLosingControl 0
ObjectTemplate.loseControlWhenEnemyClose 1
ObjectTemplate.loseControlWhenNotClose 0
ObjectTemplate.geometry flagbase_m1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.addTemplate AnimatedFlag
ObjectTemplate.setPosition 0.000000/8.200000/0.000000
ObjectTemplate.setTeamGeometry 1 flagge_m1
ObjectTemplate.setTeamGeometry 2 flagus_m1

rem EndOfFile


---
bf1942\levels\DC_Basrahs_Edge\ctf\spawnPointManagerSettings.con
---
spawnpointmanager.group 1
spawnpointmanager.groupteam 2
spawnpointmanager.groupicon test1.tga

spawnpointmanager.group 2
spawnpointmanager.groupteam 1
spawnpointmanager.groupicon test1.tga

spawnpointmanager.group 3
spawnpointmanager.groupteam 0
spawnpointmanager.groupicon test1.tga

spawnpointmanager.group 4
spawnpointmanager.groupteam 0
spawnpointmanager.groupicon test1.tga

spawnpointmanager.group 5
spawnpointmanager.groupteam 0
spawnpointmanager.groupicon test1.tga

rem end of file

Author:  Natt [ Sat Mar 25, 2006 12:17 pm ]
Post subject: 

I had this once when I left a ssm Basrahs Edge I was working on in my levels folder (clientside),
while Basrahs edge was running on the server. Not sure what caused it.
You should delete every file out the RFA patch that you haven't modified.

Author:  midnight [ Sat Mar 25, 2006 12:47 pm ]
Post subject: 

Done that, no worky... Just causes it to crash on load. But thx.

Author:  Natt [ Sat Mar 25, 2006 1:11 pm ]
Post subject: 

If the server runs but the client crashes then you have modified something that doesn't work serverside.
Anyone without the modded rfa in their levels folder will crash.
I seem to remember when I had the same problem, my ssm rfa also caused the client to crash,
I had added ObjectSpawnTemplates, which is a no no.

Author:  midnight [ Sat Mar 25, 2006 1:37 pm ]
Post subject: 

It doesn't crash. Only when I do what you suggested does it crash. I didn't keep the suggestion you made so it loads fine, just need to change that control point.

Author:  midnight [ Sat Mar 25, 2006 2:36 pm ]
Post subject: 

What's even more weird is that if I rem out crashsite (as a temp fix) it bumps the 'bug' to marketplace -lol- Where the heck is this thing coming from!? Anybody got any ideas on how to just stick it on opposition base and get crashsite back as a control point?

Author:  midnight [ Sun Mar 26, 2006 8:31 am ]
Post subject: 


Author:  Why Two Kay [ Sun Mar 26, 2006 6:38 pm ]
Post subject: 

Thats a very interesting mod there, can we see your RFA to find out what causes it?

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/