project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - O01eg

Pages: 1 2 3 [4] 5
46
Bugs prior to release 2.3 / Re: problem with compiling maps (r29501)
« on: April 24, 2010, 05:06:34 pm »
Umpf... actually it was 3.5 hours, but I used the debug version of ufo2map, doh !
With the release verion it's 'only' 40 minutes.
Is it possible to divide debug and release version for the game and ufo2map?

47
I don't know. It caused iitself.

48
Bugs prior to release 2.3 / Re: Corrupting saved games
« on: February 22, 2010, 11:11:23 am »
geever, add check for link between UFO and missions into saving code.

49
I have got such ufo too. When I brought down one ufo that became into zombie UFO with zero or negative damage and ufocrash mission.
Type into game console 'debug_listufo'.

50
Linux / Re: svn r28546 crashes
« on: February 22, 2010, 09:27:15 am »
I also have this bug. r38676
It is accompanied with wrong values of linking to mission at 'debug_listufo'.

51
Discussion / Re: UFO: Female Invasion?
« on: January 31, 2010, 10:23:17 am »
As with all things C++, boost is the answer: http://www.boost.org/doc/libs/1_41_0/libs/random/index.html That library will also be part of the C++ standard, offering 3 different random number generators depending on the quality you need, and will work on any platform you could possibly need.
Boost in C? It's terrible.

52
When I press on mission's button:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x000000000049ca78 in MAP_GetMissionText (
    buffer=0x1957fa0 "Location: The Greater European Union\nType: Crashed UFO\nObjective: UFO Crashsite.", size=2048, mission=0x1deb6ce8)
    at src/client/campaign/cp_map.c:1553
1553 Com_sprintf(buffer, size, _("Location: %s\nType: %s\nObjective: %s"), mission->location,
(gdb) bt full
#0  0x000000000049ca78 in MAP_GetMissionText (
    buffer=0x1957fa0 "Location: The Greater European Union\nType: Crashed UFO\nObjective: UFO Crashsite.", size=2048, mission=0x1deb6ce8)
    at src/client/campaign/cp_map.c:1553
No locals.
#1  0x000000000049deb8 in MAP_DrawMap (node=0x3577bb8)
    at src/client/campaign/cp_map.c:1900
        pos = {0, 0}
        t = '\000' <repeats 63 times>
#2  0x00000000004e4e4e in MN_MapNodeDraw (node=0x3577bb8)
    at src/client/menu/node/m_node_map.c:47
        pos = {0, 0}
#3  0x00000000004cd6e1 in MN_DrawNode (node=0x3577bb8)
    at src/client/menu/m_draw.c:238
        child = 0x5a63e5
        pos = {0, 0}
        globalTransX = 0
        globalTransY = 0
#4  0x00000000004cd811 in MN_DrawNode (node=0x3577988)
    at src/client/menu/m_draw.c:264
        hasClient = qfalse
        clientPosition = {0.5, 0}
        child = 0x3577bb8
        pos = {0, 0}
        globalTransX = 0
        globalTransY = 0
#5  0x00000000004cdbfc in MN_Draw () at src/client/menu/m_draw.c:362
        hoveredNode = 0x2090c0d8
        menu = 0x3577988
        pos = 0
        mouseMoved = qfalse
        __PRETTY_FUNCTION__ = "MN_Draw"
#6  0x000000000043ae7a in SCR_UpdateScreen () at src/client/cl_screen.c:445
No locals.
#7  0x0000000000439b61 in CL_Frame (now=1077434, data=0x0)
    at src/client/cl_main.c:1139
        delta = 20
        lastFrame = 1077434
#8  0x000000000050aea6 in tick_timer (now=1077434, data=0x1517c3c8)
    at src/common/common.c:1005
        timer = 0x1517c3c8
        old_interval = 20
        lateness = 1
#9  0x000000000050b36e in Qcommon_Frame () at src/common/common.c:1156
        time_to_next = 0
        event = 0x1f393d58
#10 0x0000000000569c49 in main (argc=1, argv=0x7fffffffda78)
    at src/ports/linux/linux_main.c:53
No locals.

53
Bugs prior to release 2.3 / R28180 Error on start mission (Texture bug)
« on: January 20, 2010, 10:17:49 am »
Code: [Select]
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 2 ms
CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_fighter +h07 +d01 +h01 +h01 +h01 +h05" "-16 -16 0 -24 0 0 8 -16 0 16 8 0 0 0 0 16 0 0 -24 16 0 -24 -16 0"
Rerouted for RMA in   0.0s
checksum for the map '+ufocrash': 221903652
ufo script checksum 243850177
Not enough spawn points for team 0
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/ufocrash.mat'
Starting the game...
o01eg has joined team 1
music change to van_mission (from karlmacklin_geoscape)
********************
ERROR: Texture is already freed and no longer uploaded, texnum is invalid for model models/soldiers/femalemedium/head03a.md2
********************
Shutdown server: Server crashed.
==== ShutdownGame ====
/mnt/other/games/ufoai.d/share/ufoai/ufo(Sys_Backtrace+0x1c)[0x56ae8b] src/ports/unix/unix_main.c:493
/mnt/other/games/ufoai.d/share/ufoai/ufo(Com_Error+0x1bb)[0x50965d] src/common/common.c:267
/mnt/other/games/ufoai.d/share/ufoai/ufo(R_AliasModelState+0x1d8)[0x556b08] src/client/renderer/r_model.c:325
/mnt/other/games/ufoai.d/share/ufoai/ufo(R_DrawModelDirect+0xd9)[0x5544f7] src/client/renderer/r_mesh.c:251
/mnt/other/games/ufoai.d/share/ufoai/ufo(MN_DrawModelNode+0x5a6)[0x4e7919] src/client/menu/node/m_node_model.c:357
/mnt/other/games/ufoai.d/share/ufoai/ufo[0x4e6b91] src/client/menu/node/m_node_model.c:88
/mnt/other/games/ufoai.d/share/ufoai/ufo[0x4cd6e1] src/client/menu/m_draw.c:242
/mnt/other/games/ufoai.d/share/ufoai/ufo[0x4cd811] src/client/menu/m_draw.c:263
/mnt/other/games/ufoai.d/share/ufoai/ufo[0x4cd811] src/client/menu/m_draw.c:263
/mnt/other/games/ufoai.d/share/ufoai/ufo(MN_Draw+0xf1)[0x4cdbfc] src/client/menu/m_draw.c:365
/mnt/other/games/ufoai.d/share/ufoai/ufo(SCR_UpdateScreen+0xda)[0x43ae7a] src/client/cl_screen.c:448
/mnt/other/games/ufoai.d/share/ufoai/ufo(CL_Frame+0xf7)[0x439b61] src/client/cl_main.c:1142
/mnt/other/games/ufoai.d/share/ufoai/ufo[0x50aea6] src/common/common.c:1010
/mnt/other/games/ufoai.d/share/ufoai/ufo(Qcommon_Frame+0x70)[0x50b36e] src/common/common.c:1158
/mnt/other/games/ufoai.d/share/ufoai/ufo(main+0x57)[0x569c49] src/ports/linux/linux_main.c:53
/lib/libc.so.6(__libc_start_main+0xe6)[0x7ffff4ea1a26]
/mnt/other/games/ufoai.d/share/ufoai/ufo[0x42b5e9]
And screeshot:

54
Some information:
Code: [Select]
(gdb) p cl.numLEs
$19 = 0
(gdb) p LEs[0]
$20 = {inuse = qfalse, removeNextFrame = qfalse, invis = qfalse,
  selected = qfalse, type = 0, entnum = 0, origin = {0, 0, 0}, oldOrigin = {0,
    0, 0}, pos = "\000\000", oldPos = "\000\000", newPos = "\000\000",
  dir = 0, TU = 0, maxTU = 0, morale = 0, maxMorale = 0, HP = 0, maxHP = 0,
  STUN = 0, state = 0, oldstate = 0, angles = {0, 0, 0}, alpha = 0, team = 0,
  pnum = 0, currentSelectedFiremode = 0, actorMode = M_MOVE,
  mousePendPos = "\000\000", actorMoveLength = 0 '\000', clientAction = 0,
  contents = 0, mins = {0, 0, 0}, maxs = {0, 0, 0},
  inlineModelName = "\000\000\000\000\000\000\000", modelnum1 = 0,
  modelnum2 = 0, skinnum = 0, model1 = 0x0, model2 = 0x0, think = 0,
  thinkDelay = 0, path = '\000' <repeats 31 times>, pathContents = {
    0 <repeats 32 times>}, positionContents = 0, pathLength = 0, pathPos = 0,
  startTime = 0, endTime = 0, speed = {0 <repeats 32 times>},
  rotationSpeed = 0, sample = 0x0, volume = 0, as = {frame = 0, oldframe = 0,
    backlerp = 0, time = 0, dt = 0, mesh = 0,
    list = "\000\000\000\000\000\000\000", lcur = 0 '\000', ladd = 0 '\000',
    change = 0 '\000'}, particleID = 0x0, levelflags = 0, ptl = 0x0,
  ref1 = 0x0, ref2 = 0x0, i = {c = {0x0 <repeats 16 times>}}, left = 0,
  right = 0, extension = 0, headgear = 0, fieldSize = 0, teamDef = 0x0,
  gender = 0, fd = 0x0, pathMap = 0x0, lighting = {origin = {0, 0, 0},
    point = {0, 0, 0}, normal = {0, 0, 0}, color = {0, 0, 0}, position = {0,
      0, 0}, time = 0, colors = {{0, 0, 0}, {0, 0, 0}}, positions = {{0, 0,
        0}, {0, 0, 0}}, dirty = qfalse}, addFunc = 0, locked = qfalse}
(gdb) p leInlineModelList
$21 = {0x2e01328 "", 0x2e016d8 "", 0x2e01a88 "", 0x2e01e38 "", 0x2e021e8 "",
  0x2e02598 "", 0x2e02948 "", 0x2e02cf8 "", 0x2e030a8 "", 0x2e03458 "",
  0x2e03808 "", 0x2e03bb8 "", 0x2e03f68 "", 0x2e04318 "", 0x2e046c8 "",
  0x2e04a78 "", 0x0 <repeats 1009 times>}

55
UFO:AI output:
Code: [Select]
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 2 ms
CM_LoadMap: "-ufocrash/uc_ +craft_drop_firebird +craft_crash_scout +h07 +h07 +h05 +h05 +h01 +h01 +h02 +h02 +h02" "0 0 0 -24 0 0 -24 -16 0 0 -16 0 24 -16 0 -8 0 0 -8 16 0 8 16 0 24 0 0 24 8 0 24 16 0"
Rerouted for RMA in   1.0s
checksum for the map '+ufocrash': 1684291437
ufo script checksum 4011703447
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/ufocrash.mat'
Starting the game...
o01eg has joined team 1
music change to turinItalyM (from van_geoscape)
music change to AlexSullencity (from turinItalyM)
ufo: src/common/cmodel.c:715: CM_EntTestLineDM: ??????????? ??????????? <<*name[0] == '*'>> ?? ?????????.
GDB output:
Code: [Select]
Program received signal SIGABRT, Aborted.
0x00007ffff4eb3f25 in raise () from /lib/libc.so.6
(gdb) bt full
#0  0x00007ffff4eb3f25 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ffff4eb52c0 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007ffff4ead329 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3  0x00000000005016a9 in CM_EntTestLineDM (start=0x7fffffffd7b0,
    stop=0x7fffffffd7c0, end=0x7fffffffd7a0, levelmask=256)
    at src/common/cmodel.c:715
        trace = {allsolid = 5653968, startsolid = qfalse,
          fraction = -nan(0x7fd680), endpos = {4.59163468e-41, 6.12145463e-39,
            0}, plane = {normal = {-nan(0x7fda60), 4.59163468e-41,
              1.40129846e-45}, dist = 0, type = 128 '\200'}, surface = 0x0,
          planenum = 524684104, contentFlags = 0, leafnum = 0, mapTile = 10,
          le = 0x7fffffffd7b0, ent = 0x60}
        model = 0x0
        name = 0x1908360
        blocked = 0
        fraction = 2
        __PRETTY_FUNCTION__ = "CM_EntTestLineDM"
#4  0x0000000000501601 in CM_TestLineDMWithEnt (start=0x7fffffffd7b0,
    stop=0x7fffffffd7c0, end=0x7fffffffd7a0, levelmask=256, entlist=0x1908360)
    at src/common/cmodel.c:683
        hit = 32767
#5  0x000000000044939f in CL_ActorMouseTrace ()
    at src/client/battlescape/cl_actor.c:1703
        i = 0
        restingLevel = 99597608
        cur = {0.025390625, -0.239583328}
        frustumSlope = {1182.41333, 886.809998}
        projectionDistance = 2048
        nDotP2minusP1 = 0
        forward = {0, 0, 0}
        right = {0, 0, 0}
        up = {0, 0, 0}
        stop = {0, 0, 0}
        from = {0, 0, 0}
        end = {0, 0, 0}
        dir = {-nan(0x7fd810), 4.59163468e-41, -2.4952844e+32}
        mapNormal = {0, 0, 1}
        P3 = {0, 0, 89.5999985}
        P2minusP1 = {0, 0, 0}
        P3minusP1 = {-nan(0x7fd7b0), 4.59163468e-41, 7.92289668e-39}
        pA = {0, 0, -1.51860058e+32}
        pB = {-nan(0x7fda60), 4.59163468e-41, 0}
        pC = {1.34524653e-43, 0, 1.34524653e-43}
        testPos = " \327\377"
        actor2x2 = {"\020\000", "\000\060",
          "\000\000", <incomplete sequence \340>}
        fieldSize = 1
        le = 0x7fffffffd880
#6  0x000000000043ec72 in IN_Parse () at src/client/input/cl_input.c:615
No locals.
#7  0x000000000043f1a6 in IN_Frame () at src/client/input/cl_input.c:887
        mouse_buttonstate = 0
        unicode = 67
        key = 32767
        event = {type = 128 '\200', active = {type = 128 '\200',
            gain = 137 '\211', state = 151 '\227'}, key = {type = 128 '\200',
            which = 137 '\211', state = 151 '\227', keysym = {
              scancode = 0 '\000', sym = SDLK_UNKNOWN, mod = KMOD_NONE,
              unicode = 55472}}, motion = {type = 128 '\200',
            which = 137 '\211', state = 151 '\227', x = 0, y = 0, xrel = 0,
            yrel = 0}, button = {type = 128 '\200', which = 137 '\211',
            button = 151 '\227', state = 1 '\001', x = 0, y = 0}, jaxis = {
            type = 128 '\200', which = 137 '\211', axis = 151 '\227',
            value = 0}, jball = {type = 128 '\200', which = 137 '\211',
            ball = 151 '\227', xrel = 0, yrel = 0}, jhat = {type = 128 '\200',
            which = 137 '\211', hat = 151 '\227', value = 1 '\001'},
          jbutton = {type = 128 '\200', which = 137 '\211',
            button = 151 '\227', state = 1 '\001'}, resize = {
            type = 128 '\200', w = 0, h = 0}, expose = {type = 128 '\200'},
          quit = {type = 128 '\200'}, user = {type = 128 '\200', code = 0,
            data1 = 0x0, data2 = 0x7fffffffd8b0}, syswm = {type = 128 '\200',
            msg = 0x0}}
#8  0x0000000000438c70 in CL_Frame (now=1915895, data=0x0)
    at src/client/cl_main.c:1127
        delta = 3718
        lastFrame = 1915895
#9  0x0000000000509cd2 in tick_timer (now=1915895, data=0x10748498)
    at src/common/common.c:1005
        timer = 0x10748498
        old_interval = 20
        lateness = 154
#10 0x000000000050a19a in Qcommon_Frame () at src/common/common.c:1156
        time_to_next = 0
        event = 0x1f3cc288
#11 0x0000000000562f29 in main (argc=1, argv=0x7fffffffda68)
    at src/ports/linux/linux_main.c:53
No locals.

56
Mapping / Upstairs problem in oriental/or_house_e.map
« on: September 28, 2009, 01:38:56 am »
Here is screenshot from Radiant with enabled pathfinding info:


58
Bugs prior to release 2.3 / Re: Game Crash: Equip Soldier
« on: August 28, 2009, 07:46:25 pm »
A workaround is to save&&load before opening it,
It's my saved game. It crashed if go to "Equip Soldiers"
Code: [Select]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f6ebbc3e7a0 (LWP 2710)]
0x00007f6eb8c6a5d6 in raise () from /lib/libc.so.6
(gdb) backtrace
#0  0x00007f6eb8c6a5d6 in raise () from /lib/libc.so.6
#1  0x00007f6eb8c6b7c3 in abort () from /lib/libc.so.6
#2  0x00007f6eb8c63bc9 in __assert_fail () from /lib/libc.so.6
#3  0x0000000000456ee3 in CL_AddWeaponAmmo (ed=0x7fff1d390790, item=
      {a = 16, m = 0x0, t = 0x61a5f60, amount = 1, rotated = 0})
    at src/client/cl_team.c:477
#4  0x0000000000481707 in CL_CleanupAircraftCrew (aircraft=0x3175dc8,
    ed=0x7fff1d390790) at src/client/campaign/cp_team.c:84
#5  0x0000000000482274 in CL_UpdateEquipmentMenuParameters_f ()
    at src/client/campaign/cp_team_callbacks.c:241
#6  0x00000000004fb760 in Cmd_ExecuteString (
    text=0x7fff1d390ac0 "team_updateequip") at src/common/cmd.c:912
#7  0x00000000004fa5c2 in Cbuf_Execute () at src/common/cmd.c:229
#8  0x000000000044ec92 in CL_SendCommand () at src/client/cl_main.c:941
#9  0x000000000044f18e in CL_Frame (now=44765, data=0x0)
    at src/client/cl_main.c:1115
#10 0x0000000000509f99 in tick_timer (now=44765, data=0x1052c248)
    at src/common/common.c:1046
#11 0x000000000050a28e in Qcommon_Frame () at src/common/common.c:1127
#12 0x0000000000562425 in main (argc=1, argv=0x7fff1d3910d8)
    at src/ports/linux/linux_main.c:53
(gdb) frame 3
#3  0x0000000000456ee3 in CL_AddWeaponAmmo (ed=0x7fffd2c7fbc0, item=
      {a = 16, m = 0x0, t = 0x61a5f60, amount = 1, rotated = 0})
    at src/client/cl_team.c:477
477 assert(item.m);
(gdb) print *item.t
$2 = {idx = 87, name = "Laser Rifle", '\0' <repeats 52 times>,
  id = "laserrifle", '\0' <repeats 53 times>,
  model = "weapons/laserrifle/laserrifle", '\0' <repeats 34 times>,
  image = '\0' <repeats 63 times>, type = "rifle", '\0' <repeats 58 times>,
  armourPath = '\0' <repeats 63 times>,
  extends_item = '\0' <repeats 63 times>, shape = 3871, sx = 5 '\005',
  sy = 2 '\002', scale = 1.25999999, center = {4.5, 0, 0.5},
  animationIndex = 49 '1', weapon = qtrue, holdTwoHanded = qfalse,
  fireTwoHanded = qtrue, extension = qfalse, headgear = qfalse,
  thrown = qfalse, price = 2500, size = 35, isPrimary = qtrue,
  isSecondary = qfalse, isHeavy = qfalse, isMisc = qfalse, isUGVitem = qfalse,
  isDummy = qfalse, doNotAddWeaponToHand = qfalse, notOnMarket = qfalse,
  ammo = 16, reload = 12, oneshot = qfalse, deplete = qfalse, useable = 0,
  ammos = {0x61b5e60, 0x0, 0x0, 0x0}, numAmmos = 1, weapons = {0x0, 0x0, 0x0,
    0x0}, fd = ...
    ... shotOrg = {0, 0}, spread = {0, 0}, delay = 0, bounce = 0,
        bounceFac = 0, crouch = 0, range = 0, shots = 0, ammo = 0,
        delayBetweenShots = 0, time = 0, damage = {0, 0}, spldmg = {0, 0},
        splrad = 0, weaponSkill = 0, irgoggles = 0}, {
        name = '\0' <repeats 63 times>, projectile = '\0' <repeats 63 times>,
        impact = '\0' <repeats 63 times>, hitBody = '\0' <repeats 63 times>,
        fireSound = '\0' <repeats 63 times>,
        impactSound = '\0' <repeats 63 times>,
        hitBodySound = '\0' <repeats 63 times>, fireAttenuation = 0,
        impactAttenuation = 0, bounceSound = '\0' <repeats 63 times>,
        obj = 0x0, weapFdsIdx = 0, fdIdx = 0, soundOnce = qfalse,
        gravity = qfalse, launched = qfalse, rolled = qfalse,
        reaction = qfalse, throughWall = 0, dmgweight = 0 '\0', speed = 0,
        shotOrg = {0, 0}, spread = {0, 0}, delay = 0, bounce = 0,
        bounceFac = 0, crouch = 0, range = 0, shots = 0, ammo = 0,
        delayBetweenShots = 0, time = 0, damage = {0, 0}, spldmg = {0, 0},
        splrad = 0, weaponSkill = 0, irgoggles = 0}}}, numFiredefs = {0, 0, 0,
    0}, numWeapons = 0, tech = 0x3101540, extension_tech = 0x0, protection = {
    0 <repeats 64 times>}, ratings = {0 <repeats 64 times>}, dmgtype = 0 '\0',
  craftitem = {type = MAX_ACITEMS, stats = {0, 0, 0, 0, 0, 0, 0, 0},
    weaponDamage = 0, weaponSpeed = 0, weaponDelay = 0, installationTime = 0,
    bullets = qfalse, beam = qfalse, beamColor = {0, 0, 0, 0},
    unlimitedAmmo = qfalse}}

59
Bugs prior to release 2.3 / Re: Game Crash: Equip Soldier
« on: August 27, 2009, 03:54:38 am »
Yes, I also got this bug, but haven't yet analysed it.

60
Bugs prior to release 2.3 / Re: Game crash when catch ufo supply R25676
« on: August 16, 2009, 03:32:05 pm »
I change code in src/client/campaign/missions/cp_mission_buildbase.c CP_BuildBaseMissionIsSuccess:
From:
Code: [Select]
assert(base);
CP_SpreadXVIAtPos(base->pos);
To:
Code: [Select]
if(base) {
    CP_SpreadXVIAtPos(base->pos);
        }
After it game stoped to crash.
mission->ufo pointed to UFO supply, but mission->data was NULL.

Pages: 1 2 3 [4] 5