Umbrai Posted August 11, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 08/09/12 Last Seen: August 13, 2012 Share Posted August 11, 2012 Hey Leute, ich wollte fragen ob ihr einen guten Buffer für einen HighRate-Server hättet? Wäre sehr nett von euch wenn ihr mir diesen schicken könntet Dann habe ich aber auch noch eine Frage zum Identifier... Jeder Identifier den ich einfüg funkt net? Es wäre ebenfalls nett von euch wenn ihr mir wiederrum ein aktuellen Script von einem Identifier schicken könntet Danke im Voraus! Mfg. Umbrai Quote Link to comment Share on other sites More sharing options...
Seizure Posted August 11, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 65 Reputation: 5 Joined: 06/17/12 Last Seen: October 22, 2012 Share Posted August 11, 2012 Hallo Umbrai, ich empfehle dir den standart rA (/npc/custom/healer) https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/healer.txt und du kannst mein 1click indi benutzen casp_in01,171,268,6 script Identifier 100,{ getinventorylist; for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) { if ( @inventorylist_identify[.@i] == 1 ) continue; // Merchant's Identify skill if ( getskilllv(40) == 1 && sp >= 10 ) heal 0,-10; // check if there is any Magnifier else if ( countitem(611) ) delitem 611,1; // base on Magnifier price, Rogue's Compulsion Discount skill else if ( getskilllv(224) && zeny >= ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5 ) set zeny, zeny - ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5; // base on Magnifier price, Merchants that not enough sp and learned Discount skill else if ( getskilllv(37) && zeny >= ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5 ) set zeny, zeny - ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5; // if none of the above, deduct the zeny else if ( zeny >= 40 ) set zeny, zeny - 40; // or stop the script if there the person not enough money else break; delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } } Quote Link to comment Share on other sites More sharing options...
Umbrai Posted August 11, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 08/09/12 Last Seen: August 13, 2012 Author Share Posted August 11, 2012 (edited) Irgendwie funkt der nicht bei mir :/ Hier der Error: [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/identifier.txt', line '1'. Stopping... * w1=prontera,164,175,2 script Identifizierer 100,{ * w2= * w3= * w4= Der Script: prontera,164,175,2 script Identifizierer 100,{ getinventorylist; for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) { if ( @inventorylist_identify[.@i] == 1 ) continue; // Merchant's Identify skill if ( getskilllv(40) == 1 && sp >= 10 ) heal 0,-10; // check if there is any Magnifier else if ( countitem(611) ) delitem 611,1; // base on Magnifier price, Rogue's Compulsion Discount skill else if ( getskilllv(224) && zeny >= ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5 ) set zeny, zeny - ( 100 - ( 5 + 4 * getskilllv(224) ) )* 2/5; // base on Magnifier price, Merchants that not enough sp and learned Discount skill else if ( getskilllv(37) && zeny >= ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5 ) set zeny, zeny - ( 100 - ( 5 + 2 * getskilllv(37) ) )* 2/5; // if none of the above, deduct the zeny else if ( zeny >= 40 ) set zeny, zeny - 40; // or stop the script if there the person not enough money else break; delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } } Mfg. Umbrai Edited August 11, 2012 by Umbrai Quote Link to comment Share on other sites More sharing options...
Seizure Posted August 11, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 65 Reputation: 5 Joined: 06/17/12 Last Seen: October 22, 2012 Share Posted August 11, 2012 http://upaste.me/e14c84512072012 bei mir geht er>< Quote Link to comment Share on other sites More sharing options...
tr0n Posted August 11, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 562 Reputation: 153 Joined: 02/21/12 Last Seen: February 27, 2024 Share Posted August 11, 2012 du hast wohl die <TABS> vergessen. prontera,164,175,2<TAB>script<TAB>Identifizierer<TAB>100,{ Quote Link to comment Share on other sites More sharing options...
Pysk Posted August 14, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 234 Reputation: 8 Joined: 01/19/12 Last Seen: April 20, 2020 Share Posted August 14, 2012 (edited) Einmal das hier. dragonia.gat,28,55,5 script Identifizierer 89,{ set @price,100; // Preis ea Identi set @npcname$,"[^ff0000Deckard Cain^000000]"; mes @npcname$; mes "Hallo Reisender!"; mes "Ich kann all deine unidentifizierten Items mit einem mal Identifizieren!"; mes "Es kostet nur ^0000ff"+@price+"^000000 Zeny je Item."; next; menu "Ja bitte.",-,"Nein Danke...",-; if (@menu == 2) close; getinventorylist; set @identify, 0; for(set @i, 0; @i < @inventorylist_count; set @i, @i + 1) { if (@inventorylist_identify[@i] == 0) set @identify, @identify + 1; } if (@identify == 0) { mes @npcname$; mes "Du hast keinerlei nicht identifizierte Items."; close; } mes @npcname$; if (@identify < 2) { mes "Du hast ein unidentifiziertes Items in Deinem Inventar."; mes "Für ^0000ff"+@price+"^000000 Zeny kann ich es identifizieren."; } else { mes "Du hast ^0000ff"+@identify+"^000000 unidentifizierte Items in Deinem Inventar."; mes "Für ^0000ff"+(@identify * @price)+"^000000 Zeny kann ich sie alle identifizieren."; } mes "^ff0000Soll ich jetzt anfangen^000000?"; next; if (select("Ok, leg los!:Was für ein Wucher...") == 2) { mes @npcname$; mes "..."; close; } getinventorylist; set @identified, 0; for(set @i, 0; @i < @inventorylist_count; set @i, @i + 1) { if (@inventorylist_identify[@i] == 0) { if (Zeny < @price) { mes @npcname$; mes "Du hast keine ^0000ff"+@price+"^000000 Zeny!"; close; } set Zeny, Zeny - @price; delitem2 @inventorylist_id[@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[@i],1; set @identified, @identified + 1; } } mes @npcname$; mes "So, alles identifiziert!"; mes "Ich habe insgesamt ^0000ff"+@identified+"^000000 Items für Dich identifiziert."; mes "Bye~"; close; } Und der Buffer dragonia.gat,45,56,6 script Buffer::buff 604,{ if(agitcheck()) {dispbottom "Während WOE kannst du den Buffer nicht benutzen.";percentheal 100,100; end;} sc_start 21, 370000, 10; // Endure Duration: 37 sec //sc_start 49, 3000000, 1; // Energy Coat Duration: 5 minutes or until 0 sp sc_start 23, 2400000, 10; // Improve Concentrate Duration: 240 sec sc_start 32, 2400000, 10; // Increase Agi Duration: 240 sec sc_start 29, 3000000, 10; // Angelus Duration: 300 sec sc_start 30, 2400000, 10; // Blessing Duration: 240 sec //sc_start 48, 3000000, 1; // Crazy Uproar Duration: 300 sec //sc_start 22, 3000000, 10; // Twohand Quicken Duration: 300 sec //sc_start 150, 3000000, 1; // Onehand Quicken Duration: 300 sec sc_start 35, 600000, 5; // Impositio Manus Duration: 60 sec //sc_start 39, 1200000, 10; // Kyrie Eleison Duration: 120 sec sc_start 40, 900000, 5; // Magnificat Duration: 90 sec sc_start 41, 300000, 5; // Gloria Duration: 30 sec //sc_start 43, 1500000, 5; // Adrenaline Rush Duration: 150 sec //sc_start 44, 500000, 5; // Weapon Perfection Duration: 50 sec //sc_start 45, 1000000, 5; // Power-Thrust Duration: 100 sec //sc_start 46, 3600000, 5; // Maximize Power Duration: Until deactivated or SP runs out. //sc_start 145, 1500000, 1; // Full Adrenaline Rush Duration: 150 sec //sc_start 76, 3000000, 10; // Guard Duration: 300 sec //sc_start 77, 3000000, 10; // Shield Reflect Duration: 300 sec //sc_start 86, 3000000, 10; // Spear Quicken Duration: 300 sec //sc_start 184, 6000000, 1; // Summon Spirit Sphere Duration: 600 sec //sc_start 184, 6000000, 2; //sc_start 184, 6000000, 3; //sc_start 184, 6000000, 4; //sc_start 184, 6000000, 5; //sc_start 83, 3900000, 10; // Hindsight Duration: 390 sec sc_start 108, 1200000, 5; // Aura Blade Duration: 120 sec //sc_start 109, 600000, 10; // Parrying Duration: 60 sec sc_start 110, 450000, 5; // Concentration Duration: 45 sec //sc_start 118, 300000, 10; // Mystical Amplify Duration: first followup spell during the next 30 sec //sc_start 122, 600000, 10; // Shattering Strike Duration: 60 Sec //sc_start 123, 600000, 1; // Cart Boost Duration: 60 Sec //sc_start 156, 1800000, 1; // Maximum Power Thrust Duration: 180 sec sc_start 121, 4000000, 10; // Wind Walker Duration: 400 sec //sc_start 131, 3000000, 1; // Foresight ?? Duration: SKILL SET (put at 300 sec) //sc_start 154, 900000, 5; // Double Casting Duration: 90 sec sc_start 115, 1000000, 5; // Assumptio Duration: 100 sec sc_start 125, 3000000, 5; // Reject Sword Duration: 300 sec or 3 rejects sc_start 120, 300000, 10; // True Sight Duration: 30 seconds //sc_start 159, 3000000, 1; // Shrink Duration: 300 sec //sc_start 151, 6000000, 10; // Preserve Duration: 600 secpercentheal 100,100; sc_start 72,120000,10; //CP Weapon sc_start 73,120000,10; //CP Shield sc_start 74,120000,10; //CP Armor sc_start 75,120000,10; //CP Helm percentheal 100,100; mes "^ff0000[buffer]^000000"; mes "Welche Waffenverzauberung möchtest du?"; menu "Feuer Waffe",L0,"Eis Waffe",L1,"Blitz Waffe",L2,"Erd Waffe",L3,"Holy Waffe",L4,"Gift Waffe",L5,"Keins",L6; close; L0: sc_start 96,6000000,5; close; L1: sc_start 97,6000000,5; close; L2: sc_start 98,6000000,5; close; L3: sc_start 99,6000000,5; close; L4: sc_start 37,6000000,5; close; L5: sc_start 26,6000000,5; close; L6: Close; } //----------------Stadt duplikate----------------\\ alberta.gat,33,242,4 duplicate(buff) Buffer1 604 aldebaran.gat,147,120,4 duplicate(buff) Buffer2 604 amatsu.gat,194,83,1 duplicate(buff) Buffer3 604 ayothaya.gat,146,119,6 duplicate(buff) Buffer4 604 comodo.gat,196,160,4 duplicate(buff) Buffer5 604 einbroch.gat,61,207,4 duplicate(buff) Buffer6 604 einbroch.gat,245,191,2 duplicate(buff) Buffer7 604 einbech.gat,137,251,4 duplicate(buff) Buffer8 604 geffen.gat,117,68,4 duplicate(buff) Buffer9 604 gonryun.gat,153,132,4 duplicate(buff) Buffer10 604 izlude.gat,135,119,4 duplicate(buff) Buffer11 604 hugel.gat,90,153,5 duplicate(buff) Buffer12 604 lighthalzen.gat,157,81,4 duplicate(buff) Buffer13 604 lighthalzen.gat,338,291,4 duplicate(buff) Buffer14 604 louyang.gat,212,108,4 duplicate(buff) Buffer15 604 morocc.gat,158,97,4 duplicate(buff) Buffer16 604 prontera.gat,148,99,5 duplicate(buff) Buffer17 604 payon.gat,157,98,4 duplicate(buff) Buffer18 604 umbala.gat,134,132,4 duplicate(buff) Buffer19 604 xmas.gat,152,138,4 duplicate(buff) Buffer20 604 yuno.gat,139,164,4 duplicate(buff) Buffer21 604 rachel.gat,126,110,6 duplicate(buff) Buffer22 604 drag_in01.gat,183,166,6 duplicate(buff) Buffer23 604 Die Cusatom Maps und das Sprite solltest du ändern sonst gibt es Errors. Bei de NPC klappen ohne probleme. Bei mir jedenfalls. Die Zeiten die hinter dem Buff stehen also //Endure 36sec Die Stimmen nicht mehr die Buffs halt länger Edited August 14, 2012 by Pysk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.