lfnetwork.com mark read register faq members calendar

Thread: K1 Pazaak Problems
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-15-2013, 02:05 PM   #1
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
K1 Pazaak Problems

Hey there all ye experienced modders! I have some questions about a couple of pazaak players that have been bugging me for some time.

The first is Gonto Yas, the pazaak player on Manaan. Every time you initiate a conversation with him and every time you win or lose a pazzak game, he spouts the same lines about how the Sith destroyed the Dantoone enclave. Now, I can see in his dlg file that other options are listed, such as different reactions if you beat him, lose to him, etc. Also you can play pazaak with him indefinitely, but in the dlg file you can see that after you beat him 10 times he's supposed to refuse playing you anymore.

A similar thing exists with Toll Apkar on Korriban. You can play with him indefinitely for a small amount of credits, but again the dlg file says that after 10 games he's supposed to offer you some cards and then, when you win, refuse to play anymore pazaak.

Now, my questions are:
1) Is this the fault of the scripts or something with the dlg files?
2) Can it be fixed?
3) And if it can, how?


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper


Last edited by Red Hessian; 07-15-2013 at 02:15 PM.
Red Hessian is offline   you may: quote & reply,
Old 07-15-2013, 02:45 PM   #2
milestails
Junior Member
 
milestails's Avatar
 
Join Date: May 2011
Posts: 278
Interesting find...
milestails is offline   you may: quote & reply,
Old 07-15-2013, 10:00 PM   #3
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,286
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
First off, awesome find.

1. Without looking at the stuff myself - I have no clue. I'll take a look a bit later when I'm on my computer.

2. Should be very fixable.

3. It all depends on what's wrong with it.

I should have enough time to fix it within a week or so.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 07-16-2013, 06:12 AM   #4
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
Thanks, FG! Looking forward to it.


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-17-2013, 10:07 AM   #5
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
I am very much looking forward to it too.

When you're ready with it, could you share it with us, Fallen Guardian?
Salk is offline   you may: quote & reply,
Old 07-17-2013, 10:29 AM   #6
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,286
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Yep, that's what I intend to do.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 07-17-2013, 12:35 PM   #7
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Fallen Guardian,

I take the opportunity to ask you if it is possible to convert compiled scripts to their source (.ncs files to .nss files) because I would have liked to check many scripts that KotOR reports only as compiled .ncs files under RIMS->Modules->xxxxyyxx_s.rim->Scripts, Compiled.

Or are the source files to be found somewhere else?

Thanks!
Salk is offline   you may: quote & reply,
Old 07-17-2013, 01:35 PM   #8
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 326
Current Game: Modding.. Wait is that a game?
Quote:
Originally Posted by Salk View Post
Fallen Guardian,

I take the opportunity to ask you if it is possible to convert compiled scripts to their source (.ncs files to .nss files) because I would have liked to check many scripts that KotOR reports only as compiled .ncs files under RIMS->Modules->xxxxyyxx_s.rim->Scripts, Compiled.

Or are the source files to be found somewhere else?

Thanks!
Not to steal the limelight from Fallen Gaurdian but I was here so I thought I would help you out.

First off in kotor tool if your looking at TSL there are MANY scripts and while not all of them will work with KotOR1 they will at least help you.

There is also a program called DeNCS that can decompile alot of scripts to thier original nss form (no it will not work on all scripts but its a start)
http://www.lucasforums.com/showthread.php?t=149198

Hope I Helped- Supreme Kotor


Current WIP: Learning to mod Kotor
supreme kotor is offline   you may: quote & reply,
Old 07-18-2013, 12:08 AM   #9
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Thanks for the help, supreme kotor.

I am actually working with the first game, not TSL. I tried using that software you recommend and I am happy to see it work well for a number of scripts. It's such a sad thing that it had not been developed further to increase compatibility with KotOR scripts though. The decompiler fails with many unfortunately. But yes, it helped me a lot!

Last edited by Salk; 07-28-2013 at 02:56 AM. Reason: Corrections made
Salk is offline   you may: quote & reply,
Old 07-18-2013, 04:19 AM   #10
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
How about you guys sort this out between yourselves with PM's instead of hijacking my thread which is completely unrelated to Salk's question, hmm?


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-18-2013, 10:10 AM   #11
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Point taken, Red Hessian.

Truth to be told though, it has to do with your OT because if I had the means and help, I might try and contribute something in order to make the two pazaak players no longer play endlessly.
Salk is offline   you may: quote & reply,
Old 07-22-2013, 01:01 AM   #12
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,286
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Well it turns out I didn't have as much free time as I thought I would. I should still be able to get this done, hopefully by July 30-31st at the latest.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 07-22-2013, 04:00 AM   #13
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
No problem. Take your time, no need to hurry.


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-25-2013, 09:42 AM   #14
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
For Red Hessian's problem with Gonto, I think the issue is in the script k_pman_planet28:

Code:
int StartingConditional()
{
    int iResult;

    iResult = ((GetGlobalNumber("DAN_PLANET_PLOT") == 3) && (GetGlobalBoolean("MAN_GONTOD_DONE") == FALSE));
    if (iResult)
        SetGlobalBoolean("MAN_GONTOD_DONE", TRUE);

    return iResult;
}
it is missing the {} for the if condition so instead of being fired once it's fired every time. More experienced modders feel free to correct me, please. I can't at the moment test it myself. EDIT: I can correct myself. The missing parenthesis have nothing to do with it!

Last edited by Salk; 07-28-2013 at 02:57 AM. Reason: Wrong assumption
Salk is offline   you may: quote & reply,
Old 07-25-2013, 11:04 AM   #15
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
Nope, doesn't work. He still says it every time you speak to him and every time you win or lose a pazaak game.


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-25-2013, 11:58 AM   #16
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Red Hassian,

could you please upload your Save Game somewhere so that I can try it myself?

Thanks!
Salk is offline   you may: quote & reply,
Old 07-25-2013, 12:59 PM   #17
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
Here:

http://www.mediafire.com/download/am...w81j4/Save.rar


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-26-2013, 02:34 AM   #18
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Red Hessian,

your problem is solved.

Just unzip these files in your Override and it's all done. The problem was a typo in the MAN_GONTOD_DONE variable. Such variable is not declared, stopping the script to ever returning false. It was enough to change GONTOD with GONTOR. I have also restored a part of the dialogue that was unused.


Once I am in Korriban, I will see if I can fix the problem with Toll Apkar.

EDIT: I talked too soon. Fixed version is two posts under.

Last edited by Salk; 07-26-2013 at 08:06 AM. Reason: New version uploaded
Salk is offline   you may: quote & reply,
Old 07-26-2013, 04:46 AM   #19
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
Umm no, it's not. Yes, he now has the Dantooine greeting only once, but now he has his default greeting ("I wasn't expecting guests...") when you win/lose a pazaak game.

And, even more critically, now there's no dialogue option to play pazaak with him when you talk to him for the second time.

No offence mate, but I'd rather wait and see what Fallen Guardian comes up with.


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-26-2013, 08:02 AM   #20
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Red Hessian,

I reuploaded a new version that should take care of it. Please be so kind as to try one last time and tell me if it's all right. Now you can play pazaak (choosing "I want to ask you some questions") every time and he'll refuse to play after you win 10 times.

The greeting line "I wasn't expecting guests..." is said only the first time you talk to him. After that, it speaks the line about Dantooine only if, like in your save game, Dantooine has been destroyed.

Otherwise the default one is the usual "I hope you are here...".

Here's the link: https://docs.google.com/file/d/0B9_1...1CMFRUVUU/edit

Last edited by Salk; 07-26-2013 at 08:09 AM.
Salk is offline   you may: quote & reply,
Old 07-26-2013, 01:55 PM   #21
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
Tested it and everything works perfectly: the greetings, the responses and he stops playing after 10 wins. Good job!


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Old 07-26-2013, 02:35 PM   #22
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
I am sorry the first attempt was a failure but I am glad that things work fine now.

I am particularly happy I could restore a good chunk of unused spoken dialogue even if the "I wasn't expecting guests..." part was supposed to happen in his room.

And then there is a big part of dialogue about a Pazaak Tournament that was never included in the final game. Too bad.
Salk is offline   you may: quote & reply,
Old 07-26-2013, 03:09 PM   #23
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 544
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by Salk View Post
And then there is a big part of dialogue about a Pazaak Tournament that was never included in the final game. Too bad.
Could be a nice mod...K1 or TSL you think?


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 07-26-2013, 04:02 PM   #24
milestails
Junior Member
 
milestails's Avatar
 
Join Date: May 2011
Posts: 278
Downloading the Gonto Yas fix!
milestails is offline   you may: quote & reply,
Old 07-27-2013, 01:55 AM   #25
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Quote:
Originally Posted by Fair Strides 2 View Post
Could be a nice mod...K1 or TSL you think?
I actually don't think it'd be such a nice addition.

I don't really like Pazaak so the less the better. Furthermore I suspect Bioware originally intended him to be in the locked room in the Hotel and it'd feel strange to have somebody there you can't talk to about the Sunry case.

Last edited by Salk; 07-28-2013 at 02:59 AM.
Salk is offline   you may: quote & reply,
Old 08-01-2013, 09:08 AM   #26
Salk
Rookie
 
Join Date: Apr 2010
Posts: 73
Current Game: Knights of the Old Republic
Okay, here's the second fix for Toll Apkar on Korriban.

There were several problems with it:

1) the script k_pkor_tolpazend was buggy and the player would never go positive in the win/loss ratio because of it

2) there were several node duplications that have been removed

3) after 10 victories Toll will bet his cards instead of credits - the player correctly loses 100 credits if this pazaak match is lost and receive Toll's prize cards if he wins. In the latter case, Toll leaves. A new dialogue line has been created in order to accomplish this and make sense of what happened

The files need to be unzipped in the Override.

Here's the link: https://docs.google.com/file/d/0B9_1...RYVWdzREE/edit
Salk is offline   you may: quote & reply,
Old 08-02-2013, 05:15 AM   #27
Red Hessian
Junior Member
 
Red Hessian's Avatar
 
Join Date: Dec 2007
Location: Bliss, Mania
Posts: 275
Current Game: Oblivion
Tested it, everything works. Once again, good job!


Motion with no sound
Ice inside the fire
The stillness in the storm
Silence hides the sniper

Red Hessian is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > K1 Pazaak Problems

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:17 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.