Swordbot.cs constant console spam.

Author Topic: Swordbot.cs constant console spam.  (Read 1247 times)

Quote
Add-Ons/Event_RandomItems/server.cs (65): Unable to find object: '0' attempting to call function 'schedulePop'
BackTrace: ->AIPlayer::spawnRandomItem


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->RapierImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->RapierImage::onMount->equipSword->applySwordProperties

Posting to master server

Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties

Object '-1' is not a member of the 'GameBaseData' data block class
Add-Ons/Event_RandomItems/server.cs (61): Register object failed for object (null) of class Item.

Add-Ons/Event_RandomItems/server.cs (63): Unable to find object: '0' attempting to call function 'setVelocity'
BackTrace: ->AIPlayer::spawnRandomItem

Set::add: Object "0" doesn't exist

Add-Ons/Event_RandomItems/server.cs (65): Unable to find object: '0' attempting to call function 'schedulePop'
BackTrace: ->AIPlayer::spawnRandomItem

Object '-1' is not a member of the 'GameBaseData' data block class
Add-Ons/Event_RandomItems/server.cs (61): Register object failed for object (null) of class Item.

Add-Ons/Event_RandomItems/server.cs (63): Unable to find object: '0' attempting to call function 'setVelocity'
BackTrace: ->AIPlayer::spawnRandomItem

Set::add: Object "0" doesn't exist

Add-Ons/Event_RandomItems/server.cs (65): Unable to find object: '0' attempting to call function 'schedulePop'
BackTrace: ->AIPlayer::spawnRandomItem


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (275): Unable to find object: '' attempting to call function 'getTeam'
BackTrace: ->AIPlayer::setWeapon->ShortSwordImage::onMount->equipSword->applySwordProperties

Object '-1' is not a member of the 'GameBaseData' data block class
Add-Ons/Event_RandomItems/server.cs (61): Register object failed for object (null) of class Item.

Add-Ons/Event_RandomItems/server.cs (63): Unable to find object: '0' attempting to call function 'setVelocity'
BackTrace: ->AIPlayer::spawnRandomItem

Set::add: Object "0" doesn't exist

Add-Ons/Event_RandomItems/server.cs (65): Unable to find object: '0' attempting to call function 'schedulePop'
BackTrace: ->AIPlayer::spawnRandomItem


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[WheeledCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry

ResourceManager::loadStream: 'CI_goblinSword.png' Not in the zip! (Add-Ons/Bot_Goblin.zip)
Could not locate texture: add-ons/Bot_Goblin/CI_goblinSword (download failed, using default texture)
  +- using default 'ci_' texture 'base/client/ui/CI/skull.png'


This didn't start happening until recently, not sure what is causing it exactly. But it's basically an infinite loop.

So the console spam happens whenever a bot spawns with conan's weapon. If that helps.

Something is probably disabling or deleting the border reference used by Conan's sword. Look for conflicting add-ons that deal with bot mounting and unmounting, or bot force respawning addons


I disabled all recent add-ons and the issue doesn't seem to be resolving itself.

So I disabled slayer and now half the issue is solved.

So slayer is loving up the swords and some mystery add-on I haven't found yet is loving up the swords.

I no longer get the 'getTeam'  'schedulePop' and 'setVelocity' but I'm still getting this.

So I guess it would be up to greek2me or whomever to fix slayer then to stop this.

Quote
Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->[BotHolePackage]serverCmdSetWrenchData->[Support_ExtendedServerControl]serverCmdSetWrenchData->serverCmdSetWrenchData->[BotHolePackage]fxDTSBrick::setItem->AIPlayer::setWeapon->ScimitarImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordDatablocks.cs (572): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->[BotHolePackage]serverCmdSetWrenchData->[Support_ExtendedServerControl]serverCmdSetWrenchData->serverCmdSetWrenchData->[BotHolePackage]fxDTSBrick::setItem->AIPlayer::setWeapon->ScimitarImage::onUnMount


Add-Ons/Weapon_Dueling_Swords/swordDatablocks.cs (573): Unable to find object: '' attempting to call function 'applyBodyColors'
BackTrace: ->[BotHolePackage]serverCmdSetWrenchData->[Support_ExtendedServerControl]serverCmdSetWrenchData->serverCmdSetWrenchData->[BotHolePackage]fxDTSBrick::setItem->AIPlayer::setWeapon->ScimitarImage::onUnMount

==>dfsf
Syntax error in input.
eval error >> dfsf
BackTrace: ->ConsoleEntry::eval


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ScimitarImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ScimitarImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (616): Unable to find object: '' attempting to call function 'centerPrint'
BackTrace: ->[VCE_Main]armor::onTrigger->[AdventureTriggers]armor::onTrigger->[AdventurePlayer]armor::onTrigger->[PirateCannonPackage]armor::onTrigger->[TankPackage]armor::onTrigger->[MusketMelee]armor::onTrigger->[BowItemModel]armor::onTrigger->[SwordItemModel]armor::onTrigger->swordParry


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ScimitarImage::onMount->equipSword->applySwordProperties


Add-Ons/Weapon_Dueling_Swords/swordBot.cs (272): Unable to find object: '' attempting to call function 'applyBodyParts'
BackTrace: ->AIPlayer::setWeapon->ScimitarImage::onMount->equipSword->applySwordProperties

The problem is actually a part of the Dueling Swords Add-On itself. It's trying to call client functions (centerPrint, applyBodyParts, etc.) on a bot's client, which doesn't exist (bots don't have client objects).

Therefore, the console is throwing an Unable to find object error. Tell conan to add client checks to the Dueling Swords Add-On.


Bots also do no damage when using conan's swords either