Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BUG] [Bug]no damage with using Electro with lightning gun mode

I found a serious bug in Electro with lightning gun mode. I think this is a bug.
This is caused when you shoot lightning gun to your enemy while his going backward.

This is my server and xonotic git version.

I captured it and uploaded on YouTube. Here is the URL.

I saw the code for electro(qcsrc/server/w_electro.qc) but I couldn't solve it out.

Unlikely to ever get solved as the standard balance does not use it and there's a separate LG-like weapon planned for future versions. If you or someones else does solve it tough, patches are always welcome.


I've tried to solve it but idk where is the point for collision detection... and some of stuffs I found are "server/g_damage.qc", "client/View.qc". I think Damage() is the function for it, and getstatf(STAT_HIT_TIME) is related to hit, but I couldn't solve it out.

Also, I'm trying to switch hit sound when target has armorvalue and target has no armorvalue like Quake 4, but idk the relation between g_damage.qc and View.qc. View.qc is processed everytime, but g_damage.qc is processed when players get damage. I want some references...hmm...

Possibly Related Threads…
Thread Author Replies Views Last Post
  [BUG] Weapon Damage and Weapon Accuracy not showing (Xonstat) Cinnamon Juice 4 1,865 12-21-2020, 10:11 AM
Last Post: Sire-Lionheart
  [SOLVED] Damage over players head TheGoodGamer 2 2,591 02-12-2017, 03:37 PM
Last Post: Smilecythe
Sad [NEED HELP] Dual display - open Xonotic in full screen mode on secondary screen? Galathorne 2 4,893 11-18-2015, 03:48 PM
Last Post: Galathorne
  [NEED HELP] Low FPS when using FullScreen mode TheLastCrawler 0 2,340 09-06-2015, 10:02 AM
Last Post: TheLastCrawler
  [BUG] Stuck at level 21 of campaign mode simbian 4 5,192 02-20-2014, 04:43 PM
Last Post: Mr. Bougo
  [SOLVED] Weapon Damage Andrii 3 3,777 01-02-2014, 08:30 AM
Last Post: Andrii
  [SOLVED] Can't beat level 21 in singleplayer mode hhyloc 5 11,130 08-24-2012, 02:33 AM
Last Post: hhyloc
  [SOLVED] Teamplay in singleplayer mode soukaina 3 3,634 08-20-2012, 03:16 PM
Last Post: tZork
  [SUGGESTION] [Bug]Electro secondary is unable to fire... rafallus 3 3,881 03-20-2012, 05:33 PM
Last Post: edh
  [NEEDS INFO] weapons problems bullets do no damage tangerian 8 7,392 08-24-2010, 04:08 AM
Last Post: Mr. Bougo

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-