Raised This Month: $51 Target: $400
 12% 

Anti-Silent Plant - v1.5 - 2006-05-23


Post New Thread Reply   
 
Thread Tools Display Modes
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-09-2006 , 18:49  
Reply With Quote #21

Quote:
Originally Posted by VEN
That's why i said "every upper corner".
I am not sure how to only do it for the upper corners and distinguish part of a model like that and besides that sometimes the bottom corners are merged with the wall as well (example dropping off side in dust2) and I also seemed to have a problem recognizing the solid part in the map.
Quote:
Originally Posted by VEN
You entity may be used at the same chance as mine entity in my plugin. I really don't understand.
Well if another plugin like a mine/bomber plugin or something uses the c4 sounds then it would emit also from those entities this plugin created. I don't see what's wrong with only having the entities exist when they are being used.
Quote:
Originally Posted by VEN
I mean if you have exact filenames why don't you use equali?
oh I never thought of using that I guess I could try that. I just used the first thing that came to mind.

Edit: Now I remember why I used containi... when I was learning how to use register_forward I looked at v3x's silent_assault plugin and thats how he did it. If it's good enough for v3x it's good enough for me. I did try it with equali also and that worked but maybe he used containi for a reason.. I dunno??? either way it works using containi and I switched it to only use FM so I'd say it's doing pretty well. The only thing left is to take out the original C4 sound so you only hear 1 beep all the time.

Edit: The C4 sound has been removed so now only the sound created by the temporary entity is emitted. Duel-beep problem fixed. ) Happy fraggin.
SubStream is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-10-2006 , 03:04  
Reply With Quote #22

Let me guess: superciding the original sound? I should tought about that too first, but since i already wrote answers to your previous questions, i will post them anyway. :)
[at least that may be used for something else by you or someone else]

Quote:
I am not sure how to only do it for the upper corners and distinguish part of a model like that
We have: AbsMin{MinX, MinY, MinZ} and Size{SizeX, SizeY, SizeZ}
Hence:
UpperCornerA{MinX, MinY, MinZ + SizeZ}
UpperCornerB{MinX + SizeX, MinY, MinZ + SizeZ}
UpperCornerC{MinX, MinY + SizeY, MinZ + SizeZ}
UpperCornerD{MinX + SizeX, MinY + SizeY, MinZ + SizeZ}

Quote:
sometimes the bottom corners are merged with the wall as well
But then upper corners should be merged as well (in very most cases)? So we can just check the upper corners.
Anyway you can calculate lower corners as well using previous method but without SizeZ increment.
Just keep in mind that AbsMin{MinX + i, MinY + i, MinZ + i} where "i" is something like 0.X to awoid ground detection.

Quote:
I also seemed to have a problem recognizing the solid part in the map
Code:
stock bool:is_in_solid(Float:vec_point[3]) {     return engfunc(EngFunc_PointContents, vec_point) == -2 }
VEN is offline
jimmy_cr
Member
Join Date: Sep 2004
Old 05-11-2006 , 02:16  
Reply With Quote #23

this plugin makes my server to crash

Code:
; AMX Mod X Modules
; You can specify both linux & win32 modules here
; To enable a module, remove the semi-colon from the line

; ------------------------------
; Fun - provides extra functions
; ------------------------------
fun_amxx_i386.so

; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
engine_amxx_i386.so

; ----------------------------------------------------------
; Fakemeta - provides a massive interface into the HL engine
; ----------------------------------------------------------
fakemeta_amxx_i386.so

; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
mysql_amxx_i386.so

Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
adminbans.amxx          ; admin base (required for any admin-related)
amxbans_cdb.amxx

; Basic
admincmd.amxx           ; basic admin console commands
adminhelp.amxx          ; help command for admin console commands
adminslots.amxx         ; slot reservation

; Menus
menufront.amxx          ; front-end for admin menus
cmdmenu.amxx            ; command menu (speech, settings)
plmenu.amxx             ; players menu (kick, ban, client cmds.)
mapsmenu.amxx           ; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx          ; console chat commands
adminvote.amxx          ; vote commands

; Map related
timeleft.amxx           ; displays time left on map

; Configuration
pausecfg.amxx           ; allows to pause and unpause some plugins
statscfg.amxx           ; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx           ; restrict weapons menu
statsx.amxx             ; stats on death or round end (CSX Module required!)
miscstats.amxx          ; bunch of events announcement for Counter-Strike
stats_logging.amxx      ; weapons stats logging (CSX Module required!)


; Custom - Add 3rd party plugins here
deagsmapmanage230b.amxx
hpk.amxx
kick_spec.amxx //my AntiSpec plugin
afkkicker2.amxx
amxx_atac.amxx
player_location.amxx
bad_camper.amxx
antisilentplant.amxx
connect_announce.amxx
reklama.amxx //my Advertising plugin
any suggestion? No error in logs even with DEBUG parameter. When commented out, everything seems to work fine.
jimmy_cr is offline
Send a message via ICQ to jimmy_cr
noob cannon lol
SourceMod Donor
Join Date: Sep 2005
Old 05-11-2006 , 10:14  
Reply With Quote #24

Code:
kick_spec.amxx //my AntiSpec plugin
afkkicker2.amxx
amxx_atac.amxx
player_location.amxx
bad_camper.amxx
antisilentplant.amxx
connect_announce.amxx
reklama.amxx //my Advertising plugin
I think // should be ;
noob cannon lol is offline
Send a message via AIM to noob cannon lol Send a message via MSN to noob cannon lol
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 05-11-2006 , 10:45  
Reply With Quote #25

Quote:
Originally Posted by jimmy_cr
any suggestion? No error in logs even with DEBUG parameter. When commented out, everything seems to work fine.
What is your AMXX and Metamod version ?
__________________
Janet Jackson is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-11-2006 , 11:14  
Reply With Quote #26

Quote:
Originally Posted by noob cannon lol
I think // should be ;
You are correct.
Quote:
Originally Posted by jimmy_cr
this plugin makes my server to crash
No... it doesn't... I'll get you an IP to a server where it works and you can come in and see it work if you think that this plugin is the problem... because it works flawlessly
Quote:
Originally Posted by jimmy_cr
any suggestion? No error in logs even with DEBUG parameter. When commented out, everything seems to work fine.
Change // to ; in your plugins.ini. Look at log files for other plugins making errors because it's not this one. Make sure you have AMX Mod X 1.70 and metamod 1.19. If none of this works then it is a problem with a configuration or another plugin.

Don't post that a plugin is crashing your server if you don't have evidence that the crash is directly related to that specific plugin. It does not crash servers so let nobody be confused or think it doesn't work. This plugin works flawlessly.
SubStream is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 05-11-2006 , 11:26  
Reply With Quote #27

Quote:
Originally Posted by SubStream
Make sure you have AMX Mod X 1.70
Or 1.71 ;)
__________________
Janet Jackson is offline
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-11-2006 , 11:37  
Reply With Quote #28

Quote:
Originally Posted by Janet Jackson
Quote:
Originally Posted by SubStream
Make sure you have AMX Mod X 1.70
Or 1.71 ;)
Yes yes Janet.. or 1.71 LOL
SubStream is offline
jimmy_cr
Member
Join Date: Sep 2004
Old 05-11-2006 , 14:10  
Reply With Quote #29

Code:
AMXX 1.71

Metamod v1.19p28  2006/03/04 (5:13)
         by Will Day
            http://www.metamod.org/
          Patch: Metamod-P (mm-p) v28
          by Jussi Kivilinna
             http://metamod-p.sourceforge.net/
         compiled: Mar  1 2006, 16:50:37 EET (optimized)
without this plugin there's no crash at all, server working 24/7, with this plugin it start to crash :-/

will try to find any error :-/

those "//" in prevïous post I've add only to this forum to explain, that it's my plugin and what is its function have no "//" in my plugins.ini
jimmy_cr is offline
Send a message via ICQ to jimmy_cr
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-11-2006 , 14:16  
Reply With Quote #30

Also you need to make sure that your core and fakemeta modules are 1.70 or above versions also

Edit: Thank you to jimmy_cr, Mordekay, and Krillin for bringing up these issues. Update to version 1.5 to get the fix for this problem. Versions 1.4 and below did cause servers to crash upon round restarts when the bomb was not planted the round before.

Once again, thank you to jimmy_cr, Mordekay, and Krillin for bringing this issue to my attention.
SubStream 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 16:45.


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