Jump to content

Lenya

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by Lenya

  1. Lenya

    No Vending

    Hi, I made this script which shouldn't work while Vending or Autotrade. Please help me. - script 20mins -1,{ OnPCLoginEvent: AddTimer(1200000, "20mins::OnTimerEnd"); End(); OnTimerEnd: if(!CheckVending()) dispbottom "Du warst 20 Minuten Online. Du erhälst eine Buff Energie!"; GetItem(22040, 1); AddTimer(1200000, "20mins::OnTimerEnd"); End(); OnPCLogoutEvent: DelTimer("20mins::OnTimerEnd"); End(); }
  2. //= v1.3 Optimized: reduced from 123kb to 7kb! [Euphy] //= v1.4 Variables don't need to load OnInit. [Euphy] //============================================================ Same. But Emistry, I want a script where I can choose which item I want.
  3. I've got the same Problem x<<< Hi Sascha :> Please answer somebody ..
  4. Nanai, this is Euphys script if you can read. Emistry, yes something like this but without MVP and Mini Boss Cards. Look at my posted script, there you can buy something with the points too but you have to put in the card name in the input disp. I want to change this Script to a auto recognizing script.
  5. Damn just download miruku - there is the data.grf or rdata.grf which have got this sprites. I think new cart sprites are only supported by new clients.
  6. Hi, I want to change this defalut Card Trader script which works with Input function to a automatic script, which can scan your card in your inventory. I know that it's able because on other server they use this too. Here is the script: //===== rAthena Script ======================================= //= Card Trader //===== By: ================================================== //= Elias (og2) //===== Current Version: ===================================== //= 1.4 //===== Compatible With: ===================================== //= rAthena SVN r15340+ //===== Description: ========================================= //= Card and Points Trader //===== Additional Comments: ================================= //= v1.0 Translated from the Official [Elias] //= v1.1 Fixed variables and optimized script [Elias] //= v1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) //= v1.3 Optimized: reduced from 123kb to 7kb! [Euphy] //= v1.4 Variables don't need to load OnInit. [Euphy] //============================================================ prt_vilg,65,106,6 script Putty#Card1 953,{ if (!.card[1]) { setarray .card1[0], 4001,4006,4009,4019,4075,4033,4012,4016,4026,4022, 4027,4028,4038,4025,4021,4050,4079,4081,4090,4094, 4101,4104,4110,4114,4119,4108,4095,4231,4280,4008, 4011,4013,4014,4015,4020,4032,4037,4039,4041,4045, 4046,4010,4023,4029,4052,4048,4056,4071,4093,4031, 4036,4034,4042,4055,4061,4087,4096,4116,4122,4170, 4215,4220,4228,4226,4212,4227,4267,4257,4278,4286, 4287,4292,4311,4315,4319,4322,4084,4078,4113,4149, 4153,4196,4240,4247,4256,4057,4066,4067,4112,4150, 4152,4186,4187,4181,4173,4167,4162,4176,4195,4193, 4200,4223,4194,4190,4189,4192,4224,4244,4248,4261, 4260,4259,4274,4275,4313,4299,4304,4294,4076,4127, 4154,4157,4156,4213,4214,4225,4235; setarray .card2[0], 4293,4297,4288,4283,4295,4307,4308,4309,4132,4326, 4341,4335,4337,4345,4344,4331,4333,4332,4089,4161, 4177,4178,4180,4184,4191,4206,4199,4273,4282,4268, 4289,4321,4316,4343,4339,4369,4377,4385,4383,4382, 4380,4381,4378,4379,4390,4389,4388,4391,4405,4400, 4401,4402,4404,4002,4003,4004,4005,4007,4017,4024, 4030,4035,4040,4043,4044,4049,4051,4053,4058,4060, 4062,4063,4064,4065,4068,4069,4070,4072,4073,4074, 4077,4080,4082,4083,4085,4086,4088,4091,4092,4097, 4098,4099,4100,4102,4103,4106,4107,4109,4111,4115, 4117,4118,4120,4124,4125,4126,4138,4139,4141,4151, 4158,4164,4165,4182,4185,4159,4160,4166,4172,4175, 4188,4201,4202,4204,4205,4208,4209; setarray .card3[0], 4120,4216,4217,4219,4221,4222,4230,4234,4233,4232, 4237,4238,4242,4243,4245,4246,4249,4252,4255,4258, 4262,4264,4276,4270,4271,4218,4239,4251,4253,4269, 4334,4105,4133,4136,4229,4272,4277,4279,4281,4284, 4285,4290,4296,4298,4301,4310,4314,4317,4325,4327, 4328,4329,4338,4340,4346,4347,4348,4349,4350,4351, 4353,4354,4355,4356,4358,4360,4362,4364,4366,4368, 4370,4371,4373,4375,4387,4406,4129,4155,4291,4392, 4393,4394,4409,4410,4411,4412,4413,4414,4415,4416, 4417,4418,4420,4421,4422,4423,4424,4427,4427,4428, 4429,4431,4432,4433,4434,4435,4436,4437,4438,4439, 4440,4442,4443,4444,4445,4447,4448,4449,4450,4452, 4453; setarray .card[1], getarraysize(.card1), getarraysize(.card2), getarraysize(.card3); } set .@points,oversea_event9; if (!.@points) { mes "[Putty]"; mes "Hallo du!"; mes "Ich sammle mein Leben gerne Cards aus aller Welt! .."; mes "... Das ist meine Leidenschaft!"; next; switch(select("Nach mehr Information fragen!","Ich habe keine Cards bei mir.")) { case 1: mes "[Putty]"; mes "Ich gebe dir einen Punkt für jede Card, die du mir bringt."; mes "Mit diesen Punkten kannst du dir später folgendes kaufen..."; next; mes "[Putty]"; mes "Für ^CC00001000 Punkte^000000: ^0000CC1 Pet Box^000000."; mes "Für ^CC00001500 Punkte^000000: ^0000CC1 Headgear Box^000000."; mes "Für ^CC00005000 Punkte^000000: ^0000CC1 Custom Box^000000."; mes "Für ^CC000010000 Punkte^000000: ^0000CC1 Diamond Dust^000000."; next; break; case 2: mes "[Putty]"; mes "Schade .. ich brauche Cards!"; close; break; } } else { mes "[Putty]"; mes "Willkommen zurück"; mes "Dein Punktestand beträgt ^00cc00" + .@points + "^000000 Punkte."; next; mes "[Putty]"; mes "Möchtest du deine ^00cc00Punkte^000000 einlösen oder"; mes "möchtest du Cards abgeben?"; next; } switch(select("Ich möchte Cards abgeben.","Ich möchte meine Punkte einlösen.")) { case 1: mes "[Putty]"; mes "Tippe ein, welche Card(s) du tauschen möchtest."; next; input .@i$; set .@input$, "_"+.@i$; set .@card,0; freeloop(1); for(set .@j,1; .@j<4; set .@j,.@j+1) { for(set .@i,0; .@i<.card[.@j]; set .@i,.@i+1) if (compare(.@input$,"_"+getitemname(getd(".card"+.@j+"["+.@i+"]")))) { set .@card, getd(".card"+.@j+"["+.@i+"]"); break; } sleep2 10; // For good measure if (.@card) break; } freeloop(0); mes "[Putty]"; if (!.@card) mes "Bitte komm wieder wenn du eine Card tauschen möchtest."; else { set .@count, countitem(.@card); if (!.@count) { mes "Du hast keine ^0055FF"+getitemname(.@card)+"s^000000 bei dir!"; close; } mes "Du hast ^0055FF"+.@count+" "+getitemname(.@card)+((.@count>1)?"s":"")+"^000000."; mes " "; mes "Möchtest du sie einlösen für 1 Punkt pro Card?"; next; switch(select("Ja, bitte!","Nein, danke.")) { case 1: delitem .@card,.@count; set oversea_event9, (.@points+.@count); mes "[Putty]"; mes "Prima, du hast ^CC0000"+.@count+"^000000 Punkte erhalten."; break; case 2: mes "[Putty]"; mes "Okay, lass es mich wissen, wenn ich dir helfen kann."; break; } } close; case 2: if (.@points) { mes "[Putty]"; mes "Diese Items kann ich dir anbieten."; next; switch(select("Pet Box - 1000 Punkte","Headgear Box - 1500 Punkte","Custom Box - 5000 Punkte","Diamond Dust - 10000 Punkte","^777777Nichts^000000")) { case 1: if (.@points < 1000) break; mes "[Putty]"; mes "Pet Box? Bist du dir sicher?"; mes "Wenn es das ist, was du möchtest dann hier!"; set oversea_event9, .@points - 1000; getitem 22083,1; close; case 2: if (.@points < 1500) break; mes "[Putty]"; mes "Headgear Box? Bist du dir sicher?"; mes "Wenn es das ist, was du möchtest dann hier!"; set oversea_event9, .@points - 1500; getitem 22077,1; close; case 3: if (.@points < 5000) break; mes "[Putty]"; mes "Custom Box? Bist du dir sicher?"; mes "Wenn es das ist, was du möchtest dann hier!"; set oversea_event9, .@points - 5000; getitem 22078,1; close; case 4: if (.@points < 10000) break; mes "[Putty]"; mes "Diamond Dust? Bist du dir sicher?"; mes "Wenn es das ist, was du möchtest dann hier!"; set oversea_event9, .@points - 10000; getitem 22104,1; close; case 5: mes "[Putty]"; mes "Komm wieder wenn du mehr Punkte hast."; close; } mes "[Putty]"; mes "Du hast leider zu wenig Punkte."; close; } else { mes "[Putty]"; mes "Du hast 0 Punkte. Du benötigst mindestens 1000 Punkte um etwas zu kaufen."; } break; } close; OnInit: waitingroom "Kartensammler",0; end; }
  7. Thank you, it works ^^
  8. Hey rAthena, I need / gonna triy to make a script which give you a item only one time for one account. How I can make this?
  9. Omg Thank you! What did you changed?
  10. Here the Custom Part that I've written ~ : Klick me!
  11. cskroption.lub Everything works fine till I insert my custom item desciptions ^^
  12. Hi, I've got a problem .... I use iteminfo.lub (cskroption.lub = same) and I removed all errors expect this on game running: How I can fix this ? °~°
  13. Hey grafic dudes ;> I've got a problem... I want to set a walkable cell higher but I don't know what I've to press. I tried all buttons on my damned Laptop @.@ This picture describes my problem: And it should looks like this: Please help me '
  14. I think it's a grafical bug. Look on the right side of your screen where you can see the Buffs.
  15. 2607,Clip,Clip,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ setmounting(); },{},{} Perhabs this should work.
  16. Use this: { setmounting(); },{},{} It will work.
  17. 1000 GRF patch1.gpf I tried it but I get the same error.
  18. Heeey rA ~ I've got a problem with the neoncube patcher ;x I tested the patcher witch a test.rar .... works fine! Then I tried it with a .gpf patchlist.txt 1 FLD test.rar 2 GRF patch1.gpf It works but at the end of the Patch I get a runtime error message and the file don't patched. Here you can see the Error Msg ... Please help me fast ... Farron
  19. You're right ...~.~ I didn't write it two times in script_custom.conf but it gives a error :/ And I only have one Script which is called like this :<< Please Help me Teamviewer would be great ..
  20. Okay I'll try ~.~ Didn't work ... I copy the Text, paste it in Word Pad and saved. Same tried with Editor but I get the same error >.<
  21. scripts_custom.conf // ----------------------- Events // Auto Events //npc: npc/Aoro/Events/Moom.txt //npc: npc/Aoro/Events/Brunnen.txt npc: npc/Aoro/Events/Dice.txt npc: npc/Aoro/Events/Mushroom.txt // ----------------------- Games [b]npc: npc/Aoro/Games/Putty.txt[/b] npc: npc/Aoro/Games/Mining.txt npc: npc/Aoro/Games/Powerplant.txt // ----------------------- Novice Ground // Novice Ground npc: npc/Aoro/Novice/Novi.txt npc: npc/Aoro/Novice/Novi2.txt npc: npc/Aoro/Novice/Novi3.txt npc: npc/Aoro/Novice/Novi4.txt npc: npc/Aoro/Novice/Noviitem.txt npc: npc/Aoro/Novice/Noviquiz.txt npc: npc/Aoro/Novice/Noviheal.txt npc: npc/Aoro/Novice/Noviwache.txt npc: npc/Aoro/Novice/Noviwarp.txt npc: npc/Aoro/Novice/Penner.txt npc: npc/Aoro/Novice/Willkommen.txt // ----------------------- Quests npc: npc/Aoro/Quests/QFEATHER_BERET.txt npc: npc/Aoro/Quests/QHEINZ.txt npc: npc/Aoro/Quests/QAuE_EARS.txt npc: npc/Aoro/Quests/QAuE_COLOR.txt npc: npc/Aoro/Quests/QVALKHELM.txt // ----------------------- Towns // Automatic ----------------------- npc: npc/Aoro/Maintown/Marktscript.txt npc: npc/Aoro/Maintown/Automatic/News.txt npc: npc/Aoro/Maintown/Automatic/Night.txt npc: npc/Aoro/Maintown/Automatic/Snowflake.txt // Portale ----------------------- npc: npc/Aoro/Maintown/Portale/prt_vilg01.txt // MaintownIn ----------------------- // Banker npc: npc/Aoro/Maintown/Banker/Banker.txt npc: npc/Aoro/Maintown/Banker/Coin.txt // Shops npc: npc/Aoro/Maintown/MaintownIn/Shops/Mall.txt npc: npc/Aoro/Maintown/MaintownIn/Shops/Markt.txt //npc: npc/Aoro/Maintown/MaintownIn/Shops/Quickseller.txt npc: npc/Aoro/Maintown/MaintownIn/Marry.txt npc: npc/Aoro/Maintown/MaintownIn/PORING_BOY.txt npc: npc/Aoro/Maintown/MaintownIn/PORING_LADY.txt npc: npc/Aoro/Maintown/MaintownIn/Remover.txt npc: npc/Aoro/Maintown/MaintownIn/Soullink.txt // -----------------------Maintown NPC's // Warpers ----------------------- npc: npc/Aoro/Maintown/Warpers/DBArena.txt npc: npc/Aoro/Maintown/Warpers/Goldraum.txt npc: npc/Aoro/Maintown/Warpers/Poringheaven.txt npc: npc/Aoro/Maintown/Warpers/PvP.txt npc: npc/Aoro/Maintown/Warpers/Towerwarp.txt npc: npc/Aoro/Maintown/Warpers/Vender.txt npc: npc/Aoro/Maintown/Warpers/Warper.txt npc: npc/Aoro/Maintown/Buffer.txt npc: npc/Aoro/Maintown/GMOnline.txt npc: npc/Aoro/Maintown/Identify.txt npc: npc/Aoro/Maintown/JobMaster.txt npc: npc/Aoro/Maintown/Platinumskill.txt npc: npc/Aoro/Maintown/PvPLadder.txt npc: npc/Aoro/Maintown/Rental.txt npc: npc/Aoro/Maintown/Reset.txt npc: npc/Aoro/Maintown/SaveChild.txt npc: npc/Aoro/Maintown/Signer.txt npc: npc/Aoro/Maintown/SpecialRefiner.txt npc: npc/Aoro/Maintown/Stylist.txt // ----------------------- WoE //npc: npc/Aoro/WoE/WoE.txt //npc: npc/Aoro/WoE/WoE_Warper.txt //npc: npc/Aoro/WoE/WoE_Setter.txt Look I loaded it only once x.x
  22. Didn't work ... And no It's the only NPC who is called Putty. I changed the name too but it didn't work >.<
  23. prt_vilg01,99,100,0 script Putty#Putty2 90,{ Didn't work ... :< I changed the Name of this script to Card_Trader ... and the NPC Name too So please help me ;>
×
×
  • Create New...