Author Topic: [2238] Whats wrong with bases.  (Read 2353 times)

Offline SEGA_RUS

  • Arbeit macht frei
[2238] Whats wrong with bases.
« on: September 16, 2015, 05:47:01 pm »
Quote
[10:16:697] Script callback: Faction with id 200 created successfully. : factions_player : uint CreateFaction(Critter&inout) : 2114, 2 : FOServer::Process_Dialog : base1.
[10:16:698] Script callback: Player location created with the id 73 : factions_player : uint dlg_CreateFactionBase(Critter&inout, Critter@, string@) : 2166, 2 : FOServer::Process_Dialog : base1.
[10:16:700] Script callback: Location is not faction base: 73 : factions_bases : FactionBase::FactionBase(uint) : 1371, 4 : Map::ParseScript : Map id<171>, pid<239>.
[10:17:452] Script callback: Talk : factions_player : bool _Talk(Critter&inout, Critter&inout, bool, uint) : 2014, 2 : Critter::PrepareScriptFunc : Critter<Npc (junktown_baseseller, 5001998)>, func<factions_player@_Talk>
But I nothing changed there.
Skype - sega_75rus

Offline SEGA_RUS

  • Arbeit macht frei
Re: [2238] Whats wrong with bases.
« Reply #1 on: September 16, 2015, 08:59:42 pm »
Faction terminal not working.

On second base with same faction name all works fine.
I think first time when you creating faction ST_TEAM_ID is not set for player.
« Last Edit: September 16, 2015, 10:25:10 pm by SEGA_RUS »
Skype - sega_75rus

Re: [2238] Whats wrong with bases.
« Reply #2 on: September 18, 2015, 02:14:33 am »
Faction terminal not working.

On second base with same faction name all works fine.
I think first time when you creating faction ST_TEAM_ID is not set for player.

Try adding:
Code: [Select]
        fid = player.Stat[ST_TEAM_ID];
to dlg_CreateFactionBase() in factions_player.fos after you create a new faction (case when fid == FACTION_NONE)
and see if that helps.

Offline SEGA_RUS

  • Arbeit macht frei
Re: [2238] Whats wrong with bases.
« Reply #3 on: September 20, 2015, 07:46:00 pm »
Try adding:
Code: [Select]
        fid = player.Stat[ST_TEAM_ID];
to dlg_CreateFactionBase() in factions_player.fos after you create a new faction (case when fid == FACTION_NONE)
and see if that helps.
Thanks. Everything is fine now.
Skype - sega_75rus