Raised This Month: $32 Target: $400
 8% 

[L4D2] Shop


Post New Thread Reply   
 
Thread Tools Display Modes
loio
Member
Join Date: Apr 2022
Old 04-28-2022 , 16:51   Re: [L4D2] Shop
Reply With Quote #41

Quote:
Originally Posted by HarryPotter View Post
Survivors And Infected Shop Improved Version 4.1 (2022/3/2)
Killing zombies and infected to earn credits, use !buy to purchase weapons and items.

-New Feature-
-Remke code
-Translation Support
-Add The last stand two melee
-Unlock All weapons including M60, Grenade_Launcher, and CSS weapons
-Unlock All items including cola, gnome and fireworkcrate
-Add Infected Shop
-Add Special items
-You can earn credits by killing survivors as an infected.
-You can earn credits by helping each other as a survivor.
-Save player's money with Cookies, it means that money can be saved to database across client connections, map changes and even server restarts.\
-Add short buy commands, directly buy item.
-Repeat purchase item you bought last time.
-Choose location and spawn Witch.
-Buy time cooldown, can't buy quickly.

-I WON'T do VIP or ADM, so don't request for that

-Image-






Apply to:
l4d2 only

-Require-
1. Sm 1.10 or above
2. To unlock all melee weapons in all campaigns, you MUST use the Mission and Weapons - Info Editor plugin which supersedes the extension.
3. Left 4 DHooks Direct
4. [INC] Multi Colors

Updating cfg:
  • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.

Updating translation:
Spoiler


-Convar-
Spoiler


-Command-
Spoiler


-How to set the item money-
Spoiler


-Special item list-
***Survivor Shop***
Spoiler


***Infected Shop***
Spoiler


Related plugin:
  • MultiSlots Improved: When 5+ player joins the server but no any bot can be taken over, this plugin will spawn an alive survivor bot for him.
  • Infected Bots Control Improved: Spawns infected bots in L4D1 versus, and gives greater control of the infected bots in L4D1/L4D2 without being limited by the director.
-Edit Github-
Latest version always here
credits save when leaving the game?
loio is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 04-28-2022 , 19:26   Re: [L4D2] Shop
Reply With Quote #42

Quote:
Originally Posted by loio View Post
credits save when leaving the game?
Yes
__________________
HarryPotter is offline
valedar
Member
Join Date: May 2022
Location: Russian
Old 06-12-2022 , 13:36   Re: [L4D2] Shop
Reply With Quote #43

Quote:
Originally Posted by HarryPotter View Post
Survivors And Infected Shop Improved Version 4.1 (2022/3/2)
Killing zombies and infected to earn credits, use !buy to purchase weapons and items.

-New Feature-
-Remke code
-Translation Support
-Add The last stand two melee
-Unlock All weapons including M60, Grenade_Launcher, and CSS weapons
-Unlock All items including cola, gnome and fireworkcrate
-Add Infected Shop
-Add Special items
-You can earn credits by killing survivors as an infected.
-You can earn credits by helping each other as a survivor.
-Save player's money with Cookies, it means that money can be saved to database across client connections, map changes and even server restarts.\
-Add short buy commands, directly buy item.
-Repeat purchase item you bought last time.
-Choose location and spawn Witch.
-Buy time cooldown, can't buy quickly.

-I WON'T do VIP or ADM, so don't request for that

-Image-






Apply to:
l4d2 only

-Require-
1. Sm 1.10 or above
2. To unlock all melee weapons in all campaigns, you MUST use the Mission and Weapons - Info Editor plugin which supersedes the extension.
3. Left 4 DHooks Direct
4. [INC] Multi Colors

Updating cfg:
  • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.

Updating translation:
Spoiler


-Convar-
Spoiler


-Command-
Spoiler


-How to set the item money-
Spoiler


-Special item list-
***Survivor Shop***
Spoiler


***Infected Shop***
Spoiler


Related plugin:
  • MultiSlots Improved: When 5+ player joins the server but no any bot can be taken over, this plugin will spawn an alive survivor bot for him.
  • Infected Bots Control Improved: Spawns infected bots in L4D1 versus, and gives greater control of the infected bots in L4D1/L4D2 without being limited by the director.
-Edit Github-
Latest version always here
Can you tell me how can I allow everyone to check the bank, !checkbank, !allbank ? only the admin can, but I want to allow everyone
valedar is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 06-12-2022 , 13:41   Re: [L4D2] Shop
Reply With Quote #44

Quote:
Originally Posted by valedar View Post
Can you tell me how can I allow everyone to check the bank, !checkbank, !allbank ? only the admin can, but I want to allow everyone
Replace RegAdminCmd with RegConsoleCmd
For example
PHP Code:
RegAdminCmd("sm_allbank"CheckBankCommandADMFLAG_BAN); 
To
PHP Code:
RegConsoleCmd("sm_allbank"CheckBankCommand); 
__________________

Last edited by HarryPotter; 06-12-2022 at 13:44.
HarryPotter is offline
valedar
Member
Join Date: May 2022
Location: Russian
Old 06-12-2022 , 15:39   Re: [L4D2] Shop
Reply With Quote #45

Quote:
Originally Posted by HarryPotter View Post
Replace RegAdminCmd with RegConsoleCmd
For example
PHP Code:
RegAdminCmd("sm_allbank"CheckBankCommandADMFLAG_BAN); 
To
PHP Code:
RegConsoleCmd("sm_allbank"CheckBankCommand); 
thank)
valedar is offline
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 08-18-2022 , 10:04   Re: [L4D2] Shop
Reply With Quote #46

Quote:
Originally Posted by HarryPotter View Post
Survivors And Infected Shop Improved Version 4.4 (2022/8/10)
Killing zombies and infected to earn credits, use !buy to purchase weapons and items.
hi, is there any option for kill tank instead of hurt?
zaviier is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-18-2022 , 10:05   Re: [L4D2] Shop
Reply With Quote #47

Quote:
Originally Posted by zaviier View Post
hi, is there any option for kill tank instead of hurt?
Nope
__________________
HarryPotter is offline
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 08-31-2022 , 16:06   Re: [L4D2] Shop
Reply With Quote #48

Quote:
Originally Posted by HarryPotter View Post
Survivors And Infected Shop Improved Version 4.5 (2022/8/22)
how to auto close shop menu after you buy item instead of keep showing it? because it's very annoying sometimes when you in middle of fight and want to change weapon (click 1) then you just accidentialy click buy item in number 1 because the menu need to close manually
zaviier is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-31-2022 , 20:14   Re: [L4D2] Shop
Reply With Quote #49

Quote:
Originally Posted by zaviier View Post
how to auto close shop menu after you buy item instead of keep showing it? because it's very annoying sometimes when you in middle of fight and want to change weapon (click 1) then you just accidentialy click buy item in number 1 because the menu need to close manually
change code
from
Code:
BuyItem(param1, L4D_TEAM_SURVIVORS, view_as<EMenuType>(eWeaponMenu), index) & 2
to
Code:
BuyItem(param1, L4D_TEAM_SURVIVORS, view_as<EMenuType>(eWeaponMenu), index) & 1
line 1457,1578,1608,1638,1668
__________________

Last edited by HarryPotter; 08-31-2022 at 20:15.
HarryPotter is offline
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 08-31-2022 , 20:44   Re: [L4D2] Shop
Reply With Quote #50

Quote:
Originally Posted by HarryPotter View Post
change code
from
Code:
BuyItem(param1, L4D_TEAM_SURVIVORS, view_as<EMenuType>(eWeaponMenu), index) & 2
to
Code:
BuyItem(param1, L4D_TEAM_SURVIVORS, view_as<EMenuType>(eWeaponMenu), index) & 1
line 1457,1578,1608,1638,1668
perfect.. thanks!
zaviier 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 06:52.


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