MantisBT - Zandronum
View Issue Details
0000515Zandronum[All Projects] Bugpublic2011-07-13 01:462012-04-16 13:10
unknownna 
 
normaltrivialalways
confirmedopen 
1.0 
 
0000515: Coop spy/info & Weapon.PreferredSkin desync in AOW2 with bots
When bots are added into an AOW2 game online, they are seen (Coop spy/info/Weapon.PreferredSkin) as using the fist (SelfHeal) instead of the SSG (Military-DoubleShotgun). It corrects itself if you either reconnect, turn into a spectator, or kill the bots once.
No tags attached.
related to 0000545confirmed  Client thinks that bots are using the wrong weapons after they respawn in COOP if sv_coop_lose* is 0 
png Screenshot_Doom_20110713_034100.png (124,662) 2011-07-13 01:46
https://zandronum.com/tracker/file_download.php?file_id=381&type=bug
png

zip BotWeaponDesync.zip (897) 2012-03-11 11:05
https://zandronum.com/tracker/file_download.php?file_id=464&type=bug
? botinventory_desync_01.wad (2,145) 2012-04-16 11:15
https://zandronum.com/tracker/file_download.php?file_id=554&type=bug
Issue History
2011-07-13 01:46unknownnaNew Issue
2011-07-13 01:46unknownnaFile Added: Screenshot_Doom_20110713_034100.png
2011-07-13 23:36Torr SamahoNote Added: 0001900
2011-07-13 23:36Torr SamahoStatusnew => feedback
2011-08-02 06:04unknownnaRelationship addedrelated to 0000545
2012-03-11 01:07DuskNote Added: 0002774
2012-03-11 01:08DuskNote Edited: 0002774bug_revision_view_page.php?bugnote_id=2774#r1438
2012-03-11 01:08DuskNote Edited: 0002774bug_revision_view_page.php?bugnote_id=2774#r1439
2012-03-11 01:30Torr SamahoNote Added: 0002775
2012-03-11 11:05DuskNote Added: 0002785
2012-03-11 11:05DuskFile Added: BotWeaponDesync.zip
2012-03-11 17:45Torr SamahoNote Added: 0002786
2012-03-27 19:09unknownnaNote Added: 0002926
2012-03-27 19:09unknownnaStatusfeedback => new
2012-03-27 19:10unknownnaNote Edited: 0002926bug_revision_view_page.php?bugnote_id=2926#r1491
2012-03-29 11:33DuskNote Added: 0002992
2012-03-29 11:34DuskNote Edited: 0002992bug_revision_view_page.php?bugnote_id=2992#r1531
2012-03-29 11:44Torr SamahoNote Added: 0002994
2012-03-29 12:06unknownnaNote Added: 0002996
2012-03-29 12:06unknownnaNote Edited: 0002996bug_revision_view_page.php?bugnote_id=2996#r1535
2012-03-29 12:08unknownnaNote Edited: 0002996bug_revision_view_page.php?bugnote_id=2996#r1536
2012-04-16 11:15unknownnaFile Added: botinventory_desync_01.wad
2012-04-16 11:16unknownnaNote Added: 0003320
2012-04-16 11:17unknownnaNote Edited: 0003320bug_revision_view_page.php?bugnote_id=3320#r1768
2012-04-16 11:18unknownnaStatusnew => confirmed
2012-04-16 11:52unknownnaNote Edited: 0003320bug_revision_view_page.php?bugnote_id=3320#r1769
2012-04-16 13:10DuskNote Added: 0003323
2012-04-16 13:11DuskNote Edited: 0003323bug_revision_view_page.php?bugnote_id=3323#r1771
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug

Notes
(0001900)
Torr Samaho   
2011-07-13 23:36   
How do the bots aquire the SSG? Looks like players start without one. Can you make a minimal example wad?
(0002774)
Dusk   
2012-03-11 01:07   
(edited on: 2012-03-11 01:08)
Stumbled upon this...
- Players start out without any weapons. All they have is Unarmed and SelfHeal, latter of which has been changed into a CustomInventory in AOW's latest beta build.
- Bots derp around in spawn for a second until the "bot support" ACS kicks in and automatically activates a class script for them. The bots are teleported into the base (which in larger maps causes a crash..) and are given the SSG and are changed to it.

SetWeapon() on bots would be the first I'd look into.

Definitely not a big deal, at least for AOW. I only use bots for testing things and they're pretty much never seen in actual online games.

(0002775)
Torr Samaho   
2012-03-11 01:30   
> Definitely not a big deal, at least for AOW.

I agree, but it still can't hurt to fix it ;-). Anyway, without a minimal example wad, I will not look into this.
(0002785)
Dusk   
2012-03-11 11:05   
Well this is odd... I can't reproduce this with either example wad or AOW, on 98d, 98e-3299 and 98e tip. I can't get it to happen at all.

I uploaded the example wad anyway.
(0002786)
Torr Samaho   
2012-03-11 17:45   
> I uploaded the example wad anyway.

So this means that everything works as intended and there is nothing to fix?
(0002926)
unknownna   
2012-03-27 19:09   
(edited on: 2012-03-27 19:10)
I can't reproduce this in the latest version of AOW2. But there was a difference between 98d and 98e in the older version of AOW2.

(0002992)
Dusk   
2012-03-29 11:33   
(edited on: 2012-03-29 11:34)
Bot support has not been changed for the past few AOW's releases, nor in its beta build. So I'd believe that if this cannot be reproduced anymore, 98e somehow fixed it.

(0002994)
Torr Samaho   
2012-03-29 11:44   
Alright, in this case, I tend to close the issue.
(0002996)
unknownna   
2012-03-29 12:06   
(edited on: 2012-03-29 12:08)
> So I'd believe that if this cannot be reproduced anymore, 98e somehow fixed it.

> Players start out without any weapons. All they have is Unarmed and SelfHeal, latter of which has been changed into a CustomInventory in AOW's latest beta build.

What about this? I don't think 98e "somehow" fixed it out of the blue. IIRC, "Unarmed" is fists (weapon) that you can attack with and "SelfHeal" used to be a weapon too. I think this is caused by the weapon sync fixes. Nevertheless, it's a very trivial issue and we shouldn't bother with it for the time being. Unfortunately I lost my old WAD files so I can't reproduce the bug.

Actually, I found AOW2 r1816 here and can confirm that the bug still exists.

(0003320)
unknownna   
2012-04-16 11:16   
(edited on: 2012-04-16 11:52)
I created a new example WAD. It uses 2 scripts from Icon of Party. Your client thinks that the bots have the railgun selected when they actually have the plasma rifle selected.

Script 1 ENTER
{
    Thing_ChangeTID(0, 20);
    Clearinventory ();
    Clearinventory ();
    Clearinventory ();
    delay (1);
    giveinventory ("plasmarifle", 1);
    takeinventory ("cell", 200);
    delay (1);
    giveinventory ("railgun", 1);
    takeinventory ("cell", 200);
    delay (1);
    takeinventory ("cell", 200);
    delay(1);
    setfont("bigfont");
    HudMessage(s:"Welcome to \ccIcon of Party!";
        HUDMSG_TYPEON | HUDMSG_LOG, 0, CR_black, 1.5, 0.35, 5.0,
        0.05, 0.5);
        setfont("smallfont");
        HudMessage(s:"for discussion, Please visit the skulltag forum to post";
        HUDMSG_TYPEON | HUDMSG_LOG, 0, CR_black, 1.5, 0.40, 5.0,
        0.05, 0.5);
}


(0003323)
Dusk   
2012-04-16 13:10   
(edited on: 2012-04-16 13:11)
"Actually, I found AOW2 r1816 here and can confirm that the bug still exists."

For the record, all past Omega releases can be found here