Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bhop plugini
#1
Merhabalar ben bir plugin isticektim daha önce isteyen yoktur sanırım yabancı sv lere gördüm Bhop mapte mesela bir taşa bastıgınızda aşağı düşüyor ben bu taşın aşağı düşmemesini istiyorum yani yerinde gene kalıcak şimdiden teşekkürler
[INDENT=3]~> 95.173.173.112 JBT GAMİNG

[INDENT=3]Skype:ahmet.berk.gulbahce

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
Reply
#2
Tam olarak anlamadım ama anladığım kadarıyla bhop mapların bazı kısımlarında 5-6 tane çubuk şeklinde şey oluyor üstlerinden hızlıca geçmek gerekiyor bunu sağlamak için map yapımcısı bi taşa dokunduktan sonra belli saniye geçince taş aşağı doğru iniyor. Bu şey herhangi bi plugin ile düzeltilmez, mapin özelliğidir. Azcık düşünseydiniz sizinde aklınıza gelirdi diye düşünüyorum :/
uhcakiP
Özel Plugin Kodlanır!

Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
https://steamcommunity.com/id/lothbrok
Reply
#3
kardeşim sen anlamadın bizim açtıgmız bhop maplerde mesela taş basınca aşağı düşüyor ama aynı map yabancılarda sabit kalıyor maple ne alakası var şimdi bunun ?
[INDENT=3]~> 95.173.173.112 JBT GAMİNG

[INDENT=3]Skype:ahmet.berk.gulbahce

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
Reply
#4
PHP Code:
#include <amxmodx>
#include <hamsandwich>

#define PLUGIN "Block Move Entities"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"

public plugin_init() {
    
register_pluginPLUGINVERSIONAUTHOR )
    
RegisterHam(Ham_Touch"func_door""HamTouchPre")
    
RegisterHam(Ham_Touch"func_door_rotating""HamTouchPre")
    
RegisterHam(Ham_Touch"func_wall_toggle""HamTouchPre")
    
RegisterHam(Ham_Touch"trigger_multiple""HamTouchPre")
}

public 
HamTouchPre(doorent) {
    return 
HAM_SUPERCEDE


deneyin

Sadece plugin ile map bile yapılabilir Big Grin

Metamod entity yaratabilir, düzenleyebilir, entity ile player arasındaki etkileşimleri inceleyebilir. O yüzden mapin özelliğidir diyerek yapılamayacağı sonucuna varmayalım Smile


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#5
Yani mapte kapı varsa oda mı çalışmıcak?
uhcakiP
Özel Plugin Kodlanır!

Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
https://steamcommunity.com/id/lothbrok
Reply
#6
çalışmaz ancak bhop mapinde hiç görmedim kapı Big Grin Varsada kaldırırız Big Grin

remove_entity Smile

Veya onu da kontrol edebilirsin. Örneğin kapılar açılırken hareketi rotate tipi olur. Ama bu bloklar aşağı doğru hareket ediyor. Yani aşağı doğru hareket etmeyen func_door entitylerini atlayabilirsin.


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#7
Bi mapper a verelim, isteğe göre düzenleyip geri versin mapi bari Big Grin
uhcakiP
Özel Plugin Kodlanır!

Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
https://steamcommunity.com/id/lothbrok
Reply
#8
Hatta şöyle bir plugin buldum

PHP Code:
/*
MultiPlayer Bunny Hops  v1.2
Copyright (C) 2007 Ian (Juan) Cammarata

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; go to https://www.opensource.org/licenses/gpl-license.php
--------------------------------------------------------------------------------

https://ian.cammarata.us/projects/mpbhops
Sep 23 14:06


Description:
This plugin allows clients to jump across sections of bhops without the blocks being triggered.  The blocks stay in place all the time making it much more suitable for multiplayer.  It is also semiclip safe.

See it in Action:
1337bunnies server: 66.55.131.63:27015

Commands:
Not Applicable.


Cvars:
mpbhops <0|1> Disables/enables bhop handling.


Requirements:
Engine module


Notes:
This is a stand alone version of the code from my climb plugin, for those who don't want all the features it offers.
https://ian.cammarata.us/projects/climb


Credits:
Thanks to Lola for letting me use her awesome server for testing purposes.
    https://1337bunnies.com
    66.55.131.63:27015
Thanks to r33d and Woofie for testing.


Supported Languages:
Not Applicable.


Change Log:
Key (+ added | - removed | c changed | f fixed)

v1.2 (SEPT 23, 2007)
+: Semiclip support for BCM plugins by Emp` and Necro.

v1.1 (SEPT 23, 2007)
c: Increased fail check time from 0.1 seconds to 0.2 seconds.  Should fix some people getting fail when doing a standupbhop.
f: Teleporting to world origin rarely when hopping back and forth between func_door and world brush.
f: Touch is detected even when clients aren't solid. (No more semiclip exploit)

v1.0 (SEPT 21, 2007)
!: Initial release
*/

#include <amxmodx>
#include <engine>
#include <fakemeta>

#define VERSION "1.2"

#define MAX_DOORS 500

#define TSK_BHOP 50
#define TSK_CLEAR_FAIL 100

//func_doors[x]{ id, speed, angles }
new door_count 0func_doors[MAX_DOORS][3], Float:door_tp_pos[MAX_DOORS][3]
new 
bhop_failid[32], bool:bhop_fail[32]
new 
p_enabled
new MAXPLAYERS

public plugin_init( )
{
    
MAXPLAYERS get_maxplayers( )
    
    
register_plugin"MP Bhops"VERSION"Ian Cammarata" )
    
register_cvar"mpbhops_version"VERSIONFCVAR_SERVER )
    
    
p_enabled register_cvar"mpbhops""0"FCVAR_SERVER )
}

public 
pfn_keyvalueent )
{
    static 
last_ent
    
new class[31], key[31], val[31]
    
copy_keyvalue( class, 30key30val30 )
    
    if( 
ent != last_ent && func_doors[door_count][0] && door_count MAX_DOORS )
        
door_count++
    
    if( 
equal( class, "func_door" ) )
    {        
        if( 
ent != last_ent func_doors[door_count][0] = ent

        
if( equalkey"speed" ) )
            
func_doors[door_count][1] = str_to_num(val)
        if( 
equalkey"dmg" ) )
            
func_doors[door_count][0] = 0
        
if( equalkey"angles" ) )
        {
            new 
angles[5]
            
parsevalangles)
            
func_doors[door_count][2] = str_to_numangles )
        }
        
last_ent ent
    
}
    
    return 
PLUGIN_CONTINUE
}

public 
plugin_cfg( )
{
    if( 
func_doors[door_count][0] && door_count MAX_DOORS )
        
door_count++
    
    new 
entent2tmpstr[33]
    new 
Float:dmins[3], Float:dmaxs[3]
    
    
//Find tp spots for doors, in case they're used for bhop
    
for( new 0door_counti++ )
    {
        
ent func_doors[i][0]
        if( !
is_valid_entent ) ) func_doors[0] = 
        
else    
        {
            
entity_get_vectorentEV_VEC_minsdmins )
            
entity_get_vectorentEV_VEC_maxsdmaxs )
            
            new 
dwid floatrounddmaxs[0] - dmins[0] )
            new 
dlen floatrounddmaxs[1] - dmins[1] )
                
            
//If the door moves up, or is thin, remove it's id from the array
            
if( func_doors[2] < || dwid 24 || dlen 24 )
                
func_doors[0] = 0
            
//Otherwise find a safe tp spot in case it's a bhop door
            
else
            {
                
//If it has a targetname, change the id in array to targeter
                
entity_get_stringentEV_SZ_targetnametmpstr32 )
                if( 
strlentmpstr ) )
                {
                    
ent2 find_ent_by_target( -1tmpstr )
                    if( 
ent2 )
                    {
                        
func_doors[0] = ent2
                        
                        
//If targeter is a button, remove it's id from the array
                        
entity_get_stringent2EV_SZ_classnametmpstr32 )
                        if( 
equaltmpstr"func_button" ) )
                            
func_doors[0] = 0
                    
}
                }
                
                new 
Float:tmpvec[3], Float:tmpvec2[3]
                
                new 
Float:dr_tc[3]
                
dr_tc[0] = ( dmaxs[0] + dmins[0] ) / 2
                dr_tc
[1] = ( dmaxs[1] + dmins[1] ) / 2
                dr_tc
[2] = dmaxs[2]  
                                        
                
tmpvec[0] = ( dmaxs[0] + dmins[0] ) / 2
                tmpvec
[1] = dmaxs[1] + 20
                tmpvec
[2] = dmaxs[2] + 20
                trace_line
entdr_tctmpvectmpvec2 )
                if( !
trace_hulltmpvecHULL_HUMAN ) && tmpvec2[2] == tmpvec[2] )
                    
door_tp_pos tmpvec
                
else
                {
                    
tmpvec[1] = dmins[1] - 20
                    trace_line
entdr_tctmpvectmpvec2 )
                    if( !
trace_hulltmpvecHULL_HUMAN ) && tmpvec2[2] == tmpvec[2] )
                        
door_tp_pos tmpvec
                    
else
                    {
                        
tmpvec[0] = dmaxs[0] + 20
                        tmpvec
[1] = ( dmaxs[1] + dmins[1] ) / 2
                        trace_line
entdr_tctmpvectmpvec2 )
                        if( !
trace_hulltmpvecHULL_HUMAN ) && tmpvec2[2] == tmpvec[2] )
                            
door_tp_pos tmpvec
                        
else
                        {
                            
tmpvec[0] = dmins[0] - 20
                            door_tp_pos 
tmpvec
                        
}
                    }
                }
            }
        }
    }
}

//This is a semiclip fix
public client_PreThinkid )
{
    
//If they're on the ground and not solid...
    
if( ( pevidpev_flags  ) & FL_ONGROUND ) && !pevidpev_solid ) )
    {
        new 
Float:orig[3]
        
entity_get_vectoridEV_VEC_originorig )
        
        
//do a hull trace 1 unit below their origin
        
orig[2] -= 1
        engfunc
EngFunc_TraceHullorigorigDONT_IGNORE_MONSTERSHULL_HUMANid)
        new 
ent get_tr20TR_pHit )
        
        
//if all we hit is world or another player, who cares, exit
        
if( ent <= MAXPLAYERS ) return PLUGIN_CONTINUE
        
        
//if we hit a door in the array, send it to the handler then exit
        
new dpos door_in_arrayent )
        if( 
dpos > -)
        {
            
bhop_check_failidentdpos )
            return 
PLUGIN_CONTINUE
        
}
        
        
//if we hit a BCM entity, force touch so the BCM plugin can handle it
        
new class[32]
        
entity_get_stringentEV_SZ_classname, class, 31 )
        if( 
equal( class, "bcm" ) || equal( class, "bm_block" ) )
            
fake_touchentid )
    }
    
    return 
PLUGIN_CONTINUE
}

public 
pfn_touchentid )
{
    if( !
get_pcvar_nump_enabled ) || !ent || !id )
        return 
PLUGIN_CONTINUE 
    
    
//Make sure id is player and ent is object
    
if( ent <= MAXPLAYERS )
    {
        new 
tmp id
        id 
ent
        ent 
tmp
    
}
    else if( !( 
id <= MAXPLAYERS ) )
        return 
PLUGIN_CONTINUE
    
    
//Bhop stuff
    
new dpos door_in_arrayent )
    if( 
dpos > -)
    {
        
bhop_check_failidentdpos )
        return 
PLUGIN_HANDLED
    
}
    
    return 
PLUGIN_CONTINUE
}

public 
bhop_check_failidentdpos )
{
    if( 
bhop_failid[id-1] != ent )
    {
        
bhop_failid[id-1] = ent
        bhop_fail
[id-1] = false
        
        
new tskid TSK_BHOP id
        
if( task_existstskid ) )
            
remove_tasktskid )
        
set_task0.2"bhop_set_fail"tskid )
        
tskid TSK_CLEAR_FAIL id
        
if( task_existstskid ) )
            
remove_tasktskid )
        
set_task0.7"bhop_clear_fail"tskid )
    }
    else if( 
bhop_fail[id-1] )
    {
        
//Teleport to fail position
        
entity_set_vectoridEV_VEC_velocityFloat:{0.00.00.0} )
        
entity_set_vectoridEV_VEC_origindoor_tp_pos[dpos] )
        
        
//Reset fail vars
        
bhop_failid[id-1] = 0
        bhop_fail
[id-1] = false
    
}
}

public 
door_in_arraydoor )
{
    for( new 
0door_counti++ )
        if( 
func_doors[0] == door )
            return 
i
    
return -1


public 
bhop_set_failtskid )
{
    
bhop_failtskid TSK_BHOP ] = true
    
return PLUGIN_HANDLED
}

public 
bhop_clear_failtskid )
{
    new 
id tskid TSK_CLEAR_FAIL
    bhop_failid
[id-1] = 0
    bhop_fail
[id-1] = false
    
return PLUGIN_HANDLED


Bu plugin hem blokları sabit tutuyor hem de hareketli bloklar üzerinde iki defa zıplayanı veya uzun süre duranı geri teleportluyor Big Grin[/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i]


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply
#9
Yok arkadaş benden bi cacık olmaz yazan yazıyor şuraya baksana Big Grin
uhcakiP
Özel Plugin Kodlanır!

Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
https://steamcommunity.com/id/lothbrok
Reply
#10
aynen akcali onlardakide öyleydi teleportluyodu filan adamsın ya Big Grin çok saol da bu verdigin kodları şimdi napıcam tam anlatırmısın pek bilmiyorumda Big Grin
[INDENT=3]~> 95.173.173.112 JBT GAMİNG

[INDENT=3]Skype:ahmet.berk.gulbahce

Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mapa Göre Cvar plugini melof 8 9,390 16-11-20, 02:00
Last Post: es_Dark_Es
  Time 15 Plugini fenerbahce07 24 12,158 23-09-18, 03:19
Last Post: qalatas06
  toplantı plugini bihterr 22 10,697 08-10-17, 14:21
Last Post: kronossbey
  Hosgeldin Plugini hpph1294 9 6,852 03-09-17, 18:08
Last Post: tahayasin
  Jailbreak Banka Plugini sefatokgoz 8 8,143 03-09-17, 18:06
Last Post: tahayasin
  [İSTEK]Jb Verme Plugini (/mg) NorDan 8 12,924 03-09-17, 18:06
Last Post: tahayasin
  250 Hp Plugini Sadece R Yetkisinde Olsun GurkanCounter 8 10,884 03-09-17, 18:04
Last Post: tahayasin
  [JB] CT Özel Hook Grab Rope Plugini Nobb 21 10,740 03-09-17, 18:03
Last Post: tahayasin
  Admin Zombie Model plugini satknun1997 3 3,814 01-01-17, 12:47
Last Post: RuLeT
  (JB) Can Revmenu plugini Furkan Dize 9 6,463 04-10-16, 23:35
Last Post: frozenbaba

Foruma Atla:


Users browsing this thread: 1 Guest(s)