Newbie
Posts: 5
Offline
|
 |
« Reply #15 on: August 06, 2008, 12:31:22 PM » |
|
i've installed the plugin and, looking in the log file, it seems to run correctly. but when i tested it no messages appeared. do you have any suggestions? 080806 22:00:45 BOT Starting Iourt41Parser server for 127.0.0.1:28960 080806 22:00:45 BOT --------------------------------------------
====================================================================================================== ====================================================================================================== 080806 22:00:45 BOT Loading Plugin #11 headshotsurt [C:\Python25\lib\site-packages\b3-1.1.2_r103-py2.5.egg\b3\conf\headshots.xml] 080806 22:00:45 BOT HeadshotsurtPlugin: Loading config C:\Python25\lib\site-packages\b3-1.1.2_r103-py2.5.egg\b3\conf\headshots.xml for HeadshotsurtPlugin 080806 22:00:45 DEBUG Register Event: Stop Process: HeadshotsurtPlugin 080806 22:00:45 DEBUG Register Event: Program Exit: HeadshotsurtPlugin 080806 22:00:45 BOT Plugin headshotsurt (Unknown Version - Unknown Author) loaded
====================================================================================================== ====================================================================================================== 080806 22:00:45 VERBOSE 0 cid changed from None to -1 080806 22:00:45 DEBUG Client Connected: [-1] World - WORLD ({}) 080806 22:00:45 DEBUG Storage: getClient <b3.clients.Client object at 0x00F13370> 080806 22:00:45 VERBOSE RCON sending (127.0.0.1:28960) say ^0(^2b3^0)^7: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.1.2-r103 [nt] ^9(^3Shadhavar^9) ^7by ^2ThorN ^3 ^2[ONLINE] 080806 22:00:45 ERROR RCON: ERROR reading: (10054, 'Connection reset by peer') 080806 22:00:45 BOT Client found in storage 1, welcome back World
...
080806 22:00:45 BOT Starting Plugin welcome 080806 22:00:45 DEBUG Register Event: Client Authenticated: WelcomePlugin ====================================================================================================== ====================================================================================================== 080806 22:00:45 BOT Starting Plugin headshotsurt 080806 22:00:45 DEBUG HeadshotsurtPlugin: Starting 080806 22:00:45 VERBOSE HeadshotsurtPlugin: Registering commands 080806 22:00:45 DEBUG AdminPlugin: Command "headshots (hs)" registered with cmd_headshots for level (1, 100) 080806 22:00:45 VERBOSE HeadshotsurtPlugin: Registering events 080806 22:00:45 DEBUG Register Event: Client Kill: HeadshotsurtPlugin 080806 22:00:45 DEBUG Register Event: Game Exit: HeadshotsurtPlugin 080806 22:00:45 DEBUG HeadshotsurtPlugin: Started ====================================================================================================== ====================================================================================================== 080806 22:00:45 BOT Start reading... 080806 22:00:45 VERBOSE RCON: retry sending say ^0(^2b3^0)^7: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.1.2-r103 [nt] ^9(^3Shadhavar^9) ^7by ^2ThorN ^3 ^2[ONLINE]... 080806 22:00:45 ERROR RCON: ERROR reading: (10054, 'Connection reset by peer') 080806 22:00:45 DEBUG RCON: Did not send any data 080806 22:01:00 VERBOSE StatusPlugin: Building XML status 080806 22:01:00 DEBUG StatusPlugin: Writing XML status to C:\Documents and Settings\pocho/status.xml 080806 22:01:40 CONSOLE 0:00 ------------------------------------------------------------ 080806 22:01:40 VERBOSE line did not match format: ------------------------------------------------------------
...
080806 22:03:11 CONSOLE 0:43 InitRound: \sv_allowdownload\0\g_matchmode\0\g_gametype\3\sv_maxclients\12\sv_floodprotect\0\g_warmup\15\capturelimit\0\sv_hostname\New Unnamed Server\g_followstrict\0\fraglimit\100\timelimit\26\g_cahtime\60\g_swaproles\1\g_roundtime\3\g_bombexplodetime\40\g_bombdefusetime\10\g_hotpotato\2\g_waverespawns\0\g_redwave\15\g_bluewave\15\g_respawndelay\5\g_suddendeath\1\g_maxrounds\1\g_friendlyfire\1\g_allowvote\536870988\g_armbands\1\g_blueTeam\Pagans\g_redTeam\Stroggs\sv_dlURL\http://d0433/\sv_maxPing\0\sv_minPing\0\sv_maxRate\0\sv_minRate\0\dmflags\0\g_maxGameClients\0\g_gear\0\g_survivorrule\0\g_teamNameRed\Spartakus\g_teamNameBlue\Doom Knights\g_deadchat\2\version\ioQ3 1.35urt win-x86 Dec 20 2007\protocol\68\mapname\ut4_dressingroom\sv_privateClients\0\gamename\q3ut4\g_needpass\0\g_enableDust\0\g_enableBreath\0\g_antilagvis\0\g_survivor\0\g_enablePrecip\0\g_modversion\4.1\g_doWarmup\0 080806 22:03:28 CONSOLE 0:59 Hit: 1 0 0 3: Pocho hit Pocho_1 in the Head 080806 22:03:28 CONSOLE 0:59 Kill: 0 1 15: Pocho killed Pocho_1 by UT_MOD_DEAGLE 080806 22:03:28 DEBUG No attacker 080806 22:03:28 CONSOLE 0:59 Item: 0 ut_weapon_deagle 080806 22:03:30 VERBOSE RCON sending (127.0.0.1:28960) status 080806 22:03:30 ERROR RCON: ERROR reading: (10054, 'Connection reset by peer') 080806 22:03:31 VERBOSE RCON: retry sending status... 080806 22:03:31 ERROR RCON: ERROR reading: (10054, 'Connection reset by peer') 080806 22:03:31 DEBUG RCON: Did not send any data 080806 22:03:32 CONSOLE 1:03 Item: 0 ut_weapon_ump45 ===================================================================================================== ====================================================================================================== 080806 22:03:39 CONSOLE 1:09 Hit: 1 0 0 3: Pocho hit Pocho_1 in the Head 080806 22:03:39 CONSOLE 1:09 Kill: 0 1 15: Pocho killed Pocho_1 by UT_MOD_DEAGLE ====================================================================================================== ====================================================================================================== 080806 22:03:39 DEBUG No attacker 080806 22:03:39 CONSOLE 1:09 Item: 0 ut_weapon_deagle 080806 22:03:39 CONSOLE 1:09 Item: 0 ut_weapon_ump45 080806 22:03:44 CONSOLE 1:14 ShutdownGame: 080806 22:03:44 VERBOSE line did not match format: ShutdownGame: 080806 22:03:44 CONSOLE 1:14 ------------------------------------------------------------ 080806 22:03:44 VERBOSE line did not match format: ----------------------------------------------------------
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #16 on: August 06, 2008, 01:29:57 PM » |
|
1) you got a lot of RCON errors- Is the bot responding to other commands ?
- In your main config, check rcon_ip and rcon_password values.
Sometime changing the ip to 127.0.0.1 makes things better; if not, try the public ip instead. 2) DEBUG No attacker- Tells me the guy who did the headshot was connected to the game before the bot was started.
- After a bot restart, all players must reconnect to be recognized by the bot (in game console, type /reconnect)
|
|
|
|
« Last Edit: August 06, 2008, 01:33:27 PM by Courgette »
|
Logged
|
|
|
|
Newbie
Posts: 3
Offline
|
 |
« Reply #17 on: August 27, 2008, 04:42:02 AM » |
|
hello. i have a problem with this plugin not keeping track of headshots, i'm no python programmer but looking at the code, it looks for HT_HEAD or HT_HELMET in UT log file. the problem is that, while it logs weapons in the form of UT_MOD_WEAPON it doesn't log hit locations as HL_LOCATION. instead it uses Helmet for HL_HELMET and Head for HL_HEAD. is this correct? i mean, do i have to tweak headshotsurt.py to match the log or am i missing something? thanks 
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #18 on: August 27, 2008, 08:40:47 AM » |
|
This plugin is for ioUrban Terror only (in case your trying to make this work for an other game) have you set the following line in your game config ? set g_loghits "1" // allow to log every bullet hit : essential to detect headshots
|
|
|
|
|
Logged
|
|
|
|
Newbie
Posts: 3
Offline
|
 |
« Reply #19 on: August 27, 2008, 08:48:33 AM » |
|
This plugin is for ioUrban Terror only (in case your trying to make this work for an other game) of course, i'm using it on UrbanTerror 4.1 and as you can read in the log posted above by ocho there are some lines like: 080806 22:03:39 CONSOLE 1:09 Hit: 1 0 0 3: Pocho hit Pocho_1 in the Head my log says the same. have you set the following line in your game config ? set g_loghits "1" // allow to log every bullet hit : essential to detect headshots of course i did  thanks for the quick reply. cya 
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #20 on: August 27, 2008, 08:56:12 AM » |
|
the problem is that, while it logs weapons in the form of UT_MOD_WEAPON it doesn't log hit locations as HL_LOCATION. instead it uses Helmet for HL_HELMET and Head for HL_HEAD. this is not quite true as the plugin is using the 4 numbers that are after 'Hit:' and is not taking care of the text that is after. maybe you are not using B3 v1.1.3 ? (see http://www.bigbrotherbot.com/forums/index.php?topic=353.0)
|
|
|
|
|
Logged
|
|
|
|
Newbie
Posts: 3
Offline
|
 |
« Reply #21 on: August 28, 2008, 02:15:45 AM » |
|
you are VERY right! i installed b3 as python egg and it turned out to be version 1.1.2 i installed in source mode and know headshot are counted. thanks a lot. by the way, how can i make it a bigtext message instead of a small server message? thanks again for precious help 
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #22 on: August 28, 2008, 02:58:27 AM » |
|
it's already answered on page 1
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
Posts: 1039
Offline
Don't contact me on Xfire! I will just reject you!
|
 |
« Reply #23 on: September 02, 2008, 01:08:30 PM » |
|
Is there any chance you could port this to cod4?
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #24 on: September 02, 2008, 01:11:43 PM » |
|
cod4 port: no as I have no COD4 server. And I'm spending too much time with Urban Terror at the momment  But this plugin could be taken as a working base for a cod4 port
|
|
|
|
|
Logged
|
|
|
|
Newbie
Posts: 6
Offline
|
 |
« Reply #25 on: October 26, 2008, 06:53:29 AM » |
|
Hello... The plugin will only record the headshot, if it kill the enemy... is there a way to record every headshot? Thanks obi
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #26 on: October 26, 2008, 07:01:31 AM » |
|
latest version of poweradminurt does this
|
|
|
|
|
Logged
|
|
|
|
Newbie
Posts: 6
Offline
|
 |
« Reply #27 on: October 26, 2008, 08:01:31 AM » |
|
but that doesnt work here... it message every headshot 2 times 
|
|
|
|
|
Logged
|
|
|
|
Dev. Team
Hero Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1161
Offline
|
 |
« Reply #28 on: October 26, 2008, 08:11:17 AM » |
|
aren't you running two instances of the bot ?
|
|
|
|
« Last Edit: October 26, 2008, 10:46:11 AM by Courgette »
|
Logged
|
|
|
|
Newbie
Posts: 6
Offline
|
 |
« Reply #29 on: October 26, 2008, 09:55:40 AM » |
|
i run only 1 instance... so maybe there is a way to adjust your plugin? then i will be happy  thanks Obi
|
|
|
|
|
Logged
|
|
|
|
|