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

Admin Explode


Post New Thread Reply   
 
Thread Tools Display Modes
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-11-2010 , 07:31   Re: Admin Explode
Reply With Quote #11

@connor = i dont know how tu use tries and new arrays...
- i'm too lazy to install pod bot
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-11-2010 , 07:45   Re: Admin Explode
Reply With Quote #12

Something like :

Code:
// Global var new Trie:gTrieHandleInflictorToIgnore; // In plugin_init() or plugin_cfg(). new const InflictorToIgnore[][] = {     "world",     "worldspawn",     "trigger_hurt",     "door_rotating",     "door",     "rotating"     "env_explosion" } gTrieHandleInflictorToIgnore = TrieCreate(); for ( new i = 0; i < sizeof InflictorToIgnore; i++ ) {     TrieSetCell( gTrieHandleInflictorToIgnore, InflictorToIgnore[ i ], i ); } // In Hook_DeathMessage() replacing the previous check. if ( TrieKeyExists( gTrieHandleEntitiesToIgnore, szWeapon ) ) {     return PLUGIN_CONTINUE; }
__________________
Arkshine is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-11-2010 , 09:50   Re: Admin Explode
Reply With Quote #13

thanks , i will try that and i will update soon
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
DarkSkif
Member
Join Date: Oct 2009
Location: Russia
Old 01-13-2010 , 12:55   Re: Admin Explode
Reply With Quote #14

Write tuty please name of the map, which on the screenshot. de_dust2_mario?
Sorry for my English
__________________
Who is here?
DarkSkif is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-14-2010 , 07:11   Re: Admin Explode
Reply With Quote #15

no, is a specific map retexture
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-01-2010 , 10:24   Re: Admin Explode
Reply With Quote #16

1. You should follow mp_friendlyfire cvar for the damage.

2. You should cache data in the players loop that isn't going to change.
Example:
Admin's team.
Admin's money (set money at end of loop).
Admin's frags (set frags at end of loop).

3. MSG_ALL -> MSG_BROADCAST

4. Why include <celltrie> ? It's included with <amxmodx>.

5. (OPTIONAL) I don't see why you included fakemeta and engine.
The only reason you need engine is for fakedamage().
The rest could be done with engine or fakemeta, so why not just use one module because it isn't like replacing functions with fm_*.
Note: I'm only saying this because pev() and set_pev() can be replaced with entity_get_*() and entity_set_*() without any CPU loss.

Approval pending on changes.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-31-2010 , 18:54   Re: Admin Explode
Reply With Quote #17

Quote:
Originally Posted by Exolent[jNr] View Post
1. You should follow mp_friendlyfire cvar for the damage.

2. You should cache data in the players loop that isn't going to change.
Example:
Admin's team.
Admin's money (set money at end of loop).
Admin's frags (set frags at end of loop).

3. MSG_ALL -> MSG_BROADCAST

4. Why include <celltrie> ? It's included with <amxmodx>.

5. (OPTIONAL) I don't see why you included fakemeta and engine.
The only reason you need engine is for fakedamage().
The rest could be done with engine or fakemeta, so why not just use one module because it isn't like replacing functions with fm_*.
Note: I'm only saying this because pev() and set_pev() can be replaced with entity_get_*() and entity_set_*() without any CPU loss.

Approval pending on changes.
None of this is even close to being worth holding back approval for. I would even go as far as to say that this plugin is well-done.

There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
ClinT~
Junior Member
Join Date: Mar 2010
Location: Aragua, Venezuela
Old 04-02-2010 , 04:38   Re: Admin Explode
Reply With Quote #18

It Gives Me this Error: "Reliable Channel Overflowed"

I put it off this plugin, and dont give me errors.
Just with this one..

Somebody knows why?
__________________
Proud To Be Latin
Born To Be Lawyer


I am 63% addicted to Counterstrike. What about you?

ClinT~ is offline
Send a message via MSN to ClinT~
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 04-02-2010 , 06:05   Re: Admin Explode
Reply With Quote #19

maybe u have too much plugins? o.O
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
chaosmedia90
Member
Join Date: May 2009
Old 04-20-2010 , 04:39   Re: Admin Explode
Reply With Quote #20

Ai zis ca nul pui ba fa pe net :-w
chaosmedia90 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 03:51.


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