HL2DM-scoreboard and stats
Re: HL2DM-scoreboard and stats
Oh okay, yeah then delete the stats/player.db
Re: HL2DM-scoreboard and stats
Kami ,
Its working fine now here thank bro :)
/Peace
Its working fine now here thank bro :)
/Peace
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
I did the update 3 times, and it still says this about the bot.
Code: Select all
2020-12-21 10:50:48 - sp - EXCEPTION
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\packages\source-python\events\listener.py", line 92, in fire_game_event
callback(game_event)
File "..\addons\source-python\plugins\scoreboard\scoreboard.py", line 453, in player_death
stats_rank[attacker.steamid]['points'] = statsplayers[attacker.userid].kills-statsplayers[attacker.userid].deaths
KeyError: 'BOT'
Re: HL2DM-scoreboard and stats
Could you please send me your players.db? The problem is that you are using different bots then me, so I cannot recreate the bug.
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Kami wrote:Could you please send me your players.db? The problem is that you are using different bots then me, so I cannot recreate the bug.
ok here it is https://www.dropbox.com/s/fl01tgdd4uh4k ... b.zip?dl=0 Also, what bots are you using?. I am using hurricane bots HL2DM player bot plugin 1.3.4
Re: HL2DM-scoreboard and stats
Thank you. It's strange that you get that error, as none of your bots actually has the steamid BOT. I'll have to investigate that further before I can fix it. I am using Botrix bots.
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Kami wrote:Thank you. It's strange that you get that error, as none of your bots actually has the steamid BOT. I'll have to investigate that further before I can fix it. I am using Botrix bots.
ok thank you for all you are doing.
Re: HL2DM-scoreboard and stats
Kami,
We would use Botrix too if we didnt have to generate way points for 500 + maps lol and mine trigger say sounds so they chat and respond to key words and kills
We would use Botrix too if we didnt have to generate way points for 500 + maps lol and mine trigger say sounds so they chat and respond to key words and kills
Re: HL2DM-scoreboard and stats
I think I finally found the error. I used steamid which for bots is indeed just "BOT" but I should have used uniqueid which is "BOT_Nameofbot".
Please try the updated version.
Please try the updated version.
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Kami wrote:I think I finally found the error. I used steamid which for bots is indeed just "BOT" but I should have used uniqueid which is "BOT_Nameofbot".
Please try the updated version.
got this
Code: Select all
2020-12-21 13:52:51 - sp - MESSAGE [SP] Loading plugin 'scoreboard'...
2020-12-21 13:52:51 - sp - EXCEPTION
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\packages\source-python\plugins\command.py", line 164, in load_plugin
plugin = self.manager.load(plugin_name)
File "..\addons\source-python\packages\source-python\plugins\manager.py", line 207, in load
plugin._load()
File "..\addons\source-python\packages\source-python\plugins\instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "..\addons\source-python\plugins\scoreboard\scoreboard.py", line 437
if attacker.
^
SyntaxError: invalid syntax
OK its 173.28.178.152:27015
Last edited by daren adler on Mon Dec 21, 2020 7:58 pm, edited 1 time in total.
Re: HL2DM-scoreboard and stats
I'm sorry, maybe this time it works :D
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Kami wrote:I'm sorry, maybe this time it works :D
You got it, THANK YOU SO MUCH for your HARD WORK at this, IT WORKS WITHOUT errors. THANK YOU.
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Just got this today.
Code: Select all
2020-12-24 13:33:42 - sp - EXCEPTION
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\packages\source-python\events\listener.py", line 92, in fire_game_event
callback(game_event)
File "..\addons\source-python\plugins\scoreboard\scoreboard.py", line 470, in npc_killed
player = Player(event['entindex_attacker'])
File "..\addons\source-python\packages\source-python\entities\_base.py", line 132, in __call__
obj = super().__call__(index)
File "..\addons\source-python\packages\source-python\players\_base.py", line 96, in __init__
PlayerMixin.__init__(self, index)
ValueError: Index '250' is not a valid player.
Re: HL2DM-scoreboard and stats
Thank you for reporting. I'll make a new topic in the plugin release forum where I link to the github link. It's easier to update the plugin there instead of editing a post here.
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
My timeleft (on botom) is off like 2 to 3 min, ends up saying -3,,how could i fix that?
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
FIXED the error(all good) .
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Hello, what do i have to change/ or put for the time of day to be a 12 hour and not a 24 hour?
Re: HL2DM-scoreboard and stats
Change '%a, %m.%y. %H:%M:%S' to '%a, %m.%y. %I:%M:%S%p'
If you don't want the AM/PM, remove the %p at the end.
For reference: https://docs.python.org/3/library/time. ... e.strftime
If you don't want the AM/PM, remove the %p at the end.
For reference: https://docs.python.org/3/library/time. ... e.strftime
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
Worked, Thank you.
- daren adler
- Senior Member
- Posts: 348
- Joined: Sat May 18, 2019 7:42 pm
Re: HL2DM-scoreboard and stats
What can i do to have this also (auto) show up at map end by itself?
Who is online
Users browsing this forum: No registered users and 5 guests