Author Topic: Flashlight doesn't work, crouch disables tools.  (Read 2359 times)

I've been having a major problem when I host that causes two server-sided glitches that I can't seem to fix.

Crouching disables tools, in which I can't use the tool and it only makes me click as if nothing's in my hand. This is mainly a problem for me because I might include some things in some TDMs or something that has vents where you might get in combat and have to attack enemies in said vent, but with crouching disabling weapons, I can't do that and it limits quite a lot.

Now, my biggest problem of the two, flashlights won't work. This is a HUGE problem for me as I plan to make horror games some time in the future. The worst part of it is that people on my server can't reload specific weapons. Tier Tactical weapons can reload, along with Fallout weapons, but that's it. I've tried disabling certain weapons and weapon packs to fix it but it still just won't work.

If anybody can help me, I would be extremely grateful.

the crouching one's because of this
disable those playertypes/bots blockalpha made, i can't remember what they're called but the tactical ones make you not be able to use anything while crouching even if you're not using the playertype
dunno about the flashlights though

the crouching one's because of thisdunno about the flashlights though
Disabling the Blockoshooter fixed my problem with crouching, now I just have to figure out how to fix my lights. I think it could be something to do with Slayer.

Disabling the Blockoshooter fixed my problem with crouching, now I just have to figure out how to fix my lights. I think it could be something to do with Slayer.

I'm actually having the same problem. Do you by any chance own any addons that change the flashlight itself?


I'm actually having the same problem. Do you by any chance own any addons that change the flashlight itself?
Now that I think about it, I do have an add-on that changes the flashlight. I'll try disabling it and seeing if that works.

Now that I think about it, I do have an add-on that changes the flashlight. I'll try disabling it and seeing if that works.
noedit: I tried it. It didn't work.

start the game.
go in console and type trace(1);
attempt to use your light.
go in console and type trace(0);
quit the game.
upload the console.log located in your blockland directory to pastebin.com or as a file upload here.

start the game.
go in console and type trace(1);
attempt to use your light.
go in console and type trace(0);
quit the game.
upload the console.log located in your blockland directory to pastebin.com or as a file upload here.
I got it. It's relatively long but I got it. http://pastebin.com/zSmGVPaX

important bit
Code: [Select]
544.Entering [AmmoGuns2]serverCmdLight(15688)
545.   Entering [Slayer_GameConnection]serverCmdLight(15688)
546.      Entering [Slayer_MinigameSO]getMiniGameFromObject(15688)
547.         Entering getMiniGameFromObject(15688)
548.            Entering getBL_IDFromObject(15688)
549.               Entering [Slayer_MinigameSO]getBrickgroupFromObject(15688)
550.                  Entering getBrickgroupFromObject(15688)
551.                  Leaving getBrickgroupFromObject() - return 15667
552.               Leaving [Slayer_MinigameSO]getBrickgroupFromObject() - return 15667
553.            Leaving getBL_IDFromObject() - return 33511
554.         Leaving getMiniGameFromObject() - return -1
555.      Leaving [Slayer_MinigameSO]getMiniGameFromObject() - return -1
556.      Entering isSlayerMiniGame(-1)
557.      Leaving isSlayerMiniGame() - return 0
558.      Entering [rcBot]serverCmdLight(15688)
559.         Entering [PredatorCloak]serverCmdLight(15688)
560.         Leaving [PredatorCloak]serverCmdLight() - return 20673
561.      Leaving [rcBot]serverCmdLight() - return 20673
562.   Leaving [Slayer_GameConnection]serverCmdLight() - return 20673
563.Leaving [AmmoGuns2]serverCmdLight() - return 20673

looks like whatever is predator cloak is probably what is breaking things

start the game.
go in console and type trace(1);
attempt to use your light.
go in console and type trace(0);
quit the game.
upload the console.log located in your blockland directory to pastebin.com or as a file upload here.
using trace(1); commandtoserver('uselight'); trace(0); might be a bit easier on the console log

remove player_predator.zip

looks like whatever is predator cloak is probably what is breaking things

important bit
Code: [Select]
544.Entering [AmmoGuns2]serverCmdLight(15688)
545.   Entering [Slayer_GameConnection]serverCmdLight(15688)
546.      Entering [Slayer_MinigameSO]getMiniGameFromObject(15688)
547.         Entering getMiniGameFromObject(15688)
548.            Entering getBL_IDFromObject(15688)
549.               Entering [Slayer_MinigameSO]getBrickgroupFromObject(15688)
550.                  Entering getBrickgroupFromObject(15688)
551.                  Leaving getBrickgroupFromObject() - return 15667
552.               Leaving [Slayer_MinigameSO]getBrickgroupFromObject() - return 15667
553.            Leaving getBL_IDFromObject() - return 33511
554.         Leaving getMiniGameFromObject() - return -1
555.      Leaving [Slayer_MinigameSO]getMiniGameFromObject() - return -1
556.      Entering isSlayerMiniGame(-1)
557.      Leaving isSlayerMiniGame() - return 0
558.      Entering [rcBot]serverCmdLight(15688)
559.         Entering [PredatorCloak]serverCmdLight(15688)
560.         Leaving [PredatorCloak]serverCmdLight() - return 20673
561.      Leaving [rcBot]serverCmdLight() - return 20673
562.   Leaving [Slayer_GameConnection]serverCmdLight() - return 20673
563.Leaving [AmmoGuns2]serverCmdLight() - return 20673

looks like whatever is predator cloak is probably what is breaking things
I disabled all of my AvP related add-ons and everything's fixed. Thanks a lot you guys. I'll be locking this thread now.