Werdio Posted July 25, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 248 Reputation: 1 Joined: 06/27/12 Last Seen: May 9, 2016 Share Posted July 25, 2012 (edited) Hello again x') My weapon element Buffer didn't work ;/ Script: mymap,45,56,4 script Buffer 794,{ percentheal 100,100; sc_start SC_PRESERVE,760000,10; sc_start SC_WINDWALK,760000,5; sc_start SC_ENDURE,760000,10; sc_start SC_ANGELUS,760000,10; sc_start SC_CONCENTRATE,760000,10; sc_start SC_MAGNIFICAT,760000,5; sc_start SC_GLORIA,760000,5; sc_start SC_IMPOSITIO,760000,5; sc_start SC_BLESSING,760000,10; sc_start SC_INCREASEAGI,760000,10; sc_start SC_CONCENTRATION,760000,5; sc_start SC_CP_ARMOR,760000,5; sc_start SC_CP_HELM,760000,5; sc_start SC_CP_WEAPON,760000,5; sc_start SC_CP_SHIELD,760000,5; sc_start SC_TRUESIGHT,760000,5; sc_start SC_ASSUMPTIO,760000,5; percentheal 100,100; mes "[buffer]"; mes "Which weaponelement you want?"; switch(select("Earth,"Wind","Water","Fire","Ghost","Shadow","Holy","Nothing")) { case 1: sc_start SC_WARM_WIND,760000,1; close; case 2: sc_start SC_WARM_WIND,760000,2; close; case 3: sc_start SC_WARM_WIND,760000,3; close; case 4: sc_start SC_WARM_WIND,760000,4; close; case 5: sc_start SC_WARM_WIND,760000,5; close; case 6: sc_start SC_WARM_WIND,760000,6; close; case 7: sc_start SC_WARM_WIND,760000,7; case 8: close; } } soFar~ Edited July 26, 2012 by Nochii Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted July 25, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted July 25, 2012 have you noticed that you are missing a " after Earth? Quote Link to comment Share on other sites More sharing options...
Werdio Posted July 26, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 248 Reputation: 1 Joined: 06/27/12 Last Seen: May 9, 2016 Author Share Posted July 26, 2012 (edited) *facepalm* But it dont work, I stuck and cant move if I select one element, then I have to make @die ;/ Script (Edited): mymap,45,56,4 script Buffer 794,{ percentheal 100,100; sc_start SC_PRESERVE,760000,10; sc_start SC_WINDWALK,760000,5; sc_start SC_ENDURE,760000,10; sc_start SC_ANGELUS,760000,10; sc_start SC_CONCENTRATE,760000,10; sc_start SC_MAGNIFICAT,760000,5; sc_start SC_GLORIA,760000,5; sc_start SC_IMPOSITIO,760000,5; sc_start SC_BLESSING,760000,10; sc_start SC_INCREASEAGI,760000,10; sc_start SC_CONCENTRATION,760000,5; sc_start SC_CP_ARMOR,760000,5; sc_start SC_CP_HELM,760000,5; sc_start SC_CP_WEAPON,760000,5; sc_start SC_CP_SHIELD,760000,5; sc_start SC_TRUESIGHT,760000,5; sc_start SC_ASSUMPTIO,760000,5; percentheal 100,100; mes "[buffer]"; mes "Which weaponelement you want?"; switch(select("Earth","Wind","Water","Fire","Ghost","Shadow","Holy","Nothing")) { case 1: sc_start SC_WARM_WIND,760000,1; close; case 2: sc_start SC_WARM_WIND,760000,2; close; case 3: sc_start SC_WARM_WIND,760000,3; close; case 4: sc_start SC_WARM_WIND,760000,4; close; case 5: sc_start SC_WARM_WIND,760000,5; close; case 6: sc_start SC_WARM_WIND,760000,6; close; case 7: sc_start SC_WARM_WIND,760000,7; case 8: close; } } Edited July 26, 2012 by Nochii Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 26, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 26, 2012 Sorry, I had to. x.x setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151; for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1) sc_start .@SC[.@i],760000,(.@i>10)?10:5; percentheal 100,100; set .@i, select("Earth:Wind:Water:Fire:Ghost:Shadow:Holy:Cancel")-1; if (.@i<7) { setarray .@SC[0],99,98,97,96,146,144,37; sc_start .@SC[.@i],760000,1; } close; "SC_WARM_WIND" doesn't exist, therefore defaulting to 0, or "SC_STONE" (Stone Curse). You did have me fooled for a minute, though~ (The correct status is "SC_SEVENWIND", but it's not as straightforward to use.) Quote Link to comment Share on other sites More sharing options...
Werdio Posted July 26, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 248 Reputation: 1 Joined: 06/27/12 Last Seen: May 9, 2016 Author Share Posted July 26, 2012 (edited) Okay I'll try to use it You forgot to use a " } " Right script map,45,56,4 script Buffer 794,{ setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151; for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1) sc_start .@SC[.@i],760000,(.@i>10)?10:5; percentheal 100,100; set .@i, select("Earth:Wind:Water:Fire:Ghost:Shadow:Holy:Cancel")-1; if (.@i<7) { setarray .@SC[0],99,98,97,96,146,144,37; sc_start .@SC[.@i],760000,1; } close; } //<----- Here But I would add poison element too HELP ME x_X Edited July 26, 2012 by Nochii Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 26, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 26, 2012 You forgot to use a " } " I didn't even add a header. o_o SC_ENCPOISON 26 Quote Link to comment Share on other sites More sharing options...
Werdio Posted July 27, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 248 Reputation: 1 Joined: 06/27/12 Last Seen: May 9, 2016 Author Share Posted July 27, 2012 Holy weapon didn't work :/ Whats the number for Aspersio? .. Solve this script please x') Script: whatever,45,56,4 script Buffer 794,{ setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151; for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1) sc_start .@SC[.@i],760000,(.@i>10)?10:5; percentheal 100,100; mes "^ff0000[buffer]^000000"; mes "blaaaaaaah"; set .@i, select("Fire Weapon:Ice Weapon:Thunder Weapon:Earth Weapon:^F0F8FFGhost Weapon000000:Shadow Weapon:^8B008BPoison^000000 Weapon:Holy Weapon:Nothing")-1; if (.@i<7) { setarray .@SC[0],96,97,98,99,146,144,26,37; sc_start .@SC[.@i],760000,5; } mes "Have a nice day ~"; close; } soFar~ Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 28, 2012 you can find the number here https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/const.txt Quote Link to comment Share on other sites More sharing options...
Werdio Posted July 28, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 248 Reputation: 1 Joined: 06/27/12 Last Seen: May 9, 2016 Author Share Posted July 28, 2012 (edited) Thank you but ... still it don't work with Aspersio ;< here my Script : blaa,45,56,4 script Buffer 794,{ setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151; for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1) sc_start .@SC[.@i],760000,(.@i>10)?10:5; percentheal 100,100; mes "^8B0000[buffer]^000000"; mes "Welche Waffenverzauberung möchtest du?"; set .@i, select("Feuer Waffe:Eis Waffe:Blitz Waffe:Erd Waffe:^F0F8FFGhost Waffe^000000:Unlicht Waffe:^8B008BGift^000000 Waffe:Holy Waffe:Keine")-1; if (.@i<7) { setarray .@SC[0],96,97,98,99,146,144,26,37; sc_start .@SC[.@i],760000,5; } mes "Ich wünsche dir einen angenehmen Aufenthalt."; close; } Edited July 29, 2012 by Nochii Merged. Please refrain from creating a new topic when you already have a discussion going on here. Quote Link to comment Share on other sites More sharing options...
Bayne Posted April 26, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 29 Reputation: 0 Joined: 04/23/13 Last Seen: May 7, 2013 Share Posted April 26, 2013 (edited) http://rathena.org/board/topic/69323-buffer-%C2%A7-identifier/ post from Pysk Edited April 26, 2013 by Bayne Quote Link to comment Share on other sites More sharing options...
Capuche Posted April 26, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted April 26, 2013 The problem was because of if (.@i<7) { but .@i value for holy element in the menu was 7 -> Must be if (.@i<8) { Quote Link to comment Share on other sites More sharing options...
Question
Werdio
Hello again x')
My weapon element Buffer didn't work ;/
Script:
soFar~
Edited by NochiiLink to comment
Share on other sites
10 answers to this question
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.