NPC without members

    • Thread starter Deleted member 392097
    • Start date
    D

    Deleted member 392097

    Guest
    It makes no real sense for you to need to add someone as the founder of an NPC faction. Using the admin command you should be able to make an NPC faction without a founder. Or maybe even have an NPC one.
     
    Joined
    Oct 11, 2013
    Messages
    797
    Reaction score
    441
    • Competition Winner - Stations
    • Master Builder Bronze
    • Thinking Positive
    You can add an unused name as founder, that works. It doesn't even have to be an actual player.
     
    Joined
    Oct 11, 2013
    Messages
    797
    Reaction score
    441
    • Competition Winner - Stations
    • Master Builder Bronze
    • Thinking Positive
    But what if someone then joins that server with that same name?
    You can log in as that name and it will be protected.

    You could also literally make it an endless alphanumeric string of characters. Minimizing the chance someone has the same name.
     
    Joined
    Jul 21, 2013
    Messages
    2,932
    Reaction score
    460
    • Hardware Store
    Factions with negative IDs are automatically NPC factions and thus can't have player members. They can only be created using admin commands though.
     

    therimmer96

    The Cake Network Staff Senior button unpusher
    Joined
    Jun 21, 2013
    Messages
    3,603
    Reaction score
    1,053
    • Legacy Citizen 10
    • Top Forum Contributor
    Factions with negative IDs are automatically NPC factions and thus can't have player members. They can only be created using admin commands though.
    I'm not sure if it got fixed, but it used to be possible to admin enter a negative ID'd faction. I tested it awhile back on havoc, and when you leave, it deletes the faction, which caused all kinds of quirks with AI facs from then on out.
     

    Master1398

    Keep calm and quit raging
    Joined
    Aug 19, 2013
    Messages
    293
    Reaction score
    229
    • Purchased!
    • Community Content - Bronze 2
    • Legacy Citizen 3
    But what if someone then joins that server with that same name?
    The login name of a player has to be at least the characters long.
    If the fake faction founder name is shorter than three characters no one can join as the faction founder.

    Factions with negative IDs are automatically NPC factions and thus can't have player members. They can only be created using admin commands though.
    They can't join using the faction tab but with some tinkering you can create a external (php/js/etc. scripts from websites) or internal* (plugins for server scripts as example) system that allows players to join your npc factions.

    *example using php:

    PHP:
    exec('java -jar StarNet.jar the.ser.ver.ip:andPort SuperAdminPassword /faction_join_id $player $faction');
     
    Last edited:
    Joined
    Jul 21, 2013
    Messages
    2,932
    Reaction score
    460
    • Hardware Store
    The login name of a player has to be at least the characters long.
    If the fake faction founder name is shorter than three characters no one can join as the faction founder.


    They can't join using the faction tab but with some tinkering you can create a external (php/js/etc. scripts from websites) or internal (plugins for server scripts as example) system that allows players to join your npc factions.
    True, but which server, that uses NPC factions as NPC only factions won't use such a script.