Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jochen Bauer
spn-gameserver
Commits
8f34895d
Commit
8f34895d
authored
May 10, 2018
by
Thomas Kolb
Browse files
Debug-Print vor dem Bot-Init
parent
e2349c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Field.cpp
View file @
8f34895d
...
...
@@ -89,10 +89,11 @@ std::shared_ptr<Bot> Field::newBot(std::unique_ptr<db::BotScript> data, std::str
heading
);
std
::
cerr
<<
"Initializing Bot with ID "
<<
bot
->
getGUID
()
<<
", DB-ID "
<<
bot
->
getDatabaseId
()
<<
", Name: "
<<
bot
->
getName
()
<<
std
::
endl
;
initErrorMessage
=
""
;
if
(
bot
->
init
(
initErrorMessage
))
{
std
::
cerr
<<
"Created Bot with ID "
<<
bot
->
getGUID
()
<<
", DB-ID "
<<
bot
->
getDatabaseId
()
<<
", Name: "
<<
bot
->
getName
()
<<
std
::
endl
;
m_updateTracker
->
botLogMessage
(
bot
->
getViewerKey
(),
"starting bot"
);
m_updateTracker
->
botSpawned
(
bot
);
m_bots
.
insert
(
bot
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment