Results 1 to 10 of 10

Thread: Need some Help

  1. #1
    L283023's Avatar



    Join Date
    Aug 20, 2008
    Last Online
    Mar 19, 2014
    Posts
    2
    Threads
    1



    Need some Help


    To start off this thread, I would just like to thank Drunken F00l for creating SourceOP. It is a superb plugin. Now here's the problem...

    Every admin command works great and all, but the players at my server cannot use any player command. Well actually, they can use jetpack, but thats about it. Whenever they type the player commands (such as !allguns), it never succesfully gives them allguns. And some odd reason when I start my server it says that I've got 1452 credits, but as soon as I make my server nonlan by typing "sv_lan 0", it says I have 0 credits, and I can't get anymore by killing NPC. It says something like, "You've reached the max credits on this map."

    I've already set the maximum amount of credits. I've turned off the cheatprotect. I have "df_feature_credits" set to 1.

    Any help would be appreciated.

  2. #2
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public


    Re: Need some Help


    Quote Originally Posted by L283023
    To start off this thread, I would just like to thank Drunken F00l for creating SourceOP.
    You're welcome.

    Whenever they type the player commands (such as !allguns), it never succesfully gives them allguns.
    !allguns is not a SourceOP command. Perhaps they are trying commands that aren't SourceOP commands? What other commands don't work?
    See this page for a list of player features and commands (the player ability pages are not done, but you get the idea):
    http://www.sourceop.com/wiki/Player_Commands

    And some odd reason when I start my server it says that I've got 1452 credits, but as soon as I make my server nonlan by typing "sv_lan 0", it says I have 0 credits
    This is because your SteamID on a LAN game and non-LAN game is different. Credits are based on a player's SteamID so there is no way around it.

    and I can't get anymore by killing NPC. It says something like, "You've reached the max credits on this map."
    You're interested in the CVAR DF_credits_maxpermap. Set it to something high (like 999999).

  3. #3
    L283023's Avatar



    Join Date
    Aug 20, 2008
    Last Online
    Mar 19, 2014
    Posts
    2
    Threads
    1




    !allguns is not a SourceOP command. Perhaps they are trying commands that aren't SourceOP commands?
    I didn't know that it wasn't. I saw it done on a server called Fujitechs, and they say that they use SourceOP. But thanks for letting me know.


    See this page for a list of player features and commands (the player ability pages are not done, but you get the idea):
    http://www.sourceop.com/wiki/Player_Commands
    I've been there before, but under 'Buying Items' it says I must log in, and I don't know how.


    This is because your SteamID on a LAN game and non-LAN game is different. Credits are based on a player's SteamID so there is no way around it.
    I know that, but it never shows my true SteamID. When I'm in LAN it says STEAM_ID_LAN. And when I change it to an Internet game it says STEAM_ID_PENDING. And the problem is that it says STEAM_ID_PENDING for everyone who joins (meaning that anyone can use the admin features). Btw, could this be because I recently bought a router?


    You're interested in the CVAR DF_credits_maxpermap. Set it to something high (like 999999).
    I do that at the beginning, when my server is still LAN. But when it changes over to Internet it says, "You have reached the max credits on this map", whenever I start killing NPC.


    Oh yeah, and do you have a list of the NPCs' names so I can spawn some. All I know is NPC_manhack.[color=white]

  4. #4
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    When you click the Buying Items link it asks you to login because it thinks you want to edit the page. It thinks you want to edit the page because the page doesn't exist yet and that's what happens when you click a link for a page that doesn't exist yet in a wiki.

    I don't know why it says STEAM_ID_PENDING for everyone. Sounds like you have some router/firewall issues that prevent your server from properly connecting to the steam service to authenticate IDs.

    The max credits per map thing could be a bug. I'm not sure why it would do that suddenly just because you changed sv_lan, but I've never tested it either.

    List of NPCs:
    http://developer.valvesoftware.com/wiki/Category:NPCs

  5. #5
    TribalBone's Avatar



    Join Date
    May 30, 2009
    Last Online
    Jun 01, 2009
    Posts
    3
    Threads
    0




    hey i have a problem with the NPCs
    i cant spawn them can you tell me how i make it?
    i tried admin_ai create with some names of NPCs already but it dont find it

  6. #6
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    admin_ai create was actually unfinished. You can try doing admin_ai create npc_metropolice (as an example).

  7. #7
    TribalBone's Avatar



    Join Date
    May 30, 2009
    Last Online
    Jun 01, 2009
    Posts
    3
    Threads
    0




    thanks it works but can i control them?

  8. #8
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    Depends on what you mean. Usually, no. Try googling hl2 npc spawning.

  9. #9
    TribalBone's Avatar



    Join Date
    May 30, 2009
    Last Online
    Jun 01, 2009
    Posts
    3
    Threads
    0




    i mean if they shoot somebody

  10. #10
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    You mean you want to control what they shoot? Look into the SetRelationship input.

Tags for this Thread