Aller au contenu

Photo

Gann will not join Anya's Dream


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

#1
Rando80

Rando80
  • Members
  • 16 messages

I can get into Anya's dreamscape, but only with my main character. When I approach Anya and Sir Gann a dialog box opens, but after a few continues it closes and I can't do anything else. I'm pretty sure Gann is supposed to be in the dream with me, but I can't get him there.

 

I tried rs ga_roster_party_add gann     He will join me, but it doesn't do anything to progress the dream.



#2
Rando80

Rando80
  • Members
  • 16 messages

nm I fixed it with rosteradd



#3
kevL

kevL
  • Members
  • 4 052 messages

MotB is usually pretty darn solid, scriptwise. So I wonder if your OS is having troubles saving the globals.Xml file

it'd be a Permissions/UAC/whatever-they-call it thing with windows® post-XP.


I'm not saying that's def. why you got a couple bugs in MotB; just keep your mind open to it if you get another, and a quick google for "nwn2 permissions bug" ought show all that's known about the 'syndrome'



#4
Rando80

Rando80
  • Members
  • 16 messages

Thanks... I'm going to be looking that up. I got through the dream sequence fine, but when my character came out of the dream, there are 2 Ganns in my party. One is level 26 and the one that I "partyadd" is 18. The level 26 can be removed from party, but the 18 remains no matter what I do. I have no idea how to get rid of the level 18 Gann



#5
kevL

kevL
  • Members
  • 4 052 messages

Thanks... I'm going to be looking that up.

any reports?

 

that is, it's kinda pointless fixing Gann if the P-bug is lurking ...



#6
Rando80

Rando80
  • Members
  • 16 messages

I'm still searching, but mostly what comes up are threads that you tell people their problem looks like the permissions bug. I can't find much info on how to correct it. Typically I have decent search engine skills, but I feel like I'm failing finding this



#7
kevL

kevL
  • Members
  • 4 052 messages

here's the original thread, i believe
Stuck at bandit Camp

and drethnor's post about a permanent fix
Possible Fix for ...


y, they don't really say "permissions bug" ..



#8
kevL

kevL
  • Members
  • 4 052 messages

ps. but I don't really believe that's it.

If you have a save, preferably before the dream sequence, we can prob. set it up right w/ the console

 

( getting rid of one of the two Ganns could be more problematic )



#9
Rando80

Rando80
  • Members
  • 16 messages

I have a save right before entering the dreams of the Coven Hags. I'm pretty sure Gann is supposed to (or can) enter these dreams with my main character, but so far he has never entered a dream with my character.



#10
kevL

kevL
  • Members
  • 4 052 messages

well i poked around in Dreamscape enters & exits ...

it appears that Gann should always enter dreamscapes if he's in the party.

It doesn't look like an issue of globals not saving either. The permissions bug would manifest when exiting a dreamscape, and then only if you'd saved and reloaded in the dreamscape. that's how i think of it ... /shrug


Do you have a party when entering a dreamscape, then once inside they're all gone, as they should be (except Gann)?
And when you exit the dreamscape, do they all return to Party okay?


All I can suggest for now, is use the idea you had w/ the console. But remove Gann first before re-adding him.

rs ga_roster_party_remove("gann", "$OBJECT_SELF")

rs ga_roster_party_add("gann")



try them immediately *after* entering a dreamscape,

( can't shake the idea there's a deeper 'annoyance' going on tho )



#11
Rando80

Rando80
  • Members
  • 16 messages

Ok, so I did what you recommended (at least if I understood correctly). I entered the dream and did the following:

 

debugmode 1

rs ga_roster_party_remove("gann", "$OBJECT_SELF")

rs ga_roster_party_add("gann")

debugmode 0

 

When Gann spawned he was level 18, but had the experience to level to 25. I got a bad feeling about that, but completed the dream. When the dream finished, once again I had two Ganns in my party.So I reloaded my original save with the intention to remove Gann before going into the dream, but even though the first command stated "Virtual Machine reports successful execution of script ga_roster_party_remove for Object Randorin Shadefate" Gann is still in the party. So for whatever reason I can't remove Gann in a save that a duplicate Gann has never occured in. I'm guessing this is the main problem, but I don't know what to do about it



#12
kevL

kevL
  • Members
  • 4 052 messages
it's sounding like Gann's tag and/or rosterTag are wonky.

Any chance you can open the toolset and compile a script ( then run it from console )?
 
// 'testcomp'
//
// control PC and target a Companion.

// helper:
void Tell(string sTell){SendMessageToPC(GetFirstPC(FALSE), sTell);}

// MAIN:
void main()
{
    Tell("\nrun ( testcomp ) " + GetName(OBJECT_SELF));

    object oComp = GetPlayerCurrentTarget(OBJECT_SELF);
    Tell(". name : _" + GetName(oComp) + "_");
    Tell(". tag : _" + GetTag(oComp) + "_");
    Tell(". roster : _" + GetRosterNameFromObject(oComp) + "_");

    Tell(". . Roster List");
    string sRost = GetFirstRosterMember();
    while (sRost != "")
    {
        Tell("_" + sRost + "_");
        sRost = GetNextRosterMember();
    }
}

if not, I can compile it and put it on dropbox. Here is what i get with an old Savegame:

NWN2_SS_050514_044358_c.jpg


note, i put underscores before and after each name to check if there are spaces (there shouldn't be) ...

Modifié par kevL, 05 mai 2014 - 10:49 .


#13
Rando80

Rando80
  • Members
  • 16 messages

I did my best to follow your instructions, but I'm not familiar with the toolset program. I opened toolset, right-clicked in the script tab, selected 'add', copied your script into the box, renamed 'script1' to 'testcomp', File -> Complile -> All Open Scripts. I then pressed 'save' in the verify box and name it 'testcomp.txt'. That file is saved in the root nwn2 folder.

 

At that point I opened nwn2, loaded my save...

 

debugmode 1

rs testcomp

 

The console then tells me, "Virtual Machine reports unsuccessful execution of script testcomp for object Randorin Shadefate"

 

I'm assuming I complied the script incorrectly



#14
Rando80

Rando80
  • Members
  • 16 messages

I also get a NWN2 Toolset window that pops up and says...

 

This module does not have a valid start location and will not work when run in game. Are you sure you want to save it?



#15
kevL

kevL
  • Members
  • 4 052 messages


I also get a NWN2 Toolset window that pops up and says...
 
This module does not have a valid start location and will not work when run in game. Are you sure you want to save it?


Turn off Autosave in options !!!

And you don't have to save the module at all, to work on a script -- in fact don't do that. Just open the script and F7 it (see below)



I did my best to follow your instructions, but I'm not familiar with the toolset program. I opened toolset, right-clicked in the script tab, selected 'add', copied your script into the box, renamed 'script1' to 'testcomp', File -> Complile -> All Open Scripts. I then pressed 'save' in the verify box and name it 'testcomp.txt'. That file is saved in the root nwn2 folder.


Sounds pretty good so far. Except it shoulda been saved as 'testcomp.nss'

Fix it without the toolset open: rename it in Windows Explorer. Also look for 'testcomp.ncs' -- if you see it, delete it (it's the compiled file).

Then move the .NSS file to your Docs\NwN2\Override folder.


Now Open the toolset, go to File->Open Script or Conversation, and open the script. Make sure it still looks good, if not repaste it from above.

then a simple F7 or Save and Compile works (no need to Compile All, tho i guess it doesn't really matter), and it should either create a new .NCS file alongside the .Nss ( or give an error ).

At that point I opened nwn2, loaded my save...
 
debugmode 1
rs testcomp


that how it works, yep. Control your main PC and have Gann targetted

#16
Rando80

Rando80
  • Members
  • 16 messages

this is what came back... (I can't figure out how to post a screenshot in the time I have before work)

 

.name:_Gann_

.tag:_gann_

.roster:_RID20845_

..Roster LIst

_safiya_

_gann_

_okku_

_dove_

_oneofmany_

_RID20845_

 

 



#17
kevL

kevL
  • Members
  • 4 052 messages

well i never .......

looks like you have an extra Gann on the roster, and it's trying to turn into R2D2

So ...
have a look in the savegame folder, the same game that you ran the script against. Companions are saved as .Ros files, one for each on your roster, whether or not they're currently in your party.

I don't know what you'll find but I'm suspecting one is named 'RID20845.ros' or perhaps 'gann(2).ros' or .... there should be only one .Ros for each possible companion.

offhand -- and note i'm speculating -- if one is named funny it should be deleted. But that won't fix things yet. I think they can be fixed with TlkEdit2

but I'll wait until hearing what you find in the save folder,



#18
Rando80

Rando80
  • Members
  • 16 messages

Ok, I checked all my saves and RID20845.ros was present in all of them. I deleted it from all the saves, but now when I start the save before the coven dreams Gann is missing from my party all together. When I run the testcomp script _RID20845_ still shows in my log



#19
Rando80

Rando80
  • Members
  • 16 messages

I also just noticed this... All my characters last saved date and time are 5/5/14 12:35 AM except for Gann who's last saved date and time is 5/2/14 11:53 PM. 

 

After backing up the files, I tried to rename RID20845.ros to gann.ros and see what happened when I loaded that save. Gann was still not present and I was not able to add him to my party through rs ga_party_roster_add("gann")

 

When I looked at the file ROSTER.rst I noticed in the gibberish that there was a place where all the companions had their command prompt name followed by their character name. For the most part they are exactly the same except for 'dove' 'Kaelyn the Dove' and 'RID20845' 'Gann'. Earlier in the file there was 'gann' 'Gann'. None of this may be important (or make sense), but I just wanted to add any info I have come across



#20
Rando80

Rando80
  • Members
  • 16 messages

Oh and nowhere in my globals.txt is RID28045 mentioned



#21
kevL

kevL
  • Members
  • 4 052 messages

the app TlkEdit2 i mentioned edits .Ros files

I don't think we strictly need it tho.

( But it does show internal fields for "Tag" & "RosterTag" ...)


Here are some ideas on how to proceed:

- load a game with Gann in the party, and transfer his equipment to other party members (not necessary, but hey. ).
- console,

rs ga_roster_party_remove("RID20845", "$OBJECT_SELF")
rs ga_roster_party_remove("gann", "$OBJECT_SELF")
rs ga_roster_remove("RID20845")
rs ga_roster_remove("gann")


- Save to a new slot. Close game.
- delete either/both those .Ros files from the new save folder.
- then reLoad the save and run,

rs ga_roster_add("gann", "co_gann")
rs ga_roster_party_add("gann")


- if it goes well, give Gann his stuff back and level up.

 

 

oh, and finally rerun 'testcomp' to see how it looks



#22
Rando80

Rando80
  • Members
  • 16 messages

Ok, so that seemed to go well. The only problem now is that Gann is level 18 and has 0 xp. When I talked to the hags and entered the dream, Gann automatically joined. So I think you cleared out the problem. I just don't know how to change Gann's and only Gann's xp.



#23
4760

4760
  • Members
  • 1 204 messages

If I remember the way it works:

- select Gann (normally, you'll have to click on him after, but just in case...)

- open the console

- type "dm_givexp 12345" (where 12345 is the number of experience you want to give)

- click on Gann

- close the console.

 

Good luck!



#24
Rando80

Rando80
  • Members
  • 16 messages

Thanks, that did it. 

 

And thank you kevL for all of your help. There is absolutely not a possibility I could have fixed that myself



#25
kevL

kevL
  • Members
  • 4 052 messages

ok :)