MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000346Soldat Dedicated ServerScripting Corepublic2013-07-27 02:322015-01-13 00:30
ReporterJotEmI 
Assigned ToExHunter 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionreopened 
Platformi386OSDebian GNU/LinuxOS Version5.0
Product Version2.7.4 
Target VersionFixed in Version 
Summary0000346: Different object styles in SpawnObject() and GetObjectStat()
DescriptionObject styles in SpawnObject() and GetObjectStat() for Knife and Chainsaw are switched in new version. See the attachment.
TagsNo tags attached.
John
Attached Filesxls file icon Object styles.xls [^] (14,848 bytes) 2013-07-27 02:32

- Relationships

-  Notes
(0001870)
JotEmI (reporter)
2013-08-17 11:30

Styles in SpawnObject() have been fixed but in GetObjectStat() knife and chainsaw are still switched. Knife should have 25 and chainsaw 24.
(0002349)
ExHunter (developer)
2014-10-23 03:47

Does this still happen in 1.6.8b2?
(0002379)
JotEmI (reporter)
2015-01-12 16:59

According to this http://wiki.soldat.pl/index.php/TMapObject.Style [^] Combat Knife should have Style=25. But in SC3 Map.Objects[].Style returns 24. I believe it'll be the same in SC2 since as Falcon said ScriptCore is really just a wrapper for underlying objects. Just correct the wiki entry and be done with it.
(0002380)
ExHunter (developer)
2015-01-12 20:39

So SC2 stuff is fine and SC3 just needs Wiki fix?
(0002381)
JotEmI (reporter)
2015-01-12 22:17

That's not exactly what I meant.
Both SC2 and SC3 wiki pages claim that Combat Knife=25 and Chainsaw=24.
In fact, in SC3 Combat Knife is 24 and Chainsaw is 25.
I haven't checked SC2 in game but as I mentioned above it should give the same result.
Instead of fixing ScriptCore to match the wiki just edit the wiki pages.
(0002382)
ExHunter (developer)
2015-01-13 00:30

For SC3 I will change simply the wiki.

But it is about SC2. This requires a change in the ScriptCore, since we want to keep older scripts working (without fixes).

- Issue History
Date Modified Username Field Change
2013-07-27 02:32 JotEmI New Issue
2013-07-27 02:32 JotEmI File Added: Object styles.xls
2013-07-27 14:03 Bistoufly Status new => acknowledged
2013-07-27 15:20 Falcon Assigned To => Falcon
2013-07-27 15:20 Falcon Status acknowledged => confirmed
2013-07-29 16:11 Falcon Status confirmed => resolved
2013-07-29 16:11 Falcon Resolution open => fixed
2013-08-17 11:30 JotEmI Note Added: 0001870
2013-08-17 11:30 JotEmI Status resolved => feedback
2013-08-17 11:30 JotEmI Resolution fixed => reopened
2013-09-12 15:54 Falcon Status feedback => acknowledged
2013-12-27 23:35 Falcon Assigned To Falcon =>
2014-10-23 03:47 ExHunter Note Added: 0002349
2014-10-23 03:47 ExHunter Assigned To => ExHunter
2014-10-23 03:47 ExHunter Status acknowledged => feedback
2015-01-12 16:59 JotEmI Note Added: 0002379
2015-01-12 16:59 JotEmI Status feedback => assigned
2015-01-12 20:39 ExHunter Note Added: 0002380
2015-01-12 22:17 JotEmI Note Added: 0002381
2015-01-13 00:30 ExHunter Note Added: 0002382


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker