Author Topic: Script issue with adjust reputation  (Read 549 times)

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Script issue with adjust reputation
« Reply #30 on: January 25, 2012, 01:55:52 am »


               @Melkior_king.    Are you suggestion that the Creature be made plot to stop the Error from occuring?  

The Error we are seeing is in the function when uses with non plot creatures.   There is no Error if the function is used just once.  If it is used more then once the Error occures.  Per virusman, It seems to be the arguments getting pushed onto the stack in the wrong order, Or at least I think that is what he is saying.
               
               

               
            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Script issue with adjust reputation
« Reply #31 on: January 25, 2012, 05:07:04 am »


               It appears to be stacking only if the faction reputations are equal in the module settings.
If you set it to different numbers, you'll see that it's actually not stacking. If you adjust Faction1->Faction2 reputation by 10, it'll take Faction2->Faction1(!) reputation, add 10 and assign that as Faction1->Faction2 reputation.
               
               

               
            

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
Script issue with adjust reputation
« Reply #32 on: January 26, 2012, 12:43:32 pm »


               Thanks Lightfoot8 & virusman.  I think I misunderstood the problem.  All the same, it's worth mentioning that the reputation adjustments don't work correctly on plot NPCs.

I'm not sure if I've seen the bug the OP was talking about.  I'll be watching this thread with interest to see if there's more information and especially if anyone knows how to avoid it.