Jump to content


Photo

Writing into that memory space


  • Please log in to reply
9 replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 25 December 2017 - 01:46 PM

We recently had a conversation about spell states above 255. There were some worries that adding these states to creatures would overwrite something else, then kjeron said that it's the other way around and some creatures may always appear as being in those extra states even when they are not, like creatures with negative cold resistance. I replied that I put a class check before the spell state check and have other precautions and limitations, so that issue is finished. But I would like to know whether there are really ways to change other fields and write where the normal functions don't go, for example, whether some action out of bounds can affect the XP value of a creature. It's something I would like to be able to control in-game, but the action list only lets me set XP value to zero.



#2 subtledoctor

subtledoctor
  • Modder
  • 656 posts

Posted 25 December 2017 - 09:52 PM

This post:

https://forums.beamd...#Comment_901480

 

...suggests you could badly screw up something else.

 

Not XP, though.



#3 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 26 December 2017 - 09:08 AM

370 ChangeStat(O:Object*,I:Stat*Stats,I:Value*,I:Modifier*StatMod)
 

Avenger

#4 temnix

temnix
  • Member
  • 983 posts

Posted 26 December 2017 - 03:14 PM

And does this one actually work? There are stats that can't be changed.

 

To subtledoctor:

 

These are all a one-way influence, they will set the spellstates, but the spellstates have no effect on the value used by them if you were to set them manually through opcode 328/335.

 

But it still worries the halflings of Gullykin, I'm sure.



#5 subtledoctor

subtledoctor
  • Modder
  • 656 posts

Posted 26 December 2017 - 03:30 PM

Stay classy buddy.

#6 temnix

temnix
  • Member
  • 983 posts

Posted 26 December 2017 - 05:09 PM

Just wonder if you can't read or prefer to talk wrongly and off-topic.



#7 subtledoctor

subtledoctor
  • Modder
  • 656 posts

Posted 26 December 2017 - 09:02 PM

Yup, I was mistaken. Was focused on other parts of that thread and didn't bother to read the uninteresting parts. You could literally just say something like "you're wrong." And you would be right, AND not an asshole. Imagine that! (Well, okay, you'd probably still be an asshole in private, but at least it wouldn't show.)

Right then, go back to peddling your bug-ridden vaporware.

#8 temnix

temnix
  • Member
  • 983 posts

Posted 27 December 2017 - 08:43 AM

e=Mc2



#9 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 27 December 2017 - 04:04 PM

And does this one actually work? There are stats that can't be changed.

 

As far as i know, it works for the xp worth stat and that was the question.


Avenger

#10 temnix

temnix
  • Member
  • 983 posts

Posted 28 December 2017 - 07:27 AM

Good.