Jump to content

Capuche

Developer
  • Posts

    2407
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by Capuche

  1. Add an exception for the expanded class in the line else if( NextJobExp || NextBaseExp || !( .@eac&EAJL_2 ) || !Upper ) {
  2. it's working for me //===== eAthena Script ======================================= //= All Cards NPC (All-In-One) //===== By: ================================================== //= Choiboy with credits to Katazui Or WanMan for the original script //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= eAthena 7.15 + //===== Description: ========================================= //= All Cards NPC //===== Additional Comments: ================================= - shop A Cards -1,4140:1000000,4409:1000000,4241:1000000,4244:1000000,4253:1000000,4401:1000000,4402:1000000,4400:1000000,4252:1000000,4245:1000000,4032:1000000,4062:1000000,4387:1000000,4248:1000000,4249:1000000,4043:1000000,4013:1000000,4018:1000000,4234:1000000,4344:1000000,4243:1000000,4138:1000000,4242:1000000,4371:1000000,4240:1000000,4114:1000000,4075:1000000,4347:1000000,4246:1000000,4247:1000000,4425:1000000 - shop B Cards -1,4023:1000000,4233:1000000,4372:1000000,4438:1000000,4450:1000000,4129:1000000,4119:1000000,4307:1000000,4356:1000000,4074:1000000,4215:1000000,4327:1000000,4320:1000000,4214:1000000,4379:1000000,4212:1000000,4428:1000000,4390:1000000,4213:1000000,4426:1000000 - shop C Cards -1,4063:1000000,4288:1000000,4290:1000000,4289:1000000,4368:1000000,4447:1000000,4452:1000000,4284:1000000,4300:1000000,4285:1000000,4009:1000000,4235:1000000,4373:1000000,4202:1000000,4299:1000000,4229:1000000,4262:1000000,4041:1000000,4015:1000000,4293:1000000,4448:1000000,4061:1000000,4153:1000000,4296:1000000,4040:1000000,4298:1000000,4297:1000000 - shop D Cards -1,4272:1000000,4170:1000000,4171:1000000,4449:1000000,4388:1000000,4173:1000000,4082:1000000,4122:1000000,4182:1000000,4370:1000000,4181:1000000,4098:1000000,4444:1000000,4385:1000000,4179:1000000,4178:1000000,4069:1000000,4180:1000000,4004:1000000,4421:1000000,4177:1000000,4176:1000000,4154:1000000,4056:1000000 - shop E Cards -1,4279:1000000,4118:1000000,4410:1000000,4266:1000000,4070:1000000,4251:1000000,4052:1000000,4217:1000000,4451:1000000,4360:1000000,4349:1000000,4141:1000000,4258:1000000,4250:1000000,4250:1000000,4267:1000000 - shop F Cards -1,4002:1000000,4316:1000000,4020:1000000,4026:1000000,4160:1000000,4439:1000000,4080:1000000,4319:1000000,4088:1000000,4405:1000000,4151:1000000 - shop G Cards -1,4152:1000000,4423:1000000,4149:1000000,4323:1000000,4418:1000000,4354:1000000,4280:1000000,4110:1000000,4271:1000000,4270:1000000,4303:1000000,4278:1000000,4087:1000000,4165:1000000,4150:1000000,4060:1000000,4155:1000000,4156:1000000,4378:1000000,4072:1000000,4161:1000000,4283:1000000,4381:1000000,4377:1000000,4355:1000000,4162:1000000,4163:1000000,4164:1000000 - shop H Cards -1,4325:1000000,4331:1000000,4437:1000000,4232:1000000,4322:1000000,4345:1000000,4453:1000000,4081:1000000,4413:1000000,4343:1000000,4045:1000000,4019:1000000,4103:1000000,4362:1000000,4115:1000000,4035:1000000,4384:1000000,4328:1000000,4321:1000000 - shop I Cards -1,4417:1000000,4433:1000000,4231:1000000,4269:1000000,4268:1000000,4239:1000000,4412:1000000,4116:1000000 - shop J Cards -1,4109:1000000,4139:1000000 - shop K Cards -1,4065:1000000,4287:1000000,4286:1000000,4431:1000000,4366:1000000,4351:1000000,4136:1000000,4301:1000000,4434:1000000,4292:1000000,4091:1000000,4295:1000000,4027:1000000 - shop L Cards -1,4350:1000000,4184:1000000,4195:1000000,4188:1000000,4265:1000000,4191:1000000,4445:1000000,4193:1000000,4006:1000000 - shop M Cards -1,4432:1000000,4076:1000000,4131:1000000,4201:1000000,4050:1000000,4030:1000000,4079:1000000,4105:1000000,4112:1000000,4364:1000000,4196:1000000,4084:1000000,4113:1000000,4095:1000000,4046:1000000,4197:1000000,4097:1000000,4124:1000000,4200:1000000,4067:1000000,4199:1000000,4341:1000000,4057:1000000,4205:1000000,4339:1000000,4204:1000000,4126:1000000,4208:1000000,4317:1000000,4036:1000000,4106:1000000,4090:1000000,4420:1000000,4108:1000000,4206:1000000,4207:1000000 - shop N Cards -1,4440:1000000,4167:1000000,4127:1000000,4166:1000000,4159:1000000,4334:1000000 - shop O Cards -1,4093:1000000,4392:1000000,4338:1000000,4256:1000000,4375:1000000,4035:1000000,4066:1000000,4071:1000000,4238:1000000,4237:1000000 - shop P Cards -1,4310:1000000,4309:1000000,4099:1000000,4031:1000000,4007:1000000,4314:1000000,4311:1000000,4315:1000000,4077:1000000,4329:1000000,4008:1000000,4011:1000000,4073:1000000,4335:1000000,4024:1000000,4389:1000000,4048:1000000,4175:1000000,4033:1000000,4337:1000000,4001:1000000,4313:1000000,4003:1000000 - shop Q Cards -1,4294:1000000 - shop R Cards -1,4083:1000000,4436:1000000,4186:1000000,4187:1000000,4133:1000000,4380:1000000,4383:1000000,4353:1000000,4104:1000000,4391:1000000,4185:1000000,4021:1000000,4014:1000000,4192:1000000,4422:1000000,4194:1000000 - shop S Cards -1,4219:1000000,4058:1000000,4427:1000000,4429:1000000,4101:1000000,4005:1000000,4216:1000000,4017:1000000,4078:1000000,4068:1000000,4130:1000000,4326:1000000,4312:1000000,4414:1000000,4358:1000000,4273:1000000,4393:1000000,4230:1000000,4117:1000000,4416:1000000,4406:1000000,4025:1000000,4221:1000000,4222:1000000,4092:1000000,4404:1000000,4158:1000000,4120:1000000,4228:1000000,4044:1000000,4037:1000000,4415:1000000,4100:1000000,4394:1000000,4059:1000000,4086:1000000,4220:1000000,4022:1000000,4227:1000000,4039:1000000,4223:1000000,4424:1000000,4042:1000000,4224:1000000,4226:1000000,4225:1000000,4111:1000000 - shop T Cards -1,4395:1000000,4396:1000000,4058:1000000,4172:1000000,4016:1000000,4012:1000000,4254:1000000,4306:1000000,4308:1000000 - shop U Cards -1,4336:1000000,4058:1000000 - shop V Cards -1,4049:1000000,4183:1000000,4411:1000000,4369:1000000,4333:1000000,4107:1000000,4209:1000000,4053:1000000,4211:1000000 - shop W Cards -1,4210:1000000,4332:1000000,4102:1000000,4348:1000000,4257:1000000,4010:1000000,4264:1000000,4029:1000000,4259:1000000,4261:1000000,4260:1000000,4034:1000000,4190:1000000,4189:1000000 - shop Y Cards -1,4382:1000000,4051:1000000 - shop Z Cards -1,4096:1000000,4064:1000000,4277:1000000,4281:1000000,4038:1000000,4274:1000000,4275:1000000,4435:1000000 turbo_room,76,125,5 script All-In-One Cardstore 993,{ set @name$, "[All-In-One Cardstore]"; mes @name$; mes "Hello there, I sell cards sorted alphabetically. I have every cards you'll ever come across in Rune-Midgard besides the MVP Cards. Now, my friend, choose from the alphabetically catergorized shops below."; next; switch(select("A:B:C:D:E:F:G:H:I:J:K:L:M:N:O:P:Q:R:S:T:U:V:W:Y:Z")) { case 1: close2; callshop "A Cards",1; end; case 2: close2; callshop "B Cards",1; end; case 3: close2; callshop "C Cards",1; end; case 4: close2; callshop "D Cards",1; end; case 5: close2; callshop "E Cards",1; end; case 6: close2; callshop "F Cards",1; end; case 7: close2; callshop "G Cards",1; end; case 8: close2; callshop "H Cards",1; end; case 9: close2; callshop "I Cards",1; end; case 10: close2; callshop "J Cards",1; end; case 11: close2; callshop "K Cards",1; end; case 12: close2; callshop "L Cards",1; end; case 13: close2; callshop "M Cards",1; end; case 14: close2; callshop "N Cards",1; end; case 15: close2; callshop "O Cards",1; end; case 16: close2; callshop "P Cards",1; end; case 17: close2; callshop "Q Cards",1; end; case 18: close2; callshop "R Cards",1; end; case 19: close2; callshop "S Cards",1; end; case 20: close2; callshop "T Cards",1; end; case 21: close2; callshop "U Cards",1; end; case 22: close2; callshop "V Cards",1; end; case 23: close2; callshop "W Cards",1; end; case 24: close2; callshop "Y Cards",1; end; case 25: close2; callshop "Z Cards",1; end; } } Annie's script use item_db_re table and mob_db table, don't forgot to load them on mysql even if you use txt db
  3. ur right there is a bug replace else jobchange Job_Novice; resetlvl 1; if ( num_rebirth < .change_reward ) StatusPoint = StatusPoint + .num_status * num_rebirth; else getItemReward(); by else jobchange Job_Novice; resetlvl 1; if ( num_rebirth < .change_reward ) StatusPoint = StatusPoint + .num_status * num_rebirth; else { StatusPoint = StatusPoint + .num_status * .change_reward; getItemReward(); } add theses lines in your resetter after resetlvl command to give the extra statpoints if ( num_rebirth < getvariableofnpc( .change_reward,"Spec" ) ) StatusPoint = StatusPoint + getvariableofnpc( .num_status,"Spec" ) * num_rebirth; else StatusPoint = StatusPoint + getvariableofnpc( .num_status,"Spec" ) * getvariableofnpc( .change_reward,"Spec" ); (change the "Spec" into your npcname)
  4. common error : tabulation -> poring_w01<tabulate>mapflag<tabulate>nowarp
  5. close; } if ( .@spirit ) { sc_start4 sc_spirit, .@time, 5, .@spirit,0,0; skilleffect .@spirit, 5; } } case 2: { close; change close to end -> then try it
  6. prontera,159,184,5 script kjhfksjdfhs 100,{ percentheal 100,100; if ( countitem( "Cold_Medicine" ) < @cold_medecine ) { .@count = @cold_medecine - countitem( "Cold_Medicine" ); if ( checkweight( "Cold_Medicine", .@count ) ) getitem "Cold_Medicine", .@count; } if ( countitem( "Halohalo" ) < @haloh ) { .@count = @haloh - countitem( "Halohalo" ); if ( checkweight( "Halohalo", .@count ) ) getitem "Halohalo", .@count; } end; OnWhisperGlobal: mes "how many cold medecine?"; input @cold_medecine, 0,500; mes "how many halo"; input @haloh, 0,10; close; } whisper the npc to set the amount
  7. prontera,150,150,5 script ojnoi 78,{ mes "hello"; close; OnInit: disablenpc strnpcinfo(3); end; OnMinute00: if ( .is_enabled ) end; .is_enabled = 1; sleep ( 1000 * rand(3600) );// random minute enablenpc strnpcinfo(3); sleep ( 1000 * 60 * rand( 10,30 ) );// 10-30 mins disablenpc strnpcinfo(3); .is_enabled = 0; end; }
  8. entwenhein in ET already call the label OnMyMobDead, it can't call OnNPCKillEvent Add a doevent in ET script under OnMyMobDead to call your label
  9. My two cents contribution, for fun [paste=2boubox9ffzz]
  10. Note the trick won't work for several maps "pvp_n1-1", "1@tower" with @ or - in the name It was my comment of the day
  11. Dup the main npc (don't dup the dummy shop at the end of the script) call your new shop with another shop number Add(2,5377,1,0,0,6153,1);// new shop number
  12. To duplicate a npc in the original script, call the same function in another npc prontera,164,203,6 script Quest Shop#1 998,{ callfunc "qshop"; } prontera,164,203,6 script Quest Shop#2 998,{ callfunc "qshop"; }
  13. [paste=5ftv70olkmdg]
  14. I suggest you to use the search toolbar in script section (title with freebie or newbie), there is a lot of topics about the same request
  15. I forgot addtimer need the timer in millisecs addtimer 3600000, strnpcinfo(3) + "::Onijnuionion";// 1h
  16. Capuche

    Warp NPC

    Adding_a_Script Then --> @recallmap
  17. Capuche

    Warp NPC

    - script atcmd_example -1,{ OnInit: bindatcmd "recallmap",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: .count = 0; .origin = getcharid(3) ; getmapxy .map_self$, .x_self, .y_self, 0; addrid 4,0, 1,200,1,200; .count++; warp .map_self$, .x_self, .y_self; if ( getcharid(3) != .origin ) end; dispbottom .count + " player(s) recalled"; end; }
  18. Change .duration (not set) sc_start SC_ANGELUS,60000,10; // Angelus lvl 10 sc_start SC_BLESSING,60000,10; // Blessing lvl 10 sc_start SC_INCREASEAGI,60000,10; // Increase agi lvl 10
  19. query_sql( "SELECT `Count` FROM `E-MVPRank` where `name`= '" + escape_sql( strcharinfo(0) ) + "'", .@Count ); nb cancel: mes .ahmel$; mes "Okay, goodluck hunting MVPs!"; end; close; you will be stuck by the mes window because of the end, you just need close
  20. https://github.com/rathena/rathena/blob/master/db/pre-re/skill_nocast_db.txt
  21. Well the synthaxe is wrong if ( strcharinfo(3) == "guild_vs3 || prontera || ... -> if ( strcharinfo(3) == "guild_vs3" || strcharinfo(3) == "prontera" || ...
  22. - script login_reward -1,{ OnPCLoginEvent: addtimer 3600, strnpcinfo(3) + "::Onijnuionion"; end; Onijnuionion: .@pow = 1 << 10;
  23. Like channel system? http://rathena.org/board/topic/80999-r17228-channel-system-replacement-for-main/
  24. https://github.com/rathena/rathena/blob/master/db/re/skill_nocast_db.txt
×
×
  • Create New...