Blockland Forums > Help
Swordbot.cs constant console spam.
<< < (2/2)
King Tøny:
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

--- End quote ---
Darksaber2213:
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.
King Tøny:
@conan
King Tøny:
Bots also do no damage when using conan's swords either
Navigation
Message Index
Previous page

Go to full version