• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Ability indexin

Status
Not open for further replies.
Level 45
Joined
Feb 27, 2007
Messages
5,578
No. You can build a database that works for your map, but an ability indexer that works anywhere in any map is not a thing. Why? Because there are at minimum 36^4 = 1679616 different combinations of alphanumeric rawcodes for abilities (with lowercase it’s 62^4 instead). It’s impossible to check them all rapidly and without causing multiple op-limit thread crashes.

If you restrict abilities in your map with some rules about rawcodes (only use the default A000, A001, etc; start abilities with the only a few different 2-letter combinations; only use numbers) then you can build an ability indexer for your map. But it would still only work in your map.
 
Level 4
Joined
Oct 24, 2021
Messages
61
No. You can build a database that works for your map, but an ability indexer that works anywhere in any map is not a thing. Why? Because there are at minimum 36^4 = 1679616 different combinations of alphanumeric rawcodes for abilities (with lowercase it’s 62^4 instead). It’s impossible to check them all rapidly and without causing multiple op-limit thread crashes.

If you restrict abilities in your map with some rules about rawcodes (only use the default A000, A001, etc; start abilities with the only a few different 2-letter combinations; only use numbers) then you can build an ability indexer for your map. But it would still only work in your map.
I only want it for the pasibos that regenerate life and mana
 
Status
Not open for further replies.
Top