Raised This Month: $51 Target: $400
 12% 

[Request] semiclip.amxx + stuck.amxx = bad :(


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 08-16-2008 , 20:20   [Request] semiclip.amxx + stuck.amxx = bad :(
Reply With Quote #1

Okej, im having a hole new problem now.

I was searhing for a semiclip.amxx, and i found one i like. But i got a new problem with another plugin.

The new problem is that i also running stuck.amxx and with the new semiclip plugin the stuck.amxx sems to wanna "unstuck" everybody when they are running in to eachother, which is VERY annoying, so i cant use them together, but i need them both..

Is there anybody that could fix this problem? :S
Attached Files
File Type: sma Get Plugin or Get Source (semiclip.sma - 4797 views - 1.5 KB)
File Type: sma Get Plugin or Get Source (stuck.sma - 4519 views - 3.7 KB)

Last edited by Ejziponken; 08-18-2008 at 12:22. Reason: New problem... :P
Ejziponken is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 08-16-2008 , 21:36   Re: semiclip/noblock
Reply With Quote #2

No one will able to fix it without source (.sma) and you not allowed to post .amxx
`666 is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 08-17-2008 , 05:03   Re: semiclip/noblock
Reply With Quote #3

Quote:
Originally Posted by `666 View Post
No one will able to fix it without source (.sma) and you not allowed to post .amxx

I will try to find the sma.

i found the code i used.

Code:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
 
#define PLUGIN "No Block RM"
#define VERSION "1.1"
#define AUTHOR "teame06"
 
public plugin_init() 
{  
        register_plugin(PLUGIN, VERSION, AUTHOR)
 
        register_forward(FM_StartFrame, "fwd_startframe")
}
 
public fwd_startframe()
{
        static players[32], num, player, person
        static Float:player_origin[3], Float:person_origin[3], Float:player_origin2[3], Float:person_origin2[3]    
        get_players(players, num, "ah")
 
        for (new i = 0; i < num; i++)
        {
                player = players[i]
 
                set_pev(player, pev_solid, SOLID_BBOX)
                fm_set_rendering(player)
 
                pev(player, pev_origin, player_origin)
 
                player_origin2[2] = player_origin[2]
                player_origin[2] = 0.0;
 
                for (new j = 0; j < num; j++)
                {
                        person = players[j]
 
                        if (player == person || cs_get_user_mapzones(person) & CS_MAPZONE_BUY || get_user_team(player) != get_user_team(person))
                                continue
 
                        if  (!(get_user_team(person) == 2))
                                return PLUGIN_HANDLED
 
                        pev(person, pev_origin, person_origin)
 
                        person_origin2[2] = person_origin[2]
                        person_origin[2] = 0.0
 
                        if ((vector_distance(player_origin, person_origin) < 100 && vector_distance(player_origin2, person_origin2) < 110))
                        {
                                set_pev(player, pev_solid, SOLID_NOT)
                                fm_set_rendering(player, kRenderFxNone, 0, 0, 0, kRenderTransAdd, 50)
 
                                set_pev(person, pev_solid, SOLID_NOT)
                                fm_set_rendering(person, kRenderFxNone, 0, 0, 0, kRenderTransAdd, 50)
 
                                break
                        }
                }
        }
 
        return PLUGIN_CONTINUE
}
 
stock fm_set_rendering(ent, fx=kRenderFxNone, r=255, g=255, b=255, rend=kRenderNormal, amt=16)
{
        set_pev(ent, pev_renderfx, fx)
 
        new Float:rendColor[3]
 
        rendColor[0] = float(r)
        rendColor[1] = float(g)
        rendColor[2] = float(b)
        set_pev(ent, pev_rendercolor, rendColor)
 
        set_pev(ent, pev_rendermode, rend)
        set_pev(ent, pev_renderamt, float(amt))
}

Last edited by Ejziponken; 08-17-2008 at 05:08.
Ejziponken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-17-2008 , 13:39   Re: Modify semiclip - got the code/sma
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?t=69728
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 08-17-2008 , 15:32   Re: Modify semiclip - got the code/sma
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post

Okej, im having a hole new problem now.

I was searhing for a semiclip.amxx, and i found one i like. But i got a new problem with another plugin.

The new problem is that i also running stuck.amxx and with the new semiclip plugin the stuck.amxx sems to wanna "unstuck" everybody when they are running in to eachother, which is VERY annoying, so i cant use them together, but i need them both..

Is there anybody that could fix this problem? :S

Last edited by Ejziponken; 08-17-2008 at 15:44.
Ejziponken is offline
morakatti
New Member
Join Date: Aug 2008
Location: I live in Swede, Gothenb
Old 08-19-2008 , 05:43   Re: [Request] semiclip.amxx + stuck.amxx = bad :(
Reply With Quote #6

You could always ask someone to make it like the semiclip,
That it wont affect players only entities or what ever its called O.o

Last edited by morakatti; 08-19-2008 at 05:44. Reason: bad spelling
morakatti is offline
Send a message via MSN to morakatti
Paulster1022
Member
Join Date: Apr 2006
Old 08-27-2008 , 00:47   Re: [Request] semiclip.amxx + stuck.amxx = bad :(
Reply With Quote #7

Hey, I was also getting the same problem in my server. So i decided to merge both plugins, added a global boolean, Tested it... Works Great.. Try it out
Attached Files
File Type: sma Get Plugin or Get Source (semistuck.sma - 1804 views - 5.5 KB)

Last edited by Paulster1022; 08-27-2008 at 15:06.
Paulster1022 is offline
Send a message via AIM to Paulster1022
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 08-27-2008 , 00:57   Re: [Request] semiclip.amxx + stuck.amxx = bad :(
Reply With Quote #8

paul stop failling.
Styles is offline
Send a message via AIM to Styles
entc
Junior Member
Join Date: May 2008
Old 08-30-2008 , 11:37   Re: [Request] semiclip.amxx + stuck.amxx = bad :(
Reply With Quote #9

I need this plugin too, so i bumped the thread.

EDIT: I tested Paulsters plugin and it worked, but it made A LOT of errormessages in my logfiles.

Last edited by entc; 08-30-2008 at 13:09.
entc is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 08-31-2008 , 05:10   Re: [Request] semiclip.amxx + stuck.amxx = bad :(
Reply With Quote #10

Quote:
Originally Posted by entc View Post
I need this plugin too, so i bumped the thread.

EDIT: I tested Paulsters plugin and it worked, but it made A LOT of errormessages in my logfiles.
Like this?:


L 08/30/2008 - 18:52:29: [AMXX] Run time error 4: index out of bounds
L 08/30/2008 - 18:52:29: [AMXX] [0] semistuck.sma::preThink (line 176)
L 08/30/2008 - 18:52:29: [AMXX] Displaying debug trace (plugin "semistuck.amxx")

http://forums.alliedmods.net/showthr...565#post678565
Ejziponken 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 04:22.


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