Anonymous | Login | Signup for a new account | 2024-03-29 02:30 UTC |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001924 | Zandronum | [All Projects] Suggestion | public | 2014-08-17 15:21 | 2018-09-30 22:15 | ||||
Reporter | ZzZombo | ||||||||
Assigned To | Torr Samaho | ||||||||
Priority | normal | Severity | major | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 2.0-beta | ||||||||
Target Version | 3.0 | Fixed in Version | 3.0 | ||||||
Summary | 0001924: Backport IsTIDUsed() and UniqueTID() in v2.0 | ||||||||
Description | These functions are very important in script-heavy mods. The first function basically replaces ThingCount(T_NONE,<TID>), but the main advantage is that it doesn't need to count EVERY actor in the game, it stops once an actor w/ the given TID is found and it also counts dead things; currently you have to use something like if(!SpawnSpotForced("dummy",TID)) if you really have to be sure the TID is free and as you can imagine, that resource and bandwidth costly. The second function is not that important, and can be written in ACS, but those two functions better to come in pair, since one uses another. | ||||||||
Additional Information | I work on a mod that to be compatible w/ the most other modifications uses only free TIDs, and I imagined how horrible is the fact every call to UnusedTID() (my implementation of UniqueTID()) counts all actors present! | ||||||||
Attached Files | 1924.wad [^] (10,077 bytes) 2015-11-26 21:52 | ||||||||
Relationships | ||||||
|
Notes | |
(0010213) Monsterovich (reporter) 2014-08-17 15:54 edited on: 2014-08-17 15:59 |
I think, it's possible to backport all acs functions from 2.7.1 to zan 2.0. For example: GetActorClass is VERY useful for modders and for me too, but it's 2.7.1. D: |
(0010244) Torr Samaho (administrator) 2014-08-31 19:19 |
I started some experiments on this in the accounts branch:'https://bitbucket.org/Torr_Samaho/zandronum-accounts [^]' |
(0010246) Edward-san (developer) 2014-09-01 08:15 edited on: 2014-09-01 08:15 |
The UniqueTID stuff has a problem with overflow checking and with input parameters, so there are two commits that I made to fix it in zdoom:'https://github.com/rheit/zdoom/commit/2501dc6df68e749094b4517a48c81f9a7b4fe1d2 [^]' and'https://github.com/rheit/zdoom/commit/f44dc926e6880777f96f884b42e4dd95f665b097 [^]' |
(0010247) ZzZombo (reporter) 2014-09-04 06:28 |
Played with the new binary given by Mazter, can confirm string manipulation and most of used functions work fine. For the rest I can't say. |
(0010283) Torr Samaho (administrator) 2014-09-21 15:33 |
I ported the two patches mentioned in 0001924:0010246 and transplanted everything to our main repository. |
(0013886) arkore (reporter) 2015-11-26 21:54 |
I tested this (1924.wad) with: - latest zan3 build r151123-1947-980fac1 (offline) - latest zan3 build r151123-1947-980fac1 (online) - gzdoom 1.8.6 (offline) Results were as expected. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | Monsterovich |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2014-08-17 15:21 | ZzZombo | New Issue | |
2014-08-17 15:54 | Monsterovich | Note Added: 0010213 | |
2014-08-17 15:54 | Monsterovich | Note Edited: 0010213 | View Revisions |
2014-08-17 15:56 | Monsterovich | Note Edited: 0010213 | View Revisions |
2014-08-17 15:57 | Monsterovich | Note Edited: 0010213 | View Revisions |
2014-08-17 15:59 | Monsterovich | Note Edited: 0010213 | View Revisions |
2014-08-17 15:59 | Monsterovich | Note Edited: 0010213 | View Revisions |
2014-08-31 19:19 | Torr Samaho | Note Added: 0010244 | |
2014-09-01 08:15 | Edward-san | Note Added: 0010246 | |
2014-09-01 08:15 | Edward-san | Note Edited: 0010246 | View Revisions |
2014-09-04 06:28 | ZzZombo | Note Added: 0010247 | |
2014-09-21 15:33 | Torr Samaho | Note Added: 0010283 | |
2014-09-21 19:22 | Dusk | Assigned To | => Torr Samaho |
2014-09-21 19:22 | Dusk | Status | new => needs testing |
2015-05-10 22:15 | WaTaKiD | Target Version | => 3.0 |
2015-05-10 22:15 | WaTaKiD | Relationship added | child of 0002172 |
2015-11-26 21:52 | arkore | File Added: 1924.wad | |
2015-11-26 21:54 | arkore | Note Added: 0013886 | |
2015-11-28 19:53 | Dusk | Status | needs testing => resolved |
2015-11-28 19:53 | Dusk | Fixed in Version | => 3.0 |
2015-11-28 19:53 | Dusk | Resolution | open => fixed |
2018-09-30 22:15 | Blzut3 | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |