Raised This Month: $23 Target: $400
 5% 

Grenade Manager[V 0.2]


Post New Thread Reply   
 
Thread Tools Display Modes
swarmachine
Member
Join Date: Aug 2015
Location: {Baltic States}
Old 06-19-2016 , 18:14   Re: Grenade Manager[V 0.2]
Reply With Quote #11

plz screenshot
!
swarmachine is offline
Send a message via Skype™ to swarmachine
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-20-2016 , 05:32   Re: Grenade Manager[V 0.2]
Reply With Quote #12

What screenshot do you want? You just drop grenades as you drop any other weapon.
__________________
HamletEagle is online now
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 06-20-2016 , 10:22   Re: Grenade Manager[V 0.2]
Reply With Quote #13

There's a bug on linux server: when you drop a grenade and pick it up, it still stays on the ground. So you can just throw the one you picked up and go pick another one, infinitely.
BeasT is offline
Send a message via Skype™ to BeasT
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-20-2016 , 11:23   Re: Grenade Manager[V 0.2]
Reply With Quote #14

I was unable to test under linux. It looks like somehow the weapon is not properly unlinked from the box so it does not get removed.

Can you give me the output of orpheu config command? Do you get anything in logs?
__________________

Last edited by HamletEagle; 06-20-2016 at 11:25.
HamletEagle is online now
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 06-20-2016 , 11:44   Re: Grenade Manager[V 0.2]
Reply With Quote #15

Nothing in the logs.

Code:
Orpheu configuration started.

        Parsing mods configuration started.

                Current mod : "cstrike"

                Parsing mod file "esf"
                Parsing mod file "tfc"
                Parsing mod file "dod"
                Parsing mod file "SvenCoop"
                Parsing mod file "cstrike"
                        Found.

        Parsing mods configuration ended.

        Parsing libraries configuration started.

                Parsing file "podbot"
                        Added library podbot identified by cvar pb_version
                Parsing file "monstermod"
                        Added library monstermod identified by cvar monster_spawn

        Parsing libraries configuration ended.

        Parsing type aliases started.

                Parsing folder "CBaseEntity"
File "CFuncRotating" incorrectly formatted
                        Adding alias"CBaseEntity *"
                Parsing folder "CGameRules"
                        Adding alias"CGameRules *"
                Parsing folder "CMBaseMonster"
                        Adding alias"CMBaseMonster *"
                Parsing folder "charPointer"
                        Adding alias"char *"
                Parsing folder "VectorPointer"
                        Adding alias"Vector *"
                Parsing folder "long"
                        Adding alias"long"


        Parsing type aliases ended.

Orpheu configuration ended.

Orpheu libraries search started.

        Adding library metamod (0x0xb33df000)
        Adding library amxmodx_mm (0x0xb3050000)
        Adding library fun_amxx (0x0xb3047000)
        Adding library cstrike_amxx (0x0xb3039000)
        Adding library csx_amxx (0x0xb2fc5000)
        Adding library orpheu_amxx (0x0xb2f4b000)
        Adding library mysql_amxx (0x0xb2d5e000)
        Adding library fakemeta_amxx (0x0xb2cff000)
        Adding library engine_amxx (0x0xb2cea000)
        Adding library hamsandwich_amxx (0x0xb2cac000)

Orpheu libraries search ended.

Orpheu functions search started.

        Parsing functions started.

                Parsing file "HandleMenu_ChooseTeam" started
                                Argument type "CBasePlayer *" validated
                                Argument type "int" validated
                                Searching for name "HandleMenu_ChooseTeam__FP11CBasePlayeri"... NOT FOUND
                                Searching for name "_Z21HandleMenu_ChooseTeamP11CBasePlayeri"... FOUND
                Parsing file "HandleMenu_ChooseTeam" ended
                Parsing file "_GLOBAL_OFFSET_TABLE_" started
                                Searching for name "_GLOBAL_OFFSET_TABLE_"... NOT FOUND
                Parsing file "_GLOBAL_OFFSET_TABLE_" ended
                Parsing file "InstallGameRules" started
                                Return type "CGameRules *" validated
                                Searching for name "_Z16InstallGameRulesv"... FOUND
                Parsing file "InstallGameRules" ended
                Parsing file "ClientPutInServer" started
                                Argument type "edict_s *" validated
                                Searching for name "ClientPutInServer__FP7edict_s"... NOT FOUND
                                Searching for name "_Z17ClientPutInServerP7edict_s"... FOUND
                Parsing file "ClientPutInServer" ended
                Parsing file "CREATE_NAMED_ENTITY" started
                                Argument type "int" validated
                                Return type "edict_s *" validated
                                Searching for name "CREATE_NAMED_ENTITY__FUi"... NOT FOUND
                                Searching for name "_Z19CREATE_NAMED_ENTITYj"... FOUND
                Parsing file "CREATE_NAMED_ENTITY" ended
                Parsing file "CheckStartMoney" started
                                Searching for name "CheckStartMoney__Fv"... NOT FOUND
                                Searching for name "_Z15CheckStartMoneyv"... FOUND
                Parsing file "CheckStartMoney" ended
                Parsing file "Cvar_DirectSet" started
                                Argument type "pointer" validated
                                Argument type "char *" validated
                                Searching for name "Cvar_DirectSet"... FOUND
                Parsing file "Cvar_DirectSet" ended
                Parsing folder "CGrenade" started
                        Parsing file "SG_TumbleThink" started
                                Searching for name "SG_TumbleThink__8CGrenade"... NOT FOUND
                                Searching for name "_ZN8CGrenade14SG_TumbleThinkEv"... FOUND
                        Parsing file "SG_TumbleThink" ended
                        Parsing file "SG_Detonate" started
                                Searching for name "SG_Detonate__8CGrenade"... NOT FOUND
                                Searching for name "_ZN8CGrenade11SG_DetonateEv"... FOUND
                        Parsing file "SG_Detonate" ended
                        Parsing file "Detonate3" started
                                Searching for name "Detonate3__8CGrenade"... NOT FOUND
                                Searching for name "_ZN8CGrenade9Detonate3Ev"... FOUND
                        Parsing file "Detonate3" ended
                Parsing folder "CGrenade" ended
                Parsing folder "CHalfLifeTraining" started
                        Parsing file "PlayerThink" started
                                Argument type "CBasePlayer *" validated
                                Searching for name "PlayerThink__17CHalfLifeTrainingP11CBasePlayer"... NOT FOUND
                                Searching for name "_ZN17CHalfLifeTraining11PlayerThinkEP11CBasePlayer"... FOUND
                        Parsing file "PlayerThink" ended
                Parsing folder "CHalfLifeTraining" ended
                Parsing folder "CWeaponBox" started
                        Parsing file "Kill" started
                                Searching for name "Kill__10CWeaponBox"... NOT FOUND
                                Searching for name "_ZN10CWeaponBox4KillEv"... FOUND
                        Parsing file "Kill" ended
                        Parsing file "PackWeapon" started
                                Argument type "CBasePlayerItem *" validated
                                Searching for name "PackWeapon__10CWeaponBoxP15CBasePlayerItem"... NOT FOUND
                                Searching for name "_ZN10CWeaponBox10PackWeaponEP15CBasePlayerItem"... FOUND
                        Parsing file "PackWeapon" ended
                Parsing folder "CWeaponBox" ended
                Parsing folder "CBasePlayer" started
                        Parsing file "DropPlayerItem" started
                                Argument type "char *" validated
                                Searching for name "_ZN11CBasePlayer14DropPlayerItemEPKc"... FOUND
                        Parsing file "DropPlayerItem" ended
                        Parsing file "JoiningThink" started
                                Searching for name "JoiningThink__11CBasePlayer"... NOT FOUND
                                Searching for name "_ZN11CBasePlayer12JoiningThinkEv"... FOUND
                        Parsing file "JoiningThink" ended
                        Parsing file "AmmoInventory" started
                                Argument type "int" validated
                                Return type "int" validated
                                Searching for name "_ZN11CBasePlayer13AmmoInventoryEi"... FOUND
                        Parsing file "AmmoInventory" ended
                        Parsing file "Reset" started
                                Searching for name "Reset__11CBasePlayer"... NOT FOUND
                                Searching for name "_ZN11CBasePlayer5ResetEv"... FOUND
                        Parsing file "Reset" ended
                        Parsing file "AddAccount" started
                                Argument type "int" validated
                                Argument type "bool" validated
                                Searching for name "AddAccount__11CBasePlayerib"... NOT FOUND
                                Searching for name "_ZN11CBasePlayer10AddAccountEib"... FOUND
                        Parsing file "AddAccount" ended
                        Parsing file "Observer_FindNextPlayer" started
                                Argument type "bool" validated
                                Argument type "char *" validated
                                Searching for name "Observer_FindNextPlayer__11CBasePlayerbPCc"... NOT FOUND
                        Parsing file "Observer_FindNextPlayer" ended
                Parsing folder "CBasePlayer" ended
        Parsing functions ended.


Orpheu functions search ended.

Orpheu virtual functions search started.

        Parsing virtual functions started.

                Parsing folder "CGameRules" started
                        Parsing file "GetNextBestWeapon" started
                                Argument type "CBasePlayer *" validated
                                Argument type "CBasePlayerItem *" validated
                                Return type "bool" validated
                        Parsing file "GetNextBestWeapon" ended
                Parsing folder "CGameRules" ended

        Parsing virtual functions ended.

Orpheu virtual functions search ended.

Orpheu memory structures search started.

        Parsing memory structures started.

                Parsing memory file "patchWeaponStruct"
                        Processing memory structure "cost"
                                Added memory search structure "cost"
                        Processing memory structure "weaponStruct"
                                Added memory search structure "weaponStruct"
                Parsing memory file "int"
                        Processing memory structure "int"
                                Added memory search structure "int"
                Parsing memory file "long"
                        Processing memory structure "long"
                                Added memory search structure "long"

        Parsing memory structures ended.

Orpheu memory structures search ended.
BeasT is offline
Send a message via Skype™ to BeasT
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-29-2016 , 06:10   Re: Grenade Manager[V 0.2]
Reply With Quote #16

Fixed some silly mistakes, now plugin should be working.

@BeasT, can you test under linux again?
__________________
HamletEagle is online now
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 07-03-2016 , 12:26   Re: Grenade Manager[V 0.2]
Reply With Quote #17

The bug is still there. Why you don't just remove the entity?

Last edited by BeasT; 07-03-2016 at 12:27.
BeasT is offline
Send a message via Skype™ to BeasT
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-03-2016 , 13:42   Re: Grenade Manager[V 0.2]
Reply With Quote #18

Because not only box has to be removed, but weapons too. Give than it is unlikely other plugins creating weaponbox with grenades and packing more than one, I could remove everything after first weapon was given.

Can you try the plugin attached below?
Attached Files
File Type: sma Get Plugin or Get Source (grenade_manager.sma - 408 views - 19.4 KB)
__________________

Last edited by HamletEagle; 07-03-2016 at 13:48.
HamletEagle is online now
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 07-04-2016 , 02:44   Re: Grenade Manager[V 0.2]
Reply With Quote #19

Nice The Plugin
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 07-04-2016 , 10:58   Re: Grenade Manager[V 0.2]
Reply With Quote #20

Quote:
Originally Posted by HamletEagle View Post
Can you try the plugin attached below?
Now it works fine.

Can we have cvar for dropping grenades on death?
BeasT is offline
Send a message via Skype™ to BeasT
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 07:52.


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