Letalis
-
Posts
41 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Articles
A20 Bugs
A21 Bugs
Events
Posts posted by Letalis
-
-
dmustanger: Are you working on a more A16.1 friendly version?
For Example having some issues regarding the /day7 command that still refers to Bees and Cops.
Keep up the great Work.
0 -
Its working perfectly with a16.1.
Cheers
I know
Was more thinking of all the other parts thats on the Todo list
0 -
Alloc: Is there gonna be a new Server_fixes release?
0 -
There is an exe called LP2DB - List Players 2 DB - it runs under mono on linux or natively in windows.
It connects to the server via telnet and periodically (we use 5sec interval) sends the 'lp' command to the server. It then sends an SQL to a local MySQL instance to save the positions and a timestamp according to their Steam ID.
Every minute it also sends a showinventory command for each connected player. This is also saved in the DB and stored with the SteamID and timestamp.
I wrote a player info page using JS Datatables - one of the functions is to click on a player and then view the inventory and navigate via datepicker or increments.
The only thing remaining is the ability to search based on location/date/inventory contents, and a representation on the map of the player tracks, but that will have to wait till I get time.
PM me your email address (or add me on steam with the same name I use here) and we can sort it out, if you want to try it.
Credit goes to Prisma501 for writing the program.
PS: When I said PrismaMod is needed I was mistaken, it is not needed for this functionality.
Is there an update to the LP2DB as it doesnt work with A16.
The current one spams the console with
2017-06-23T11:26:28 44599.792 ERR Error in ApiHandler.HandleRequest(): Handler getplayersonline threw an exception:MissingMethodException: Method not found: 'EntityAlive.get_Stamina'.
0 -
What dmustanger said
I plan to add more options to the map to filter out players so you don't see an endless list of players that aren't even active. So filtering banned or inactive users should become possible.
Alloc, Have you had any chance to look into this? It would be much appreciated by many.
0 -
Thanks for a great tip.
- - - Updated - - -
@schwanz9000 Thanks for a great tip.
0 -
You can setup a custom chat command to do that.
Set "CustomCommands" Enable="True" in ServerToolsConfig.xml
The server will create CustomChatCommands.xml
Use the following as an example:
<Command Command="hubcity" Response="tele {EntityId} 1000 -1 1000" DelayBetweenUses="60" />
Use /hubcity in the chat window to teleport to 1000N/1000E
Awesome. Will test that.
0 -
I can honestly say that I havn't read all posts in this thread. But can I set a public spawnpoint like in HubCity?
0 -
Hi Alloc! Apologies if I've misunderstood the changelog, specifically "Fixed error loading item icons in A15 (may have added regressions for mod icons)", and am expecting this to be fixed when it hasn't yet. I've updated my server to rev.293 but am still getting the texture/icon errors on the WebMap when opening a player inventory. When I updated to rev.293, I deleted all the previous rev.289 folders too so it isn't an issue with old files. One line of error below. Let me know if you need more.
2016-09-27T09:53:03 86407.430 INF Error in Web.HandleRequest(): UnityEngine.UnityException: Texture '' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings. at (wrapper managed-to-native) UnityEngine.Texture2D:GetPixels (int,int,int,int,int) at UnityEngine.Texture2D.GetPixels (Int32 x, Int32 y, Int32 blockWidth, Int32 blockHeight) [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.LoadIcons () [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.Web.HandleRequest (IAsyncResult result) [0x00000] in <filename unknown>:0
Im getting the same errors.
0 -
Ok, well there is something you can do to get closer to this, but I'm surprised you want to go this far to help your users
Currently the list is loaded and auto sorted on the Name Column:
/js/players.js:
$(".players_tablesorter") .tablesorter({ theme: 'default', widthFixed: true, sortLocaleCompare: true, // needed for accented characters in the data sortList: [ [FindColumnIndexByField("name"),0] ], /* THIS LINE DEFINES THE AUTOSORT OPTION */ widgets: ['zebra', 'formatter', 'filter'], widgetOptions: { formatter_column: formatterSettings } })
As you can see on the SortList variable is configured to sort the columns by name (Alphabet Ascending), you can change this to sort on load by players->online.
Thanks alot, zigstum.
I changed this
sortList: [ [FindColumnIndexByField("name"),0] ],
to this
sortList: [ [FindColumnIndexByField("online"),1] ],
If there are anyone else that wanna go the same way
0 -
Ahhh yes, we were talking about different things. There is currently no way to hide offline players from that list, unless you want to go into the source, hack, and then recompile it.
It seems that the filtering is not functioning properly or you could have put 'online' or whatever into the filter box above the column to hide the offline players.
Is there a reason you want to hide it, and is it just to hide it from non-admins?
Its more of a cleaner look feeling. I have opened up this part for public users. For them to see which players that are online.
ITs easier to find them if its only online players in the list. Now they need to click "Online" to see who is online.
0 -
It isn't showing for me, and presumably not for you either - which is strange assuming you have admin permission of '0' on your server.
Check out the web permissions section on the wiki:
https://7dtd.illy.bz/wiki/Integrated%20Webserver
It's most likely a config issue - when it is working, you will see a layer control box in the top right of the map that allows you to show and hide Players (online/offline), Zs, Animals, and Land Claims.
Wonder if we think of different things.
This one is when an admin i logged in
What I'm thinking of is this list.
I want to hide the offline players here.
0 -
Just only tick the "online playsrs" box and not the one for offline?
I must be blind, where do I find this...
0 -
Thanks @Alloc for you awesome plugins.
I have a small question.
I want to display the players that are online and not the offline players. Is this possible.
0 -
There is an exe called LP2DB - List Players 2 DB - it runs under mono on linux or natively in windows.
It connects to the server via telnet and periodically (we use 5sec interval) sends the 'lp' command to the server. It then sends an SQL to a local MySQL instance to save the positions and a timestamp according to their Steam ID.
Every minute it also sends a showinventory command for each connected player. This is also saved in the DB and stored with the SteamID and timestamp.
I wrote a player info page using JS Datatables - one of the functions is to click on a player and then view the inventory and navigate via datepicker or increments.
The only thing remaining is the ability to search based on location/date/inventory contents, and a representation on the map of the player tracks, but that will have to wait till I get time.
PM me your email address (or add me on steam with the same name I use here) and we can sort it out, if you want to try it.
Credit goes to Prisma501 for writing the program.
PS: When I said PrismaMod is needed I was mistaken, it is not needed for this functionality.
added you on steam. TTL
0 -
There is a way and we are running this atm.
You will need PrismaMod, mysql to record and php + webserver to view the data.
Let me know if you are interested.
Im interested.
0 -
Is there a way to implement a player trace into web component?
0 -
Yeah I just figured out using Paint.Net and random experimentation with layer blending that it's a simple multiply blend. (But thanks a ton for your reply -- if I hadn't figured it out, I would have been stumbling around for a while on it still).
Anyone have a 12.5A Windows-based server and want to test my build?
What dmustanger saidI plan to add more options to the map to filter out players so you don't see an endless list of players that aren't even active. So filtering banned or inactive users should become possible.
Hi Alloc:I want to script something that allows me to remove banned players from showing up on the web map as "known" players. If they're banned, I don't want a flag on my map showing a banned player as "offline." I tried deleting the player data from $SDTDHOME/instance/Random Gen/seed/Player, but that doesn't affect the web map.
Further investigation showed that the web map keeps a persistent data store in the seed directory called "AllocsPersistentData.bin". Looking at string data suggests this is where the players data is stored. Can you share a little info about this file? What format is it, how to access it safely, etc.?
Thanks!
If you still need a Windows Dedi, send me a PM..
0 -
To get it to work I had to remove the complete Mods Folder and copy/paste the new one.
IT wasnt enough with just the content of the Mods folder.
Strange but it helped me.
0 -
@Alloc When I updated to the latest version the LOG menu alternative disappeared from the WEBGUI.
I have gone thru every part of you Server Fixes info aswell this thread but cant find anything regarding this.
0 -
webserver/js/index.js lines 122 and 123, will affect both the grid lines and the strings. Though you probably won't easily find a a color that will be easy to read on every background
Yellow on the text was quite readable.
0 -
How can I erase/remove banned players from the Map browser? Been looking "everywhere"..
0
Server Tools
in Tools
Posted
I have done that but it still looks a little bit off.
Cops, bees and pigs have their syntaxes