Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Anti shark script

  1. #1

    Default Anti shark script

    Hello,


    Im searching long time for how to punish the player who trying to do the shark so there are way to make script that kick player from server when he try to do it or to let him die please ? Many players doing this and other players leave from this so how to fix please

    Thanks

  2. #2

    Default

    admin pro has it..... when u go under map u die
    also this code works... this works in destroyed village but the trigger is sett when u touch the ground.... so u have to lower the coords

    Code:
    GroundTrigger:
    
    	local.trig targetname gtrig
    	local.trig = spawn trigger_multiple
    	local.trig.origin = ( -2857 1312 66.15 )
    	local.trig setsize ( -5650 -5650 -20 ) ( 5650 5650 1 ) 
    	local.trig setthread GroundTriggerActor
    	local.trig wait 0
    	local.trig delay 0
    end
    
    GroundTriggerActor:
    	self waittill prespawn
    	local.player=parm.other
    		if (local.player.isGroundTriggerActor==1)
    		end
    		
    	local.player.isGroundTriggerActor=1
    	wait .1 
    	local.player kill
            local.player hurt 200
    	wait .1
    	local.player.isGroundTriggerActor=0
    end

  3. #3
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    If you have reborn installed correctly, it will prevent any player from doing this. Double check you are not overwriting the reborn version of the mike_torso.st file with another one, ensure that the reborn.pk3 is loaded LAST on the server.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  4. #4

    Default

    Quote Originally Posted by Slimbips View Post
    admin pro has it..... when u go under map u die
    also this code works... this works in destroyed village but the trigger is sett when u touch the ground.... so u have to lower the coords

    Code:
    GroundTrigger:
    
    	local.trig targetname gtrig
    	local.trig = spawn trigger_multiple
    	local.trig.origin = ( -2857 1312 66.15 )
    	local.trig setsize ( -5650 -5650 -20 ) ( 5650 5650 1 ) 
    	local.trig setthread GroundTriggerActor
    	local.trig wait 0
    	local.trig delay 0
    end
    
    GroundTriggerActor:
    	self waittill prespawn
    	local.player=parm.other
    		if (local.player.isGroundTriggerActor==1)
    		end
    		
    	local.player.isGroundTriggerActor=1
    	wait .1 
    	local.player kill
            local.player hurt 200
    	wait .1
    	local.player.isGroundTriggerActor=0
    end
    Hello thanks for reply i mean the shark when someone try to do shark in the ladder how to let them die i got admin pro without punishment and reborn installed correctly and last one but still player can do , there are script to do in the ladder please ?

  5. #5

    Default

    thats also in the reborn.pk3

  6. #6

    Default

    zz_Reborn_pak8.pk3

    give this name more zzzzzzzzzzzzzz than your other mods

  7. #7

    Default

    Quote Originally Posted by Slimbips View Post
    zz_Reborn_pak8.pk3

    give this name more zzzzzzzzzzzzzz than your other mods
    Hello mate Thanks for reply i got here error in log console when i tried to make the reborn8.pk3 more zzz than elgbot file :
    Code:
    ********************
    ERROR: Command overflow.  Possible infinite loop in thread.
    
    ********************
    ----- Server Shutdown -----
    How to fix this ?

    Thanks

  8. #8

    Default

    * I tried to remove Elgbot and puted admin pro ,puted zz in the reborn8.pk3 more than other mods and i can still do shark in ladder ?? How to fix this please

    Thanks

  9. #9

    Default

    here we go again search shows about 20 different ways to do this http://www.x-null.net/forums/showthr...ght=anti+shark

  10. #10

    Default

    Quote Originally Posted by easymeat View Post
    here we go again search shows about 20 different ways to do this http://www.x-null.net/forums/showthr...ght=anti+shark
    Hello mate Thanks for Reply i tried Elgan one to edit mike torso :
    Code:
    // same as FINISHED_GET_OFF_LADDER, except that the player is jumping off
    state JUMP_OFF_LADDER
    {
    	movetype legs
    	
    	entrycommands
    	{
    	iprint JUMP_OFF_LADDER
    		unattachfromladder
    		forcelegsstate FALL
    		
    
    		safeholster 0 // pull weapon back out if we put it away to get on the ladder
    		jumpxy -70 0 150
    	}
    Working fine but when i try to add elgbot to server not work ? maybe because elgbot got mike torso too that overwrite, so added more zz to reborn8.pk3 but server wont start error command overflow... I think from elgbot how to fix this please
    Last edited by Getrs; February 8th, 2016 at 11:07 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
  •