UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2766 Cbuf_AddText: overflow (8192) (updateactorvalues ....
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    5. Important
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (1)
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2766 Item 2766] imported from sourceforge.net tracker on 2013-01-28 19:47:16

Looooong warning message printed on starting a battle:
"-tropic/tr_ +r01 +r04 +r05 +h03 +craft_drop_firebird +craft_crash_fighter +r02 +f03 +f07 +f05 +p01 +r02 +f02 +h01 +h04 +f06 +f06 +f02 +p01 +f02 +f02" "-24 8 0 16 0 0 -8 0 0 -24 -8 0 -32 -24 0 0 -24 0 8 0 0 -8 -24 0 -8 -16 0 -8 0 0 -32 -8 0 -32 8 0 -8 -8 0 -32 24 0 8 16 0 -16 24 0 0 24 0 16 24 0 -32 0 0 24 -8 0 24 0 0"

-geever
===== Comments Ported from Sourceforge =====

====== geever (2011-01-05 22:18:54) ======

console output
====== tlh2000 (2011-01-06 06:56:04) ======

UI_ExecuteAction is using Cbuf_AddText but should maybe use Cmd_ExecuteString.
====== bayo-fr (2011-01-06 08:11:22) ======

That's not exactly the way UI_ExecuteAction works.

Cmd_ExecuteString is only used for "cmd" commands, cause the sementic of "cmd" is : "invoke something later". If from the UI code you want to invoke something directly, there is "call" command, but there is nothing to directly call cmd (i mean calling a cmd which is not confunc).

Anyway i dont think calling 19 times the same command make send, anyway we call it with Cbuf_AddText or Cmd_ExecuteString.

updateactorvalues 0 "" "0" "1" "0" "1" "0" "1" "0" ""; x19
updateactorvalues 1 "" "0" "1" "0" "1" "0" "1" "0" ""; x19
updateactorvalues 2 "" "0" "1" "0" "1" "0" "1" "0" ""; x19
...

Maybe "huddisable" is called too much time. BTW we can improve the "huddisable" code with a call command, but anyway we call it too much time.
====== geever (2011-01-06 15:40:30) ======

Maybe the problem is somewhere else. As bayo noticed too, the same command is fired many times.

I could imagine that the command string is not cleaned up but constantly filled as I don't remember this happen first time but after playing for a while (more missions without quitting the game). And from then it happen on every map.

-geever
====== geever (2011-01-07 20:41:05) ======

Reproduced. It happens on about 17-18th fight.

-geever
Steps to reproduce this issue
hit the retry button exactly 11 times when you start a battlescape mission.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif