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

[L4D2] CSO SupplyBox (v1.5, 2024-3-6)


Post New Thread Reply   
 
Thread Tools Display Modes
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-29-2022 , 10:26   Re: [L4D2] CSO SupplyBox (v1.0, 2022-1-11)
Reply With Quote #11

Quote:
Originally Posted by Shao View Post
You should add a survival check so that boxes don't get dropped until the survival round starts. So that way people can't just wait for boxes to spawn then start the game.
will do

Quote:
Also if possible a maximum radius that boxes can spawn in for increased chances of reachability.
The plugin uses left4dhooks function to find a valid position to drop box.
PHP Code:
// Attempts to find a random valid position to spawn a Special Infected.
native bool L4D_GetRandomPZSpawnPosition(int clientint zombieClassint attemptsfloat vecPos[3]); 
(Not recommended) So If you really want to adjust a maximum radius, use
PHP Code:
z_spawn_range                            1500     : , "sv""cheat"  
__________________

Last edited by HarryPotter; 03-29-2022 at 10:32.
HarryPotter is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-29-2022 , 11:41   Re: [L4D2] CSO SupplyBox (v1.1, 2022-3-29)
Reply With Quote #12

Code:
v1.1 (2022-3-29)
- Support Survival Mode.
__________________

Last edited by HarryPotter; 03-29-2022 at 11:41.
HarryPotter is offline
Heaven_Can_Wait
New Member
Join Date: Sep 2022
Old 09-26-2022 , 09:02   Re: [L4D2] CSO SupplyBox (v1.3, 2022-9-14)
Reply With Quote #13

Since I haven't heard from an owner of a L2D server here that told us that he will leave a feedback about your nice plugin, therefore I'm forced to create an account for the sake of leaving a feedback, despite incapable of running a server myself. So let's cut to the chase; I liked the idea of supplies being dropped or randomly it makes my life easier despite the RNG drops, however I have a few issues that made the experience insufferable:

1.) The Supply Crates: There are times that the Supply Crates are airdropped on places where you cannot reach such as rooftops with no obvious access or out-of-bound areas such as roadblocks.

2.) You may also wanna exclude the items/weapons that we already have possessed as one of the possible rewards, unless we're out of ammo. In my opinion, it makes it a bit redundant.

Last edited by Heaven_Can_Wait; 09-26-2022 at 09:06. Reason: against the website policy i guess
Heaven_Can_Wait is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-27-2022 , 01:58   Re: [L4D2] CSO SupplyBox (v1.3, 2022-9-14)
Reply With Quote #14

Quote:
Originally Posted by Heaven_Can_Wait View Post
Since I haven't heard from an owner of a L2D server
Never heard about L2D server

Quote:
1.) The Supply Crates: There are times that the Supply Crates are airdropped on places where you cannot reach such as rooftops with no obvious access or out-of-bound areas such as roadblocks.
The plugin uses left4dhooks function to find a valid position to drop box.
PHP Code:
// Attempts to find a random valid position to spawn a Special Infected.
native bool L4D_GetRandomPZSpawnPosition(int clientint zombieClassint attemptsfloat vecPos[3]); 
For now, there is no accurate way to find a reachable position for survivor quickly.
You can say the helicopter pilot is lost

Quote:
2.) You may also wanna exclude the items/weapons that we already have possessed as one of the possible rewards, unless we're out of ammo. In my opinion, it makes it a bit redundant.
Would probably do that.
__________________
HarryPotter is offline
Heaven_Can_Wait
New Member
Join Date: Sep 2022
Old 09-27-2022 , 13:29   Re: [L4D2] CSO SupplyBox (v1.3, 2022-9-14)
Reply With Quote #15

Quote:
Originally Posted by HarryPotter View Post
Never heard about L2D server


The plugin uses left4dhooks function to find a valid position to drop box.
PHP Code:
// Attempts to find a random valid position to spawn a Special Infected.
native bool L4D_GetRandomPZSpawnPosition(int clientint zombieClassint attemptsfloat vecPos[3]); 
For now, there is no accurate way to find a reachable position for survivor quickly.
You can say the helicopter pilot is lost


Would probably do that.
1.) Sorry L4D2, typo.

2.) So it was intentionally being spawned far from survivors? Man this helicopter pilot really is doing terrible job

3.) Sure! Btw, anywhere else I can leave a feedback to your plugin btw? Like GitHub?

Last edited by Heaven_Can_Wait; 09-27-2022 at 13:30.
Heaven_Can_Wait is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-28-2022 , 03:58   Re: [L4D2] CSO SupplyBox (v1.3, 2022-9-14)
Reply With Quote #16

Quote:
Originally Posted by Heaven_Can_Wait View Post
3.) Sure! Btw, anywhere else I can leave a feedback to your plugin btw? Like GitHub?
Github
__________________
HarryPotter is offline
kahdeg
Junior Member
Join Date: Oct 2021
Old 09-30-2022 , 02:07   Re: [L4D2] CSO SupplyBox (v1.3, 2022-9-14)
Reply With Quote #17

If i want to simulate the "drop", can i change the height of the spawned box and will it drop?

edit:
this work for me https://www.youtube.com/watch?v=hnXmpfuAwS0
PHP Code:
bool SpawnBox(float fPos[3], float fAng[3] = NULL_VECTOR)
{
    
int iBox CreateEntityByName("prop_physics");
    if (
CheckIfEntityMaxiBox ) == false)
        return 
false;
    
    
// move the box up 1000 unit
    
fPos[2] = fPos[2] + 1000;
    
    
TeleportEntity(iBoxfPosfAngNULL_VECTOR);
    
    
int box_model g_iBoxType

Last edited by kahdeg; 09-30-2022 at 08:38.
kahdeg is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-30-2022 , 11:39   Re: [L4D2] CSO SupplyBox (v1.3, 2022-9-14)
Reply With Quote #18

Quote:
Originally Posted by kahdeg View Post
If i want to simulate the "drop", can i change the height of the spawned box and will it drop?

edit:
this work for me https://www.youtube.com/watch?v=hnXmpfuAwS0
PHP Code:
bool SpawnBox(float fPos[3], float fAng[3] = NULL_VECTOR)
{
    
int iBox CreateEntityByName("prop_physics");
    if (
CheckIfEntityMaxiBox ) == false)
        return 
false;
    
    
// move the box up 1000 unit
    
fPos[2] = fPos[2] + 1000;
    
    
TeleportEntity(iBoxfPosfAngNULL_VECTOR);
    
    
int box_model g_iBoxType
Yes you can, but I remind you, if inside the house, box could stuck in ceilling
__________________
HarryPotter is offline
JustMadMan
Member
Join Date: Feb 2023
Old 11-10-2023 , 16:06   Re: [L4D2] CSO SupplyBox (v1.4, 2023-7-26)
Reply With Quote #19

Translated to Russian
Attached Files
File Type: txt l4d2_supply_woodbox.phrases.txt (222 Bytes, 15 views)

Last edited by JustMadMan; 11-10-2023 at 16:07.
JustMadMan is offline
king kong
Member
Join Date: Oct 2021
Old 03-05-2024 , 14:06   Re: [L4D2] CSO SupplyBox (v1.5, 2024-2-15)
Reply With Quote #20

L 03/06/2024 - 03:04:16: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 03/06/2024 - 03:04:16: [SM] Blaming: l4d2_supply_woodbox.smx
L 03/06/2024 - 03:04:16: [SM] Call stack trace:
L 03/06/2024 - 03:04:16: [SM] [0] ArrayList.Length.get
L 03/06/2024 - 03:04:16: [SM] [1] Line 1234, C:\Program Files (x86)\steamcmd\l4d2sv\left4dead2\addons\sourc emod\scripting\l4d2_supply_woodbox.sp::Remove AllBox
L 03/06/2024 - 03:04:16: [SM] [2] Line 193, C:\Program Files (x86)\steamcmd\l4d2sv\left4dead2\addons\sourc emod\scripting\l4d2_supply_woodbox.sp::OnPlug inEnd
L 03/06/2024 - 03:04:16: Error log file session closed.

I think the reason is to update left 4 hooks 1.144

Last edited by king kong; 03-05-2024 at 14:18.
king kong 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 17:28.


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