Jump to content
  • 0

All in one card seller


AllHailToTheKing

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

//===== 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;
}
 
 
}

i dont know what is wrong with this script but i cant open the letter T option. someone can help me to fix this ? will be much appreciated.

Edited by AllHailToTheKing
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

- shop O cards -1,4093:1000000, ...
....
- shop T cards -1,4395:1000000, ...
the npc name "O cards" change into "O Cards"

same with T cards

its case-sensitive

or you can try mine ...

no need to update that every time

[paste=6z9qpalbmh4x]

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

- shop O cards -1,4093:1000000, ...
....
- shop T cards -1,4395:1000000, ...
the npc name "O cards" change into "O Cards"

same with T cards

its case-sensitive

or you can try mine ...

no need to update that every time

[paste=6z9qpalbmh4x]

 

 

 

annie i already edited the "O cards" change into "O Cards" and the T , but still i cant open both. any advice?

 

 

 

annie i tried your card seller the npc wont show on my server.

Edited by AllHailToTheKing
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

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 i tried your card seller the npc wont show on my server.

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

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...