Poll

Do you have any interest in using the Search and Destroy gamemode? (I'm considering dropping support for it)

Yes.
5 (41.7%)
No.
7 (58.3%)

Total Members Voted: 12

Author Topic: Slayer 4 Testing and Development  (Read 33581 times)

New update! Here's the change log: http://mods.greek2me.us/changelog/beta/Gamemode_Slayer.htm

Unfortunately, the bot navigation system takes far too long to generate a node graph, so it's not practical yet. You can enable it with $Slayer::Paths::Dynamic=true;.
« Last Edit: August 02, 2015, 11:02:12 AM by Greek2me »

I fixed that bot problem I had, was some conflicting add-on but idk what it was.

Anyways not sure if this is a conflicting add-on problem or not (can't check right now), but for some reason I don't spawn with any weapons I set, the bots can though.
yeah it was a conflicting add-on, still don't know which it was though
« Last Edit: August 02, 2015, 01:58:53 PM by gr8dayseth »

Let me know when you figure out which one it is.

Is it compatible with CTF yet or am I late.


BUG: In some rounds of team deathmatches, some bots will NOT spawn at the spawnpoints. The spawn points and team colors are set accordingly (White spawnpoints, white team colors). Other rounds one team with only 1 preferred and max player spawns at the spawn point. accordingly. I can't get the second team and sometimes the first team to spawn at their designated spawnpoints.

I also get a lot of this in the console

Quote

ERROR : ShapeBase::setNodeColor() - Couldn't find node ""
BackTrace: ->serverCmdSlayer_getTeamPrefs_ Tick->Slayer_TeamPrefSO::setValue->Slayer_TeamSO::updateDatablock->Player::changeDatablock->[Event_2DCamera]Player::setDatablock->[AltDatablocks]ShapeBase::setDatablock->[Event_2DCamera]Armor::onNewDataBlock->[BotHolePackage]Armor::onNewDataBlock->[Slayer_GameConnection]GameConnection::applyBodyColors->GameConnection::applyBodyColors->[Support_Interactive_Vehicle]ShapeBase::setNodeColor->[TankPackage]ShapeBase::setNodeColor->[hitboxes]ShapeBase::setNodeColor


ERROR : ShapeBase::setNodeColor() - Couldn't find node ""
BackTrace: ->serverCmdSlayer_getTeamPrefs_ Tick->Slayer_TeamPrefSO::setValue->Slayer_TeamSO::updateDatablock->Player::changeDatablock->[Event_2DCamera]Player::setDatablock->[AltDatablocks]ShapeBase::setDatablock->[Event_2DCamera]Armor::onNewDataBlock->[BotHolePackage]Armor::onNewDataBlock->[Slayer_GameConnection]GameConnection::applyBodyColors->GameConnection::applyBodyColors->[Support_Interactive_Vehicle]ShapeBase::setNodeColor->[TankPackage]ShapeBase::setNodeColor->[hitboxes]ShapeBase::setNodeColor

(spams above alot)


base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64263) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64268) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64273) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64278) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (65083) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject

Add-Ons/Weapon_DWeapons/basic.cs (476): Unable to find object: '' attempting to call function 'setControlCameraFov'
BackTrace: ->Player::kill->ShapeBase::Damage->[BotHolePackage]Armor::Damage->[StunDamage]Armor::Damage->Armor::Damage->[BotFollowPlayerPackage]GameConnection::onDeath->[Event_Minigame]GameConnection::onDeath->[ZoneEvents]GameConnection::onDeath->[Slayer_GameConnection]GameConnection::onDeath->[Slayer_TeamHandlerSG]GameConnection::onDeath->[Support_RespawnTime]GameConnection::onDeath->[SpecialKills]GameConnection::onDeath->[Server_DropInventoryOnDeath]GameConnection::onDeath->[M1014]GameConnection::onDeath->[Saiga]GameConnection::onDeath->[gc_ScopesPackage]GameConnection::onDeath

De-activating package: Fets
Set::remove: Object "FretGui" does not exist in set

ERROR : ShapeBase::setNodeColor() - Couldn't find node ""
BackTrace: ->[Slayer_MiniGameSO]Slayer_MiniGameSO::reset->Slayer_TeamHandlerSG::onMinigameReset->Slayer_TeamHandlerSG::shuffleTeams->[Slayer_Compatibility_Gamemode_TeamDeathmatch]Slayer_TeamSO::addMember->Slayer_TeamSO::addMember->Slayer_TeamSO::onAddMember->Slayer_TeamSO::botFillTeam->AiController::onRemove->[Slayer_MiniGameSO]Slayer_MiniGameSO::removeMember->[Slayer_Compatibility_Gamemode_TeamDeathmatch]Slayer_TeamSO::removeMember->Slayer_TeamSO::removeMember->Player::changeDatablock->[Event_2DCamera]Player::setDatablock->[AltDatablocks]ShapeBase::setDatablock->[Event_2DCamera]Armor::onNewDataBlock->[BotHolePackage]Armor::onNewDataBlock->[Slayer_GameConnection]GameConnection::applyBodyColors->GameConnection::applyBodyColors->[Support_Interactive_Vehicle]ShapeBase::setNodeColor->[TankPackage]ShapeBase::setNodeColor->[hitboxes]ShapeBase::setNodeColor


ERROR : ShapeBase::setNodeColor() - Couldn't find node ""
BackTrace: ->[Slayer_MiniGameSO]Slayer_MiniGameSO::reset->Slayer_TeamHandlerSG::onMinigameReset->Slayer_TeamHandlerSG::shuffleTeams->[Slayer_Compatibility_Gamemode_TeamDeathmatch]Slayer_TeamSO::addMember->Slayer_TeamSO::addMember->Slayer_TeamSO::onAddMember->Slayer_TeamSO::botFillTeam->AiController::onRemove->[Slayer_MiniGameSO]Slayer_MiniGameSO::removeMember->[Slayer_Compatibility_Gamemode_TeamDeathmatch]Slayer_TeamSO::removeMember->Slayer_TeamSO::removeMember->Player::changeDatablock->[Event_2DCamera]Player::setDatablock->[AltDatablocks]ShapeBase::setDatablock->[Event_2DCamera]Armor::onNewDataBlock->[BotHolePackage]Armor::onNewDataBlock->[Slayer_GameConnection]GameConnection::applyBodyColors->GameConnection::applyBodyColors->[Support_Interactive_Vehicle]ShapeBase::setNodeColor->[TankPackage]ShapeBase::setNodeColor->[hitboxes]ShapeBase::setNodeColor


(spams alot more)

base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64268) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64273) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (64278) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
base/server/scripts/game.cs (1065): Unknown command getSpawnPoint.
  Object (65083) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject
Add-Ons/Gamemode_Slayer/server/core/Slayer_MiniGameSO.cs (1378): Unknown command getPlayerName.
  Object (65974) Slayer_AiController -> AiController -> ScriptObject -> SimObject -> SimObject -> SimObject

Add-Ons/Weapon_DWeapons/basic.cs (476): Unable to find object: '' attempting to call function 'setControlCameraFov'
BackTrace: ->Player::kill->ShapeBase::Damage->[BotHolePackage]Armor::Damage->[StunDamage]Armor::Damage->Armor::Damage->[BotFollowPlayerPackage]GameConnection::onDeath->[Event_Minigame]GameConnection::onDeath->[ZoneEvents]GameConnection::onDeath->[Slayer_GameConnection]GameConnection::onDeath->[Slayer_TeamHandlerSG]GameConnection::onDeath->[Support_RespawnTime]GameConnection::onDeath->[SpecialKills]GameConnection::onDeath->[Server_DropInventoryOnDeath]GameConnection::onDeath->[M1014]GameConnection::onDeath->[Saiga]GameConnection::onDeath->[gc_ScopesPackage]GameConnection::onDeath

De-activating package: Fets
Set::remove: Object "FretGui" does not exist in set

Add-Ons/Tool_Fill_Can/server.cs (519): Unable to find object: '0' attempting to call function 'getMountedImage'
BackTrace: ->[sportBallsPackage]serverCmdUseSprayCan->[fillcan]serverCmdUseSprayCan


Add-Ons/Weapon_Modern/server.cs (539): Unable to find object: '0' attempting to call function 'changeDatablock'
BackTrace: ->[Player_Frozen]serverCmdUseTool->[sportBallsPackage]serverCmdUseTool->[blackopsreload]serverCmdUseTool


Add-Ons/Weapon_Modern/server.cs (539): Unable to find object: '0' attempting to call function 'changeDatablock'
BackTrace: ->[Player_Frozen]serverCmdUseTool->[sportBallsPackage]serverCmdUseTool->[blackopsreload]serverCmdUseTool

Window reactivating...
Window reactivating...

ERROR : ShapeBase::setNodeColor() - Couldn't find node ""
BackTrace: ->serverCmdSlayer_getTeamPrefs_ Tick->Slayer_TeamPrefSO::setValue->Slayer_TeamSO::updateBotFillLimit->Slayer_TeamSO::botFillTeam->AiController::onRemove->[Slayer_MiniGameSO]Slayer_MiniGameSO::removeMember->[Slayer_Compatibility_Gamemode_TeamDeathmatch]Slayer_TeamSO::removeMember->Slayer_TeamSO::removeMember->Player::changeDatablock->[Event_2DCamera]Player::setDatablock->[AltDatablocks]ShapeBase::setDatablock->[Event_2DCamera]Armor::onNewDataBlock->[BotHolePackage]Armor::onNewDataBlock->[Slayer_GameConnection]GameConnection::applyBodyColors->GameConnection::applyBodyColors->[Support_Interactive_Vehicle]ShapeBase::setNodeColor->[TankPackage]ShapeBase::setNodeColor->[hitboxes]ShapeBase::setNodeColor


ERROR : ShapeBase::setNodeColor() - Couldn't find node ""
BackTrace: ->serverCmdSlayer_getTeamPrefs_ Tick->Slayer_TeamPrefSO::setValue->Slayer_TeamSO::updateBotFillLimit->Slayer_TeamSO::botFillTeam->AiController::onRemove->[Slayer_MiniGameSO]Slayer_MiniGameSO::removeMember->[Slayer_Compatibility_Gamemode_TeamDeathmatch]Slayer_TeamSO::removeMember->Slayer_TeamSO::removeMember->Player::changeDatablock->[Event_2DCamera]Player::setDatablock->[AltDatablocks]ShapeBase::setDatablock->[Event_2DCamera]Armor::onNewDataBlock->[BotHolePackage]Armor::onNewDataBlock->[Slayer_GameConnection]GameConnection::applyBodyColors->GameConnection::applyBodyColors->[Support_Interactive_Vehicle]ShapeBase::setNodeColor->[TankPackage]ShapeBase::setNodeColor->[hitboxes]ShapeBase::setNodeColor

(spams above alot)
« Last Edit: August 05, 2015, 12:50:38 AM by Night_Hawk »

The preferred players number is for the total number of players on the team. Basically if the team doesn't have that many players, the remaining slots will be filled by bots.

The preferred players number is for the total number of players on the team. Basically if the team doesn't have that many players, the remaining slots will be filled by bots.
They don't spawn at the colored slayer spawnpoints though. What you mentioned works fine, but they don't spawn at the spawn points. I have Use Spawnpoints and Use all Players bricks enabled, and the team colors and team spawnpoints are set accordingly.

Ah, so they are spawning in random places? Could you please upload a full console log to here: https://bitbucket.org/Greek2me/slayer/issues/new

Edit: please also include the minigame config file. Just set it as a favorite and you'll find it in config/client/slayer.
« Last Edit: August 05, 2015, 08:27:29 PM by Greek2me »

Ah, so they are spawning in random places? Could you please upload a full console log to here: https://bitbucket.org/Greek2me/slayer/issues/new

Edit: please also include the minigame config file. Just set it as a favorite and you'll find it in config/client/slayer.
I got the favorite of coarse! However I'm going to need to start up Blockland later on, but yes I will be sure to do so!

It could probably help speed up generating a navigational mesh if you don't have it BE TOO DARN ACCURATE. I don't think it needs to be a point for each stud, maybe a point for every three studs or something.

Or possibly when the nav-mesh is in an open area, it's less accurate, but once it gets near walls it gets more accurate; as to prevent bad pathfinding in a tight environment.
« Last Edit: August 05, 2015, 11:03:24 PM by Kamutog »

Or possibly when the nav-mesh is in an open area, it's less accurate, but once it gets near walls it gets more accurate; as to prevent bad pathfinding in a tight environment.

This is actually what I've been working on recently! I'll experiment with a reduced graph resolution as well.

GameModeClassName.onGameModeStart(%this); is never called.

Please go to Slayer_GameModeSO.cs and make line 47 use %this.class instead of %this.className.

Thanks - new version is on the updater.

Is the team bricks supposed to be in special brick directory?