]TPG[ Spectre

Failed to place flag! ... but why

3 posts in this topic

I am setting up a server and i have an issue where i go to place my flag pole and im getting an error message "Failed to place flag! Invalid character in input. Please try again." ... 

now im testing this after i did my arma update yesterday. so i dont know if this is related to that. most likely not, but im stuck now and i dont know how to trouble shoot this. 


dont know if this helps but every time i try to construct the flag and fail, a new error in my rpt shows up but it doesnt really explain much

18:26:12 Error: Object(3 : 4) not found
18:26:17 Error: Object(3 : 5) not found
18:31:28 Error: Object(3 : 7) not found
18:31:55 Error: Object(3 : 8) not found

Share this post

Link to post
Share on other sites

this is the script that seems to be spitting out the error to me it:


_display = uiNameSpace getVariable ["RscExileSetupTerritoryDialog", displayNull];
_listBox = _display displayCtrl 4001;
_territoryName = ctrlText (_display displayCtrl 4000);
_selectedFlag = lbCurSel _listBox;
_selectedFlag = _listBox lbData _selectedFlag;
    if((count _territoryName) isEqualTo 0) then 
        throw "Please enter a territory name.";
    _territoryName = _territoryName call ExileClient_util_string_trim;
    _alphabet = getText (missionConfigFile >> "CfgClans" >> "clanNameAlphabet");
    _forbiddenCharacter = [_territoryName, _alphabet] call ExileClient_util_string_containsForbiddenCharacter;
    if !(_forbiddenCharacter isEqualTo -1) then 
        throw "Invalid character in input. Please try again.";
    ["Exile_Item_Flag",_selectedFlag,_territoryName] call ExileClient_construction_beginNewObject;
    ["ErrorTitleAndText", ["Failed to place flag!", _exception]] call ExileClient_gui_toaster_addTemplateToast;
closeDialog 0;


and this is where it seems to be looking for valid characters:


class CfgClansF
        Defines the amount of pop tabs needed to register a new clan

        Default: 20,000
    registrationFee = 20000;

        A list of all characters allowed in a clan *name*

    clanNameAlphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ._-!:\\/";

whats got me confused is that i'm using letters defined in the alphabet and still getting sent an invalid character error

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.