Anonymous | Login | 2024-12-03 17:53 CET |
Main | My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000623 | Soldat Dedicated Server | Scripting Core | public | 2015-08-20 01:51 | 2015-10-07 16:19 | ||||
Reporter | deguix | ||||||||
Assigned To | Shoozza | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | amd64 | OS | Debian GNU/Linux | OS Version | 7.0 | ||||
Product Version | 2.7.9b1 | ||||||||
Target Version | Fixed in Version | 2.7.9 | |||||||
Summary | 0000623: SC2 ForceWeapon still uses old weapon ids | ||||||||
Description | I tried a SC2 script in this beta version, and tried to fix its infinite knives throwing script, but it looks really weird when I have to force a different id than what I'm checking with GetPlayerStat. | ||||||||
Steps To Reproduce | Example: Replaces any weapon that is not a knife (right), to a knife (wrong ID): Function OnPlayerCommand(ID: Byte; Text: string): boolean; Begin Case LowerCase(Text) Of '/test': If GetPlayerStat(ID, 'Primary') <> 11 Then ForceWeapon(ID, 14, 255, 0); Result:=false; End; Then type /test as player... | ||||||||
Tags | No tags attached. | ||||||||
John | |||||||||
Attached Files | |||||||||
Notes | |
(0002484) deguix (reporter) 2015-08-20 03:39 |
Also happens with ForceWeaponEx. |
(0002485) deguix (reporter) 2015-08-20 03:54 |
Sry to keep spamming notes... OnWeaponChange on SC2 also has the old IDs too... it seems only SC3 stuff was updated? |
(0002491) Shoozza (administrator) 2015-10-07 16:19 |
GetPlayerStat with primary and secondary will return weapons ids compatible with forceweapon and forceweaponex in the future |
Issue History | |||
Date Modified | Username | Field | Change |
2015-08-20 01:52 | deguix | New Issue | |
2015-08-20 03:39 | deguix | Note Added: 0002484 | |
2015-08-20 03:54 | deguix | Note Added: 0002485 | |
2015-10-07 16:19 | Shoozza | Note Added: 0002491 | |
2015-10-07 16:19 | Shoozza | Status | new => resolved |
2015-10-07 16:19 | Shoozza | Fixed in Version | => 2.7.9 |
2015-10-07 16:19 | Shoozza | Resolution | open => fixed |
2015-10-07 16:19 | Shoozza | Assigned To | => Shoozza |
Copyright © 2000 - 2024 MantisBT Team |