Скриптинг Форум посвещенный созданию скриптов для 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:
13.10.2008, 15:12
#2
Местный
Регистрация: 18.01.2008
Сообщений: 286
Сказал Спасибо: 24
Имеет 133 спасибок в 80 сообщенях
Загрузил, поправил только синтаксис, - скрипт запускается, но что там работает я не проверял.
За это сообщение PanAm нажился 3 спасибками от:
04.03.2009, 06:00
#3
Новичок
Регистрация: 18.01.2009
Адрес: Владивосток
Сообщений: 16
Сказал Спасибо: 3
Имеет 2 спасибок в 2 сообщенях
Скрипт проверял на _la2strike.ru мульи профа 10к.
Все работает,окно со скилами появляется,но есть одно но,тыкая на любой скил в открывшемся окне л2пНх пишет что клиент отвалился,скрипт работает только на дырявых явах,т..к. на етом серве пытался через пакеты учить тоже самое,клиент отваливется.пофиксено,мож кто подскажет как легально сделать типо автозаточки вещей только чтоб учить скилы,а то влом тыкать 36 рас пасивки)
04.03.2009, 11:56
#4
Новичок
Регистрация: 25.09.2008
Сообщений: 6
Сказал Спасибо: 5
Имеет 1 спасибку в 1 сообщении
блин у меня ничего не происходит(( что я не так делаю подскажие плиз(((
05.05.2009, 15:44
#5
Рыцарь
Регистрация: 03.03.2009
Сообщений: 773
Сказал Спасибо: 361
Имеет 300 спасибок в 168 сообщенях
Цитата:
Сообщение от
X30n
блин у меня ничего не происходит(( что я не так делаю подскажие плиз(((
скрипт для ИТ
мож на других хрониках пробовал
или на севере прополили
У мне вопрос какая строка в скрипте выполняет ЭТО :
// введите в ПАЧИ чат букву s
вот здесь или нет
Procedure ShowHTML( _html : string );
begin
buf:=#$19;
WriteD(5);
WriteS(_HTML);
SendToClient;
end;
Последний раз редактировалось TAMBIK, 05.05.2009 в 16:10 .
05.05.2009, 16:28
#6
Рыцарь
Регистрация: 29.02.2008
Сообщений: 928
Сказал Спасибо: 127
Имеет 130 спасибок в 93 сообщенях
вообще то ловит букву s эта строчка
Цитата:
Сообщение от
rApsTyLe
begin
if FromClient and (pck=#$38#$73#$00#$00#$00#$03#$00#$00#$00) then
begin
ShowHTML(HTML);
end;
Добавлено через 1 минуту
типа если получен пакет от клиента 38 с содержанием 73 00 00 00 = s в номер чата 03 (хз не помню точно какой это из чатов) то выполнить процедуру и далее по тексту
Последний раз редактировалось Grinch, 05.05.2009 в 16:28 .
Причина: Добавлено сообщение
За это сообщение Grinch нажился спасибкой от:
05.05.2009, 18:48
#7
Рыцарь
Регистрация: 03.03.2009
Сообщений: 773
Сказал Спасибо: 361
Имеет 300 спасибок в 168 сообщенях
поправил под ХБ
мож на дырявых серваках прокатит
delphi Код:
// Скрипт помогающий учить скилы, учится сразу максимальный уровень скила.
// Чтобы использовать скрипт, начните диалог с НПЦ у которого учите скилы и
// введите в ПАTИ чат букву s
// Автор: TechnoWiz@rd
// Версия: 0.1
var
Bypass: String ;
ObjectID, ActionID, Status: Integer ;
const
HTML='<html><body><center>' +
'<font color="LEVEL">Автор: TechnoWiz@rd/</font>' +
'<font color="LEVEL">/правка под ХБ -TAMBIK-</font>' +
'<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">' +
'</center></body></html>' ;
const
HTML_BUFF='<html><body><center>' +
'<font color="LEVEL">Бафы:</font>' +
'<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">' +
'</center></body></html>' ;
const
HTML_DANCE='<html><body><center>' +
'<font color="LEVEL">Танцы / Сонги:</font>' +
'<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">' +
'</center></body></html>' ;
const
HTML_PASSIVE='<html><body><center>' +
'<font color="LEVEL">Пасивные скилы:</font>' +
'<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">' +
'</center></body></html>' ;
const
HTML_MOOB='<html><body><center>' +
'<font color="LEVEL">Скилы мобов:</font>' +
'<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">' +
'</center></body></html>' ;
const
HTML_EPIC='<html><body><center>' +
'<font color="LEVEL">Скилы эпик бижи:</font>' +
'<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">' +
'</center></body></html>' ;
const
HTML_OTHER='<html><body><center>' +
'<font color="LEVEL">Другие скилы:</font>' +
'<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">' +
'</center></body></html>' ;
Procedure ShowHTML( _html : string ) ;
begin
buf:=#$19 ;
WriteD( 5 ) ;
WriteS( _HTML) ;
SendToClient;
end ;
Procedure LearnSkill( skillId : integer ; level : integer ) ;
begin
buf:=#$7C;
WriteD( skillId) ;
WriteD( level) ;
WriteD( 0 ) ;
SendToServer;
delay( 100 ) ;
end ;
begin
if FromClient and ( pck=#$49 #$73 #$00 #$00 #$00 #$03 #$00 #$00 #$00 ) then
begin
ShowHTML( HTML) ;
end ;
if FromClient and ( pck[1 ]=#$23 ) 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 .
вот вопрос если взять инфу из
Оффтоп
Tип: 0x90 (AcquireSkillList)
Pазмер: 129+2
Время прихода: 17:51:13:406
0002 d FishingSkills: 0 (0x00000000)
0006 d ListSize: 6 (0x00000006)
[Начало повторяющегося блока 1/6]
000A d skillID: Лечение ID:1011 (0x03F3)
000E d NextLevel: 1
0012 d MaxLevel: 1
0016 d SpCost: 160
001A d Requirements: 0
[Конец повторяющегося блока 1/6]
[Начало повторяющегося блока 2/6]
001E d skillID: Излечить Отравление ID:1012 (0x03F4)
0022 d NextLevel: 1
0026 d MaxLevel: 1
002A d SpCost: 470
002E d Requirements: 0
[Конец повторяющегося блока 2/6]
[Начало повторяющегося блока 3/6]
0032 d skillID: Щит ID:1040 (0x0410)
0036 d NextLevel: 1
003A d MaxLevel: 1
003E d SpCost: 470
0042 d Requirements: 0
[Конец повторяющегося блока 3/6]
[Начало повторяющегося блока 4/6]
0046 d skillID: Могущество ID:1068 (0x042C)
004A d NextLevel: 1
004E d MaxLevel: 1
0052 d SpCost: 470
0056 d Requirements: 0
[Конец повторяющегося блока 4/6]
[Начало повторяющегося блока 5/6]
005A d skillID: Проклятие: Яд ID:1168 (0x0490)
005E d NextLevel: 1
0062 d MaxLevel: 1
0066 d SpCost: 470
006A d Requirements: 0
[Конец повторяющегося блока 5/6]
[Начало повторяющегося блока 6/6]
006E d skillID: Ледяной Шип ID:1184 (0x04A0)
0072 d NextLevel: 1
0076 d MaxLevel: 1
007A d SpCost: 240
007E d Requirements: 0
[Конец повторяющегося блока 6/6]
о максимальном лвл доступного для изучение скила
и добавить в скрипт так чтоб скил учился текуший +1и так
до макс лвл
Последний раз редактировалось TAMBIK, 05.05.2009 в 18:56 .
06.05.2009, 02:06
#8
Новичок
Регистрация: 08.01.2009
Сообщений: 10
Сказал Спасибо: 12
Имеет 0 спасибок в 0 сообщенях
проверил на ХБ. окно вызывается, меню работают.
скилы не учатся
30.11.2009, 23:05
#9
Новичок
Регистрация: 29.11.2009
Сообщений: 2
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
у меня все нормально запустилось но когда кликаю на скил ничего не происходит помогите пожалуйста
03.01.2010, 16:45
#10
Новичок
Регистрация: 03.01.2010
Сообщений: 1
Сказал Спасибо: 0
Имеет 0 спасибок в 0 сообщенях
когда уже жму на нужный мне скилл, меня кикает со словами
You are trying to learn skill that you can't......
You will be kicked for illegal action, GM informed.
как обойти подскажите плиз?!
пользуюсь l2packethack 3.19
Последний раз редактировалось miniCoderX, 03.01.2010 в 16:52 .
Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы не можете редактировать сообщения
HTML код Выкл.
Часовой пояс GMT +4, время: 03:27 .
vBulletin style designed by
MSC Team .
Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод:
zCarot
Вы хотите чувствовать себя в безопасности? чоп Белган обеспечит её!