d2jsp error message

Ботове, хакове и всякакви допълнителни инструменти, които не са в разрез с правилата на сървъра.
User avatar
ARco
Newbie
Newbie
Posts: 94
Joined: Sun Jan 17, 2010 9:02 pm

Post

Предполагам, че проблема не е много сериозен и аз съм сбъркал някъде, но все пак:
Настроих си Countess bot, но щом си направи игра изписва следното:
Message = AXP_Exception : name = ReferenceError, message = Sorcvariables is not defined

Вече имам Мефисто скрипт, който собственоръчно редактирах и не съм имал проблеми..
Ето как изглежда конфигурацията на Контес бота.




//////////////////////////////////////////////////////////////////////
// Sorceress section
//////////////////////////////////////////////////////////////////////
function Sorcvariables() {


//////////////////////////////////////////////////////////////////////
// Precasting configuration
//====================================================================
// DA_UseCTA=true/false If you have a CTA weapon, set to true to use the precasts from the runeword
// It will automatically figure which weapon tab has the CTA weapon
// DA_AutoPrecasts=true/false Set to true to use precasts before killing Countess
// When DA_AutoPrecasts is set to true, the config below is ignored
// XP_ColdArmor = 0\ Cast a cold armor (0 = disabled, 1 = Frozen, 2 = Shiver and 3 = Chilling)
// XP_EnergyShield = false\ Set to true to cast Energy Shield
// XP_ThunderStorm = false\ set to true to cast Thunderstorm
//--------------------------------------------------------------------

DA_UseCTA=false
DA_AutoPrecasts=true
XP_ColdArmor=0
XP_EnergyShield=false
XP_ThunderStorm=false


//////////////////////////////////////////////////////////////////////
// Attack configuration
//====================================================================
// XP_SorcSkill.push"xxxxx" The first attack in the list will be used first
// XP_SorcSkill.push("Hydra")\ To use a new skill, remove the comments, like nova and orb are setup
// //Put comments like the one at the start of this line in front of spells to disclude them
//
// You can use any number of timed and untimed spells. The script will alternate between them in the order
// that you list them, in a pattern of first timed, first untimed, second timed, second untimed, etc...
// So you can list any number of spells but the order in which you list them will determine which timed
// spell goes off in what order, and likewise for untimed spells. For instance, if you list Frozen Orb,
// Meteor, Blizzard and Nova, the script will cast Frozen Orb, Nova, Meteor, Nova, Blizzard, Nova etc...
//
// XP_TimedFirst=true/false If set true, will cast your first listed timed spell before casting static field
// Recommended with Frozen Orb or Blizzard, spells which freeze and slow Countess
// XP_Static=x This is the number of times you want static field to be cast,
// If set to 0, it will not be cast.
// XP_UntimedRepeat=x This is the number of times to cast each untimed spell when only using untimed spells
// XP_MaxAttacks=xx This is the maximum number of attack sequences used to attack Countess
// If he is still alive after this many attacks, the game will abort
// XP_SwitchOnKill=true/false Set this to true to switch to the weapon with the greatest magic find upon killing Countess
// XP_SwitchHP=xx This is the amount of Countess's hp out of 128 that is remaining before switching weapon
// XP_StallKill=true/false Set this to true to let your merc get the last hit
// XP_StallHP=xx This is the amount of hp of 128 that you will stall for Countess to die on
// XP_StallSkipPhys=true/false Set this to true along with StallKill and you won't stall if Countess is immune to phys
// XP_UseTeleSorc=true/false Set to false if you want to walk instead of teleporting to save mana
// XP_KillMinions=true/false Set to true to kill all minions before picking items, after killing Countess.
// XP_MinionSkill=xx Skill id to use for killing the minions
// XP_MinionStand=true/false Set to true to stand while killing the minions
// CXP_SafeCheck=true/false Before fighting Countess, go to town to refresh if hp/mp is low or amplify damage is in effect
//--------------------------------------------------------------------

//XP_SorcSkill.push(59)\ // "Blizzard"
//XP_SorcSkill.push(45)\ // "Ice Blast"
//XP_SorcSkill.push(55)\ // "Glacial Spike"
//XP_SorcSkill.push(64)\ // "Frozen Orb"
//XP_SorcSkill.push(48)\ // "Nova"
//XP_SorcSkill.push(62)\ // "Hydra"
//XP_SorcSkill.push(56)\ // "Meteor"
//XP_SorcSkill.push(38)\ // "Charged Bolt"
//XP_SorcSkill.push(47)\ // "Fire Ball"
//XP_SorcSkill.push(51)\ // "Fire Wall"
//XP_SorcSkill.push(49)\ // "Lightning"
XP_SorcSkill.push(53)\ // "Chain Lightning"

XP_TimedFirst=false
XP_Static=0
XP_UntimedRepeat=5
XP_MaxAttacks=20


XP_SwitchOnKill=false
XP_SwitchHP=0
XP_StallKill=false
XP_StallHP=0
XP_StallSkipPhys=false
XP_UseTeleSorc=true
XP_KillMinions=false
XP_MinionSkill=53
XP_MinionStand=true\
CXP_SafeCheck=true


//////////////////////////////////////////////////////////////////////
// Mercenary configuration
//====================================================================
// DT_UseMerc=true/false Set to true if you use a mercenary, will revive merc at Qual-Kehk if necessary
// XP_EnchantMerc=true/false Set to true if you want to cast Enchant on your merc with other precasts
//--------------------------------------------------------------------

DT_UseMerc=false
XP_EnchantMerc=false


//////////////////////////////////////////////////////////////////////
// ShopIt! and GambleIt!
//====================================================================
// CXP_ShopIt=true/false Set this to true to shop every npc you talk to, false to skip this
// CXP_GambleIt=true/false Set this to true to gamble at Gheed each time you talk to her
// CXP_AlwaysGamble=true/false If GambleItOn is set to true, always go to Gheed to gamble
// CXP_GambleMinGold=xxxxxx Set a minimun amount of gold before starting to gamble
// CXP_AlwaysAkara=true/false Set this to true to shop Akara every run
// CXP_AlwaysCharsi=true/false Set this to true to shop Charsi every run
// CXP_VisitGheed=true/false Set this to true to visit Gheed each run
//--------------------------------------------------------------------

CXP_ShopIt=false
CXP_GambleIt=false
CXP_AlwaysGamble=false
CXP_GambleMinGold=0
CXP_AlwaysAkara=false
CXP_AlwaysCharsi=false
CXP_VisitGheed=false


//////////////////////////////////////////////////////////////////////
// Other configurations
//====================================================================
// DT_RepairPercent=xx You will visit Charsi for repair if any of your items fall below this percent of durability
// DT_SkipHealLife=xx If you have more than this percent of your life, you won't go to Akara
// DT_SkipHealMana=xx If you have more than this percent of your mana, you won't go to Akara
//--------------------------------------------------------------------

DT_RepairPercent=25
DT_SkipHealLife=95
DT_SkipHealMana=95


//////////////////////////////////////////////////////////////////////
// Immunities/Resistances/Enchantments to skip
//====================================================================
//Set each to true to chicken out if Countess is immune to that kind of damage
//--------------------------------------------------------------------

DA_Immunities[1]=false\ // Physical
DA_Immunities[2]=true // Magic
DA_Immunities[3]=false\ // Fire
DA_Immunities[4]=true\ // Lightning
DA_Immunities[5]=false\ // Cold
DA_Immunities[6]=false\ // Poison

//--------------------------------------------------------------------
// Immunities Combinations
// Method: if set to true, will chicken with that immunities# / immunities# combination
// DA_ImmunitiesCombo[next number] = new Array(immunities#,immunities#,true/false)\
//--------------------------------------------------------------------

DA_ImmunitiesCombo[1]=new Array(1,2,false)\ // Immune to Physical and Immune to Magic
DA_ImmunitiesCombo[2]=new Array(4,5,false)\ // Immune to Lightning and Immune to Cold

//--------------------------------------------------------------------
// Set each to true to chicken out if Countess has that enchantment
//--------------------------------------------------------------------

DA_Enchantments[1]=false\ //Extra Strong
DA_Enchantments[2]=false\ //Extra Fast
DA_Enchantments[3]=false\ //Cursed
DA_Enchantments[4]=false\ //Magic Resistant
DA_Enchantments[5]=false\ //Fire Enchanted
DA_Enchantments[6]=false\ //Lightning Enchanted
DA_Enchantments[7]=false\ //Cold Enchanted
DA_Enchantments[8]=false\ //Mana Burn
DA_Enchantments[9]=false\ //Teleportation
DA_Enchantments[10]=false\ //Spectral Hit
DA_Enchantments[11]=false\ //Stone Skin
DA_Enchantments[12]=false\ //Multiple Shot

//--------------------------------------------------------------------
// Enchantment Combinations
// Method: if set to true, will chicken with that enchantment# / enchantment# combination
// DA_EnchantmentsCombos[next number] = new Array(enchantment#,enchantment#,true/false)\
//--------------------------------------------------------------------

DA_EnchantmentsCombos[1]=new Array(6,12,true)\ // Multiple Shot LE
DA_EnchantmentsCombos[2]=new Array(1,3,false)\ // Extra Strong Cursed
DA_EnchantmentsCombos[3]=new Array(2,8,false)\ // Extra Fast Mana Burn

//--------------------------------------------------------------------
// Set each to true to chicken out if Countess has that aura
//--------------------------------------------------------------------

DA_Auras[1]=false\ //Conviction
DA_Auras[2]=false\ //Might
DA_Auras[3]=false\ //Holy Fire
DA_Auras[4]=false\ //Blessed Aim
DA_Auras[5]=false\ //Holy Freeze
DA_Auras[6]=false\ //Holy Shock
DA_Auras[7]=false\ //Fanaticism

//--------------------------------------------------------------------
// Enchantment / Aura Combinations
// Method: if set to true, will chicken with that enchantment# / aura# combination
// DA_EnchantAuraCombos[next number] = new Array(enchantment#,aura#,true/false)\
//--------------------------------------------------------------------

DA_EnchantAuraCombos[1]=new Array(1,2,false)\ // Extra Strong Might
DA_EnchantAuraCombos[2]=new Array(1,7,false)\ // Extra Strong Fanaticism
DA_EnchantAuraCombos[3]=new Array(2,2,true)\ // Extra Fast Might
DA_EnchantAuraCombos[4]=new Array(2,7,true)\ // Extra Fast Fanaticism
DA_EnchantAuraCombos[5]=new Array(2,5,false)\ // Extra Fast Holy Freeze
DA_EnchantAuraCombos[6]=new Array(6,1,true)\ // LE Conviction

//--------------------------------------------------------------------
// Immunity / Aura Combinations
// Method: if set to true, will chicken with that immunity# / aura# combination
// DA_ImmunityAuraCombos[next number] = new Array(immunity#,aura#,true/false)\
//--------------------------------------------------------------------

DA_ImmunityAuraCombos[1]=new Array(5,7,false)\ // Immune to Cold and Fanaticism
DA_ImmunityAuraCombos[2]=new Array(3,2,false)\ // Immune to Fire and Might

}/////////////////////////////////////////////////////////////////////
// End of sorceress section
//////////////////////////////////////////////////////////////////////

pwnt
Dreaming Friend
Dreaming Friend
Posts: 78
Joined: Thu Jan 21, 2010 1:43 pm

Post

Не си избрал с кой скил да ръни сорката :) махаш // пред скила и си готов \)
mite e
Destruction
Dreaming Friend
Dreaming Friend
Posts: 1646
Joined: Fri Feb 13, 2009 6:39 am

Post

pwnt wrote: Не си избрал с кой скил да ръни сорката :) махаш // пред скила и си готов \)
ARco wrote: //XP_SorcSkill.push(59)\ // "Blizzard"
//XP_SorcSkill.push(45)\ // "Ice Blast"
//XP_SorcSkill.push(55)\ // "Glacial Spike"
//XP_SorcSkill.push(64)\ // "Frozen Orb"
//XP_SorcSkill.push(48)\ // "Nova"
//XP_SorcSkill.push(62)\ // "Hydra"
//XP_SorcSkill.push(56)\ // "Meteor"
//XP_SorcSkill.push(38)\ // "Charged Bolt"
//XP_SorcSkill.push(47)\ // "Fire Ball"
//XP_SorcSkill.push(51)\ // "Fire Wall"
//XP_SorcSkill.push(49)\ // "Lightning"
XP_SorcSkill.push(53)\ // "Chain Lightning"
Всичко си е избрал. \]
pwnt
Dreaming Friend
Dreaming Friend
Posts: 78
Joined: Thu Jan 21, 2010 1:43 pm

Post

да моя грешка .. не видях нищо нередно в скрипта да не си объркал тва там където трябва да преименуваш YAM_Config_Name.d2l това... пробвай да сложиш "\" след XP_MinionSkill=53
mite e
User avatar
ARco
Newbie
Newbie
Posts: 94
Joined: Sun Jan 17, 2010 9:02 pm

Post

Оправих се по интересен начин НО:
1во - не обичам YAMB и не го използвам.
2ро - просто свалих готовия бот за Light Sors от закачената тема и копирах конфига на Countess върху моя. После с леки корекции отговарящи на моите нужди подкарах бота.

Иначе мерси за вниманието. (започвам да звуча като spammer)

П.С Orlando > Detroit
Destruction
Dreaming Friend
Dreaming Friend
Posts: 1646
Joined: Fri Feb 13, 2009 6:39 am

Post

Поне кажи как си го оправил, че ако някой друг има същия проблем, да се знае от къде е грешката.
User avatar
ARco
Newbie
Newbie
Posts: 94
Joined: Sun Jan 17, 2010 9:02 pm

Post

ARco wrote:
2ро - просто свалих готовия бот за Light Sors от закачената тема и копирах конфига на Countess върху моя. После с леки корекции отговарящи на моите нужди подкарах бота.

Обяснил съм. :) Просто заместих вече конфигурирания файл с моя.

П.С Лек път и гумени дървета. \)