Author Topic: Weapon reloading  (Read 753 times)

0 Members and 1 Guest are viewing this topic.

Offline freestyler

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 326
Weapon reloading
« on: November 10, 2007, 04:45:59 pm »
If you are reloading Spas and server forces another weapon on you, this weapon reloads every single bullet like spas. You can check it for yourself:

1. paste this code to one of your scripts:
Code: [Select]
function OnCommand(ID: Byte; Text: string): boolean;
begin
  if Text = '/give' then ForceWeapon(ID, 9, GetPlayerStat(ID, 'Secondary'), 20);
  Result := false;
end;
2. run soldatserver.exe, join game and choose Spas;
3. fire six bullets, start reloading;
4. use /give command.

Now you can see your gostek holding a Minimi and reloading every single bullet, with Spas's reloading sound!

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Weapon reloading
« Reply #1 on: November 10, 2007, 04:54:32 pm »
Please report that bug at http://bugs.soldat.pl

Quote
<Avarax> http://forums.soldat.pl/index.php?topic=22078.new#new
<Avarax> haha :D
<FliesLikeABrick> neat bug
<Toumaz> aye there's quite a few of those weapon exploits
<Toumaz> or not exploit but bug
<Toumaz> quite amusing
<FliesLikeABrick> I'm sure they're trivial to fix if someone takes the time to file reports in mantis for them
<Toumaz> I'd rather not have some of them fixed to be honest ;)
<FliesLikeABrick> sure, but the fact is that they are bugs and they'll interfere with peoples' scripts they're trying to make
* AlfoNs (~alfons@h112n2fls33o1110.telia.com) has joined #Soldat.Beta
<FliesLikeABrick> that guy probably found that by trying to write a script that would change someone's weapon after every clip/magazine
<FliesLikeABrick> as long as that bug exists, there's no way for him to easily do such a thing I'd imagine
<Toumaz> suppose
<FliesLikeABrick> we shouldn't be forcing our devs to work around bugs when they should be able to do something like that easily
<Toumaz> somebody in my fistbox server created a wm that caused the crouchbug whenever you (tried to) roll
« Last Edit: November 10, 2007, 04:59:18 pm by FliesLikeABrick »

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Weapon reloading
« Reply #2 on: November 10, 2007, 06:56:15 pm »
I myself reported a bug with weaponmods to mantis quite a while ago; certain values of weaponmods would cause a crouchbug and other strange side effects; but the values to do that seem to change with every version of soldat.

Offline freestyler

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 326
Re: Weapon reloading
« Reply #3 on: November 11, 2007, 05:38:37 am »
I reported that bug on Mantis yesterday... and it's deleted now. I'm pretty sure its ID was 130.