• TTT Damagelogs - MySQL Edition
    472 replies, posted
[QUOTE=Ryanasaurus;47187626]Have you set up the config file with your ulx ranks?[/QUOTE] I'll try that out!! [editline]25th February 2015[/editline] [QUOTE=Ryanasaurus;47187626]Have you set up the config file with your ulx ranks?[/QUOTE] I need help with that now.I'm confused on what to do.
I've recently updated my installation to the latest code on github, but now I get this when browsing the logs via a web browser: [url=http://imgur.com/tXyhVOC][img]http://i.imgur.com/tXyhVOCm.png[/img][/url] Additionally when trying to add slays to a person that is a "killer", but has disconnected, instead the "victim" is receiving the slays (several commits before it would just throw a script error). My version is based on commit 86da0b9ccc0eeb4ae5305a649c7a33b5e065dac9 [url]https://github.com/Tommy228/TTTDamagelogs/commit/86da0b9ccc0eeb4ae5305a649c7a33b5e065dac9[/url]
I reported an issue with the show death scene on the minecraft maps and how they are all wonky. I have figured out that once you are in the mode and have the camera face the sky it starts to work. //Not working [url]http://puu.sh/cQ6q6/7f9c17dbd9.png[/url] [url]http://puu.sh/cQ6un/8030117c04.png[/url] //Working [url]http://puu.sh/gqNaL/760836e172.png[/url] [url]http://puu.sh/gqNaL/760836e172.png[/url]
I've just installed HLSW to use with my server and I was wondering if anyone knows how to set it up to work with the rdm manager reports? I know a friend used to have HLSW setup to give notifications whenever somebody submitted a rdm report and I would like to set this up too, but I have no idea how to with HLSW. I already have HLSW set to get logs automatically and I can see console and chat from it, but don't know how to proceed from there.
The new gmod update appears to stuff up the damage log's coloring. After the first page of logs, when you scroll down everything is in normal black text. When you click the logs, it reverts back to normal and you can continue. However you have to do this for each set of logs you see, and each time you open the DLogs menu. It's not a huge problem atm, although it would be awesome if you could fix it (if that's possible, idk if it is because it's a gmod update that fucked it up, not necessarily your add-on :P). Also, with regards to the specDM thing, it worked after we updated the logs :D Sorry about not getting back sooner xD NinjaEdit: Upon further inspection, the colors will only go right for the page you are looking at, not for all the logs. Will try and put up a pic of black logs when possible :D [url]http://imgur.com/a/tH6rV[/url] here's the images. Second image is with no color, first is with color (same time, only difference is i clicked the logs with the black text to get the colored text.)
[url]http://facepunch.com/showthread.php?p=47288839#post47288839[/url] basicly you need to repalce SetFontColor with SetFGColor
[QUOTE=Tomelyr;47290088][url]http://facepunch.com/showthread.php?p=47288839#post47288839[/url] basicly you need to repalce SetFontColor with SetFGColor[/QUOTE] I'm having the same issue and I'm having a hard time finding out what lua file I replace SetFGColor with. My apologies if it is posted in that thread and have missed it.
Sorry, i didnt mean SetFontColor, i mean SetTextColor. [t]http://puu.sh/gtY6y/6034c7a9f7.png[/t]
That fixed the color stuff, but then the death scene started spitting out this error: [ERROR] addons/tttdamagelogs-master/lua/damagelogs/cl_recording.lua:263: attempt to call field 'SetFGColor' (a nil value) 1. fn - addons/tttdamagelogs-master/lua/damagelogs/cl_recording.lua:263 2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179
It's just for Dlabel, not for surface. change it back to SetTextColor.
Thanks, the "SetFGColor" really helped :)
[QUOTE=bonsaibaum;47226053]I've recently updated my installation to the latest code on github, but now I get this when browsing the logs via a web browser: [url=http://imgur.com/tXyhVOC][img]http://i.imgur.com/tXyhVOCm.png[/img][/url] Additionally when trying to add slays to a person that is a "killer", but has disconnected, instead the "victim" is receiving the slays (several commits before it would just throw a script error). My version is based on commit 86da0b9ccc0eeb4ae5305a649c7a33b5e065dac9 [url]https://github.com/Tommy228/TTTDamagelogs/commit/86da0b9ccc0eeb4ae5305a649c7a33b5e065dac9[/url][/QUOTE] I am having the same exact issue with my web based damagelogs, has anyone discovered a fix for this?
[QUOTE=Tomelyr;47292609]It's just for Dlabel, not for surface. change it back to SetTextColor.[/QUOTE] so anything that is (now that i've changed it) surface.SetFGColor must be put back to surface.SetTextColor?
[QUOTE=Axle01;47296395]so anything that is (now that i've changed it) surface.SetFGColor must be put back to surface.SetTextColor?[/QUOTE] Yes.
i have server in lunix and logs don't working. Nope no errors nothing. Simply does not work
Did you do this? "Extract the TTTDamagelogs-master folder to garrysmod/addons/ (rename it to tttdamagelogs if you are using Linux)."
-snip Started working after a full server restart (was only loading the map)
Thanks tommy for updating the dlogs files to fix the error xP (only after i'd done it by hand though xDDDDDD) but what can you do :P and thank you Tomelyr for telling me before hand how to fix it.
Okay, I am having a problem with this addon. It displays no errors, whenever I load the addon on my server the gun holding texture (hands and gun and ironsights) go away during the game. Is anyone else having this error? I am not sure why this is happening but it is a bug in it. I am not sure if it is conflicting with another setting but I kinda doubt it. I have done some reading about the MYSQL install, this may be the issue, but I don't know how to do it/use it but I know know I have it installed on my server (I use NFOSERVERS for hosting and they offer to install it in the server. However, I have no idea what to do from there) If someone could be so kind as to link me or tell me what i would need to do to install it using MYSQL that would be fantastic. I am currently looking up tutorials for how to do it to no avail.
[QUOTE=ricoben3;47309246]Okay, I am having a problem with this addon. It displays no errors, whenever I load the addon on my server the gun holding texture (hands and gun and ironsights) go away during the game. Is anyone else having this error? I am not sure why this is happening but it is a bug in it. I am not sure if it is conflicting with another setting but I kinda doubt it. I have done some reading about the MYSQL install, this may be the issue, but I don't know how to do it/use it but I know know I have it installed on my server (I use NFOSERVERS for hosting and they offer to install it in the server. However, I have no idea what to do from there) If someone could be so kind as to link me or tell me what i would need to do to install it using MYSQL that would be fantastic. I am currently looking up tutorials for how to do it to no avail.[/QUOTE] Yeah we have this on our development server and our modded server, however it doesn't happen on our vanilla ttt server. I'll need to check if we have MySQL on there or not (not the owner, just an admin :P) NinjaEdit: One thing we did find, was that this only happened when we played with bots. When they drowned I (and only i, not the other person playing with me and the bots) lost my models for my hand + weapon. Although i could still use it and everything.
[QUOTE=Axle01;47310074]Yeah we have this on our development server and our modded server, however it doesn't happen on our vanilla ttt server. I'll need to check if we have MySQL on there or not (not the owner, just an admin :P) NinjaEdit: One thing we did find, was that this only happened when we played with bots. When they drowned I (and only i, not the other person playing with me and the bots) lost my models for my hand + weapon. Although i could still use it and everything.[/QUOTE] I don't think it's related to MySQL, it's a clientside issue. And I have no clue yet. If you could figure out how to easily reproduce it that would be great [editline]12th March 2015[/editline] [QUOTE=Axle01;47309017]Thanks tommy for updating the dlogs files to fix the error xP (only after i'd done it by hand though xDDDDDD) but what can you do :P and thank you Tomelyr for telling me before hand how to fix it.[/QUOTE] Say thanks to ZachPL and Joschasa instead (and people reporting issues). I'm not doing much lately, but I'll continue updating them later
Not sure if anyone else is having an issue, I updated, but still the text isn't showing up for me. I'm on Linux if that makes a difference. [url]http://i.imgur.com/8c9i50F.jpg[/url]
Tommy, it may also be a good idea to rename the folder by default to be lower case so that inexperienced Linux users don't have to go through the troubleshooting of renaming the folder.
[QUOTE=tommy228;47311301]I don't think it's related to MySQL, it's a clientside issue. And I have no clue yet. If you could figure out how to easily reproduce it that would be great [editline]12th March 2015[/editline] Say thanks to ZachPL and Joschasa instead (and people reporting issues). I'm not doing much lately, but I'll continue updating them later[/QUOTE] Ok, then thanks to ZachPL and Joschasa :D As to recreating it, just open up an updated gmod dedicated server where you have rcon, play on a map that has a lot of water (i believe the map i was on at the mtime was ttt_minecraft_heaven) and let the bots drown themselves by walking into the water. One of our other staff members has had this happen to them too, on our modded ttt server, when they were playing around with bots. I don't know if it was also because of them drowning or not, will have to ask them. Other thing is that the ULX menu will no longer work (at least on our dev server, it works on our vanilla server and the modded one is under construction so can't access that atm). I can use ulx commands, but the menu won't open whether i use console, my key bind for it, or typing !menu in chat. This is probably not something you can fix, but thought i'd mention it as another side effect of the recent update to gmod. Thanks for all the help so far :D
This is a thread relating to a damagelog from what I remember. For your ULX issues take them to the ULX GitHub, though to fix that menu bug just update your ULX and ulib.
i get this error any suggestions? [code] [ERROR] addons/tttdamagelogs/lua/damagelogs/sv_damagelog.lua:221: attempt to compare number with nil 1. fn - addons/tttdamagelogs/lua/damagelogs/sv_damagelog.lua:221 2. unknown - addons/ulib/lua/ulib/shared/hook.lua:184 3. FireBullets - [C]:-1 4. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:318 5. PrimaryAttack - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:242 6. unknown - addons/tttdamagelogs/lua/damagelogs/sv_damageinfos.lua:46 [/code]
[QUOTE=Axle01;47310074]Yeah we have this on our development server and our modded server, however it doesn't happen on our vanilla ttt server. I'll need to check if we have MySQL on there or not (not the owner, just an admin :P) NinjaEdit: One thing we did find, was that this only happened when we played with bots. When they drowned I (and only i, not the other person playing with me and the bots) lost my models for my hand + weapon. Although i could still use it and everything.[/QUOTE] I'm having the same issue. I had to wipe both of my servers and start from scratch. I initially thought it was the dmg logs (on my 1st server), but it turned out to be ulx and wyoz tag editors. I initially thought it was Traitor Kills, Scoreboard commands, and dmg logs. But those seems to work fine after I found the aforementioned errors. However, I'm working on the 2nd server (no downloads), and it seems that the dmg logs is causing an issue now. I avoided adding the custom ulx and tag editor in anticipation of it glitching out. But unlike my first server, the damage logs seem to glitch my second server. Keep in mind I copied over the dmg log from the first server and moved it to my second. I was able to manipulate the glitch with: 1. remove addon -- reboot -- rcon bot (~8 times) -- nothing 2. add dmg log -- reboot -- rcon bot (~8 times) -- guns glitch out 3. remove addon -- reboot -- rcon bot (~8 times) -- nothing I ran this test when testing my first server, while also no clipping, re-spawning (no longer functioning so it's removed), and killing bots to ensure killing doesn't trigger it. I have these addons (and more) on first server, and it works fine (as it does here): [url]http://puu.sh/gAbWx/4304b46528.png[/url] But once I add dmg logs, glitch happens Hope this helps. I was documenting progress in another thread as well, if you care to look: [url]http://facepunch.com/showthread.php?t=1454994&p=47319326#post47319326[/url]
Version Changelogs D: ?
Hit the "commits" button on the GitHub page.
Welp, it turns out that I'm a fucking idiot and accidentally made a typo in my config file and that's the reason why I was getting that error. Whoops.
Sorry, you need to Log In to post a reply to this thread.