ScardyBobScardyBobJoin Date: 2009-11-25Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
edited January 2012
So, OMv10 seems to work with B191 (just released). Apparently, whatever they broke, they fixed.
Edit: Also, is there a way to make a custom privileges group (i.e. an admin group that has access only to a select number of the OM commands rather than all of them)?
Well thank god for that, I really didn't feel like doing a recompile on it, v10's code is downright archaic. For ###### and giggles I should release v11 in April just to see if v10 can make it through a full year non-stop.
Priviliges are there to do exactly what you want. They work with bitwise-operations if you know what that means, so you can pass the All-privilige and substract whatever priviliges you don't want them to have, or vice versa you can pass the None-privilige and add whatever privilige you do want them to have. The start-post isn't a reliable source for the priviliges anymore, so here's a dump of all the priviliges (you can do this yourself in Decoda too):
Oh, apparently Decoda-breakpoints aren't working anymore. Hmm, might be a new bug in B190\191. Well I'll have to get back to you on that, in the mean time the start-post contains a couple of em: <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Priviliges.InaccessibleCommandsVisible NS2GmOvrmind.Priviliges.ConsoleCommand_HELP NS2GmOvrmind.Priviliges.ConsoleCommand_LOGIN NS2GmOvrmind.Priviliges.ConsoleCommand_PURGELOGINS NS2GmOvrmind.Priviliges.ConsoleCommand_LOGOUT NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERSTATUS NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERINFO NS2GmOvrmind.Priviliges.ConsoleCommand_MODSTATUS NS2GmOvrmind.Priviliges.ConsoleCommand_MODINFO NS2GmOvrmind.Priviliges.ConsoleCommand_LISTUSERS NS2GmOvrmind.Priviliges.ConsoleCommand_LISTBANS NS2GmOvrmind.Priviliges.ConsoleCommand_ADDBOTS NS2GmOvrmind.Priviliges.ConsoleCommand_REMOVEBOTS NS2GmOvrmind.Priviliges.ConsoleCommand_SETBOTS NS2GmOvrmind.Priviliges.ConsoleCommand_CHEATS NS2GmOvrmind.Priviliges.ConsoleCommand_PLAYERS NS2GmOvrmind.Priviliges.ConsoleCommand_KICK NS2GmOvrmind.Priviliges.ConsoleCommand_REASONKICK NS2GmOvrmind.Priviliges.ConsoleCommand_DELAYKICK NS2GmOvrmind.Priviliges.ConsoleCommand_BAN NS2GmOvrmind.Priviliges.ConsoleCommand_SLAY NS2GmOvrmind.Priviliges.ConsoleCommand_EJECT NS2GmOvrmind.Priviliges.ConsoleCommand_RENAME NS2GmOvrmind.Priviliges.ConsoleCommand_ENDROUND NS2GmOvrmind.Priviliges.ConsoleCommand_RESTARTROUND NS2GmOvrmind.Priviliges.ConsoleCommand_PLAYERTEAM NS2GmOvrmind.Priviliges.ConsoleCommand_GIVEPLASMA NS2GmOvrmind.Priviliges.ConsoleCommand_GIVECARBON NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERCOMMAND NS2GmOvrmind.Priviliges.ConsoleCommand_LUAINSTRUCTION<!--c2--></div><!--ec2-->
ScardyBobScardyBobJoin Date: 2009-11-25Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
Thanks for the list! However, I was looking to do something similar to what you have in the Ingame configuration file for guests. For example, create an admin privileges group like this <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Ingame.SetAdminPriviliges(NS2GmOvrmind.Priviliges.None + NS2GmOvrmind.Priviliges.ConsoleCommand_LOGIN + NS2GmOvrmind.Priviliges.ConsoleCommand_HELP + NS2GmOvrmind.Priviliges.ConsoleCommand_SLAY + NS2GmOvrmind.Priviliges.ConsoleCommand_KICK + NS2GmOvrmind.Priviliges.ConsoleCommand_BAN + NS2GmOvrmind.Priviliges.ConsoleCommand_MODINFO + NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERINFO + NS2GmOvrmind.Priviliges.ConsoleCommand_PING);<!--c2--></div><!--ec2--> So I only have to include a command like the following in the users config file <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Users.Add("Average Joe","",46913579,"","",NS2GmOvrmind.Priviliges.Admin);<!--c2--></div><!--ec2--> Instead of copypastaing all the commands I want for each user in the config file.
hello player i am cyberpunk84 i host a server and i have installed gm overmind and im in users lua file in configus and i just cant grasp on how to add a user i have tried several times and it doesnt work anyhelp and i would be EXTREMELYGRATEFULL
ive decided to post the whole users file for any refrence i edit xml files with notepad++
--[[ NS2-GmOvrmind(v10) Users (Server-)Configuration --------------------------------------------------- Author: player (playeru@live.com) Date: 16-4-2011 Mod-version: v9 Readme(and Feedback)-URL: <a href="http://www.unknownworlds.com/forums/index.php?showtopic=112026" target="_blank">http://www.unknownworlds.com/forums/index....howtopic=112026</a> Comments: - Use at your own risk - Feel free to copy this script for use in your own projects - Please reference the Readme for further information regarding the configuration and usage of NS2-GmOvrmind ------------------------------------------- This file can be modified ------------------------------------------]]--
--[[ Add a group of steam-users to the Overmind-system Remarks: - The group-name should match that of the URL (http://steamcommunity.com/games/<group-name>) - The SyncInterval indicates how often the Overmind-system should rescan the steam-group for changes - The guest-priviliges are automatically added to these users (so no need to re-specify them here) In: STRING GroupName In: INTEGER SyncInterval (expressed in seconds)(Default: 3600 (every hour)) In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.ReservedSlot) Out: Nill ]]-- --NS2GmOvrmind.Users.AddSteamGroup("ns2",3600,NS2GmOvrmind.Priviliges.ReservedSlot); -- Work in progress, do not uncomment
--[[ Adds a user to the Overmind-system In: STRING UserName In: STRING IP-Mask (Not implemented, use "") In: STRING SteamID (Classic variant, use "STEAM_0:n:x") In: STRING LoginName (If not used, use "") In: STRING LoginPass (If not used, use "") In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.All) Out: Nill ]]-- --NS2GmOvrmind.Users.Add("Average Joe","","STEAM_0:1:23456789","","",NS2GmOvrmind.Priviliges.All);
--[[ Identical to the previous definition, except the SteamID-(3rd)parameter In: INTEGER SteamID (New variant, use STEAM_0:x:n -> 2n+x) ]]-- --NS2GmOvrmind.Users.Add("Average Joe","",46913579,"","",NS2GmOvrmind.Priviliges.All);
That's certainly odd-looking, you've edited the comments, you weren't really supposed to do that. But looking at what you have there, just uncomment the line: <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->--NS2GmOvrmind.Users.Add("jaysun","insertpasswordhere","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);<!--c2--></div><!--ec2--> The 2 -'s in front mark it as a comment, just remove those. Also, the 2nd parameter is supposed to be the IP-mask but that isn't used at all in v10, so you can change that to "", so finally it'll look like this: <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Users.Add("jaysun","","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);<!--c2--></div><!--ec2--> With the correct steam-id obviously.
thankyou but what im meaning is how do i do the proper layout of the add user i dont know how to write it up or where to put it so if youd like edit my post with the users xml to what it should be and ill use that as a template
You keep mentioning XML, you're not editing Internal_Data\Users.xml are you? That doesn't actually do anything in the current version.
Open Configuration\NS2GmOvrmind_ServerConfiguration_Users.lua, (blank it) and copy-paste this into it: <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->--[[ NS2-GmOvrmind(v10) Users (Server-)Configuration --------------------------------------------------- Author: player (playeru@live.com) Date: 16-4-2011 Mod-version: v9 Readme(and Feedback)-URL: http://www.unknownworlds.com/forums/index.php?showtopic=112026 Comments: - Use at your own risk - Feel free to copy this script for use in your own projects - Please reference the Readme for further information regarding the configuration and usage of NS2-GmOvrmind ------------------------------------------- This file can be modified ------------------------------------------]]--
--[[-- Users -]]--
--[[ Add a group of steam-users to the Overmind-system Remarks: - The group-name should match that of the URL (http://steamcommunity.com/games/<group-name>) - The SyncInterval indicates how often the Overmind-system should rescan the steam-group for changes - The guest-priviliges are automatically added to these users (so no need to re-specify them here) In: STRING GroupName In: INTEGER SyncInterval (expressed in seconds)(Default: 3600 (every hour)) In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.ReservedSlot) Out: Nill ]]-- --NS2GmOvrmind.Users.AddSteamGroup("ns2",3600,NS2GmOvrmind.Priviliges.ReservedSlot); -- Work in progress, do not uncomment
--[[ Adds a user to the Overmind-system In: STRING UserName In: STRING IP-Mask (Not implemented, use "") In: STRING SteamID (Classic variant, use "STEAM_0:n:x") In: STRING LoginName (If not used, use "") In: STRING LoginPass (If not used, use "") In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.All) Out: Nill ]]-- NS2GmOvrmind.Users.Add("jaysun","","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);
--[[ Identical to the previous definition, except the SteamID-(3rd)parameter In: INTEGER SteamID (New variant, use STEAM_0:x:n -> 2n+x) ]]-- --NS2GmOvrmind.Users.Add("Average Joe","",46913579,"","",NS2GmOvrmind.Priviliges.All);<!--c2--></div><!--ec2--> Again, edit your own Steam-ID into that, it should work fine.
endarJoin Date: 2010-07-27Member: 73256Members, Squad Five Blue
<!--quoteo(post=1895075:date=Jan 17 2012, 07:50 PM:name=Cyberpunk84)--><div class='quotetop'>QUOTE (Cyberpunk84 @ Jan 17 2012, 07:50 PM) <a href="index.php?act=findpost&pid=1895075"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i did everything you asked player and im still getting the damm invalid login command<!--QuoteEnd--></div><!--QuoteEEnd-->
Hey cyberpunk, did you edit the line that player sent to you?
You can find your steamid from a site like: <a href="http://steamidfinder.com/" target="_blank">http://steamidfinder.com/</a>
And you won't need to login, it will automatically authenticate you when you connect to the server with the correct steam ID. (it started working again in 191, previously this functionality was broken).
<!--quoteo(post=1895053:date=Jan 17 2012, 05:07 AM:name=swalk)--><div class='quotetop'>QUOTE (swalk @ Jan 17 2012, 05:07 AM) <a href="index.php?act=findpost&pid=1895053"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm very interested in the gamestate recorder you're making, will it include a command similar to GoldSRC's "startmovie" command?<!--QuoteEnd--></div><!--QuoteEEnd--> You create a listen-server, pull down the console, and run the om_playrecord <filename> command, is how it'll work (you can just as well do it on a public server filled with real players, everybody will be moved to spectator to view the demo, notice how this is already almost exactly like an HLTV).
Anyway, that post with more info will be coming sooner or later, I'm currently battling it out with Spark, Lua's new memory-management (since B190) is doing some loopy things occasionally, but I'm working around it (that's starting to become my motto).
swalkSay hello to my little friend.Join Date: 2011-01-20Member: 78384Members, Squad Five Blue
edited January 2012
<!--quoteo(post=1895149:date=Jan 17 2012, 05:07 PM:name=player)--><div class='quotetop'>QUOTE (player @ Jan 17 2012, 05:07 PM) <a href="index.php?act=findpost&pid=1895149"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You create a listen-server, pull down the console, and run the om_playrecord <filename> command, is how it'll work (you can just as well do it on a public server filled with real players, everybody will be moved to spectator to view the demo, notice how this is already almost exactly like an HLTV).
Anyway, that post with more info will be coming sooner or later, I'm currently battling it out with Spark, Lua's new memory-management (since B190) is doing some loopy things occasionally, but I'm working around it (that's starting to become my motto).<!--QuoteEnd--></div><!--QuoteEEnd--> I think you misunderstood me, or maybe you're just not familiar with the goldsrc feature I was talking about. I'm talking about the "startmovie" command in goldsrc. Which was executed this way: startmovie NAME 180 That example would begin writing 180 frames per second to .bmp files in the game folder. Basicly just taking 180 screenshots per second. This was an essential thing about the goldsrc engine, instead of using fraps or other programs to capture sections of a recording. The result was that you got everything in an uncompressed format, which later on made your movie look alot better than if you used fraps. I would love to see it in NS2. Anyway, that was what I meant :)
Oh that kind of demo-ing, yeah that's not easily done at the moment. For one, Client-DLLs are to be phased out (at least that's what McGuire said some time ago, perhaps I should re-inquire) and the Lua-scripts do not offer this kind of power-features, additionally even if you had a Client-DLL, you'd have to get a hold of the screen-buffer somehow, and dump it to a file, which may either be impossible, or at least seriously treading into the domain of cheating (beware of VAC, whenever it'll be implemented in NS2).
I'm thinking UWE might have to be the one that'll implement this.
i just have one last question is it possible to kick players via there ingame name or do i need to make an om account for everyplayer ? or does it automatically set one up for them on entry?
Once Again your humble servant Jan Valentine :P ( i wish )
You just run "om_players" in the console ingame to get a list of all the players and their Overmind-IDs (those are auto-generated), and just use said IDs in the "om_kick"-command.
its not giving me an overmind id it just sais - for some reason however it gives me his ns2 ingame name i really dont like bothering you but im a clutz
I stumbled upon a problem with the server console.
If i run the server with Overmind and open up the server console with tab and close it with ctrl+c, the additional c-libraries are causing error messages (a terminated while thread is still running) and crash the server afterwards.
Sounds like you're killing the server using CTRL+C, in which case we're looking at an ungraceful shutdown (not surprising since v10 must be broken in many places after all this time).
<!--quoteo(post=1895984:date=Jan 20 2012, 02:38 AM:name=Koruyo)--><div class='quotetop'>QUOTE (Koruyo @ Jan 20 2012, 02:38 AM) <a href="index.php?act=findpost&pid=1895984"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Now that there is map switching, would it be possible to get some player voting ingame?
Like rtv etc. you know from source.
Change map Restart round Kick player etc.<!--QuoteEnd--></div><!--QuoteEEnd--> +1
<!--quoteo(post=1895846:date=Jan 19 2012, 07:12 PM:name=falc)--><div class='quotetop'>QUOTE (falc @ Jan 19 2012, 07:12 PM) <a href="index.php?act=findpost&pid=1895846"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->ah well ... that makes sense. :D however the server continues running for a few seconds until it unexpectedly shuts down.<!--QuoteEnd--></div><!--QuoteEEnd--> Yea I'm guessing it deinitializes (destroys entities et cetera) until it destroys the Lua-VM at which point GameOvermind deinitializes (and instead blows up in yer face).
As for those voting-features, sure thing, but not in the upcoming version. I'm actually waiting with such functionality until Server-Client sync is put in, so I can create proper GUIs for all that stuff (instead of having to ###### about with cumbersome console-commands all the time).
Have been kept buzy with getting a proper storage-design for users\bans, but I believe I've nailed it. It will be possible for multiple servers to read-from\write-to a single user\ban-file, thus keeping them in perfect synchronization, which should be useful for Inversion and PureAus I guess. It's also possible to read users\bans from additional files without them 'contaminating' the main-pool (meaning if you remove the file from the configuration all the users\bans it contained disappear along with it, so that you will not have to cherry-pick them out of your existing collection). I may also put in the ability to use remote files (read: HTTP-downloads), to allow for things such as global community ban-lists (think punkbuster).
ScardyBobScardyBobJoin Date: 2009-11-25Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
<!--quoteo(post=1897998:date=Jan 28 2012, 08:28 PM:name=player)--><div class='quotetop'>QUOTE (player @ Jan 28 2012, 08:28 PM) <a href="index.php?act=findpost&pid=1897998"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Have been kept buzy with getting a proper storage-design for users\bans, but I believe I've nailed it. It will be possible for multiple servers to read-from\write-to a single user\ban-file, thus keeping them in perfect synchronization, which should be useful for Inversion and PureAus I guess. It's also possible to read users\bans from additional files without them 'contaminating' the main-pool (meaning if you remove the file from the configuration all the users\bans it contained disappear along with it, so that you will not have to cherry-pick them out of your existing collection). I may also put in the ability to use remote files (read: HTTP-downloads), to allow for things such as global community ban-lists (think punkbuster).<!--QuoteEnd--></div><!--QuoteEEnd--> Do you mean reading/writing the user\ban-file across multiple servers on a single machine or across multiple servers on different machines? The former is the situation afaik for the Inversion/AusPure/Team156 servers, but it would be nice if they could be synced across different machines (think SourceBans).
It also supports (my)SQL. If you have multiple servers running on a single machine (and using the same storage-medium), then you can have them share a single 'active' file (faster and more reliable). If the servers are on different physical machines, then you can use an 'active' SQL-database to keep them nicely synced.
GameOvermind's equivalent of SourceBans would be 'passive' SQL-databases (the same ban-list accessible from any server anywhere, while also kept strictly seperate from the server's own ban-list).
Oh, and of course that HTTP-feed I mentioned, which may be an easier method to implement something like SourceBans.
ScardyBobScardyBobJoin Date: 2009-11-25Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
<!--quoteo(post=1898785:date=Feb 1 2012, 11:19 PM:name=player)--><div class='quotetop'>QUOTE (player @ Feb 1 2012, 11:19 PM) <a href="index.php?act=findpost&pid=1898785"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->It also supports (my)SQL. If you have multiple servers running on a single machine (and using the same storage-medium), then you can have them share a single 'active' file (faster and more reliable). If the servers are on different physical machines, then you can use an 'active' SQL-database to keep them nicely synced.
GameOvermind's equivalent of SourceBans would be 'passive' SQL-databases (the same ban-list accessible from any server anywhere, while also kept strictly seperate from the server's own ban-list).
Oh, and of course that HTTP-feed I mentioned, which may be an easier method to implement something like SourceBans.<!--QuoteEnd--></div><!--QuoteEEnd--> Nice. Team156 is currently running multiple servers on the same machine + on other machines, so being able to sync users/bans across all of them from a single file/database is a nice feature.
Comments
Edit: Also, is there a way to make a custom privileges group (i.e. an admin group that has access only to a select number of the OM commands rather than all of them)?
Priviliges are there to do exactly what you want. They work with bitwise-operations if you know what that means, so you can pass the All-privilige and substract whatever priviliges you don't want them to have, or vice versa you can pass the None-privilige and add whatever privilige you do want them to have. The start-post isn't a reliable source for the priviliges anymore, so here's a dump of all the priviliges (you can do this yourself in Decoda too):
Oh, apparently Decoda-breakpoints aren't working anymore. Hmm, might be a new bug in B190\191. Well I'll have to get back to you on that, in the mean time the start-post contains a couple of em:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Priviliges.InaccessibleCommandsVisible
NS2GmOvrmind.Priviliges.ConsoleCommand_HELP
NS2GmOvrmind.Priviliges.ConsoleCommand_LOGIN
NS2GmOvrmind.Priviliges.ConsoleCommand_PURGELOGINS
NS2GmOvrmind.Priviliges.ConsoleCommand_LOGOUT
NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERSTATUS
NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERINFO
NS2GmOvrmind.Priviliges.ConsoleCommand_MODSTATUS
NS2GmOvrmind.Priviliges.ConsoleCommand_MODINFO
NS2GmOvrmind.Priviliges.ConsoleCommand_LISTUSERS
NS2GmOvrmind.Priviliges.ConsoleCommand_LISTBANS
NS2GmOvrmind.Priviliges.ConsoleCommand_ADDBOTS
NS2GmOvrmind.Priviliges.ConsoleCommand_REMOVEBOTS
NS2GmOvrmind.Priviliges.ConsoleCommand_SETBOTS
NS2GmOvrmind.Priviliges.ConsoleCommand_CHEATS
NS2GmOvrmind.Priviliges.ConsoleCommand_PLAYERS
NS2GmOvrmind.Priviliges.ConsoleCommand_KICK
NS2GmOvrmind.Priviliges.ConsoleCommand_REASONKICK
NS2GmOvrmind.Priviliges.ConsoleCommand_DELAYKICK
NS2GmOvrmind.Priviliges.ConsoleCommand_BAN
NS2GmOvrmind.Priviliges.ConsoleCommand_SLAY
NS2GmOvrmind.Priviliges.ConsoleCommand_EJECT
NS2GmOvrmind.Priviliges.ConsoleCommand_RENAME
NS2GmOvrmind.Priviliges.ConsoleCommand_ENDROUND
NS2GmOvrmind.Priviliges.ConsoleCommand_RESTARTROUND
NS2GmOvrmind.Priviliges.ConsoleCommand_PLAYERTEAM
NS2GmOvrmind.Priviliges.ConsoleCommand_GIVEPLASMA
NS2GmOvrmind.Priviliges.ConsoleCommand_GIVECARBON
NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERCOMMAND
NS2GmOvrmind.Priviliges.ConsoleCommand_LUAINSTRUCTION<!--c2--></div><!--ec2-->
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Ingame.SetAdminPriviliges(NS2GmOvrmind.Priviliges.None +
NS2GmOvrmind.Priviliges.ConsoleCommand_LOGIN +
NS2GmOvrmind.Priviliges.ConsoleCommand_HELP +
NS2GmOvrmind.Priviliges.ConsoleCommand_SLAY +
NS2GmOvrmind.Priviliges.ConsoleCommand_KICK +
NS2GmOvrmind.Priviliges.ConsoleCommand_BAN +
NS2GmOvrmind.Priviliges.ConsoleCommand_MODINFO +
NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERINFO +
NS2GmOvrmind.Priviliges.ConsoleCommand_PING);<!--c2--></div><!--ec2-->
So I only have to include a command like the following in the users config file
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Users.Add("Average Joe","",46913579,"","",NS2GmOvrmind.Priviliges.Admin);<!--c2--></div><!--ec2-->
Instead of copypastaing all the commands I want for each user in the config file.
In your case:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ScardyBobsAdminPriviliges = NS2GmOvrmind.Priviliges.None +
NS2GmOvrmind.Priviliges.ConsoleCommand_LOGIN +
NS2GmOvrmind.Priviliges.ConsoleCommand_HELP +
NS2GmOvrmind.Priviliges.ConsoleCommand_SLAY +
NS2GmOvrmind.Priviliges.ConsoleCommand_KICK +
NS2GmOvrmind.Priviliges.ConsoleCommand_BAN +
NS2GmOvrmind.Priviliges.ConsoleCommand_MODINFO +
NS2GmOvrmind.Priviliges.ConsoleCommand_SERVERINFO +
NS2GmOvrmind.Priviliges.ConsoleCommand_PING;
NS2GmOvrmind.Users.Add( "Average Joe", "", 46913579, "", "", ScardyBobsAdminPriviliges );<!--c2--></div><!--ec2-->
That should work, no problem.
thankyou very much
JaySun/cyberpunk84/gizmo
ive decided to post the whole users file
for any refrence i edit xml files with notepad++
--[[ NS2-GmOvrmind(v10) Users (Server-)Configuration
---------------------------------------------------
Author: player (playeru@live.com)
Date: 16-4-2011
Mod-version: v9
Readme(and Feedback)-URL: <a href="http://www.unknownworlds.com/forums/index.php?showtopic=112026" target="_blank">http://www.unknownworlds.com/forums/index....howtopic=112026</a>
Comments: - Use at your own risk
- Feel free to copy this script for use in your own projects
- Please reference the Readme for further information regarding the configuration and usage of NS2-GmOvrmind
------------------------------------------- This file can be modified ------------------------------------------]]--
--[[--
JaySun
""
"STEAM_0:0:"
"jaysun"
"insertpasswordhere"
NS2GmOvrmind.Priviliges.All
Out: Nill ]]--
--NS2GmOvrmind.Users.Add("jaysun","insertpasswordhere","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);
--]]--
--[[ Add a group of steam-users to the Overmind-system
Remarks: - The group-name should match that of the URL (http://steamcommunity.com/games/<group-name>)
- The SyncInterval indicates how often the Overmind-system should rescan the steam-group for changes
- The guest-priviliges are automatically added to these users (so no need to re-specify them here)
In: STRING GroupName
In: INTEGER SyncInterval (expressed in seconds)(Default: 3600 (every hour))
In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.ReservedSlot)
Out: Nill ]]--
--NS2GmOvrmind.Users.AddSteamGroup("ns2",3600,NS2GmOvrmind.Priviliges.ReservedSlot); -- Work in progress, do not uncomment
--[[ Adds a user to the Overmind-system
In: STRING UserName
In: STRING IP-Mask (Not implemented, use "")
In: STRING SteamID (Classic variant, use "STEAM_0:n:x")
In: STRING LoginName (If not used, use "")
In: STRING LoginPass (If not used, use "")
In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.All)
Out: Nill ]]--
--NS2GmOvrmind.Users.Add("Average Joe","","STEAM_0:1:23456789","","",NS2GmOvrmind.Priviliges.All);
--[[ Identical to the previous definition, except the SteamID-(3rd)parameter
In: INTEGER SteamID (New variant, use STEAM_0:x:n -> 2n+x) ]]--
--NS2GmOvrmind.Users.Add("Average Joe","",46913579,"","",NS2GmOvrmind.Priviliges.All);
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->--NS2GmOvrmind.Users.Add("jaysun","insertpasswordhere","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);<!--c2--></div><!--ec2-->
The 2 -'s in front mark it as a comment, just remove those. Also, the 2nd parameter is supposed to be the IP-mask but that isn't used at all in v10, so you can change that to "", so finally it'll look like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->NS2GmOvrmind.Users.Add("jaysun","","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);<!--c2--></div><!--ec2-->
With the correct steam-id obviously.
i dont know how to write it up or where to put it so if youd like edit my post with the users xml to what it should be and ill use that as a template
Open Configuration\NS2GmOvrmind_ServerConfiguration_Users.lua, (blank it) and copy-paste this into it:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->--[[ NS2-GmOvrmind(v10) Users (Server-)Configuration
---------------------------------------------------
Author: player (playeru@live.com)
Date: 16-4-2011
Mod-version: v9
Readme(and Feedback)-URL: http://www.unknownworlds.com/forums/index.php?showtopic=112026
Comments: - Use at your own risk
- Feel free to copy this script for use in your own projects
- Please reference the Readme for further information regarding the configuration and usage of NS2-GmOvrmind
------------------------------------------- This file can be modified ------------------------------------------]]--
--[[--
Users
-]]--
--[[ Add a group of steam-users to the Overmind-system
Remarks: - The group-name should match that of the URL (http://steamcommunity.com/games/<group-name>)
- The SyncInterval indicates how often the Overmind-system should rescan the steam-group for changes
- The guest-priviliges are automatically added to these users (so no need to re-specify them here)
In: STRING GroupName
In: INTEGER SyncInterval (expressed in seconds)(Default: 3600 (every hour))
In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.ReservedSlot)
Out: Nill ]]--
--NS2GmOvrmind.Users.AddSteamGroup("ns2",3600,NS2GmOvrmind.Priviliges.ReservedSlot); -- Work in progress, do not uncomment
--[[ Adds a user to the Overmind-system
In: STRING UserName
In: STRING IP-Mask (Not implemented, use "")
In: STRING SteamID (Classic variant, use "STEAM_0:n:x")
In: STRING LoginName (If not used, use "")
In: STRING LoginPass (If not used, use "")
In: INTEGER Priviliges (Default: NS2GmOvrmind.Priviliges.All)
Out: Nill ]]--
NS2GmOvrmind.Users.Add("jaysun","","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);
--[[ Identical to the previous definition, except the SteamID-(3rd)parameter
In: INTEGER SteamID (New variant, use STEAM_0:x:n -> 2n+x) ]]--
--NS2GmOvrmind.Users.Add("Average Joe","",46913579,"","",NS2GmOvrmind.Priviliges.All);<!--c2--></div><!--ec2-->
Again, edit your own Steam-ID into that, it should work fine.
Hey cyberpunk, did you edit the line that player sent to you?
The original he copied is:
NS2GmOvrmind.Users.Add("jaysun","","STEAM_0:0:","","",NS2GmOvrmind.Priviliges.All);
you need to add YOUR steam id into it. EG:
NS2GmOvrmind.Users.Add("jaysun","","<b>STEAM_0:0:436272</b>","","",NS2GmOvrmind.Priviliges.All);
You can find your steamid from a site like: <a href="http://steamidfinder.com/" target="_blank">http://steamidfinder.com/</a>
And you won't need to login, it will automatically authenticate you when you connect to the server with the correct steam ID. (it started working again in 191, previously this functionality was broken).
You create a listen-server, pull down the console, and run the om_playrecord <filename> command, is how it'll work (you can just as well do it on a public server filled with real players, everybody will be moved to spectator to view the demo, notice how this is already almost exactly like an HLTV).
Anyway, that post with more info will be coming sooner or later, I'm currently battling it out with Spark, Lua's new memory-management (since B190) is doing some loopy things occasionally, but I'm working around it (that's starting to become my motto).
Anyway, that post with more info will be coming sooner or later, I'm currently battling it out with Spark, Lua's new memory-management (since B190) is doing some loopy things occasionally, but I'm working around it (that's starting to become my motto).<!--QuoteEnd--></div><!--QuoteEEnd-->
I think you misunderstood me, or maybe you're just not familiar with the goldsrc feature I was talking about.
I'm talking about the "startmovie" command in goldsrc.
Which was executed this way:
startmovie NAME 180
That example would begin writing 180 frames per second to .bmp files in the game folder. Basicly just taking 180 screenshots per second.
This was an essential thing about the goldsrc engine, instead of using fraps or other programs to capture sections of a recording.
The result was that you got everything in an uncompressed format, which later on made your movie look alot better than if you used fraps.
I would love to see it in NS2. Anyway, that was what I meant :)
I'm thinking UWE might have to be the one that'll implement this.
i just have one last question is it possible to kick players via there ingame name or do i need to make an om account for everyplayer ?
or does it automatically set one up for them on entry?
Once Again your humble servant
Jan Valentine :P ( i wish )
i really dont like bothering you but im a clutz
If i run the server with Overmind and open up the server console with tab and close it with ctrl+c, the additional c-libraries are causing error messages (a terminated while thread is still running) and crash the server afterwards.
Did anybody notice similar problems?
Like rtv etc. you know from source.
Change map
Restart round
Kick player
etc.
Like rtv etc. you know from source.
Change map
Restart round
Kick player
etc.<!--QuoteEnd--></div><!--QuoteEEnd-->
+1
Yea I'm guessing it deinitializes (destroys entities et cetera) until it destroys the Lua-VM at which point GameOvermind deinitializes (and instead blows up in yer face).
As for those voting-features, sure thing, but not in the upcoming version. I'm actually waiting with such functionality until Server-Client sync is put in, so I can create proper GUIs for all that stuff (instead of having to ###### about with cumbersome console-commands all the time).
Do you mean reading/writing the user\ban-file across multiple servers on a single machine or across multiple servers on different machines? The former is the situation afaik for the Inversion/AusPure/Team156 servers, but it would be nice if they could be synced across different machines (think SourceBans).
GameOvermind's equivalent of SourceBans would be 'passive' SQL-databases (the same ban-list accessible from any server anywhere, while also kept strictly seperate from the server's own ban-list).
Oh, and of course that HTTP-feed I mentioned, which may be an easier method to implement something like SourceBans.
GameOvermind's equivalent of SourceBans would be 'passive' SQL-databases (the same ban-list accessible from any server anywhere, while also kept strictly seperate from the server's own ban-list).
Oh, and of course that HTTP-feed I mentioned, which may be an easier method to implement something like SourceBans.<!--QuoteEnd--></div><!--QuoteEEnd-->
Nice. Team156 is currently running multiple servers on the same machine + on other machines, so being able to sync users/bans across all of them from a single file/database is a nice feature.