Raised This Month: $2 Target: $400
 0% 

[ANY] Player Time Tracker (Redux) (3.1.0, 10/18/15)


Post New Thread Reply   
 
Thread Tools Display Modes
WaffleMaddness
Junior Member
Join Date: Jan 2013
Old 06-19-2015 , 19:08   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #11

Do you think you could explain how to install the plugin more clearly? Like I installed the plugin into my server, but connecting it with the webui stuff confuses me. Like how do I install the Webui stuff?

Last edited by WaffleMaddness; 06-19-2015 at 19:30. Reason: To be more clear
WaffleMaddness is offline
sim242
AlliedModders Donor
Join Date: Dec 2012
Location: England
Old 06-21-2015 , 08:54   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #12

I downloaded and installed this plugin on my CS:GO server and can confirm the table no created error as well as the !mytime command outputting completely wrong.

I script sourcepawn plugins myself and upon looking at the code I saw a ton of obvious reasons why it doesn't work properly. Being brutally honest, this plugin was coded very poorly and without it being severely updated I don't think it has a chance of being accepted.

I'm going to finish off my fixes to get the plugin working in a better state and will release my fixed version on this thread soon.

-Edit: My apologies I take back what I said about fixing up the plugin and uploading a new one. This plugin is so poorly done it's not worth "fixing". It might as well be completely re-coded and I don't have time to do it right now so if I do I will upload it as a separate plugin because this one is just ridiculous..
__________________

Last edited by sim242; 06-21-2015 at 09:05. Reason: Not uploading edited plugin
sim242 is offline
Send a message via Skype™ to sim242
Nanochip
Senior Member
Join Date: Jan 2014
Old 06-22-2015 , 01:49   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #13

I'm just getting this when I type !mytime


Database is set up correctly, too. The table is listed there and I see users listed in it.
__________________
Nanochip is offline
sim242
AlliedModders Donor
Join Date: Dec 2012
Location: England
Old 06-22-2015 , 08:02   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #14

Quote:
Originally Posted by Nanochip View Post
I'm just getting this when I type !mytime


Database is set up correctly, too. The table is listed there and I see users listed in it.
The problem isn't with your database. I've looked at the code myself and it's the plugin. Whether you set it up "correctly" or not it will always print the problem you're having.

I have my last 2 exams tomorrow so after that I will create my own version that does the exact same thing but works properly and I'll probably add a few extra features.
__________________
sim242 is offline
Send a message via Skype™ to sim242
namazso
Member
Join Date: Mar 2012
Old 06-22-2015 , 08:07   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #15

Quote:
Originally Posted by Nanochip View Post
I'm just getting this when I type !mytime


Database is set up correctly, too. The table is listed there and I see users listed in it.
thats because sourcemod seems to have an incomplete printf-format implementation. I'll fix it, i forgot to test this originally, i always used the web ui.
namazso is offline
namazso
Member
Join Date: Mar 2012
Old 06-22-2015 , 08:09   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #16

Quote:
Originally Posted by sim242 View Post
The problem isn't with your database. I've looked at the code myself and it's the plugin. Whether you set it up "correctly" or not it will always print the problem you're having.

I have my last 2 exams tomorrow so after that I will create my own version that does the exact same thing but works properly and I'll probably add a few extra features.
if you think that this is so bad, then you haven't looked at the original plugin's source. i tried making it somewhat better, rewriting whole functions, but its still badly structured
namazso is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 06-22-2015 , 08:16   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #17

Quote:
Originally Posted by namazso View Post
thats because sourcemod seems to have an incomplete printf-format implementation. I'll fix it, i forgot to test this originally, i always used the web ui.
Have you taken a look at these? http://www.cplusplus.com/reference/ctime/strftime/
__________________
Nanochip is offline
namazso
Member
Join Date: Mar 2012
Old 06-22-2015 , 08:18   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #18

Quote:
Originally Posted by Nanochip View Post
yes, about 2 days ago last time for a c++ project, but sourcepawn is not c. If you think about porting the function, then i dont think its wroth it

Last edited by namazso; 06-22-2015 at 08:19.
namazso is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 06-22-2015 , 08:33   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #19

Quote:
Originally Posted by namazso View Post
yes, about 2 days ago last time for a c++ project, but sourcepawn is not c. If you think about porting the function, then i dont think its wroth it
These work with the FormatTime native.
__________________
Nanochip is offline
sim242
AlliedModders Donor
Join Date: Dec 2012
Location: England
Old 06-22-2015 , 14:08   Re: [ANY] Player Time Tracker (Redux) (3.0.1, 6/15/15)
Reply With Quote #20

If you were working with a webui and that's what messed the code up then my apologies but if you look at your code you'll see huge errors that really can't be mistaken. The plugin itself doesn't work because it's not coded correctly..
__________________
sim242 is offline
Send a message via Skype™ to sim242
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:12.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode