What you can and can't do with pods

Catch-all for all development not having a specific forum.
Post Reply
juckto
Posts: 2332
Joined: Sat Jul 30, 2005 7:00 am
Location: NZ

Post by juckto »

Someone made a list a while ago about what you can and can't do with pods in the current code, iirc.

I've tried searching for it, but either it doesn't exist or it doesn't contain words like 'eject', 'life', 'pods', nor 'list'.

Can anyone point me to it (or tell me I'm getting it confused with a list of something different)?



Why I'm looking for it: I was going to investigate an idea about whether a core can have some ships with eject pods, but others not.
Last edited by juckto on Tue Jun 23, 2009 11:12 pm, edited 1 time in total.
Image
Usually though, "skill" is used to covertly mean "match the game exactly to my level of competence." Anyone who is at all worse than me should fail utterly (and humorously!) and anyone better is clearly too caught up in the game and their opinions shouldn't count.
Icky
Posts: 1436
Joined: Sat Jan 21, 2006 8:00 am

Post by Icky »

Terran wrote:QUOTE (Terran @ Jan 20 2011, 03:56 PM) i'm like adept
Broodwich wrote:QUOTE (Broodwich @ Jun 6 2010, 10:19 PM) if you spent as much time in game as trollin sf might not be dead
Imago
Posts: 1440
Joined: Tue Sep 23, 2003 7:00 am
Location: Minneapolis, MN
Contact:

Post by Imago »

CODE
Searching for: rescue
clintlib\appmsg.cpp(233): ImodelIGC* pNearestBase = FindTarget (pShip, c_ttStation | c_ttFriendly | c_ttAnyCluster | c_ttProbe, pShip->GetCommandTarget (c_cmdCurrent), pcluster, &pfmEject->position, NULL, c_sabmRescue | c_sabmRescueAny | c_sabmLand);
clintlib\appmsg.cpp(309): case FM_S_PLAYER_RESCUED:
clintlib\appmsg.cpp(311): CASTPFM(pfmPlayerRescued, S, PLAYER_RESCUED, pfm);
clintlib\appmsg.cpp(313): if (pfmPlayerRescued->shipIDRescuer == sid)
clintlib\appmsg.cpp(316): PlayerInfo* pplayerRescuee = FindPlayer(pfmPlayerRescued->shipIDRescuee);
clintlib\appmsg.cpp(318): if (!pplayerRescuee)
clintlib\appmsg.cpp(324): PostText(false, "You rescued %s.", pplayerRescuee->CharacterName());
clintlib\appmsg.cpp(325): PlaySoundEffect(rescuePlayerSound, GetShip());
clintlib\appmsg.cpp(327): else if (pfmPlayerRescued->shipIDRescuee == sid)
clintlib\appmsg.cpp(330): PlayerInfo* pplayerRescuer = FindPlayer(pfmPlayerRescued->shipIDRescuer);
clintlib\appmsg.cpp(332): if (!pplayerRescuer)
clintlib\appmsg.cpp(338): PostText(true, "%s rescued you.", pplayerRescuer->CharacterName());
FedSrv\AdminUser.cpp(238): V_I2(&varShort) = ppso->GetRescues();
FedSrv\AdminUser.cpp(239): RETURN_FAILED(spEvent->AddProperty(CComBSTR(L"Rescues"), &varShort));
FedSrv\FedSrv.CPP(11524): bool FedSrvSiteBase::RescueShipEvent(IshipIGC* pshipRescued, IshipIGC* pshipRescuer)
FedSrv\FedSrv.CPP(11526): assert (pshipRescued);
FedSrv\FedSrv.CPP(11527): if (pshipRescuer)
FedSrv\FedSrv.CPP(11529): CFSShip* pfsShip = (CFSShip*)(pshipRescuer->GetPrivateData());
FedSrv\FedSrv.CPP(11530): pfsShip->GetPlayerScoreObject()->AddRescue();
FedSrv\FedSrv.CPP(11531): BEGIN_PFM_CREATE(g.fm, pfmPlayerRescued, S, PLAYER_RESCUED)
FedSrv\FedSrv.CPP(11533): pfmPlayerRescued->shipIDRescuer = pshipRescuer->GetObjectID();
FedSrv\FedSrv.CPP(11534): pfmPlayerRescued->shipIDRescuee = pshipRescued->GetObjectID();
FedSrv\FedSrv.CPP(11539): g.fm.SendMessages(((CFSShip*)(pshipRescued->GetPrivateData()))->GetPlayer()->GetConnection(), FM_GUARANTEED, FM_FLUSH);
FedSrv\FedSrv.CPP(11542): ((CFSShip*)(pshipRescued->GetPrivateData()))->ResetWarpState();
FedSrv\FedSrv.CPP(11544): //Find the closest space station and put the rescued ship there
FedSrv\FedSrv.CPP(11545): IstationIGC* pstation = (IstationIGC*)FindTarget(pshipRescued,
FedSrv\FedSrv.CPP(11549): return pstation ? DockWithStationEvent(pshipRescued, pstation) : false;
FedSrv\FedSrv.H(111): bool RescueShipEvent(IshipIGC* pshipRescued, IshipIGC* pshipRescuer);
FedSrv\fsmission.cpp(2841): pqd->cRescues = ppso->GetRescues();
FedSrv\fsmission.cpp(2866): pqd->cRescues,
FedSrv\srvqueries.h(338): TEXT(" Rescues,\n")
FedSrv\srvqueries.h(371): short cRescues;
FedSrv\srvqueries.h(398): COLUMN_ENTRY_TYPE(14, DBTYPE_I2 , cRescues )
Igc\common.cpp(276): ((type == OT_probe) && ((abmAbilities & c_eabmRescueAny) != 0) &&
Igc\common.cpp(277): ((IprobeIGC*)m)->GetProbeType()->HasCapability(c_eabmRescueAny)))
Igc\common.cpp(1531): ignore = ((habmMe & c_habmLifepod) && (habmHim & c_habmRescue)) ||
Igc\common.cpp(1532): ((habmMe & c_habmRescue) && (habmHim & c_habmLifepod)) ||
Igc\common.cpp(2478): float(m_cRescues) * pmission->GetFloatConstant(c_fcidPointsRescues) +
Igc\igc.h(80): const FloatConstantID c_fcidPointsRescues = 27;
Igc\igc.h(704): const HullAbilityBitMask c_habmRescue = 0x02;
Igc\igc.h(734): const StationAbilityBitMask c_sabmRescue = 0x2000; // rescue pods
Igc\igc.h(735): const StationAbilityBitMask c_sabmRescueAny = 0x4000; // not used (but reserved for pods)
Igc\igc.h(758): const ExpendableAbilityBitMask c_eabmRescue = c_sabmRescue; //0x2000 Rescue lifepods that collide with it
Igc\igc.h(759): const ExpendableAbilityBitMask c_eabmRescueAny = c_sabmRescueAny; //0x4000 Rescue any lifepod that collide with it
Igc\igc.h(4682): virtual bool RescueShipEvent(IshipIGC* shipRescued, IshipIGC* shipRescuer){return true;}
Igc\igc.h(5338): m_cRescues = 0;
Igc\igc.h(5570): void AddRescue(void)
Igc\igc.h(5572): m_cRescues++;
Igc\igc.h(5575): short GetRescues(void) const
Igc\igc.h(5577): return m_cRescues;
Igc\igc.h(5703): short m_cRescues;
Igc\igc.h(5765): //m_cRescues = ppso->GetRescues();
Igc\igc.h(5830): short GetRescues(void) const
Igc\igc.h(5832): return m_cRescues;
Igc\igc.h(5905): //short m_cRescues;
Igc\missionigc.cpp(215): if(strHullCap.ReverseFind("CanRescue") == 0)
Igc\missionigc.cpp(216): habm |= c_habmRescue;
Igc\missionigc.cpp(283): if(strStationCap.ReverseFind("CanRescuePods") == 0)
Igc\missionigc.cpp(284): sabm |= c_sabmRescue;
Igc\missionigc.cpp(285): if(strStationCap.ReverseFind("CanRescueAnyPods") == 0)
Igc\missionigc.cpp(286): sabm |= c_sabmRescueAny;
Igc\missionigc.cpp(315): if(strExpCap.ReverseFind("CanRescue") == 0)
Igc\missionigc.cpp(316): eabm |= c_eabmRescue;
Igc\missionigc.cpp(317): if(strExpCap.ReverseFind("CanRescueAny") == 0)
Igc\missionigc.cpp(318): eabm |= c_eabmRescueAny;
Igc\missionigc.cpp(2693): const float c_pointsRescues = 5.0f;
Igc\missionigc.cpp(2745): m_constants.floatConstants[c_fcidPointsRescues] = c_pointsRescues;
Igc\missionigc.cpp(4273): if(data.sabmCapabilities & c_sabmRescue)
Igc\missionigc.cpp(4274): strCapabilities += "CanRescuePods ";
Igc\missionigc.cpp(4275): if(data.sabmCapabilities & c_sabmRescueAny)
Igc\missionigc.cpp(4276): strCapabilities += "CanRescueAnyPods ";
Igc\missionigc.cpp(4467): if(data2.eabmCapabilities & c_eabmRescue)
Igc\missionigc.cpp(4468): strCapabilities += "CanRescue ";
Igc\missionigc.cpp(4469): if(data2.eabmCapabilities & c_eabmRescueAny)
Igc\missionigc.cpp(4470): strCapabilities += "CanRescueAny ";
Igc\missionigc.cpp(4537): if(data2.eabmCapabilities & c_eabmRescue)
Igc\missionigc.cpp(4538): strCapabilities += "CanRescue ";
Igc\missionigc.cpp(4539): if(data2.eabmCapabilities & c_eabmRescueAny)
Igc\missionigc.cpp(4540): strCapabilities += "CanRescueAny ";
Igc\missionigc.cpp(4603): if(data2.eabmCapabilities & c_eabmRescue)
Igc\missionigc.cpp(4604): strCapabilities += "CanRescue ";
Igc\missionigc.cpp(4605): if(data2.eabmCapabilities & c_eabmRescueAny)
Igc\missionigc.cpp(4606): strCapabilities += "CanRescueAny ";
Igc\missionigc.cpp(4676): if(data2.eabmCapabilities & c_eabmRescue)
Igc\missionigc.cpp(4677): strCapabilities += "CanRescue ";
Igc\missionigc.cpp(4678): if(data2.eabmCapabilities & c_eabmRescueAny)
Igc\missionigc.cpp(4679): strCapabilities += "CanRescueAny ";
Igc\missionigc.cpp(5003): if(pdata->habmCapabilities & c_habmRescue)
Igc\missionigc.cpp(5004): strCapabilities += "CanRescue ";
Igc\probeigc.h(77): !m_probeType->HasCapability(c_eabmRescueAny))
Igc\shipIGC.cpp(744): pst->HasCapability(c_sabmRescue) &&
Igc\shipIGC.cpp(747): if (GetMyMission()->GetIgcSite()->RescueShipEvent(this, NULL))
Igc\shipIGC.cpp(786): if ((eabm & c_eabmRescueAny) ||
Igc\shipIGC.cpp(787): ((eabm & c_eabmRescue) && IsideIGC::AlliedSides(GetSide(), pModel->GetSide()))) // #ALLY -was: GetSide() == pModel->GetSide()
Igc\shipIGC.cpp(789): if (GetMyMission()->GetIgcSite()->RescueShipEvent(this, NULL))
Igc\shipIGC.cpp(917): if ((habmMe & c_habmRescue) && igcsite->RescueShipEvent((IshipIGC*)pModel, this))
Igc\shipIGC.cpp(922): if ((habmHim & c_habmRescue) && igcsite->RescueShipEvent(this, (IshipIGC*)pModel))
Igc\shipIGC.cpp(1616): // recent logs (07/04/2007) show that the pilot type is 1 and it is a Recon or Rescue ship
Igc\shipIGC.cpp(3338): if (pst->HasCapability(c_sabmLand | c_sabmRescue))
Igc\shipIGC.cpp(3422): if ((eabm & c_eabmRescueAny) ||
Igc\shipIGC.cpp(3423): ((eabm & c_eabmRescue) && (m_commandTargets[c_cmdPlan]->GetSide() == GetSide()))) //#ALLYTD
Igc\shipIGC.h(1607): ((pht->HasCapability(c_habmLifepod) && m_myHullType.GetHullType()->HasCapability(c_habmRescue)) ||
Igc\shipIGC.h(1608): (pht->HasCapability(c_habmRescue) && m_myHullType.GetHullType()->HasCapability(c_habmLifepod))));
Igc\shipIGC.h(1991): if ( (pht->HasCapability(c_habmLifepod) && m_myHullType.GetHullType()->HasCapability(c_habmRescue)) ||
Igc\shipIGC.h(1992): (pht->HasCapability(c_habmRescue) && m_myHullType.GetHullType()->HasCapability(c_habmLifepod)) )
Igc\shipIGC.h(2009): if (sabm & (c_sabmRescue | c_sabmLand))
Igc\shipIGC.h(2018): ((IprobeIGC*)pmodel)->GetProbeType()->HasCapability(c_eabmRescue | c_eabmRescueAny))
Igc\shipIGC.h(2032): ((IprobeIGC*)pmodel)->GetProbeType()->HasCapability(c_eabmRescueAny))
Igc\sounds.h(31): DEFSOUND(rescuePlayer)
Igc\sounds.h(253): DEFSOUND(voNeedRescue) // I need rescue
Igc\treasureIGC.h(86): ((IshipIGC*)pModel)->GetBaseHullType()->HasCapability(c_habmRescue))
Inc\Messages.h(153): DEFINE_FEDMSG(S, PLAYER_RESCUED, 16)
Inc\Messages.h(154): ShipID shipIDRescuer;
Inc\Messages.h(155): ShipID shipIDRescuee;
WinTrek\consoledata.cpp(335): //Andon: Gets whether the target has the 'Rescue Pods' flag
WinTrek\consoledata.cpp(338): float ModelData::IsRescue()
WinTrek\consoledata.cpp(355): f = (float)pship->GetHullType()->HasCapability(c_habmRescue);
WinTrek\consoledata.cpp(361): f = (float)pstation->GetStationType()->HasCapability(c_sabmRescue);
WinTrek\consoledata.cpp(370): f = (float)pprobe->GetProbeType()->HasCapability(c_eabmRescue);
WinTrek\consoledata.h(180): float IsRescue();//Andon: Added for IsRescue usage
WinTrek\consoledata.h(250): pns->AddMember("IsRescue", new TMemberSnapshotValueFactory<ModelData, float>(&ModelData::IsRescue, 0.0f));//Andon: Added for IsRescue usage
WinTrek\trekigc.cpp(2741): abm = c_habmRescue;
WinTrek\trekigc.cpp(4453): pshipSender->GetBaseHullType()->HasCapability(c_habmRescue))
WinTrek\WinTrek.cpp(6997): &position, NULL, c_habmRescue);
WinTrek\WinTrek.cpp(8968): TrekFindTarget((c_ttShip | c_ttEnemy | c_ttNearest), tk, TK_TargetEnemyNearest, TK_TargetEnemyPrev, c_habmRescue | c_habmMiner | c_habmBuilder);
WinTrek\WinTrek.cpp(9004): TrekFindTarget((c_ttShip | c_ttEnemy), tk, TK_TargetEnemyNearest, TK_TargetEnemyPrev, c_habmRescue | c_habmMiner | c_habmBuilder);
WinTrek\WinTrek.cpp(9071): abm = c_sabmRescue | c_sabmRescueAny | c_sabmLand;
WinTrek\WinTrek.cpp(9417): trekClient.GetShip()->GetBaseHullType()->HasCapability(c_habmRescue))
Found 128 occurrence(s) in 19 file(s)
Image

These bugs haven't been fixed yet because don't have any developers interested in fixing them up. --Tigereye
Imago's stupid-sensor is supersensitive. --RealPandemonium
The art is managing the flow of the drama to achieve the desired results. --Big_Beta_Tester
joeld wrote:But we’ve been amazed at the level to which some of the Allegiance fans have remained hard-core.
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

juckto wrote:QUOTE (juckto @ Jun 23 2009, 07:11 PM) Someone made a list a while ago about what you can and can't do with pods in the current code, iirc.

I've tried searching for it, but either it doesn't exist or it doesn't contain words like 'eject', 'life', 'pods', nor 'list'.

Can anyone point me to it (or tell me I'm getting it confused with a list of something different)?



Why I'm looking for it: I was going to investigate an idea about whether a core can have some ships with eject pods, but others not.
Hah! one of my random things.

You can't currently have some ships with pods and others without - This would require a core and a code change.
Image
ImageImage
Post Reply