Jump to content

Home

Help Me Cheat!!!!!! >_<


Boran

Recommended Posts

Can anybody tell me how to make this script so if I lose at pazaak, I win?

I copied and pasted the script from the original game and need help modifying it.

Here is the exact script:

 

 

 

 

// if the player just lost a pazaak game

 

int StartingConditional()

{

int iResult, t;

 

iResult = ((GetGlobalBoolean("G_Paz_JustPlayed") == TRUE) && (GetLastPazaakResult()==0));

t = GetGlobalNumber("MAN_GONTON");

SetGlobalNumber("MAN_GONTON", t + 1);

 

return iResult;

}

Link to comment
Share on other sites

This is if the player wins...I am NO scripter or even half-scripter... When I tryed with C# could barely understand the Hello World program I found in one of the misc books I got...

Anyway please post the changes I should make! It would help me beat the championship of Pazaak. thanks!

 

NOTE: I did NOT misspell anything inside the script. Those errors were made by BioWare Not by me :p

 

Here is the exact script:

 

 

 

 

// if thep layer just won a pazaak game

 

int StartingConditional()

{

int iResult, t;

 

iResult = ((GetGlobalBoolean("G_Paz_JustPlayed") == TRUE) && (GetLastPazaakResult()==1));

t = GetGlobalNumber("MAN_GONTON");

SetGlobalNumber("MAN_GONTON", t + 1);

 

return iResult;

}

Link to comment
Share on other sites

Originally posted by Hannibal

:lol: That "Hello World" program brings back memories. Is that the introductory program for every programming class? :D

 

Hehe it prolly is :p

 

 

I tryed changing it to a 0 but it did nothing... If it is the same as the win script wont it just fire the script twice?

I dunno I suck at scripting.

Link to comment
Share on other sites

Hello Boran,

 

You cannot change the outcome of Pazaak directly with scripting because it is a minigame. The script you posted is a conditional script so that dialog resumes appropriately (eg. "Pazaak is not for everyone"). The credits will be deducted by the Pazaak minigame automatically.

 

However, you can make the script you posted give you credits if you lose. You could modify it to something like this:

Can anybody tell me how to make this script so if I lose at pazaak, I win?

I copied and pasted the script from the original game and need help modifying it.

Here is the exact script:

 

// if the player just lost a pazaak game
int StartingConditional()
{
int iResult, t, nGP;

//the amount of 'consolation' credits to get if you lose
nGP = 500;  


iResult = ((GetGlobalBoolean("G_Paz_JustPlayed") == TRUE) && (GetLastPazaakResult()==0));
if (iResult) {
 GiveGoldToCreature(GetFirstPC(), nGP);
}
t = GetGlobalNumber("MAN_GONTON");
SetGlobalNumber("MAN_GONTON", t + 1);
return iResult;
}

 

Note, this script that you posted that I have modified appears to be specific to a particular Pazaak game, apparently one that is played on Manaan. You will have to do something similar to other scripts if you want to continue your cheating frenzy.

Link to comment
Share on other sites

Originally posted by tk102

Hello Boran,

 

You cannot change the outcome of Pazaak directly with scripting because it is a minigame. The script you posted is a conditional script so that dialog resumes appropriately (eg. "Pazaak is not for everyone"). The credits will be deducted by the Pazaak minigame automatically.

 

However, you can make the script you posted give you credits if you lose. You could modify it to something like this:

Can anybody tell me how to make this script so if I lose at pazaak, I win?

I copied and pasted the script from the original game and need help modifying it.

Here is the exact script:

 

// if the player just lost a pazaak game
int StartingConditional()
{
int iResult, t, nGP;

//the amount of 'consolation' credits to get if you lose
nGP = 500;  


iResult = ((GetGlobalBoolean("G_Paz_JustPlayed") == TRUE) && (GetLastPazaakResult()==0));
if (iResult) {
 GiveGoldToCreature(GetFirstPC(), nGP);
}
t = GetGlobalNumber("MAN_GONTON");
SetGlobalNumber("MAN_GONTON", t + 1);
return iResult;
}

 

Note, this script that you posted that I have modified appears to be specific to a particular Pazaak game, apparently one that is played on Manaan. You will have to do something similar to other scripts if you want to continue your cheating frenzy.

 

Ahhh darn you cant to it...Shucks....I wanted to beat the Pazaak Tournement without constant reloading. Oh well thanks anyway :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...