Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
cruelty squad mapload bug fix (#532)
Browse files Browse the repository at this point in the history
* cruelty squad player_spawn bugs

this script is the same as the one in the map except the player spawn function removes the logic to loop through players, my guess is it doesn't like it on map spawn, which me being lazy i didn't set it up to only fire after warmup, which i probably should have done. this instead changes the logic to fire the fixing function and return the player_spawn function only when the invalid player is found, not double checking all players for valid userids. copium? yes. but in my defense, this shit works fine offline! that's the point of maptests!!

* swap out vscript files

see comment on vscript submission.

* Update gorbinos_magic.nut

shit_fixer was borked, this time, loop through all players... check if there is a valid userid in their extended player index... if not, THEN fire player_connect.
  • Loading branch information
TheBigBadMemeMan authored Sep 25, 2023
1 parent 57caac5 commit e24f1a9
Show file tree
Hide file tree
Showing 2 changed files with 2,782 additions and 0 deletions.
13 changes: 13 additions & 0 deletions stripper/ze_cruelty_squad_v1_12.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
;running the player spawn fixup at mapload seems to be problematic on live servers, only run it after warmup, need to patch vscript nut file
modify:
{
match:
{
"targetname" "gorbinos_magic"
"classname" "logic_script"
}
replace:
{
"vscripts" "gfl/gorbinos_magic.nut"
}
}
Loading

0 comments on commit e24f1a9

Please sign in to comment.