Скриптинг Форум посвещенный созданию скриптов для L2PacketHack
22.11.2007, 02:16
#1
Новичок
Регистрация: 22.11.2007
Сообщений: 4
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
Скрипт на изучение скилов
Помогите со скриптом!
Код:
// Скрипт помогающий учить скилы, учится сразу максимальный уровень скила.
// Чтобы использовать скрипт, начните диалог с НПЦ у которого учите скилы и
// введите в ПАЧИ чат букву s
// Автор: TechnoWiz@rd
// Версия: 0.1
var
Bypass: String;
ObjectID, ActionID, Status: Integer;
const
HTML='<html><body><center>'+
'<img src="L2UI_CH3.herotower_deco width=256 height=32>'+
'<font color="LEVEL">Меню изучения скилов</font>
'+
'<font color="LEVEL">Автор: TechnoWiz@rd</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'<button value="Buffs" action="bypass -h buf" width=100 height=15 back="sek.cbui94" fore="sek.cbui92">'+
'<button value="Dance / Song" action="bypass -h dance" width=100 height=15 back="sek.cbui94" fore="sek.cbui92">'+
'<button value="Пасивки" action="bypass -h passive" width=100 height=15 back="sek.cbui94" fore="sek.cbui92">'+
'<button value="Скилы мобов" action="bypass -h moob" width=100 height=15 back="sek.cbui94" fore="sek.cbui92">'+
'<button value="Скилы эпик бижи" action="bypass -h epic" width=100 height=15 back="sek.cbui94" fore="sek.cbui92">'+
'<button value="Другие скилы" action="bypass -h other" width=100 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'</center></body></html>';
const
HTML_BUFF='<html><body><center>'+
'[img]L2UI_CH3.herotower_deco[/img]'+
'<font color="LEVEL">Бафы:</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
<td>'+
'<a action="bypass -h WW">Wind Walk</a>'+
'<a action="bypass -h Shield">Shield</a>'+
'<a action="bypass -h Might">Might</a>'+
'<a action="bypass -h Bless Shield">Bless Shield</a>'+
'<a action="bypass -h Death Whisper">Death Whisper</a>'+
'<a action="bypass -h Guidance">Guidance</a>'+
'<a action="bypass -h Mental Shield">Mental Shield</a>'+
'<a action="bypass -h Bless the Body">Bless the Body</a>'+
'<a action="bypass -h Bless the Soul">Bless the Soul</a>'+
'<a action="bypass -h Concentration">Concentration</a>'+
'<a action="bypass -h Focus">Focus</a>'+
'<a action="bypass -h Haste">Haste</a>'+
'<a action="bypass -h Magic Barrier">Magic Barrier</a>'+
'<a action="bypass -h Acumen">Acumen</a>'+
'<a action="bypass -h Berserker Spirit">Berserker Spirit</a>'+
'<a action="bypass -h Kiss of Eva">Kiss of Eva</a>'+
'<a action="bypass -h Regeneration">Regeneration</a>'+
'<a action="bypass -h Empower">Empower</a>'+
'<a action="bypass -h Wild Magic">Wild Magic</a>'+
'<a action="bypass -h Resist Shock">Resist Shock</a>'+
'<a action="bypass -h Agility">Agility</a>'+
'<a action="bypass -h Decrease Weight">Decrease Weight</a>'+
'<a action="bypass -h Advanced Block">Advanced Block</a>'+
'<a action="bypass -h Elemental Protection">Elemental Protection</a>'+
'<a action="bypass -h Arcane Protection">Arcane Protection</a>'+
'<a action="bypass -h Divine Protection">Divine Protection</a>'+
'<a action="bypass -h Prophecy of Fire">Prophecy of Fire</a>
'+
'<button value="Back" action="bypass -h main" width=60 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]<br1>'+
'</center></body></html>';
const
HTML_DANCE='<html><body><center>'+
'[img]L2UI_CH3.herotower_deco[/img]'+
'<font color="LEVEL">Танцы / Сонги:</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
<td>'+
'<font color="LEVEL">[ Танцы ]</font>
'+
'<a action="bypass -h Dance of Fire">Dance of Fire</a>'+
'<a action="bypass -h Dance of Light">Dance of Light</a>'+
'<a action="bypass -h Dance of Inspiration">Dance of Inspiration</a>'+
'<a action="bypass -h Dance of Mystic">Dance of Mystic</a>'+
'<a action="bypass -h Dance of Concentration">Dance of Concentration</a>'+
'<a action="bypass -h Dance of Warrior">Dance of Warrior</a>'+
'<a action="bypass -h Dance of Fury">Dance of Fury</a>'+
'<a action="bypass -h Dance of Earth Guard">Dance of Earth Guard</a>'+
'<a action="bypass -h Dance of Protection">Dance of Protection</a>'+
'<a action="bypass -h Dance of Aqua Guard">Dance of Aqua Guard</a>'+
'<a action="bypass -h Dance of Vampire">Dance of Vampire</a>'+
'<a action="bypass -h Dance of Medusa">Dance of Medusa</a>'+
'<a action="bypass -h Dance of Siren">Dance of Siren</a>'+
'
<font color="LEVEL">[ Сонги ]</font>
'+
'<a action="bypass -h Song of Warding">Song of Warding</a>'+
'<a action="bypass -h Song of Invocation">Song of Invocation</a>'+
'<a action="bypass -h Song of Wind">Song of Wind</a>'+
'<a action="bypass -h Song of Hunter">Song of Hunter</a>'+
'<a action="bypass -h Song of Life">Song of Life</a>'+
'<a action="bypass -h Song of Earth">Song of Earth</a>'+
'<a action="bypass -h Song of Water">Song of Water</a>'+
'<a action="bypass -h Song of Flame Guard">Song of Flame Guard</a>'+
'<a action="bypass -h Song of Vitality">Song of Vitality</a>'+
'<a action="bypass -h Song of Storm Guard">Song of Storm Guard</a>'+
'<a action="bypass -h Song of Vengeance">Song of Vengeance</a>'+
'<a action="bypass -h Song of Meditation">Song of Meditation</a>'+
'<a action="bypass -h Song of Renewal">Song of Renewal</a>'+
'<a action="bypass -h Song of Champion">Song of Champion</a>
'+
'<button value="Back" action="bypass -h main" width=60 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'</center></body></html>';
const
HTML_PASSIVE='<html><body><center>'+
'[img]L2UI_CH3.herotower_deco[/img]'+
'<font color="LEVEL">Пасивные скилы:</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
<td>'+
'<a action="bypass -h Armor Mastery">Armor Mastery</a>'+
'<a action="bypass -h Robe Mastery">Robe Mastery</a>'+
'<a action="bypass -h Light Armor Mastery">Light Armor Mastery</a>'+
'<a action="bypass -h Heavy Armor Mastery">Heavy Armor Mastery</a>'+
'<a action="bypass -h Weapon Mastery">Weapon Mastery</a>'+
'<a action="bypass -h Boost HP">Boost HP</a>'+
'<a action="bypass -h Boost Mana">Boost Mana</a>'+
'<a action="bypass -h Fast HP Recovery">Fast HP Recovery</a>'+
'<a action="bypass -h Fast Mana Recovery">Fast Mana Recovery</a>'+
'<a action="bypass -h Anti Magic">Anti Magic</a>'+
'<a action="bypass -h Magic Resistance">Magic Resistance</a>'+
'<a action="bypass -h Quick Recovery">Quick Recovery</a>'+
'<a action="bypass -h Fast Spell Casting">Fast Spell Casting</a>'+
'<a action="bypass -h Critical Chance">Critical Chance</a>'+
'<a action="bypass -h Critical Power">Critical Power</a>'+
'<a action="bypass -h Quick Step">Quick Step</a>'+
'<a action="bypass -h Esprit">Esprit</a>'+
'<a action="bypass -h Acrobatic Move">Acrobatic Move</a>'+
'<a action="bypass -h Boost Attack Speed">Boost Attack Speed</a>'+
'<a action="bypass -h Boost Evasion">Boost Evasion</a>'+
'<a action="bypass -h Boost Breath">Boost Breath</a>'+
'<a action="bypass -h Final Fortress">Final Fortress</a>
'+
'<button value="Back" action="bypass -h main" width=60 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'</center></body></html>';
const
HTML_MOOB='<html><body><center>'+
'[img]L2UI_CH3.herotower_deco[/img]'+
'<font color="LEVEL">Скилы мобов:</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
<td>'+
'<a action="bypass -h P. Atk. Modifiers">P. Atk. Modifiers</a>'+
'<a action="bypass -h M. Atk. Modifiers">M. Atk. Modifiers</a>'+
'<a action="bypass -h P. Def. Modifiers">P. Def. Modifiers</a>'+
'<a action="bypass -h M. Def. Modifiers">M. Def. Modifiers</a>'+
'<a action="bypass -h Strong Resistance to P.Atk">Strong Resistance to P.Atk</a>'+
'<a action="bypass -h Resist M.Atk">Resist M.Atk</a>'+
'<a action="bypass -h Resist Archery">Resist Archery</a>'+
'<a action="bypass -h Resist Physical Attack">Resist Physical Attack</a>'+
'<a action="bypass -h Resist Dagger">Resist Dagger</a>'+
'<a action="bypass -h Resist Two-handed Weapons">Resist Two-handed Weapons</a>'+
'<a action="bypass -h Resist Swords">Resist Swords</a>'+
'<a action="bypass -h Resist Dual-Sword Weapons">Resist Dual-Sword Weapons</a>'+
'<a action="bypass -h Resist Blunt Weapons">Resist Blunt Weapons</a>'+
'<a action="bypass -h Resist Hand-to-hand Weapons">Resist Hand-to-hand Weapons</a>'+
'<a action="bypass -h Resist Mental Derangement">Resist Mental Derangement</a>'+
'<a action="bypass -h Resist Paralysis">Resist Paralysis</a>'+
'<a action="bypass -h Resist Pole Arm">Resist Pole Arm</a>'+
'<a action="bypass -h Resist Sacred Attack">Resist Sacred Attack</a>'+
'<a action="bypass -h Resist Dark Attack">Resist Dark Attack</a>'+
'<a action="bypass -h Resist Hold">Resist Hold</a>'+
'<a action="bypass -h Resist Sleep">Resist Sleep</a>
'+
'<button value="Back" action="bypass -h main" width=60 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'</center></body></html>';
const
HTML_EPIC='<html><body><center>'+
'[img]L2UI_CH3.herotower_deco[/img]'+
'<font color="LEVEL">Скилы эпик бижи:</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
<td>'+
'<a action="bypass -h Earring of Antharas">Earring of Antharas</a>'+
'<a action="bypass -h Earring of Orfen">Earring of Orfen</a>'+
'<a action="bypass -h Earring of Zaken">Earring of Zaken</a>'+
'<a action="bypass -h Necklace of Valakas">Necklace of Valakas</a>'+
'<a action="bypass -h Ring of Baium">Ring of Baium</a>'+
'<a action="bypass -h Ring of Core">Ring of Core</a>'+
'<a action="bypass -h Ring of Queen Ant">Ring of Queen Ant</a>'+
'<a action="bypass -h Frintezza''s Necklace">Frintezza''s Necklace</a>
'+
'<button value="Back" action="bypass -h main" width=60 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'</center></body></html>';
const
HTML_OTHER='<html><body><center>'+
'[img]L2UI_CH3.herotower_deco[/img]'+
'<font color="LEVEL">Другие скилы:</font>
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
<td>'+
'<a action="bypass -h Party Recall">Party Recall</a>'+
'<a action="bypass -h Return">Return</a>'+
'<a action="bypass -h Resurrection">Resurrection</a>'+
'<a action="bypass -h Summon Friend">Summon Friend</a>'+
'<a action="bypass -h Dash">Dash</a>
'+
'<button value="Back" action="bypass -h main" width=60 height=15 back="sek.cbui94" fore="sek.cbui92">
'+
'[img]L2UI.SquareWhite[/img]'+
'[img]L2UI.SquareBlank[/img]
'+
'</center></body></html>';
Procedure ShowHTML( _html : string );
begin
buf:=#$0F;
WriteD(5);
WriteS(_HTML);
SendToClient;
end;
Procedure LearnSkill( skillId : integer; level : integer );
begin
buf:=#$6C;
WriteD(skillId);
WriteD(level);
WriteD(0);
SendToServer;
delay(100);
end;
begin
if FromClient and (pck=#$38#$73#$00#$00#$00#$03#$00#$00#$00) then
begin
ShowHTML(HTML);
end;
if FromClient and (pck[1]=#$21) then
begin
Bypass:=ReadS(2);
case Bypass of
'main' : ShowHTML(HTML);
'buf' : ShowHTML(HTML_BUFF);
'dance' : ShowHTML(HTML_DANCE);
'passive' : ShowHTML(HTML_PASSIVE);
'moob' : ShowHTML(HTML_MOOB);
'epic' : ShowHTML(HTML_EPIC);
'other' : ShowHTML(HTML_OTHER);
{ Бафы }
'WW' : begin LearnSkill( 1204, 2 ); ShowHTML(HTML_BUFF); end;
'Shield' : begin LearnSkill( 1040, 3 ); ShowHTML(HTML_BUFF); end;
'Might' : begin LearnSkill( 1068, 3 ); ShowHTML(HTML_BUFF); end;
'Bless Shield' : begin LearnSkill( 1243, 3 ); ShowHTML(HTML_BUFF); end;
'Death Whisper' : begin LearnSkill( 1242, 3 ); ShowHTML(HTML_BUFF); end;
'Guidance' : begin LearnSkill( 1240, 3 ); ShowHTML(HTML_BUFF); end;
'Mental Shield' : begin LearnSkill( 1035, 4 ); ShowHTML(HTML_BUFF); end;
'Bless the Body' : begin LearnSkill( 1045, 6 ); ShowHTML(HTML_BUFF); end;
'Bless the Soul' : begin LearnSkill( 1048, 6 ); ShowHTML(HTML_BUFF); end;
'Concentration' : begin LearnSkill( 1048, 6 ); ShowHTML(HTML_BUFF); end;
'Focus' : begin LearnSkill( 1077, 3 ); ShowHTML(HTML_BUFF); end;
'Haste' : begin LearnSkill( 1086, 2 ); ShowHTML(HTML_BUFF); end;
'Magic Barrier' : begin LearnSkill( 1036, 2 ); ShowHTML(HTML_BUFF); end;
'Acumen' : begin LearnSkill( 1085, 3 ); ShowHTML(HTML_BUFF); end;
'Berserker Spirit' : begin LearnSkill( 1062, 2 ); ShowHTML(HTML_BUFF); end;
'Kiss of Eva' : begin LearnSkill( 1073, 2 ); ShowHTML(HTML_BUFF); end;
'Regeneration' : begin LearnSkill( 1044, 3 ); ShowHTML(HTML_BUFF); end;
'Empower' : begin LearnSkill( 1059, 3 ); ShowHTML(HTML_BUFF); end;
'Wild Magic' : begin LearnSkill( 1303, 2 ); ShowHTML(HTML_BUFF); end;
'Resist Shock' : begin LearnSkill( 1303, 4 ); ShowHTML(HTML_BUFF); end;
'Agility' : begin LearnSkill( 1087, 3 ); ShowHTML(HTML_BUFF); end;
'Decrease Weight' : begin LearnSkill( 1257, 3 ); ShowHTML(HTML_BUFF); end;
'Advanced Block' : begin LearnSkill( 1304, 3 ); ShowHTML(HTML_BUFF); end;
'Elemental Protection' : begin LearnSkill( 1259, 1 ); ShowHTML(HTML_BUFF); end;
'Arcane Protection' : begin LearnSkill( 1354, 1 ); ShowHTML(HTML_BUFF); end;
'Divine Protection' : begin LearnSkill( 1353, 1 ); ShowHTML(HTML_BUFF); end;
'Prophecy of Fire' : begin LearnSkill( 1356, 1 ); ShowHTML(HTML_BUFF); end;
{ Танцы }
'Dance of Fire' : begin LearnSkill( 274, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Light' : begin LearnSkill( 277, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Inspiration' : begin LearnSkill( 272, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Mystic' : begin LearnSkill( 273, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Concentration' : begin LearnSkill( 276, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Warrior' : begin LearnSkill( 271, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Fury' : begin LearnSkill( 275, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Earth Guard' : begin LearnSkill( 209, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Protection' : begin LearnSkill( 311, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Aqua Guard' : begin LearnSkill( 307, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Vampire' : begin LearnSkill( 310, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Medusa' : begin LearnSkill( 367, 1 ); ShowHTML(HTML_DANCE); end;
'Dance of Siren' : begin LearnSkill( 365, 1 ); ShowHTML(HTML_DANCE); end;
{ Сонги }
'Song of Warding' : begin LearnSkill( 267, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Invocation' : begin LearnSkill( 270, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Wind' : begin LearnSkill( 268, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Hunter' : begin LearnSkill( 269, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Life' : begin LearnSkill( 265, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Earth' : begin LearnSkill( 264, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Water' : begin LearnSkill( 266, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Flame Guard' : begin LearnSkill( 306, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Vitality' : begin LearnSkill( 304, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Storm Guard' : begin LearnSkill( 308, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Vengeance' : begin LearnSkill( 305, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Meditation' : begin LearnSkill( 363, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Renewal' : begin LearnSkill( 305, 1 ); ShowHTML(HTML_DANCE); end;
'Song of Champion' : begin LearnSkill( 364, 1 ); ShowHTML(HTML_DANCE); end;
{ Passive }
'Armor Mastery' : begin LearnSkill( 142, 5 ); LearnSkill( 244, 3 ); ShowHTML(HTML_PASSIVE); end;
'Light Armor Mastery' :
begin
LearnSkill( 227, 50 );
LearnSkill( 233, 47 );
LearnSkill( 236, 41 );
LearnSkill( 252, 45 );
LearnSkill( 258, 33 );
ShowHTML(HTML_PASSIVE);
end;
'Robe Mastery' :
begin
LearnSkill( 234, 41 );
LearnSkill( 235, 41 );
LearnSkill( 251, 45 );
ShowHTML(HTML_PASSIVE);
end;
'Heavy Armor Mastery' :
begin
LearnSkill( 231, 50 );
LearnSkill( 232, 52 );
LearnSkill( 253, 43 );
LearnSkill( 259, 33 );
ShowHTML(HTML_PASSIVE);
end;
'Weapon Mastery' :
begin
LearnSkill( 141, 3 );
LearnSkill( 249, 42 );
LearnSkill( 250, 42 );
ShowHTML(HTML_PASSIVE);
end;
'Boost HP' : begin LearnSkill( 211, 6 ); ShowHTML(HTML_PASSIVE); end;
'Boost Mana' : begin LearnSkill( 213, 6 ); ShowHTML(HTML_PASSIVE); end;
'Fast HP Recovery' : begin LearnSkill( 212, 8 ); ShowHTML(HTML_PASSIVE); end;
'Fast Mana Recovery' : begin LearnSkill( 229, 7 ); ShowHTML(HTML_PASSIVE); end;
'Anti Magic' : begin LearnSkill( 146, 45 ); ShowHTML(HTML_PASSIVE); end;
'Magic Resistance' : begin LearnSkill( 147, 3 ); ShowHTML(HTML_PASSIVE); end;
'Quick Recovery' : begin LearnSkill( 164, 3 ); ShowHTML(HTML_PASSIVE); end;
'Fast Spell Casting' : begin LearnSkill( 228, 3 ); ShowHTML(HTML_PASSIVE); end;
'Critical Chance' : begin LearnSkill( 228, 3 ); LearnSkill( 4086, 1 ); ShowHTML(HTML_PASSIVE); end;
'Critical Power' :
begin
LearnSkill( 193, 6 );
LearnSkill( 4085, 1 );
ShowHTML(HTML_PASSIVE);
end;
'Quick Step' : begin LearnSkill( 169, 2 ); ShowHTML(HTML_PASSIVE); end;
'Esprit' : begin LearnSkill( 171, 8 ); ShowHTML(HTML_PASSIVE); end;
'Acrobatic Move' : begin LearnSkill( 225, 3 ); ShowHTML(HTML_PASSIVE); end;
'Boost Attack Speed' : begin LearnSkill( 168, 3 ); ShowHTML(HTML_PASSIVE); end;
'Boost Evasion' : begin LearnSkill( 198, 3 ); ShowHTML(HTML_PASSIVE); end;
'Boost Breath' : begin LearnSkill( 195, 2 ); ShowHTML(HTML_PASSIVE); end;
'Final Fortress' : begin LearnSkill( 291, 3 ); ShowHTML(HTML_PASSIVE); end;
{ Moob Skills }
'P. Atk. Modifiers' : begin LearnSkill( 4410, 22 ); ShowHTML(HTML_MOOB); end;
'M. Atk. Modifiers' : begin LearnSkill( 4411, 22 ); ShowHTML(HTML_MOOB); end;
'P. Def. Modifiers' : begin LearnSkill( 4412, 22 ); ShowHTML(HTML_MOOB); end;
'M. Def. Modifiers' : begin LearnSkill( 4413, 22 ); ShowHTML(HTML_MOOB); end;
'Strong Resistance to P.Atk' : begin LearnSkill( 4376, 1 ); ShowHTML(HTML_MOOB); end;
'Resist M.Atk' : begin LearnSkill( 4116, 10 ); ShowHTML(HTML_MOOB); end;
'Resist Archery' : begin LearnSkill( 4071, 10 ); ShowHTML(HTML_MOOB); end;
'Resist Physical Attack' : begin LearnSkill( 4084, 10 ); ShowHTML(HTML_MOOB); end;
'Resist Dagger' : begin LearnSkill( 4273, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Two-handed Weapons' : begin LearnSkill( 4428, 5 ); ShowHTML(HTML_MOOB); end;
'Resist Swords' : begin LearnSkill( 4427, 5 ); ShowHTML(HTML_MOOB); end;
'Resist Dual-Sword Weapons' : begin LearnSkill( 4426, 5 ); ShowHTML(HTML_MOOB); end;
'Resist Blunt Weapons' : begin LearnSkill( 4425, 5 ); ShowHTML(HTML_MOOB); end;
'Resist Hand-to-hand Weapons' : begin LearnSkill( 4424, 5 ); ShowHTML(HTML_MOOB); end;
'Resist Mental Derangement' : begin LearnSkill( 4389, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Paralysis' : begin LearnSkill( 4338, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Pole Arm' : begin LearnSkill( 4379, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Sacred Attack' : begin LearnSkill( 4337, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Dark Attack' : begin LearnSkill( 4333, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Hold' : begin LearnSkill( 4287, 6 ); ShowHTML(HTML_MOOB); end;
'Resist Sleep' : begin LearnSkill( 4285, 6 ); ShowHTML(HTML_MOOB); end;
{ Epic }
'Earring of Antharas' : begin LearnSkill( 3558, 1 ); ShowHTML(HTML_EPIC); end;
'Earring of Orfen' : begin LearnSkill( 3560, 1 ); ShowHTML(HTML_EPIC); end;
'Earring of Zaken' : begin LearnSkill( 3559, 1 ); ShowHTML(HTML_EPIC); end;
'Necklace of Valakas' : begin LearnSkill( 3557, 1 ); ShowHTML(HTML_EPIC); end;
'Ring of Baium' : begin LearnSkill( 3561, 1 ); ShowHTML(HTML_EPIC); end;
'Ring of Core' : begin LearnSkill( 3563, 1 ); ShowHTML(HTML_EPIC); end;
'Ring of Queen Ant' : begin LearnSkill( 3563, 1 ); ShowHTML(HTML_EPIC); end;
'Frintezza''s Necklace' : begin LearnSkill( 3604, 1 ); ShowHTML(HTML_EPIC); end;
{ Other }
'Party Recall' : begin LearnSkill( 1255, 2 ); ShowHTML(HTML_MOOB); end;
'Return' : begin LearnSkill( 1050, 2 ); ShowHTML(HTML_MOOB); end;
'Summon Friend' : begin LearnSkill( 1403, 1 ); ShowHTML(HTML_MOOB); end;
'Resurrection' : begin LearnSkill( 1016, 9 ); ShowHTML(HTML_MOOB); end;
'Dash' : begin LearnSkill( 4, 2 ); ShowHTML(HTML_MOOB); end;
end;
end;
end.
Подхожу к НПЦ-тренеру начинаю разговор пишу в ПАТИ чате s, и меня выкидавает с такой ошибой:
Код:
Assertion failed: ArrayNum>0 [File:d:\work\ch5.1\2006_09_13\warefare2110\core\inc\UnTemplate.h] [Line: 398]
History: NCHtmlFrame::LoadHtml <- NCHtmlViewer::LoadHtmlFormString <- UGameEngine::OnNpcHtmlMessage <- UNetworkHandler::Tick <- Function Name=NpcHtmlMessageP <- UGameEngine::Tick <- UpdateWorld <- MainLoop
Собсна вопрос: Скрипт неправильный, или я дурак??? :crazy:
22.11.2007, 23:29
#2
Рыцарь
Регистрация: 25.02.2008
Адрес: г.Волгоград
Сообщений: 2,009
Сказал Спасибо: 1,285
Имеет 1,458 спасибок в 793 сообщенях
Re: Скрипт на изучение скилов
А он к пакетхаку? Где ты его взял?
22.11.2007, 23:41
#3
Новичок
Регистрация: 22.11.2007
Сообщений: 4
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
на алчитсе, чел который его написал говорит на interlude.net играет
22.11.2007, 23:47
#4
Рыцарь
Регистрация: 25.02.2008
Адрес: г.Волгоград
Сообщений: 2,009
Сказал Спасибо: 1,285
Имеет 1,458 спасибок в 793 сообщенях
Re:
Цитата:
Сообщение от rApsTyLe
на алчитсе, чел который его написал говорит на interlude.net играет
От какой программы этот скрипт, не факт что подходит к пакетхаку.
23.11.2007, 00:42
#5
Новичок
Регистрация: 22.11.2007
Сообщений: 4
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
ОН к пакетхаку и есть, стал бы я его сюда писать блин?!
23.11.2007, 15:55
#6
Новичок
Регистрация: 05.11.2007
Сообщений: 10
Сказал Спасибо: 2
Имеет 5 спасибок в 2 сообщенях
Неплохо
Да ктото времени непожалел
Токо есть ряд неточностей НТМЛ движок на разных хрониках разный поетому неиспользуй ТЕГИ непредусмотрение для нжних версий а так всё норм
__________________
[ HIGHLIGHT="delphi" ]ваш скрипт[ /HIGHLIGHT ]
23.11.2007, 18:44
#7
Новичок
Регистрация: 22.11.2007
Сообщений: 4
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
вся проблема том что ваще не смыслю в скриптах, могу тока подставить в пакетхак и все )))
26.11.2007, 14:14
#8
Гость
Этот скрипт для пакетхака 3.1.8, проверял только на interlude.net, там работает без проблем, т.е. просто Plug&Play и в принципе должен пахать на всех интерлюд клиентах. Судя по отзывам, на более ранних хрониках не работает.
26.12.2007, 11:49
#9
Новичок
Регистрация: 26.12.2007
Сообщений: 2
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
он работает норм, но есть одна проблема... стоимость итзучения сила 10кк СП :) на рейтах выше 10к набить СП непроблема, а как быть на х10???
я его более модернизировал для большего удобства и теперь у меня развитая система меню и всё ооочень удобно.
играю на х10 мультипрофа это жесть учить скилы скриптом
Добавлено спустя 1 минуту 56 секунд:
я добавил море скилов каторые доступны только супер боссам :)
31.12.2007, 02:56
#10
Гость
блин а у меня проблемка када жму на скил в менюшке который хачю изучить он не реагирует тупо стоит и не учит скил подскажите в чом проблемка ?сп хватает :sorry:
Опции темы
Опции просмотра
Линейный вид
Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы не можете редактировать сообщения
HTML код Выкл.
Часовой пояс GMT +4, время: 02:45 .
vBulletin style designed by
MSC Team .
Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод:
zCarot
Вы хотите чувствовать себя в безопасности? чоп Белган обеспечит её!