Aller au contenu

Photo

Workrounds for setXP


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
thosrtanner

thosrtanner
  • Members
  • 21 messages
I found today that calling setXP on a character who has red dragon disciple levels does some very odd things. I thook all their XP away, and they ended up with a STR of MINUS 50.

I think that's wrong...

Does anyone have any scripts to work around this for a persistent world.

#2
c i p h e r

c i p h e r
  • Members
  • 261 messages
I thought attributes were hardcoded so they could not go below 3. Has the character file been modified in some way externally? (or with something like LETO?)

#3
thosrtanner

thosrtanner
  • Members
  • 21 messages
Nope. It seems to remove strength just because I have a RDD level.

#4
rjshae

rjshae
  • Members
  • 4 505 messages
Yes that is strange. Does the character satisfy the other requirements for a Red Dragon Disciple? If it isn't, perhaps that is causing the game engine to process an incorrect row from the data?

#5
thosrtanner

thosrtanner
  • Members
  • 21 messages
Yes. It's peculiar. I think it must be something corrupt somewhere - I've just created another PC, levelled up, taken dragon disciple levels, and levelled down, and everything was fine.

Looks like I'll have to stare hard at the bic file till I work out what's going wrong.

It was exported from a PW some time ago, so there may have been some issue there. Given that some characters exported from PWs have had some very strange behaviours (suddenly having no name for instance)

Modifié par thosrtanner, 04 février 2011 - 06:07 .


#6
c i p h e r

c i p h e r
  • Members
  • 261 messages
Or just rebuild the character using the latest patch and haks and call it a day. Chances are, there's some value or 2da reference embbeded in the bic file that's "faulty" under your new setup. I have problems with old BICs all the time when I modify character related 2DAs. Usually, it just crashes the server.

#7
NWN DM

NWN DM
  • Members
  • 1 126 messages
If you exported from a PW, likely they were using a hak that made some modifications. If you try to use the PC in a module where the hak isn't associated with it, you will get much strangeness.