Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: [Release] NightFall 1.1.0: Reborn for MOHAA:SpearHead!

  1. #11

    Default

    Should be possible

  2. #12
    Senior Member nene81's Avatar
    Join Date
    Nov 2014
    Location
    Seville, SPAIN
    Posts
    193

    Default

    Done !! It works in SPEARHEAD!!

    add line in DMprecache.scr
    Code:
    local.result = registerev "kill" global/Who_killer.scr::kill

    fill Who_killer.scr with:
    Code:
    kill local.attacker local.damage local.inflictor local.position local.direction local.normal local.knockback local.damageflags local.meansofdeath local.location local.player:
    
    	local.victim = local.player
    	iprintlnbold_noloc ("KILLER: " + local.attacker.netname + ".")		//SHOWS A MESSAGE TO THE PLAYER
    	iprintln ("VICTIM: " + local.victim.netname + ".")			//SHOWS A MESSAGE TO THE PLAYER
    
    	//local.attacker - attacker entity (player) that killed
    	//local.damage - float damage, damage amount
    	//local.inflictor - inflictor entity, in most cases it isn't a player entity, it can be a weapon entity or world entity
    	//local.position - vector position
    	//local.direction - vector direction
    	//local.normal - vector normal
    	//local.knockback - int knockback value
    	//local.damageflags - int damageflags
    	//local.meansofdeath - int meansofdeath
    	//local.location - int location id
    	//local.player - player entity that got killed
    end
    and put it into global folder.

    Test yourself!

  3. #13
    Senior Member nene81's Avatar
    Join Date
    Nov 2014
    Location
    Seville, SPAIN
    Posts
    193

    Default

    Hello mates !!

    NEW UPDATE!

    NightFall 1.1.1 Released! Latest
    This version offers crash reporting, ssl support for API client, and other fixes.

    SpearHead 2.15: Download NightFall SH2.15 V1.1.1.zip
    BreakThrough 2.30 Download NightFall BT2.30 V1.1.1.zip
    BreakThrough 2.40 Download NightFall BT2.40 V1.1.1.zip

    For debugging, use NightFall.PDBs.V1.1.1.zip for debugging symbols and source code zip for source code.

    https://github.com/mohabhassan/NightFall/releases

    GREAT JOB!



    PS: After testing:

    ==== NightFall Wrapper Shutdown ====
    NightFall IPFilter: saved 0 ip entries in mainta/ipfilter.cfg
    NightFall NameFilter: saved 0 name entries in mainta/namefilter.cfg
    NightFall Protected NameFilter: saved 0 name entries in mainta/protectednamefilter.cfg
    NightFall Update Client: Checking for updates...
    Is it possible that this command is causing a delay in the map transition?

    In version 1.1.0 it causes a crash, in version 1.1.1 a bit of a delay...

    I keep testing...
    Last edited by nene81; May 22nd, 2023 at 02:20 PM.

  4. #14

    Default

    Disable the server updates, it problably fix that

  5. #15
    Senior Member nene81's Avatar
    Join Date
    Nov 2014
    Location
    Seville, SPAIN
    Posts
    193

    Default

    Quote Originally Posted by DoubleKill View Post
    Disable the server updates, it problably fix that
    Please, Can you tell me how to do that?
    THX DK !

    PS:

    sv_update
    Name sv_update
    Description Enable/disable auto updates.
    More Info Update checks are carried at each map end.
    Set to 1 to enable updates, set to 0 to disable updates.
    Last edited by nene81; May 25th, 2023 at 05:20 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •