Very weird ability replacement

emjlr3

Change can be a good thing
Reaction score
396
Just something I noticed while messing around

An ability, based off channel, is used to cast an ability, Slow Time. I am using a spellbook with the endurance aura as an ability to add a slowing buff to affected units.

Strangest thing happens when the unit becomes afflicted with the Slow Time buff. The original Slow Time ability icon and name is replaced with the endurance aura dummy ability inside the spell book, but still retains the original tooltip and casting ability.

The Slow Time ability has rawcode SLOW and the endurance aura dummy ability has rawcode slow. The rawcodes seem to be interfering somehow... Changing them fixes the problem.

Maybe this is expected, but I figured rawcodes were case sensitive...
 

EspadaDelRey

New Member
Reaction score
3
Capital letter at the beginning of the raw code makes a unit a hero. Emulate the raw codes Blizzard uses for a professional look. Like, slow and slo2.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Rawcodes should be case-sensitive, but who knows what weird stuff goes on behind the scenes. I had a crashing bug with some uppercase/lowercase confusion, once.

Aren't abilities supposed to always start with "A" anyway, buffs with "B"?

In any case, this could be a very cool trick to change ability icons, if it always works. Perhaps you could test it some more. (There's no possibility of some Engineering Upgrade foolery happening, is there?)

Capital letter at the beginning of the raw code makes a unit a hero. Emulate the raw codes Blizzard uses for a professional look. Like, slow and slo2.
True, but irrelevant to the question...
 

EspadaDelRey

New Member
Reaction score
3
For the record, the first question was asked in post #3.
If you run DotA hotkey changer program and open up the customkeys.txt file, every entry is all lowercase. However, if you convert the data into numbers(I'm not sure what these numbers are), you get to see this.
'SLOW'=0x534C4F57
'slow'=0x736C6F77
So indeed, there appears to be contradiction. I only found using spell books to be confusing. Maybe you should try using the Libram system?
 

emjlr3

Change can be a good thing
Reaction score
396
Rawcodes should be case-sensitive, but who knows what weird stuff goes on behind the scenes. I had a crashing bug with some uppercase/lowercase confusion, once.

Aren't abilities supposed to always start with "A" anyway, buffs with "B"?

In any case, this could be a very cool trick to change ability icons, if it always works. Perhaps you could test it some more. (There's no possibility of some Engineering Upgrade foolery happening, is there?)


True, but irrelevant to the question...
would be kind of neat - i dont really have the time to mess around with it - but if someone else wants to be my guest.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Cool, enjoy your vacation!
  • The Helper The Helper:
    Have a great vacation Tom!
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday Night!
    +1
  • The Helper The Helper:
    Going out of a town for the weekend will be back sunday night! Hope everyone has a great weekend!
    +2
  • The Helper The Helper:
    Happy Monday!
  • Ghan Ghan:
    Monday? Speak for yourself. :p
    +2
  • The Helper The Helper:
    Happy Taco Tuesday!
    +1
  • The Helper The Helper:
    Tacos! :)
  • The Helper The Helper:
    Check out the discord for taco pictures :) You cannot put pictures in this chat
    +1
  • The Helper The Helper:
    Damn here come the bots again - 193 online but they are totally invisible to any stats - bunch of bots!'
  • C cubanismo:
    Re: Taco Tuesday, if there were some way to share edible tacos over the internet, technology would be complete.
    +2
  • The Helper The Helper:
    One can only wish!
  • tom_mai78101 tom_mai78101:
    I'm back from Taiwan
    +1
  • The Helper The Helper:
    I am reorganizing the site I know nobody will notice but I am not done quite yet but the main forums order has been changed and there is a new news category in Other News which is all the remaining headline news stuff not categorized - Headline News is just the stuff that shows on the main page now and the news archive is off the main forums page
  • The Helper The Helper:
    and the real archive lives off of headline news

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top