Author Topic: Change the Pickit not only in hell & change where to buy potions  (Read 1750 times)

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Iam Changin the Script for my Classic Rush sorc and there are some low items worth some FG.
Like Shard or Twitch. They can drop in normal, so i wanna pick them while rushing.

Moreover my sorc shouldnt buy mana potions @ akara in act1 normal, because they restore nothing. she should go to act 4 and buy greater potions there


Here my Idea for changing the PickIt stuff
if(Im_In_Hell) // This will only pickit in Hell

Can i Change it to:

if(Im_In_Nightmare)  ?

i would change the

Code: [Select]
if(Im_In_Hell) // This will only pickit in Hell
{
//NTConfig_NIPFilePath.push("normal/normal.nip");
//NTConfig_NIPFilePath.push("normal/magic_rare.nip");
//NTConfig_NIPFilePath.push("normal/set.nip");
//NTConfig_NIPFilePath.push("normal/unique.nip");
//NTConfig_NIPFilePath.push("normal/craft.nip");

NTConfig_NIPFilePath.push("advance/normal.nip");
NTConfig_NIPFilePath.push("advance/magic_rare.nip");
NTConfig_NIPFilePath.push("advance/set.nip");
NTConfig_NIPFilePath.push("advance/unique.nip");
NTConfig_NIPFilePath.push("advance/craft.nip");

//NTConfig_NIPFilePath.push("extreme/normal.nip");
//NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
//NTConfig_NIPFilePath.push("extreme/set.nip");
//NTConfig_NIPFilePath.push("extreme/unique.nip");
//NTConfig_NIPFilePath.push("extreme/craft.nip");
}

to:

Code: [Select]
if(Im_In_Normal) // This will only pickit in Normal
{
//NTConfig_NIPFilePath.push("normal/normal.nip");
//NTConfig_NIPFilePath.push("normal/magic_rare.nip");
//NTConfig_NIPFilePath.push("normal/set.nip");
//NTConfig_NIPFilePath.push("normal/unique.nip");
//NTConfig_NIPFilePath.push("normal/craft.nip");

NTConfig_NIPFilePath.push("advance/normal.nip");
NTConfig_NIPFilePath.push("advance/magic_rare.nip");
NTConfig_NIPFilePath.push("advance/set.nip");
NTConfig_NIPFilePath.push("advance/unique.nip");
NTConfig_NIPFilePath.push("advance/craft.nip");

//NTConfig_NIPFilePath.push("extreme/normal.nip");
//NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
//NTConfig_NIPFilePath.push("extreme/set.nip");
//NTConfig_NIPFilePath.push("extreme/unique.nip");
//NTConfig_NIPFilePath.push("extreme/craft.nip");
}
if(Im_In_Nightmare) // This will only pickit in Nightmare
{
//NTConfig_NIPFilePath.push("normal/normal.nip");
//NTConfig_NIPFilePath.push("normal/magic_rare.nip");
//NTConfig_NIPFilePath.push("normal/set.nip");
//NTConfig_NIPFilePath.push("normal/unique.nip");
//NTConfig_NIPFilePath.push("normal/craft.nip");

NTConfig_NIPFilePath.push("advance/normal.nip");
NTConfig_NIPFilePath.push("advance/magic_rare.nip");
NTConfig_NIPFilePath.push("advance/set.nip");
NTConfig_NIPFilePath.push("advance/unique.nip");
NTConfig_NIPFilePath.push("advance/craft.nip");

//NTConfig_NIPFilePath.push("extreme/normal.nip");
//NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
//NTConfig_NIPFilePath.push("extreme/set.nip");
//NTConfig_NIPFilePath.push("extreme/unique.nip");
//NTConfig_NIPFilePath.push("extreme/craft.nip");
}
if(Im_In_Hell) // This will only pickit in Hell
{
//NTConfig_NIPFilePath.push("normal/normal.nip");
//NTConfig_NIPFilePath.push("normal/magic_rare.nip");
//NTConfig_NIPFilePath.push("normal/set.nip");
//NTConfig_NIPFilePath.push("normal/unique.nip");
//NTConfig_NIPFilePath.push("normal/craft.nip");

NTConfig_NIPFilePath.push("advance/normal.nip");
NTConfig_NIPFilePath.push("advance/magic_rare.nip");
NTConfig_NIPFilePath.push("advance/set.nip");
NTConfig_NIPFilePath.push("advance/unique.nip");
NTConfig_NIPFilePath.push("advance/craft.nip");

//NTConfig_NIPFilePath.push("extreme/normal.nip");
//NTConfig_NIPFilePath.push("extreme/magic_rare.nip");
//NTConfig_NIPFilePath.push("extreme/set.nip");
//NTConfig_NIPFilePath.push("extreme/unique.nip");
//NTConfig_NIPFilePath.push("extreme/craft.nip");
}

That i pick Stuff everywhere?
« Last Edit: August 11, 2010, 04:44:39 PM by Apeboyz »

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks


cooptheking

  • Guest
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #1 on: August 11, 2010, 05:05:43 PM »
um, that would work
as long as you defined
I'm in normal/nightmare/hell
in your other files as well ??
like your ntbot.ntj (or whatever your "entry point" is)
tbh this is far more than just a simple edit in your character configuration (as far as i know)..

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Change the Pickit not only in hell & change where to buy potions
« Reply #1 on: August 11, 2010, 05:05:43 PM »

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #2 on: August 11, 2010, 05:15:02 PM »
cant i use a globcal repeating state?

like:

While(1)

cooptheking

  • Guest
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #3 on: August 11, 2010, 05:18:33 PM »
um..i have no idea what your talking about.
a globcal?
you could create a new "toolthread" which is a 'constant' state/check
you'd have to add something to the existing toolthread so it knows about the new vars your introducing
then make a new file/ec/etc/etc (at least this is what i did to get the "leave game if leader leaves") to work perfect..

so i'd assume you could do this for other things like if hell/etc/etc/etc

but wouldn't you have to add a function to detect which difficult your in?

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Change the Pickit not only in hell & change where to buy potions
« Reply #3 on: August 11, 2010, 05:18:33 PM »

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #4 on: August 11, 2010, 05:23:03 PM »
cant i just remove it?

i just wanna pick everything i set in my pickit doesnt matter what difficultie

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Change the Pickit not only in hell & change where to buy potions
« Reply #4 on: August 11, 2010, 05:23:03 PM »

cooptheking

  • Guest
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #5 on: August 11, 2010, 05:24:24 PM »
cant i just remove it?

i just wanna pick everything i set in my pickit doesnt matter what difficultie

okay now im lost
i thought u WANTED to make it do different things in difficulties??

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #6 on: August 11, 2010, 05:26:46 PM »
nah ^^

i just wanna rush normal and nightmare with my sorc.

but she wouldnt pick anything.
so can i just remove it?

ill do hell manually because i dont think the rush bot will do it with my lvl 53 sorc.

any idea about the potion stuff?

cooptheking

  • Guest
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #7 on: August 11, 2010, 05:36:22 PM »
dont remove it
just make it use the same pickits for all 3


as far s the potion thing goes..thats set in a completely different file.
not sure how to doit

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Change the Pickit not only in hell & change where to buy potions
« Reply #7 on: August 11, 2010, 05:36:22 PM »

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #8 on: August 11, 2010, 05:40:36 PM »
Like this?

Code: [Select]
   if(Im_In_Normal) // This will only pickit in Normal
   {
   NTConfig_NIPFilePath.push("normal/normal.nip");
   NTConfig_NIPFilePath.push("normal/magic_rare.nip");
   NTConfig_NIPFilePath.push("normal/set.nip");
   NTConfig_NIPFilePath.push("normal/unique.nip");
   }
   if(Im_In_Nightmare) // This will only pickit in Nightmare
   {
   NTConfig_NIPFilePath.push("normal/normal.nip");
   NTConfig_NIPFilePath.push("normal/magic_rare.nip");
   NTConfig_NIPFilePath.push("normal/set.nip");
   NTConfig_NIPFilePath.push("normal/unique.nip");
   }
   if(Im_In_Hell) // This will only pickit in Hell
   {
   NTConfig_NIPFilePath.push("normal/normal.nip");
   NTConfig_NIPFilePath.push("normal/magic_rare.nip");
   NTConfig_NIPFilePath.push("normal/set.nip");
   NTConfig_NIPFilePath.push("normal/unique.nip");
   }

cooptheking

  • Guest
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #9 on: August 11, 2010, 05:41:26 PM »
if u want to use the normal folder then yes
cept make sure to remove the //

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #10 on: August 11, 2010, 05:48:28 PM »
if u want to use the normal folder then yes
cept make sure to remove the //

already did it.

Offline killziky

  • Newbie
  • *
  • Join Date: Jun 2010
  • Posts: 46
  • Reputation 0
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #11 on: August 11, 2010, 07:10:15 PM »
ya fixed the pot buying thing yet? otherwise ill do a quick edit for you :) i think it's done pretty easy although she will buy pot in act4 for all difficulties.

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #12 on: August 11, 2010, 11:23:38 PM »
Lucky for yu, i already defined those var's. I made them in tha NTConfig.ntl.

Code: [Select]
var Im_In_Normal = me.diff == 0;
var Im_In_Nightmare = me.diff == 1;
var Im_In_Hell = me.diff == 2;

Which made it work when yu did that. Just incase yu are wondering why i made these already is because i used tha 'Im_In_Normal' For tha CubeAmu script, so it only did cube in normal when ran. I cant remember if i used nightmare, but put it there just in case.

And wit tha buying potions yu would have to edit yur NTTown.ntl dont know exactly where, but killziky does ^^


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline killziky

  • Newbie
  • *
  • Join Date: Jun 2010
  • Posts: 46
  • Reputation 0
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #13 on: August 11, 2010, 11:35:10 PM »
will do it now then.. i'll use townmanager to edit where he buys pots ^^ it will be the easy fix but running it in my head it will work fine but wont be able to buy pots at any npc under act4 jamella. (thinking timetaking to go to act4 all the time so will try making a |true;/false;| to use in config maybe to work only in normal, but will look at it in a few hours, gotta class to catch in a few hours so getting it all ready on flashdisc ^^

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Change the Pickit not only in hell & change where to buy potions
« Reply #14 on: August 11, 2010, 11:45:45 PM »
yu could use my var's. do:

Code: [Select]
if(Im_In_Normall || Im_In_Nightmare)
{
Buy in a4
}
else
{
Buy normal
}

Should be easy ^ ^


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Change the Pickit not only in hell & change where to buy potions
« Reply #14 on: August 11, 2010, 11:45:45 PM »