Raised This Month: $ Target: $400
 0% 

Deathrun Manager by xPaw v3.0.3 [13/02/2010]


Post New Thread Reply   
 
Thread Tools Display Modes
delex
Member
Join Date: Jan 2010
Old 03-13-2010 , 10:31   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #831

xPaw there is a bug that if no terorist and a dead player join the terorits its dont kill all ct fix its please (beacuse the fake player and i dont want down him beacuse timelimit)
delex is offline
Schwabba
Senior Member
Join Date: Apr 2008
Old 03-13-2010 , 11:52   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #832

Can you add 2 new Cvars?

1. It's not possible to Change Team. (And joining Terrorists Team on connect)
2. Terrorists have to stay T, otherwise they'll get banned for X Minutes.

Last edited by Schwabba; 03-13-2010 at 11:54.
Schwabba is offline
chp'
Senior Member
Join Date: Nov 2008
Old 03-13-2010 , 12:24   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #833

The biggest problem now happens on the maps where there is a teleport, if you have two people together no one can use the teleport.
chp' is offline
Speedy'
Member
Join Date: Jan 2009
Old 03-14-2010 , 11:02   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #834

@Chp'

PHP Code:
#define CVAR_TPFIX "kz_tpfix"
 
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
 
#define PLUGIN "Semiclip Fix"
#define VERSION "1.0"
#define AUTHOR "skyjur"
 
#define tmins teleport_mins[i]
#define tmaxs teleport_maxs[i]
 
new Float:teleport_mins[300][3]
new 
Float:teleport_maxs[300][3]
new 
teleport_ent[300]
new 
teleport_num
 
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_cvar(CVAR_TPFIX"1")
    
    if(
plugin_close() > 0) return 0
    
    load_teleports
()
    
    if(
teleport_num 0register_forward(FM_PlayerPreThink"plrPreThink")
    
    return 
0
}
 
stock plugin_close()
{
    new 
file[128]
    new 
mapname[32]
    new const 
tpfix get_cvar_num(CVAR_TPFIX)
    
    if(
tpfix == 0) return 1
    
    get_configsdir
(file127)
    
get_mapname(mapname31)
    
    
format(file127"%s/tpfix.txt"file)
    
    if(!
file_exists(file)) return 0
    
    
new ln 0
    
new line[32]
    new 
len
    
while ((ln read_file(filelnline31len)) > 0) {
        if(
equali(mapnameline))
        {
            switch(
tpfix)
            {
                case 
1: return 1
                
case 2: return 0
            
}
        }
    }
    
    switch(
tpfix)
    {
        case 
1: return 0
        
case 2: return 1
    
}
    
    return 
0
}
 
stock load_teleports()
{
    new 
ent get_maxplayers()
 
    while((
ent engfunc(EngFunc_FindEntityByStringent"classname""trigger_teleport")) > 0){
        
pev(entpev_absminteleport_mins[teleport_num])
        
pev(entpev_absmaxteleport_maxs[teleport_num])
        
teleport_ent[teleport_num] = ent
        
        
if(teleport_maxs[teleport_num][2] - teleport_mins[teleport_num][2] <= 128.0teleport_num++
    }
}
 
public 
plrPreThink(id)
{
    if(
pev(idpev_solid) != SOLID_NOT || pev(idpev_movetype) == MOVETYPE_NOCLIP) return
    
    static 
bool:onground[33]
    static 
Float:velocity[3]
    static 
flags
    
    flags 
pev(idpev_flags)
    
    if(
flags FL_ONGROUND && !onground[id])
    {
        
plr_check(id)
        
onground[id] = true
        
return
    } 
    
    if(!(
flags FL_ONGROUND) && onground[id])
    {
        
plr_check(id)
        
onground[id] = false
        
return
    }
 
    
pev(idpev_velocityvelocity)
    if(
velocity[2] < 160.0)
    {
        
plr_check(id)
        return
    }
}
 
stock plr_check(id)
{
    static 
Float:mins[3], Float:maxs[3]
    static 
bool:collides
    
    pev
(idpev_absminmins)
    
pev(idpev_absmaxmaxs)
    
    for(new 
i=0i<teleport_numi++)
    {
        
collides true
        
        
if(tmins[0] > maxs[0] || tmaxs[0] < mins[0]) collides false 
        
else if(tmins[1] > maxs[1] || tmaxs[1] < mins[1]) collides false 
        
else if(tmins[2] > maxs[2] || tmaxs[2] < mins[2]) collides false
        
        
if(collides) {
            
dllfunc(DLLFunc_Touchidteleport_ent[i])
            
dllfunc(DLLFunc_Touchteleport_ent[i], id)
            return 
0
        
}
    }
    
    return 
0

__________________
Sorry for my English
Speedy' is offline
chp'
Senior Member
Join Date: Nov 2008
Old 03-14-2010 , 15:22   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #835

@speedy


Thanks for the help, but the problem is not solved, also noticed that the CPU consumption and increased with the semiclip embedded in the plugin xpaw.

@xpaw


Your plugin is very good, taking only those details semiclip.
chp' is offline
DvD56
Junior Member
Join Date: Jan 2010
Old 03-17-2010 , 21:18   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #836

For matiaslp:
There's a in game menu( you must wright "amx_buttons" in console for it to showup ) and if some buttons are used twice you can set them to be used just once, but it should work just one time automaticly, if it doesn't you should delete the dr_buttons in your configs and the plugin from plugins, and put them again "fresh" as posted in the topic and also delete any logs/files from previous buttons managers.
One question though, have you deactivated the old buttons plugin?
__________________
DvD56 is offline
Ca`
Junior Member
Join Date: Oct 2009
Old 03-21-2010 , 10:56   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #837

Asking :
If the T jump on a high place and dead.
what can i do?
Ca` is offline
xXxDiVXxXx
New Member
Join Date: Mar 2010
Old 03-25-2010 , 04:31   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #838

xPaw can you please tell me how can the he-grenade take dmg trough the walls or the glass of the deathrun maps,because i have the latest version of your plugin 3.0.3 and i was thinking that the the solution of the problem could be in the code of your plugin or the problem is in the maps.
P.S. Sorry for my bad english.
xXxDiVXxXx is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-25-2010 , 05:46   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #839

Quote:
Originally Posted by xXxDiVXxXx View Post
xPaw can you please tell me how can the he-grenade take dmg trough the walls or the glass of the deathrun maps,because i have the latest version of your plugin 3.0.3 and i was thinking that the the solution of the problem could be in the code of your plugin or the problem is in the maps.
P.S. Sorry for my bad english.
http://forums.alliedmods.net/showthread.php?p=619655
__________________
xPaw is offline
xXxDiVXxXx
New Member
Join Date: Mar 2010
Old 03-25-2010 , 05:50   Re: Deathrun Manager by xPaw v3.0.3 [13/02/2010]
Reply With Quote #840

Yes but that plugin is for not taking dmg trough walls or glass,i want the he-grenade to take dmg trough walls and glass on the deathrun maps.
xXxDiVXxXx 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 18:19.


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