Jump to content

nyxfatalis

Members
  • Content Count

    64
  • Joined

  • Last visited

Posts posted by nyxfatalis


  1. Hi Hecules.,

     

    Im having a trouble on this script.

    Whenever i click the NPC my client crashes ( not responding )

     

    Here's the script : 

    //= All Cards NPC//===== Additional Comments: //=================================-	shop	A Cards	-1,4140:1000000,4409: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,4160:1000000,4054:1000000,4241:1000000,-	shop	B Cards	-1,4023:1000000,4233: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,4169:1000000,4171:1000000,4449:1000000,4388:1000000,4173:1000000,4082:1000000,4174: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,4263: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,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,4198:1000000,4124:1000000,4200:1000000,4067:1000000,4199:1000000,4341:1000000,4057:1000000,4205:1000000,4339:1000000,4204:1000000,4126:1000000,4132: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,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,4427: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-	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:1000000trinity_in,111,149,5	script	Normal Card Shop	996,{set @name$, "[Normal 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;}} 

    PS: I only got error on the latest hercules.

     

     


  2.  

     

     

     

    Change this line:

     

    removemapflag .7_map$,mf_restricted,1;

     

    To this:

     

    removemapflag .7_map$,mf_restricted;

     

    Tested and working. More information on setmapflag and removemapflag can be found on the Wiki.

     

    Note: Out of respect for Euphy's paid work, I'd ask that you please remove the script from your original post; however, this is entirely up to you.

     

    And to avoid any drama that might transpire from it being redistributed. @__@

     

    I m confused, the mf_restrict was already dropped since the map zone system implemented

     

    http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/

    The mf_restrict (restrict) was dropped.

    Oh wow, I wasn't aware that it had been dropped. Before adding a removemapflag for mf_zone, he should go through and modify his mf_restricted mapflags to mf_zone; additionally, modifications to map_zone_db.conf in the pre-re/re folders should be made. In any case, the error was not in the mapflag that was being removed; the script errored because there was a comma and another parameter after the mapflag parameter.

     

    @xilence01:

    I'd recommend that you update your mf_restricted mapflags to mf_zone, and adjust your map_zone_db.conf in the pre-re/re folders as needed.

     

     

     

     

    >

    Change this line:

     

    removemapflag .7_map$,mf_restricted,1;

     

    To this:

     

    removemapflag .7_map$,mf_restricted;

     

    Tested and working. More information on setmapflag and removemapflag can be found on the Wiki.

     

    Note: Out of respect for Euphy's paid work, I'd ask that you please remove the script from your original post; however, this is entirely up to you.

     

    And to avoid any drama that might transpire from it being redistributed. @__@

     

    I m confused, the mf_restrict was already dropped since the map zone system implemented

     

    http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/

    The mf_restrict (restrict) was dropped.

    Oh wow, I wasn't aware that it had been dropped. Before adding a removemapflag for mf_zone, he should go through and modify his mf_restricted mapflags to mf_zone; additionally, modifications to map_zone_db.conf in the pre-re/re folders should be made. In any case, the error was not in the mapflag that was being removed; the script errored because there was a comma and another parameter after the mapflag parameter.

     

    @xilence01:

    I'd recommend that you update your mf_restricted mapflags to mf_zone, and adjust your map_zone_db.conf in the 

     

    Im using the latest hercules, i've checked the mapflags folder and found that it is zone and not restricted,

    however the one you said to change ( the mf_restricted,1; <to> mf_restricted; ) works.


  3. Change this line:

     

    removemapflag .7_map$,mf_restricted,1;

     

    To this:

     

    removemapflag .7_map$,mf_restricted;

     

    Tested and working. More information on setmapflag and removemapflag can be found on the Wiki.

     

    Note: Out of respect for Euphy's paid work, I'd ask that you please remove the script from your original post; however, this is entirely up to you.

     

    And to avoid any drama that might transpire from it being redistributed. @__@

     

    Change this line:

     

    removemapflag .7_map$,mf_restricted,1;

     

    To this:

     

    removemapflag .7_map$,mf_restricted;

     

    Tested and working. More information on setmapflag and removemapflag can be found on the Wiki.

     

    Note: Out of respect for Euphy's paid work, I'd ask that you please remove the script from your original post; however, this is entirely up to you.

     

    And to avoid any drama that might transpire from it being redistributed. @__@

    Many thanks , i'll removed it asap


  4.  

    Bump~

     

    I tried changing mf_restricted to mf_zone.

    but still the same.

     

    maybe... not test

    removemapflag .7_map$,mf_zone;

     

     

    Bump~

     

    I tried changing mf_restricted to mf_zone.

    but still the same.

     

    maybe... not test

    removemapflag .7_map$,mf_zone;

    still error.


  5. Hi Hercules,

     

    Can someone help me with this script?

    The Problem is everytime i click the soul link item. ( itemdb = callfunc )

    It soul links the character but stone cursed it.

     

    Here's the script : 

    //===== rAthena Script =======================================//= Soul Link Scroll script//===== By: ==================================================//= Lelouch//===== Current Version: =====================================//= 1.0//===== Credits ==============================================//= ngek202//= Original Topic: http://rathena.org/board/topic/57792-soul-link-scrolls-with-client-files///===== Compatible With: =====================================//= rAthena SVN//===== Description: =========================================//= For the lazy Players doesn't want to Create a Soul Linker Character.//===== Additional Comments: =================================//=//============================================================function	script	Soul_Link	{	if(Class == Job_Alchemist || Class == Job_Creator || Class == Job_Baby_Alchem || Class == Job_Baby_Alchemist || Class == Job_Genetic || Class == Job_Genetic_T || Class == Job_Baby_Genetic){		skilleffect "SL_ALCHEMIST",0; sc_start4 SC_SPIRIT,350000,5,445,0,0;	}	if(Class == Job_Monk || Class == Job_Champion || Class == Job_Baby_Monk || Class == Job_Sura || Class == Job_Sura_T || Class == Job_Baby_Sura){		skilleffect "SL_MONK",0; sc_start4 SC_SPIRIT,350000,5,447,0,0;	}	if(Class == Job_Star_Gladiator){		skilleffect "SL_STAR",0; sc_start4 SC_SPIRIT,350000,5,448,0,0;	}	if(Class == Job_Sage || Class == Job_Professor || Class == Job_Baby_Sage || Class == Job_Sorcerer || Class == Job_Sorcerer_T || Class == Job_Baby_Sorcerer){		skilleffect "SL_SAGE",0; sc_start4 SC_SPIRIT,350000,5,449,0,0;	}	if(Class == Job_Crusader || Class == Job_Paladin2 || Class == Job_Baby_Crusader || Class == Job_Baby_Crusader2 || Class == Job_Royal_Guard || Class == Job_Royal_Guard_T || Class == Job_Royal_Guard2 || Class == Job_Royal_Guard_T2 || Class == Job_Baby_Guard || Class == Job_Baby_Guard2){		skilleffect "SL_CRUSADER",0; sc_start4 SC_SPIRIT,350000,5,450,0,0;	}	if(Class == Job_SuperNovice || Class == Job_Super_Baby){		skilleffect "SL_SUPERNOVICE",0; sc_start4 SC_SPIRIT,350000,5,451,0,0;	}	if(Class == Job_Knight || Class == Job_Lord_Knight || Class == Job_Lord_Knight2 || Class == Job_Baby_Knight || Class == Job_Baby_Knight2 || Class == Job_Rune_Knight || Class == Job_Rune_Knight_T || Class == Job_Rune_Knight2 || Class == Job_Rune_Knight_T2 || Class == Job_Baby_Rune || Class == Job_Baby_Rune2){		skilleffect "SL_KNIGHT",0; sc_start4 SC_SPIRIT,350000,5,452,0,0;	}	if(Class == Job_Wizard || Class == Job_High_Wizard || Class == Job_Baby_Wizard || Class == Job_Warlock || Class == Job_Warlock_T || Class == Job_Baby_Warlock){		skilleffect "SL_WIZARD",0; sc_start4 SC_SPIRIT,350000,5,453,0,0;	}	if(Class == Job_Priest || Class == Job_High_Priest || Class == Job_Baby_Priest || Class == Job_Arch_Bishop || Class == Job_Arch_Bishop_T || Class == Job_Baby_Bishop){		skilleffect "SL_PRIEST",0; sc_start4 SC_SPIRIT,350000,5,454,0,0;	}	if(Class == Job_Bard || Class == Job_Dancer || Class == Job_Clown || Class == Job_Gypsy || Class == Job_Baby_Bard || Class == Job_Baby_Dancer || Class == Job_Minstrel || Class == Job_Wanderer || Class == Job_Minstrel_T || Class == Job_Wanderer_T || Class == Job_Baby_Minstrel || Class == Job_Baby_Wanderer){		skilleffect "SL_BARDDANCER",0; sc_start4 SC_SPIRIT,350000,5,455,0,0;	}	if(Class == Job_Rogue || Class == Job_Stalker || Class == Job_Baby_Rogue || Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser){		skilleffect "SL_ROGUE",0; sc_start4 SC_SPIRIT,350000,5,456,0,0;	}	if(Class == Job_Assassin || Class == Job_Assassin_Cross || Class == Job_Baby_Assassin || Class == Job_Guillotine_Cross || Class == Job_Guillotine_Cross_T || Class == Job_Baby_Cross){		skilleffect "SL_ASSASIN",0; sc_start4 SC_SPIRIT,350000,5,457,0,0;	}	if(Class == Job_Blacksmith || Class == Job_Whitesmith || Class == Job_Baby_Blacksmith || Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Mechanic2 || Class == Job_Mechanic_T2 || Class == Job_Baby_Mechanic || Class == Job_Baby_Mechanic2){		skilleffect "SL_BLACKSMITH",0; sc_start4 SC_SPIRIT,350000,5,458,0,0;	}	if(Class == Job_Hunter || Class == Job_Sniper || Class == Job_Baby_Hunter || Class == Job_Ranger || Class == Job_Ranger_T || Class == Job_Ranger2 || Class == Job_Ranger_T2 || Class == Job_Baby_Ranger || Class == Job_Baby_Ranger2){		skilleffect "SL_HUNTER",0; sc_start4 SC_SPIRIT,350000,5,460,0,0;	}	if(Class == Job_Soul_Linker){		skilleffect "SL_SOULLINKER",0; sc_start4 SC_SPIRIT,350000,5,461,0,0;	}}

     

    Thanks in Advance ~


  6. Can anyone got this kind of script? Or If anyone can make some script like this?

    A 3-in-1 Refiner : a) Normal Refiner -- B) "Costume" Refiner -- c) Enriched Refiner

     

    Normal Refiner:

     - The same as the official refiner. (Phracon / Emveretarcon / Oridecon / Elunium)

     

    Costume Refiner:

     - A refiner that can refine costumes.

     - For Level 1-2 = Costume Oridecon ( itemid: 25000 )

     - For Level 3-4 = Costume Elunium ( itemid: 25001 )

     - Upgrading same as the "db/pre-re/refine_db.txt"

     

    Enriched Refiner:

     - The same as the official refiner. (Enriched Oridecon / Enriched Elunium)

     

    Hope someone will share or make some kind of this script... THANK YOU!


  7. compile then check if there's error.

     

    then test it if it works

    i compiled it already. no errors while compiling.

    but i tried a item bonus script. but not working.

    maybe i missed editing a part? or the plug-in is not working?


  8. Check this, Compiling gives no error, haven't tested.

    It contains plugin that can be made + it is Hercules COMPATIBLE converted by me.

    how to apply this plugin. i already patched it but i dont know whats the next thing to do.


  9. Here it is. I haven't tested it but it seems I haven't made any mistakes. Try it out by yourself before using it on an actual server and tell me any problem it has, in case it does.

    trinity_in,166,143,2	script	Armor Craftsman	58,{	disable_items;	mes "[Armor Craftsman]";	mes "I've been studying ways to improve armor to increase its real capacity.";	next;	mes "[Armor Craftsman]";	mes "Enchant is an amazing ability blowing a mysterious power hidden in a space of armor.";	next;	mes "[Armor Craftsman]";	mes "One minute, please, I will check your items.";	next;	if (!getequipisequiped(EQI_ARMOR)){		mes "[Armor Craftsman]";		mes "Hey, you don't have any equipped armor!";		mes "Come back when you've equipped the armor you want to be enchanted.";		close;	}	set .@armadura, getequipid(EQI_ARMOR);	set .@refine, getequiprefinerycnt(EQI_ARMOR);	set .@carta, getequipcardid(EQI_ARMOR,0);	set .@runa, getequipcardid(EQI_ARMOR,3);	if (countitem(.@armadura) > 1){	mes "[Armor Craftsman]";	mes "Hey! you've more than armor of the kind you want to enchant!";	mes "Please, come back with only one of its kind so I don't mess enchanting the wrong one. He, he!";	close;		}	mes "[Armor Craftsman]";	mes "I will now check if you have some rune to enchant your armor.";	mes " ";	mes "One minute, please.";	set .@menu$,"";	set .@j,0;	for (set .@i,0; .@i < getarraysize(.runas); set .@i,.@i+1) {		if (countitem(.runas[.@i])) {			set .@j,.@j+1;			set .@menu$, .@menu$+getitemname(.runas[.@i])+":";			set .@runalista[.@j],.runas[.@i];		}		sleep2 1;	}	next;	mes "[Armor Craftsman]";	if (!.@j) {		mes "You must bring me some rune power to do the spell.";		close;	} else {		mes "What kind of enchantment you want to this armor?";		next;		set .@runaesc,select(.@menu$+"Nothing.");		if (.@runaesc > .@j) {			mes "[Armor Craftsman]";			mes "Please come back when you have some interest in enchanting your armor.";			close;		} else {			mes "[Armor Craftsman]";			if (.@runa)				mes "(a) "+getequipname(EQI_ARMOR)+" already has a charming "+getitemname(.@runa)+", if you enchant this item with "+getitemname(.@runalista[.@runaesc])+" that consume and ancient enchantment will be missed.";			else				mes "This spell will cost A "+getitemname(.@runalista[.@runaesc])+".";			next;			if(select("Hmm .. Let me think about it.: Go ahead.") == 1) {				mes "[Armor Craftsman]";				mes "Well, I can not blame him. My cost is not of the lower, but I need to pay for my studies and efforts, right?";				mes "Have a nice day.";				close;			} else {				mes "[Armor Craftsman]";				mes "So, an adventurer willing to increase its power, huh?";				mes "Well, let the enchantment";				pcblockmove getcharid(3),1;				close2;				delitem .@runalista[.@runaesc],1;				unequip EQI_ARMOR;				delitem .@armadura;				specialeffect 873;				specialeffect 865;				sleep2 6000;				specialeffect 44;				sleep2 1000;				getitem2 .@armadura,1,1,.@refine,0,.@carta,0,0,.@runalista[.@runaesc];				pcblockmove getcharid(3),0;				end;			}		}	}			OnInit:	setarray .runas[0],26000,26027,26037,26038,26039;	end;}

    Enjoy it!

     

    error on map server .sir

    cannot click the npc

     

    *   76 :                                delitem .@armadura';'

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.