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

Bomb Status [ V 1.7 ]


Post New Thread Reply   
 
Thread Tools Display Modes
EthicalHacker007
Veteran Member
Join Date: May 2014
Old 06-17-2014 , 09:48   Re: Bomb Status
Reply With Quote #41

Fixed.
__________________

Last edited by EthicalHacker007; 06-18-2014 at 23:09.
EthicalHacker007 is offline
Old 06-17-2014, 10:20
Captain.Diez
This message has been deleted by Captain.Diez.
Old 06-17-2014, 10:35
HamletEagle
This message has been deleted by HamletEagle.
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-18-2014 , 13:36   Re: Bomb Status
Reply With Quote #42

New update to version 0.9
This add new things and also fix some bugs.

Code:
+ Fixed a bug when a new round start.
+ Fixed a bug when you kill yourself.
+ Added a new bomb status: Bombed
+ Fixed a bug with sv_restart 1
+ Added a new status: Planting
+ Added a new hud info : Explosion in.
HamletEagle is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-21-2014 , 11:32   Re: Bomb Status
Reply With Quote #43

New update to version 1.0

Code:
+ Fixed a bug with planting status.
+ Changed hud position.
+ Some informations are displayed only when needed.
+ Removed useless checks.
+ Added a new info : Defuse : DefuseKit/ Default
+ Fixed a typo: Distante instead of Distance
Also, I will stop adding new things here, because I'm out of ideeas. But I will keep suporting this plugin and fixing every bug that is found. Also, if someone whant to give me an ideea about what I should add/remove/change I'll be glad to hear it.

Last edited by HamletEagle; 06-21-2014 at 11:36.
HamletEagle is offline
EthicalHacker007
Veteran Member
Join Date: May 2014
Old 06-21-2014 , 11:39   Re: Bomb Status
Reply With Quote #44

And my ideas? I've many ideas. Hehe.
__________________

Last edited by EthicalHacker007; 06-21-2014 at 11:39.
EthicalHacker007 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-27-2014 , 10:20   Re: Bomb Status
Reply With Quote #45

Quote:
Originally Posted by EthicalHacker007 View Post
And my ideas? I've many ideas. Hehe.
I will think to add what you want....
HamletEagle is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-12-2014 , 07:27   Re: Bomb Status
Reply With Quote #46

I just did minor changes:
Code:
+ Renamed some variables
+ Added some comments
+ Arranged the code
+ Minor optimizations ( don't think that they worth to be listen here )
HamletEagle is offline
DWIGHTpN
Senior Member
Join Date: Jan 2013
Location: Romania.
Old 07-12-2014 , 10:21   Re: Bomb Status
Reply With Quote #47

Nice plugin

I have a few suggestions.
1. Should not find bomb and owner anymore, if forward "bomb_planting" contain parameter "planter".

2. I think is better to check if player has item on slot 5 (items nr > 0) (given that usually only c4 is weapon from slot5) instead of "new iWeapon = find_ent_by_owner ( - 1 , "weapon_c4" , id )".
Or more simple: user_has_weapon(id, CSW_C4).
code


3. Use bitsum method instead of bool variables with 33 cells. (new bool: g_bHudOn[ 33 ], bool:g_bBlocked [ 33 ]; ).
DWIGHTpN is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-12-2014 , 11:52   Re: Bomb Status
Reply With Quote #48

Thx for your feedback.

Quote:
1. Should not find bomb and owner anymore, if forward "bomb_planting" contain parameter "planter".
I'm not getting the name only when bomb is planting, I'm also getting it on spawn, pickup etc and this is better that making every time a loop and checking if player has bomb.

Quote:
2.I think is better to check if player has item on slot 5 (items nr > 0) (given that usually only c4 is weapon from slot5) instead of "new iWeapon = find_ent_by_owner ( - 1 , "weapon_c4" , id )".
Or more simple: user_has_weapon(id, CSW_C4).
User_has_weapon or checking slot 5 need a player id so I should do a loop ( explanation at point 1 ), by doing it with find_ent_by_owner I simply search the owner. If someone could confirm that your way is faster I will update.

Quote:
3. Use bitsum method instead of bool variables with 33 cells. (new bool: g_bHudOn[ 33 ], bool:g_bBlocked [ 33 ]; ).
Done.

Last edited by HamletEagle; 07-12-2014 at 12:57.
HamletEagle is offline
ashwink7
Junior Member
Join Date: Feb 2014
Old 07-15-2014 , 10:34   Re: Bomb Status
Reply With Quote #49

In your pic when bomb is dropped distance is showing no bt when bomb is dropped then also it shud show the distance from the bomb
ashwink7 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-15-2014 , 10:42   Re: Bomb Status
Reply With Quote #50

Quote:
Originally Posted by ashwink7 View Post
In your pic when bomb is dropped distance is showing no bt when bomb is dropped then also it shud show the distance from the bomb
Pic is outdated, I let it there just to make an ideea about the hud.
HamletEagle is offline
Reply


Thread Tools
Display Modes

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 11:14.


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