Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Meteor Shower


Post New Thread Reply   
 
Thread Tools Display Modes
Author
azvampyre
Junior Member
Join Date: Apr 2012
Plugin ID:
1897
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Buring and explosive rocks fall from sky.
    Old 05-08-2012 , 05:58   Re: [L4D & L4D2] Meteor Shower
    Reply With Quote #1

    I wish someone would change it so it doesn't say 300MB error log every day in my server. That's a HUGE error log.
    azvampyre is offline
    hell911
    Member
    Join Date: Nov 2009
    Old 11-26-2012 , 02:52   Re: [L4D & L4D2] Meteor Shower
    Reply With Quote #2

    // explosion damage of star
    // -
    // Default: "40"
    l4d_star_damage "3"

    it is 3, but ingame, when im playing Normal difficulty, i take 8 damage, why? it should be 3 damage only
    hell911 is offline
    azvampyre
    Junior Member
    Join Date: Apr 2012
    Old 12-26-2012 , 18:24   Re: [L4D & L4D2] Meteor Shower
    Reply With Quote #3

    I don't know this scripting language, but I have noticed most of your (Op's) releases are borderline malicious. Maybe not purposely, but they are dangerous to players.

    For example "AcceptEntityInput(ent, "Kill");
    RemoveEdict(ent);"
    will knock the entity (being player who causes the starfall as well as the rock/tank entity) completely off of the server.

    Mods, have him change the code to setHealth == 0 or whatever is similar in this scripting language.
    Also, I posted before that ALL of his/her scripts have dozens of errors while compiling.

    If anyone knows any way to rewrite these in C++ or C# let me know and I'll take the job myself.
    Like I said, I don't know this scripting language or where to get the source (is it open-source?)
    The SDK is compiled source, so it won't help in writing it in C++/C#

    edit: Testing the original script does cause ent kill to anyone who comes in contact with formed entity (rock), but this isn't a problem if setHealth == 0
    or
    ignoreSurviror(1)
    equivalent of
    if (!isSurvivor){
    goto [newClass]
    {
    else
    {
    end
    }
    }
    [newClass] is whatever class that causes the death to the entity.

    I noticed noone really uses this script, so I won't continue to mess with it.


    edit:
    public DeleteEntity(any:ent, String:name[])
    {
    if (IsValidEntity(ent))
    {
    decl String:classname[64];
    GetEdictClassname(ent, classname, sizeof(classname));
    if (StrEqual(classname, name, false))
    {
    AcceptEntityInput(ent, "Kill");
    RemoveEdict(ent);
    }
    }
    }

    If you use Sourcemod funcommands just change "Kill" you Slay...
    From what I see in the SDK "Kill" is also used to remove a player from the server for some reason.

    Last edited by azvampyre; 12-26-2012 at 18:40.
    azvampyre is offline
    tornasuk
    Junior Member
    Join Date: Nov 2013
    Location: a van down by the river!
    Old 12-01-2013 , 10:47   Re: [L4D & L4D2] Meteor Shower
    Reply With Quote #4

    Hi there, this is my first attemp doing something related to plugins, so please, be gentle.
    I've notice what azvampyre said, so I replaced "kill" to "slay"... and comment out the "starfall" notification (chat), 'cause it's pretty obvious that is raining flaming rocks.

    Also, I fixed this error: (by checking entity's edict)
    Quote:
    [SM] Displaying call stack trace for plugin "l4d_starfall.smx":
    [SM] [0] Line 247, l4d_starfall.sp::OnEntityDestroyed()
    [SM] Native "GetEdictClassname" reported: Invalid edict (10 - 10)
    Been testing it for almost a week now on my local COOP server (8 slots), no bugs/erros logged about it, and it's fully functional.

    TO-DO: (don't know how yet, but will look into it)
    - config file: at least the enable/disable flag
    - translation support

    Any help/comments will be appreciated
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_starfall.sp - 699 views - 11.3 KB)

    Last edited by tornasuk; 12-01-2013 at 10:47.
    tornasuk is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 03-10-2020 , 10:43   Re: [L4D & L4D2] Meteor Shower
    Reply With Quote #5

    * Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_starfall.sp - 386 views - 11.1 KB)
    BloodyBlade 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 09:35.


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