Raised This Month: $ Target: $400
 0% 

[CS:GO] - † Win Or Die | Play the objective map


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 09-18-2015 , 12:56   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #11

I cannot check right now, I'm busy for some days still.
Dr. Api is offline
MFS
AlliedModders Donor
Join Date: Dec 2010
Old 09-30-2015 , 03:34   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #12

L 09/27/2015 - 15:10:57: SourceMod error session started
L 09/27/2015 - 15:10:57: Info (map "de_mirage") (file "errors_20150927.log")
L 09/27/2015 - 15:10:57: [SM] Native "GetClientAbsOrigin" reported: Client 5 is not in game
L 09/27/2015 - 15:10:57: [SM] Displaying call stack trace for plugin "drapi_win_or_die.smx":
L 09/27/2015 - 15:10:57: [SM] [0] Line 309, drapi_win_or_die.sp::Explode()
L 09/27/2015 - 15:10:57: [SM] [1] Line 300, drapi_win_or_die.sp::KillPlayers()
L 09/27/2015 - 15:44:43: Error log file session closed.

L 09/29/2015 - 08:21:55: SourceMod error session started
L 09/29/2015 - 08:21:55: Info (map "de_dust2") (file "errors_20150929.log")
L 09/29/2015 - 08:21:55: [SM] Native "GetClientAbsOrigin" reported: Client 3 is not in game
L 09/29/2015 - 08:21:55: [SM] Displaying call stack trace for plugin "drapi_win_or_die.smx":
L 09/29/2015 - 08:21:55: [SM] [0] Line 309, drapi_win_or_die.sp::Explode()
L 09/29/2015 - 08:21:55: [SM] [1] Line 300, drapi_win_or_die.sp::KillPlayers()
L 09/29/2015 - 08:41:52: Error log file session closed.
MFS is offline
MFS
AlliedModders Donor
Join Date: Dec 2010
Old 09-30-2015 , 03:40   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #13

Quote:
Originally Posted by VJScope View Post
I think that the latest updates have broken this plugin. For some reason ct will not suicide in hostage maps if time runs out and terrorists won't suicide if the bomb is defused.
CSGO added new round end reasons

CSRoundEnd_TerroristsPlanted
CSRoundEnd_CTsReachedHostage
MFS is offline
bhunji
AlliedModders Donor
Join Date: Aug 2005
Old 11-04-2015 , 14:00   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #14

Quote:
Originally Posted by MFS View Post
CSGO added new round end reasons

CSRoundEnd_TerroristsPlanted
CSRoundEnd_CTsReachedHostage

hi
how can i get reason number and message like #SFUI_Notice_Target_Bombed that you say?
because i want to improve my plugin.
i had search csgo new event information but not found.
i tried to get round end information from event log , but it's returned different reason number....
__________________
My plugins
Sorry for my bad English.

Last edited by bhunji; 11-04-2015 at 14:06.
bhunji is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-04-2015 , 22:49   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #15

Quote:
Originally Posted by bhunji View Post
hi
how can i get reason number and message like #SFUI_Notice_Target_Bombed that you say?
because i want to improve my plugin.
i had search csgo new event information but not found.
i tried to get round end information from event log , but it's returned different reason number....
try HookUserMessage
__________________
8guawong is offline
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 11-08-2015 , 04:48   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #16

http://git.*****************/Dr.%20Api/win-or-die
Dr. Api is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 11-10-2015 , 06:51   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #17

Quote:
Originally Posted by Dr. Api View Post
I tried this version but it still doesn't work. We use quick defuse plugin (.sp included), but it didn't seem to make difference if I did remove that plugin. I did some tests. Here is what I found out:

(winner is modified to winner:'3 because of the smilies...)

CT defuses the bomb -> Suicide doesn't work -> winner:'3, reason:7, message:#SFUI_Notice_Bomb_Defused
CT tries to defuse but fails -> Suicide works -> winner:2, reason:1, message:#SFUI_Notice_Target_Bombed
Time runs out de_ map -> Suicide works -> winner:'3, reason:12, message:#SFUI_Notice_Target_Saved
CT rescues a hostage -> Suicide works -> winner:'3, reason:11, message:#SFUI_Notice_All_Hostages_Rescued
Time runs out cs_map -> Suicide doesn't wok -> winner:2, reason:13, message:#SFUI_Notice_Hostages_Not_Rescued

Additional info:
Code:
13:42:16 sm version
13:42:16  SourceMod Version Information:
             SourceMod Version: 1.7.3-dev+5253
             SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.3-dev+5253)
             SourcePawn API: v1 = 4, v2 = 6
             Compiled on: Sep 16 2015 16:38:09
             Built from: https://github.com/alliedmodders/sourcemod/commit/68ac27e
             Build ID: 5253:68ac27e
             http://www.sourcemod.net/

13:43:59 Metamod:Source version 1.10.6
         Built from: https://github.com/alliedmodders/metamod-source/commit/9fed12f
         Build ID: 946:9fed12f
         Loaded As: Valve Server Plugin
         Compiled on: Sep 10 2015
         Plugin interface version: 15:14
         SourceHook version: 5:5
         http://www.metamodsource.net/
Attached Files
File Type: sp Get Plugin or Get Source (quickdefuse_modattu.sp - 386 views - 6.7 KB)
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Last edited by VJScope; 11-11-2015 at 12:39.
VJScope is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 11-12-2015 , 05:23   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #18

I modified this plugin a bit since I thought that those 'reasons' were a bit unnecessary, it didn't work properly and the results didn't seem to make any sense. Now it just watches the I_winner and punishes based on that alone. I made some tests and didn't spot any problems. So if someone has had similar problems, this should work just fine (even if it's awp_ or aim_ map).
Attached Files
File Type: sp Get Plugin or Get Source (drapi_win_or_die_modified.sp - 181 views - 10.5 KB)
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 11-12-2015 , 06:42   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #19

Quote:
Originally Posted by VJScope View Post
I modified this plugin a bit since I thought that those 'reasons' were a bit unnecessary, it didn't work properly and the results didn't seem to make any sense. Now it just watches the I_winner and punishes based on that alone. I made some tests and didn't spot any problems. So if someone has had similar problems, this should work just fine (even if it's awp_ or aim_ map).
Nice work, if you allow me to take your modification with credit, I will upload on my git and refresh this topic.

Last edited by Dr. Api; 11-12-2015 at 06:42.
Dr. Api is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 11-15-2015 , 12:04   Re: [CS:GO] - † Win Or Die | Play the objective map
Reply With Quote #20

Quote:
Originally Posted by Dr. Api View Post
Nice work, if you allow me to take your modification with credit, I will upload on my git and refresh this topic.
Sure!
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
Reply



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 15:23.


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