FOnline Development > Questions and Answers

[2238] Whats wrong with bases.

(1/1)

SEGA_RUS:

--- 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>
--- End quote ---
But I nothing changed there.

SEGA_RUS:
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.

mojuk:

--- Quote from: SEGA_RUS 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.

--- End quote ---

Try adding:

--- Code: ---        fid = player.Stat[ST_TEAM_ID];

--- End code ---
to dlg_CreateFactionBase() in factions_player.fos after you create a new faction (case when fid == FACTION_NONE)
and see if that helps.

SEGA_RUS:

--- Quote from: mojuk on September 18, 2015, 02:14:33 am ---Try adding:

--- Code: ---        fid = player.Stat[ST_TEAM_ID];

--- End code ---
to dlg_CreateFactionBase() in factions_player.fos after you create a new faction (case when fid == FACTION_NONE)
and see if that helps.

--- End quote ---
Thanks. Everything is fine now.

Navigation

[0] Message Index

Go to full version