Jump to content

eboni001

Members
  • Posts

    327
  • Joined

  • Last visited

Everything posted by eboni001

  1. You Rock!!! Awesome nice job ty very much
  2. if you mean the items i want mvp request for the quest: 5-TCG Card(id:7227) 100-Treasure box(id:7444) 100-gold(id:969) 100-Steel(id:999) and 100,000,000z
  3. ty for reply idk why but the quest its not working npc its the same coins to zeny-zeny to coins, no more, how to fix this? and how to add the items i want npc to ask for the quest?
  4. ok hehe but you have to add your credits to the scripts if you want people leave them , since you say its not complete -SkittleNugget- Edited for me and its working very good i just modify the freebies and npc name, but i want it as is only 1 char per account, i will leave the edited one here if you want to use it, its working awesome. ====> Edited version by -SkittleNugget- <===== //============================================ //= Npc that gives freebies to the new //============================================ //= Rewritten by SkittleNugget (rAthena.org) //============================================ prontera,146,161,6 script Novice Support 893,{ if( #PlayerRecievedFreebies ) { mes "[Emely]"; emotion e_swt2; mes "You already claimed your free items or you are not a novice anymore, Remember that i'll give you some free stuffs only once per account!"; close; } else if ( Class < 1 ) { mes "[Emely]"; emotion e_ho; mes "Hello young adventurer and welcome to Kyojin RO"; mes "I can give you some free items to help you grown fast"; mes "Do you want it?"; next; if ( select("You're so kind. Thank you!:Nah~ Im too pro for this!")==2) { mes "[Emely]"; emotion e_ag; mes "Such a arrogant person."; mes "^ff0000@kill "+ strcharinfo(0) +"^000000"; next; mes "[Emely]"; emotion e_omg; mes "Why my command not work?!"; mes "Maybe you're lucky!"; close; } mes "[Emely]"; emotion e_kis; mes "Please take this item and have a nice day~"; next; getitem 504,30; //White Potion getitem 645,25; //Concentration potion getitem 14533,4; //Field Manual getitem 14232,10; //ygg berry box(10) getitem 4142,1; //Doppelganger Card set #PlayerRecievedFreebies, 1; mes "See you soon~"; close; } }
  5. Really Thank you guys this is working Awesome all of you are the best.
  6. hello, can somebody know why when i talk to this npc only say: You already claim your free items? i tried with lot of diferents chars but allways the same. prontera,146,159,6 script Novice Support 893,{ // Name of the NPC set .name$, "[Emely]"; if( #novice = 1){ mes .name$; emotion e_swt2; mes "You already claim your free items."; close; } else { mes .name$; if (Class < 1) { emotion e_ho; mes "Hello young adventurer and welcome to Kyojin RO"; mes "I can give you some free items to help you grown fast"; mes "Do you want it?"; next; switch(select( "You're so kind. Thank you!:Nah~ Im too pro for this!" )){ Case 1: mes .name$; emotion e_kis; mes "Please take this item and have a nice day~"; next; getitem 5172,1; //Beret getitem 645,25; //Concentration potion getitem 14533,10; //Field Manual getitem 14232,10; //ygg berry box(10) getitem 4142,1; //Doppelganger Card set #novice, 1; mes "See you soon~"; break; Case 2: mes .name$; emotion e_ag; mes "Such a arrogant person."; mes "^ff0000@kill "+ strcharinfo(0) +"^000000"; next; mes .name$; emotion e_omg; mes "Why my command not work?!"; mes "Maybe you're lucky!"; break; } close; } else { if (Class < 24) { mes "Congratulations!"; mes "I see you already reborn."; close; } end; } } }
  7. May i use this npc?
  8. my revision is rathena last version provided by david, the controller looks like is working good but when i go to the castle the emperium its not there.
  9. yes i already set it up in game, but when im went to castle there's not an emperium there, if npc activate woe i can go to the emperium and not get kicked off, but if i start woe using @startagit when i enter the castle i get the message this castle is inactive and get kicked off.
  10. hello, im using Woe Controller 1.5 by euphy, i already comment default woe controllers but each castle said its inactive and i get kicked from it. this is the script im using. //===== rAthena Script ======================================= //= Euphy's WOE Controller //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.5 //===== Compatible With: ===================================== //= rAthena SVN r16958+ //===== Description: ========================================= //= A controller for War of Emperium designed for //= simplicity and ease of use. //= Many concepts taken from ToastOfDoom's script, //= and "rewards" function originally by Goddameit. //===== Additional Comments: ================================= //= Be sure to disable the default agit controllers! //== npc\guild\agit_controller.txt //== npc\guild2\agit_start_se.txt //============================================================ // Information NPC //============================================================ prontera,144,199,3 script WOE Information 990,{ doevent "WOE_CONTROL::OnMenu"; end; OnAgitStart: while(agitcheck()) { misceffect EF_BEGINSPELL6; sleep 425; } end; } // Script Core //============================================================ - script WOE_CONTROL -1,{ function Disp_Owner; function Add_Zero; OnInit: // ----------------------------------------------------------- // Configuration settings. // ----------------------------------------------------------- set .CastleWarp,0; // 1: Always enable all castle warps. | 0: Warp only to active castles. set .AutoKick,0; // Automatically kick players from inactive castles during WOE? (1:yes / 0:no) set .NoOwner,1; // Automatically kick players from unconquered castles outside of WOE? (1:yes / 0:no) set .ExitWarp,0; // Warp all players from castles when WOE ends? (1:yes / 0:no) set .GMAccess,99; // GM level required to access Session Manager. // ----------------------------------------------------------- // Reward options. // ----------------------------------------------------------- // [1] Enable rewards. // [2] Mail all rewards. // - If not set, players receive items in their inventory. // - Only ONE item can be sent via mail, plus Zeny. // - Note that offline players do NOT receive rewards. // [4] Only reward Guild Masters. // - If not set, all guild members are rewarded. // - If mailing is enabled (option 2), offline Guild Masters WILL receive rewards. // [8] Duplicate IP check. // - Members in a guild with the same IP address are not rewarded. // - If Guild Masters is enabled (option 4), this feature is not used. // ----------------------------------------------------------- // Combine values as needed (e.g. 1|8 = 1+8 = 9). set .Options, 1|8; // Rewards per castle. // -- when given directly: <itemID>,<amount>{,<itemID>,<amount>,...} // -- via mail (option 2): <itemID>,<amount>,<Zeny> setarray .Reward[0],14001,1; // ----------------------------------------------------------- // Constants (leave this section alone). // ----------------------------------------------------------- setarray .Castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; setarray .EndLabel$[0],"ar01","ar02","ar03","ar04","ar05","sc01","sc02","sc03","sc04","sc05"; setarray .Days$[0],"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"; setarray .Regions$[0],"Prontera","Payon","Geffen","Aldebaran","Arunafeltz","Schwaltzvalt"; setarray .Map$[0],"prt_gld","pay_gld","gef_fild13","alde_gld","aru_gld","sch_gld"; setarray .MapX[0],134,240,153,111,208,121,295,317,140,204,214,308,143,193,305,48, 95,142,239,264,158,83, 68,299,292,293,288, 97,137, 71; setarray .MapY[0], 65,128,137,240,240,233,116,293,160,266, 75,240,240,278, 87,83,249, 85,242, 90,272,47,155,345,107,100,252,196, 90,315; // ----------------------------------------------------------- set .Size, getarraysize($WOE_CONTROL); if (.AutoKick || .NoOwner) for(set .@i,0; .@i<30; set .@i,.@i+1) { setmapflag .Castles$[.@i], mf_loadevent; setd "."+.Castles$[.@i], .@i; } if (!agitcheck() && !agitcheck2()) sleep 4000; set .Init,1; OnMinute00: freeloop(1); if (agitcheck() || agitcheck2()) { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4) == $WOE_CONTROL[.@i] && gettime(3) == $WOE_CONTROL[.@i+2]) { OnWOEEnd: announce "The War Of Emperium is over!",bc_all|bc_woe; AgitEnd; AgitEnd2; sleep 1000; for(set .@j,0; .@j<30; set .@j,.@j+1) { if (.Active[0]&(1<<.@j)) Disp_Owner(.Castles$[.@j],1); if (.ExitWarp) maprespawnguildid .Castles$[.@j],0,3; } if (.Options&1 && .Active[0] && .ForceEnd != 2) callsub OnReward, .Active[0]; deletearray .Active[0],2; if (.ForceEnd) { set .ForceEnd,0; end; } break; } } if ((!agitcheck() && !agitcheck2()) || .Init) { if (!agitcheck() && !agitcheck2()) set .Init,0; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4) == $WOE_CONTROL[.@i] && gettime(3) >= $WOE_CONTROL[.@i+1] && gettime(3) < $WOE_CONTROL[.@i+2]) { deletearray .Active[0],2; set .Active[0], $WOE_CONTROL[.@i+3]; if (.Init) { AgitEnd; AgitEnd2; } else announce "The War Of Emperium has begun!",bc_all|bc_woe; sleep 1000; AgitStart; AgitStart2; for(set .@j,0; .@j<30; set .@j,.@j+1) { if (.Active[0]&(1<<.@j)) { if (!.Init) Disp_Owner(.Castles$[.@j],0); set .Active[1], .Active[1] | (1<<((.@j/5)+1)); } else { if (.@j<20) { donpcevent "Agit#"+.Castles$[.@j]+"::OnAgitEnd"; killmonster .Castles$[.@j], "Agit#"+.Castles$[.@j]+"::OnAgitBreak"; } else { donpcevent "Manager#"+.Castles$[.@j]+"::OnAgitEnd2"; killmonster .Castles$[.@j], "Steward#"+.EndLabel$[.@j-20]+"::OnStartArena"; } } } break; } } set .Init,0; end; function Disp_Owner { set .@o, getcastledata(getarg(0),1); if (.@o) announce "The ["+getcastlename(getarg(0))+"] castle "+((getarg(1))?"has been conquered":"is currently held")+" by the ["+getguildname(.@o)+"] guild.",bc_all|bc_woe; else announce "The ["+getcastlename(getarg(0))+"] castle is currently unoccupied.",bc_all|bc_woe; return; } function Add_Zero { return ((getarg(0)<10)?"0":"")+getarg(0)+(getarg(1,0)?".":":")+"00"; } OnReward: set .@sql$, ((.Options&4)?"position = 0":"online = 1"); if (.Options&2) set .@str$,gettimestr("%B %d, %Y",21); freeloop(1); for(set .@i,0; .@i<30; set .@i,.@i+1) if (getarg(0)&(1<<.@i)) { set .@gid, getcastledata(.Castles$[.@i],1); if (!.@gid) continue; set .@size, query_sql("SELECT account_id,char_id FROM `guild_member` WHERE guild_id = '"+.@gid+"' AND "+.@sql$,.@aid,.@cid); for(set .@j,0; .@j<.@size; set .@j,.@j+1) { if (.Options&8 && !(.Options&4)) { set .@ip$, replacestr(getcharip(.@aid[.@j]),".","a"); if (getd(".@ip_"+.@i+"_"+.@ip$)) continue; setd ".@ip_"+.@i+"_"+.@ip$,1; } if (.Options&2) { query_sql("INSERT INTO `mail` (send_name,dest_id,title,message,nameid,amount,identify,zeny,time) VALUES ("+ "'no-reply',"+.@cid[.@j]+",'** Siege Reward: "+getcastlename(.Castles$[.@i])+" **',"+ "'Brave one,% % Congratulations!% Your guild has successfully occupied% territory in the War of Emperium on% "+.@str$+".% % % % % [ Your reward is attached. ]',"+ .Reward[0]+","+.Reward[1]+",0,"+.Reward[2]+",UNIX_TIMESTAMP(NOW()))"); if (!getd(".@str_"+.@cid[.@j]) && isloggedin(.@aid[.@j],.@cid[.@j])) { setd ".@str_"+.@cid[.@j],1; message rid2name(.@aid[.@j]),"You've got mail! Please re-login to update your mailing list."; } } else if (isloggedin(.@aid[.@j])) { for(set .@k,0; .@k<getarraysize(.Reward); set .@k,.@k+2) getitem .Reward[.@k], .Reward[.@k+1], .@aid[.@j]; message rid2name(.@aid[.@j]),"You have been rewarded for conquering "+getcastlename(.Castles$[.@i])+"."; } } } if (.Options&2) query_sql("UPDATE `mail` SET message = REPLACE(message,'%',CHAR(13)) WHERE send_name = 'no-reply'"); return; OnPCLoadMapEvent: if (!compare(strcharinfo(3),"g_cas")) end; if (((.AutoKick && .Active[0]) || (.NoOwner && !getcastledata(strcharinfo(3),1))) && !(.Active[0]&(1<<getd("."+strcharinfo(3))))) { if (getcharid(2) && getcastledata(strcharinfo(3),1) == getcharid(2)) end; sleep2 1000; message strcharinfo(0), getcastlename(strcharinfo(3))+" is currently inactive."; sleep2 5000; if (compare(strcharinfo(3),"g_cas")) warp "SavePoint",0,0; } end; OnMenu: while(1) { mes "[WOE Information]"; if (agitcheck() || agitcheck2()) { if (.Active[0]) { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4) == $WOE_CONTROL[.@i] && gettime(3) >= $WOE_CONTROL[.@i+1] && gettime(3) < $WOE_CONTROL[.@i+2]) { set .@i, $WOE_CONTROL[.@i+2]; break; } mes "The War of Emperium is ^0055FFactive^000000 until ^FF0000"+Add_Zero(.@i)+"^000000 in the following regions:"; mes " "; for(set .@i,0; .@i<6; set .@i,.@i+1) if (.Active[1]&(1<<(.@i+1))) mes " > ^777777"+.Regions$[.@i]+"^000000"; } else mes "The War of Emperium is ^0055FFactive^000000."; } else { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if ((gettime(4) == $WOE_CONTROL[.@i] && gettime(3) <= $WOE_CONTROL[.@i+1]) || gettime(4) < $WOE_CONTROL[.@i]) { setarray .@time[0],$WOE_CONTROL[.@i],$WOE_CONTROL[.@i+1]; break; } if (!getarraysize(.@time)) setarray .@time[0],$WOE_CONTROL[0],$WOE_CONTROL[1]; mes "The War of Emperium is ^777777inactive^000000."; if (.Size) { mes " "; mes "The next session will begin"; mes "on ^0055FF"+.Days$[.@time[0]]+"^000000 at "+Add_Zero(.@time[1])+"^000000."; } } next; switch(select(""+((.CastleWarp || .Active[1])?" ~ Warp to castles...":"")+": ~ Check schedule...: ~ View castle owners...:"+((getgmlevel()<.GMAccess || !getgmlevel())?"":" ~ Manage sessions...")+": ~ ^777777Cancel^000000")) { case 1: if (.CastleWarp) set .@clr$,"^0055FF"; set .@menu$,""; for(set .@i,0; .@i<6; set .@i,.@i+1) { if (.CastleWarp || .Active[1]&(1<<(.@i+1))) set .@menu$, .@menu$+" ~ "+((.Active[1]&(1<<(.@i+1)))?.@clr$:"^777777")+.Regions$[.@i]+" Castles^000000"; set .@menu$, .@menu$+":"; } set .@i, select(.@menu$)-1; set .@menu$,""; for(set .@j,.@i*5; .@j<(.@i*5)+5; set .@j,.@j+1) { if (.CastleWarp || .Active[0]&(1<<.@j)) set .@menu$, .@menu$+" ~ "+((.Active[0]&(1<<.@j))?.@clr$:"^777777")+getcastlename(.Castles$[.@j])+"^000000"; set .@menu$, .@menu$+":"; } set .@j, select(.@menu$)-1; warp .Map$[.@i],.MapX[(.@i*5)+.@j],.MapY[(.@i*5)+.@j]; close; case 2: mes "[Schedule]"; if (.Size) { freeloop(1); for(set .@i,0; .@i<.Size; set .@i,.@i+4) { mes "> ^FF0000"+.Days$[$WOE_CONTROL[.@i]]+" ("+Add_Zero($WOE_CONTROL[.@i+1])+"-"+Add_Zero($WOE_CONTROL[.@i+2])+")^000000"; for(set .@j,0; .@j<30; set .@j,.@j+1) if ($WOE_CONTROL[.@i+3]&(1<<.@j)) mes " ~ "+getcastlename(.Castles$[.@j])+" ^777777("+.Castles$[.@j]+")^000000"; if (.@i+4 < .Size) mes " "; } freeloop(0); } else mes "No times are configured."; next; break; case 3: mes "[Castle Ownership]"; for(set .@i,0; .@i<6; set .@i,.@i+1) { set .@k, .@i*5; mes "> ^FF0000"+.Regions$[.@i]+"^000000"; for(set .@j,.@k; .@j<(.@k+5); set .@j,.@j+1) { set .@t, getcastledata(.Castles$[.@j],1); mes " ~ "+getcastlename(.Castles$[.@j])+": "+((.@t)?"^0055FF"+getguildname(.@t):"^777777unoccupied")+"^000000"; } if (.@i < 5) mes " "; } next; break; case 4: while(1) { mes "[Session Manager]"; mes "There are ^0055FF"+(.Size/4)+" session(s)^000000 configured."; mes "What would you like to do?"; next; switch(select(" ~ Add a session...: ~ Delete a session...: ~ Reload settings...:"+((agitcheck() || agitcheck2())?" ~ End WOE session...":"")+": ~ ^777777Go back^000000")) { case 1: mes "[New Session]"; if (.Size > 127) { mes "You have already reached the maximum of 32 sessions."; next; break; } mes "Select a day."; next; set .@Day, select(" ~ "+implode(.Days$,": ~ "))-1; mes "[New Session]"; mes "Select a start time for ^0055FF"+.Days$[.@Day]+"^000000."; next; set .@menu$,""; for(set .@i,0; .@i<23; set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+Add_Zero(.@i,1)+":"; set .@Start, select(.@menu$)-1; mes "[New Session]"; mes "Select an end time for ^0055FF"+.Days$[.@Day]+"^000000."; next; set .@menu$,""; for(set .@i,.@Start+1; .@i<24; set.@i,.@i+1) set .@menu$, .@menu$+" ~ "+Add_Zero(.@i,1)+":"; set .@End, select(.@menu$)+.@Start; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (.@Day == $WOE_CONTROL[.@i] && ((.@Start >= $WOE_CONTROL[.@i+1] && .@Start < $WOE_CONTROL[.@i+2]) || (.@End > $WOE_CONTROL[.@i+1] && .@End <= $WOE_CONTROL[.@i+2]) || (.@Start <= $WOE_CONTROL[.@i+1] && .@End >= $WOE_CONTROL[.@i+2]))) { mes "[New Session]"; mes "The chosen times overlap with an existing session."; next; set .@d,1; break; } if (.@d) { set .@d,0; break; } set .@Castle,0; while(1) { mes "[New Session]"; mes "^0055FF"+.Days$[.@Day]+" ("+Add_Zero(.@Start)+"-"+Add_Zero(.@End)+")^000000"; mes " > Castles:"; if (!.@Castle) mes " ~ ^777777(none selected)^000000"; else for(set .@i,0; .@i<30; set .@i,.@i+1) if (.@Castle&(1<<.@i)) mes " ~ "+getcastlename(.Castles$[.@i])+" ("+.Castles$[.@i]+")"; next; set .@menu$,((.@Castle)?" ~ ^FF0000Finished...^000000":"")+":"; for(set .@i,0; .@i<30; set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+((.@Castle&(1<<.@i))?"^0055FF":"")+getcastlename(.Castles$[.@i])+" ("+.Castles$[.@i]+")^000000:"; set .@i, select(.@menu$)-1; if (.@i) set .@Castle, .@Castle^(1<<(.@i-1)); else { mes "[New Session]"; mes "Are you sure?"; next; switch(select(" ~ ^0055FFAdd session...^000000: ~ Continue selecting castles...: ~ ^777777Cancel^000000")) { case 1: for(set .@i,0; .@i<.Size; set .@i,.@i+4) if ((.@Day == $WOE_CONTROL[.@i] && .@End <= $WOE_CONTROL[.@i+1]) || .@Day < $WOE_CONTROL[.@i]) { set .@d,1; break; } if (!.@d) { set .@d,1; set .@i,.Size; } copyarray $WOE_CONTROL[.@i+4], $WOE_CONTROL[.@i], .Size-.@i; setarray $WOE_CONTROL[.@i], .@Day, .@Start, .@End, .@Castle; set .Size, getarraysize($WOE_CONTROL); case 3: mes "[New Session]"; mes ((.@d)?"Session added.":"Cancelled."); next; set .@d,1; case 2: break; } if (.@d) { set .@d,0; break; } } } break; case 2: mes "[Remove Session]"; if (!.Size) { mes "There are no sessions configured."; next; break; } mes "Select a session to remove."; next; set .@menu$,""; for(set .@i,0; .@i<.Size; set .@i,.@i+4) set .@menu$, .@menu$+" ~ "+.Days$[$WOE_CONTROL[.@i]]+" ("+Add_Zero($WOE_CONTROL[.@i+1],1)+"-"+Add_Zero($WOE_CONTROL[.@i+2],1)+"):"; set .@menu$, .@menu$+" ~ ^777777Cancel^000000"; set .@i, select(.@menu$)-1; if (.@i == (.Size/4)) break; mes "[Remove Session]"; mes "Delete ^0055FF"+.Days$[$WOE_CONTROL[.@i*4]]+"'s^000000 session?"; mes "This action cannot be undone."; next; set .@j, select(" ~ ^FF0000Delete session...^000000: ~ ^777777Cancel^000000"); mes "[Remove Session]"; if (.@j == 2) mes "Cancelled."; else { deletearray $WOE_CONTROL[.@i*4],4; set .Size, getarraysize($WOE_CONTROL); mes "Session deleted."; } next; break; case 3: mes "[Reload Settings]"; mes "This will trigger all events related to new session configurations, if any."; if (agitcheck() || agitcheck2()) { mes " "; mes "Be aware that this will disrupt the current WOE session."; } next; set .@i, select(" ~ ^0055FFReload settings...^000000: ~ ^777777Cancel^000000"); mes "[Reload Settings]"; if (.@i == 2) mes "Cancelled."; else { set .Init,1; donpcevent "WOE_CONTROL::OnMinute00"; mes "Variables have been re-initialized."; } next; break; case 4: mes "[Force Agit End]"; if (!agitcheck() && !agitcheck2()) { mes "WOE has already ended."; next; break; } mes "This command will safely execute all AgitEnd events."; mes " "; mes "Kill the current WOE session?"; next; set .@i, select(" ~ ^FF0000End session...^000000:"+((.Options&1)?" ~ ^FF0000End session without rewards...^000000":"")+": ~ ^777777Cancel^000000"); mes "[Force Agit End]"; if (.@i == 3) mes "Cancelled."; else { set .ForceEnd, .@i; donpcevent "WOE_CONTROL::OnWOEEnd"; mes "WOE session terminated."; } next; break; case 5: set .@d,1; break; } if (.@d) { set .@d,0; break; } } break; case 5: close; } } } // Guild Castles ======================== //alde_gld mapflag nowarpto aldeg_cas01 mapflag nowarpto aldeg_cas02 mapflag nowarpto aldeg_cas03 mapflag nowarpto aldeg_cas04 mapflag nowarpto aldeg_cas05 mapflag nowarpto gefg_cas01 mapflag nowarpto gefg_cas02 mapflag nowarpto gefg_cas03 mapflag nowarpto gefg_cas04 mapflag nowarpto gefg_cas05 mapflag nowarpto //pay_gld mapflag nowarpto payg_cas01 mapflag nowarpto payg_cas02 mapflag nowarpto payg_cas03 mapflag nowarpto payg_cas04 mapflag nowarpto payg_cas05 mapflag nowarpto //prt_gld mapflag nowarpto prtg_cas01 mapflag nowarpto prtg_cas02 mapflag nowarpto prtg_cas03 mapflag nowarpto prtg_cas04 mapflag nowarpto prtg_cas05 mapflag nowarpto schg_cas01 mapflag nowarpto schg_cas02 mapflag nowarpto schg_cas03 mapflag nowarpto schg_cas04 mapflag nowarpto schg_cas05 mapflag nowarpto arug_cas01 mapflag nowarpto arug_cas02 mapflag nowarpto arug_cas03 mapflag nowarpto arug_cas04 mapflag nowarpto arug_cas05 mapflag nowarpto // Guild Castles ============= aldeg_cas01 mapflag nowarp aldeg_cas02 mapflag nowarp aldeg_cas03 mapflag nowarp aldeg_cas04 mapflag nowarp aldeg_cas05 mapflag nowarp gefg_cas01 mapflag nowarp gefg_cas02 mapflag nowarp gefg_cas03 mapflag nowarp gefg_cas04 mapflag nowarp gefg_cas05 mapflag nowarp payg_cas01 mapflag nowarp payg_cas02 mapflag nowarp payg_cas03 mapflag nowarp payg_cas04 mapflag nowarp payg_cas05 mapflag nowarp prtg_cas01 mapflag nowarp prtg_cas02 mapflag nowarp prtg_cas03 mapflag nowarp prtg_cas04 mapflag nowarp prtg_cas05 mapflag nowarp schg_cas01 mapflag nowarp schg_cas02 mapflag nowarp schg_cas03 mapflag nowarp schg_cas04 mapflag nowarp schg_cas05 mapflag nowarp arug_cas01 mapflag nowarp arug_cas02 mapflag nowarp arug_cas03 mapflag nowarp arug_cas04 mapflag nowarp arug_cas05 mapflag nowarp n_castle mapflag nowarp nguild_alde mapflag nowarp nguild_gef mapflag nowarp nguild_pay mapflag nowarp nguild_prt mapflag nowarp // Guild Castles ================= aldeg_cas01 mapflag noteleport aldeg_cas02 mapflag noteleport aldeg_cas03 mapflag noteleport aldeg_cas04 mapflag noteleport aldeg_cas05 mapflag noteleport gefg_cas01 mapflag noteleport gefg_cas02 mapflag noteleport gefg_cas03 mapflag noteleport gefg_cas04 mapflag noteleport gefg_cas05 mapflag noteleport payg_cas01 mapflag noteleport payg_cas02 mapflag noteleport payg_cas03 mapflag noteleport payg_cas04 mapflag noteleport payg_cas05 mapflag noteleport prtg_cas01 mapflag noteleport prtg_cas02 mapflag noteleport prtg_cas03 mapflag noteleport prtg_cas04 mapflag noteleport prtg_cas05 mapflag noteleport schg_cas01 mapflag noteleport schg_cas02 mapflag noteleport schg_cas03 mapflag noteleport schg_cas04 mapflag noteleport schg_cas05 mapflag noteleport arug_cas01 mapflag noteleport arug_cas02 mapflag noteleport arug_cas03 mapflag noteleport arug_cas04 mapflag noteleport arug_cas05 mapflag noteleport nguild_alde mapflag noteleport nguild_gef mapflag noteleport nguild_pay mapflag noteleport nguild_prt mapflag noteleport // Guild Castles ========== aldeg_cas01 mapflag gvg_castle aldeg_cas02 mapflag gvg_castle aldeg_cas03 mapflag gvg_castle aldeg_cas04 mapflag gvg_castle aldeg_cas05 mapflag gvg_castle gefg_cas01 mapflag gvg_castle gefg_cas02 mapflag gvg_castle gefg_cas03 mapflag gvg_castle gefg_cas04 mapflag gvg_castle gefg_cas05 mapflag gvg_castle payg_cas01 mapflag gvg_castle payg_cas02 mapflag gvg_castle payg_cas03 mapflag gvg_castle payg_cas04 mapflag gvg_castle payg_cas05 mapflag gvg_castle prtg_cas01 mapflag gvg_castle prtg_cas02 mapflag gvg_castle prtg_cas03 mapflag gvg_castle prtg_cas04 mapflag gvg_castle prtg_cas05 mapflag gvg_castle schg_cas01 mapflag gvg_castle schg_cas02 mapflag gvg_castle schg_cas03 mapflag gvg_castle schg_cas04 mapflag gvg_castle schg_cas05 mapflag gvg_castle arug_cas01 mapflag gvg_castle arug_cas02 mapflag gvg_castle arug_cas03 mapflag gvg_castle arug_cas04 mapflag gvg_castle arug_cas05 mapflag gvg_castle // Guild Castles =============== //alde_gld mapflag nobranch aldeg_cas01 mapflag nobranch aldeg_cas02 mapflag nobranch aldeg_cas03 mapflag nobranch aldeg_cas04 mapflag nobranch aldeg_cas05 mapflag nobranch gefg_cas01 mapflag nobranch gefg_cas02 mapflag nobranch gefg_cas03 mapflag nobranch gefg_cas04 mapflag nobranch gefg_cas05 mapflag nobranch //pay_gld mapflag nobranch payg_cas01 mapflag nobranch payg_cas02 mapflag nobranch payg_cas03 mapflag nobranch payg_cas04 mapflag nobranch payg_cas05 mapflag nobranch //prt_gld mapflag nobranch prtg_cas01 mapflag nobranch prtg_cas02 mapflag nobranch prtg_cas03 mapflag nobranch prtg_cas04 mapflag nobranch prtg_cas05 mapflag nobranch //schg_gld schg_cas01 mapflag nobranch schg_cas02 mapflag nobranch schg_cas03 mapflag nobranch schg_cas04 mapflag nobranch schg_cas05 mapflag nobranch //aru_gld arug_cas01 mapflag nobranch arug_cas02 mapflag nobranch arug_cas03 mapflag nobranch arug_cas04 mapflag nobranch arug_cas05 mapflag nobranch //n_castle mapflag nobranch nguild_alde mapflag nobranch nguild_gef mapflag nobranch nguild_pay mapflag nobranch nguild_prt mapflag nobranch
  11. X_X i dont know how to do that im newbie in this xDD.
  12. i have a guild creator npc in my server but players still can making guild using ( /guild "guild name" ) how i can to disable this command? i was looking in groups.conf but nothing there. thanks in advance hope can fix this
  13. Hello guys i want a job changer with instant job like this ===========> (Novice (job 10)<to>Archer(job 50)<to>Hunter(job 50)<to> "Sniper" ) No 3rd jobs enable, but i want, it have the option to change to Kagerou/Oboro like this ===========> (Novice (job 10)<to>Ninja(job 70)<to> "Oboro"/"Kagerou" this script can change to oboro/kagerou but only with 3rd jobs enable. thanks in advance guys, please help me editing this script. //===== rAthena Script ======================================= //= Job Master //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.3 //===== Compatible With: ===================================== //= rAthena SVN r16114+ //===== Description: ========================================= //= A fully functional job changer. //===== Additional Comments: ================================= //= 1.1 Fixed reset on Baby job change. [Euphy] //= 1.2 Added Expanded Super Novice support and initial Kagerou/Oboro support. [Euphy] //= 1.3 Kagerou/Oboro added. [Euphy] //============================================================ prontera,153,193,4 script Job Master#1::JM 743,{ delwaitingroom; function Job_Menu; function A_An; mes "[Job Master]"; if (Class > 4049) { mes "No more jobs are available."; close; } if (checkfalcon() || checkcart() || checkriding() || ismounting()) { mes "Please remove your "+((checkfalcon())?"falcon":"")+((checkcart())?"cart":"")+((checkriding())?"Peco":"")+((ismounting())?"mount":"")+" before proceeding."; close; } if (.SkillPointCheck && SkillPoint) { mes "Please use all your skill points before proceeding."; close; } set .@eac, eaclass(); set .@i, ((.ThirdClass)?roclass(.@eac&EAJ_UPPERMASK):Class); if (.@i > 6 && .@i < 22) { if (BaseLevel < .Rebirth[0] || JobLevel < .Rebirth[1]) { set .@blvl, .Rebirth[0]-BaseLevel; set .@jlvl, .Rebirth[1]-JobLevel; mes "You need "+((.@blvl>0)?.@blvl+" more base levels "+((.@jlvl>0)?"/ ":""):"")+((.@jlvl>0)?.@jlvl+" more job levels ":"")+"to continue."; close; } if (Class > 21) { mes "Switch to third class?"; next; Job_Menu(roclass(.@eac|EAJL_THIRD)); close; } while(1) { mes "Select an option."; next; set .@i, select(" ~ ^0055FFRebirth^000000:"+": ~ ^777777Cancel^000000"); if (.@i==3) close; mes "[Job Master]"; mes "Are you sure?"; next; Job_Menu(((.@i==1)?4001:roclass(.@eac|EAJL_THIRD))); mes "[Job Master]"; } } set .@j1, roclass(.@eac|EAJL_2_1); set .@j2,roclass(.@eac|EAJL_2_2); if ((.@eac&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE) setarray .@exp[0],roclass(.@eac|EAJL_THIRD),99; if (Class == Job_Ninja) setarray .@exp[0],.@j1,70; if (.@exp[0] && .ThirdClass) { if (BaseLevel < .Rebirth[0] || JobLevel < .@exp[1]) { set .@blvl, .Rebirth[0]-BaseLevel; set .@jlvl, .@exp[1]-JobLevel; mes "You need "+((.@blvl>0)?.@blvl+" more base levels "+((.@jlvl>0)?"/ ":""):"")+((.@jlvl>0)?.@jlvl+" more job levels ":"")+"to continue."; close; } mes "Switch to "+jobname(.@exp[0])+"?"; next; Job_Menu(.@exp[0]); close; } if (.@eac&EAJL_2) if (.@eac&(EAJL_UPPER|EAJL_BABY) || roclass(.@eac|EAJL_UPPER) == -1) { mes "No more jobs are available."; close; } if ((.@eac&EAJ_BASEMASK) == EAJ_NOVICE) { if (JobLevel < .JobReq[0]) mes "A job level of "+.JobReq[0]+" is required to change into the 1st Class."; else if (Class == 4001 && .LastJob && lastJob) { mes "Switch classes now?"; next; Job_Menu(roclass((eaclass(lastJob)&EAJ_BASEMASK)|EAJL_UPPER)); } else switch(Class) { case 0: Job_Menu(1,2,3,4,5,6,23,4046,24,25,4023); case 4001: Job_Menu(4002,4003,4004,4005,4006,4007); case 4023: Job_Menu(4024,4025,4026,4027,4028,4029,4045); default: mes "An error has occurred."; break; } close; } if (roclass(.@eac|EAJL_2_1) == -1 || roclass(.@eac|EAJL_2_2) == -1) mes "No more jobs are available."; else if (!(.@eac&EAJL_2) && JobLevel < .JobReq[1]) mes "A job level of "+.JobReq[1]+" is required to change into the 2nd Class."; else if (.LastJob && lastJob && (.@eac&EAJL_UPPER)) { mes "Switch classes now?"; next; Job_Menu(lastJob+4001); } else Job_Menu(.@j1,.@j2); close; function Job_Menu { while(1) { if (getargcount() > 1) { mes "Select a job."; set .@menu$,""; for(set .@i,0; .@i<getargcount(); set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+jobname(getarg(.@i))+":"; set .@menu$, .@menu$+" ~ ^777777Cancel^000000"; next; set .@i, getarg(select(.@menu$)-1,0); if (!.@i) close; if ((.@i == 23 || .@i == 4045) && BaseLevel < .SNovice) { mes "[Job Master]"; mes "A base level of "+.SNovice+" is required to turn into a "+jobname(.@i)+"."; close; } mes "[Job Master]"; mes "Are you sure?"; next; } else set .@i, getarg(0); if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777"+((getargcount() > 1)?"Go back":"Cancel")+"^000000") == 1) { mes "[Job Master]"; mes "You are now "+A_An(jobname(.@i))+"!"; if (.@i==4001 && .LastJob) set lastJob, Class; jobchange .@i; if (.@i==4001 || .@i==4023) resetlvl(1); specialeffect2 338; specialeffect2 432; if (.Platinum) callsub Get_Platinum; close; } if (getargcount() == 1) return; mes "[Job Master]"; } end; } function A_An { setarray .@A$[0],"a","e","i","o","u"; set .@B$, "_"+getarg(0); for(set .@i,0; .@i<5; set .@i,.@i+1) if (compare(.@B$,"_"+.@A$[.@i])) return "an "+getarg(0); return "a "+getarg(0); } Get_Platinum: skill 142,1,0; switch(BaseClass) { case 0: if (Class !=23) skill 143,1,0; break; case 1: skill 144,1,0; skill 145,1,0; skill 146,1,0; break; case 2: skill 157,1,0; break; case 3: skill 147,1,0; skill 148,1,0; break; case 4: skill 156,1,0; break; case 5: skill 153,1,0; skill 154,1,0; skill 155,1,0; break; case 6: skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; break; default: break; } switch(BaseJob) { case 7: skill 1001,1,0; break; case 8: skill 1014,1,0; break; case 9: skill 1006,1,0; break; case 10: skill 1012,1,0; skill 1013,1,0; break; case 11: skill 1009,1,0; break; case 12: skill 1003,1,0; skill 1004,1,0; break; case 14: skill 1002,1,0; break; case 15: skill 1015,1,0; skill 1016,1,0; break; case 16: skill 1007,1,0; skill 1008,1,0; skill 1017,1,0; skill 1018,1,0; skill 1019,1,0; break; case 17: skill 1005,1,0; break; case 18: skill 238,1,0; break; case 19: skill 1010,1,0; break; case 20: skill 1011,1,0; break; default: break; } return; OnInit: setarray .Rebirth[0],0,50; // Minimum base level, job level to rebirth OR change to third class setarray .JobReq[0],10,50; // Minimum job level to turn into 1st class, 2nd class set .ThirdClass,1; // Enable third classes? (1: yes / 0: no) set .SNovice,50; // Minimum base level to turn into Super Novice set .LastJob,1; // Enforce linear class changes? (1: yes / 0: no) set .SkillPointCheck,1; // Force player to use up all skill points? (1: yes / 0: no) set .Platinum,0; // Get platinum skills automatically? (1: yes / 0: no) end; } payon,148,231,6 duplicate(JM) Job Master#2 743
  14. hello guys im having a problem with my rates, my server its setted as 3k/2k/600 but i played a server with this same rates before but in my server its harder to lvl up and slowly, my hit to some mobs its only 1(thor mobs, passana, anubis, etc.) and my other problem is people still can use skills even when sp has finish, i was testing and i can double straff with my sp bar empty, my server is pre-re but i noticed some mobs are dropping weird items not supposed to drop in pre renewal, maybe mobs are set as reneal and they are giving less exp. than pre renewal? i dont know xD plz somebody help me with this. http://s18.postimg.org/5ru286a1l/screen_Kyojin_RO005.jpg http://s18.postimg.org/675c16vyx/screen_Kyojin_RO006.jpg http://s18.postimg.org/xt83lvfbt/screen_Kyojin_RO009.jpg
  15. hello guys i want to disable the use of branches in all maps, i only want it does work in db room maps, if possible i want to know how to modify the message when somebody try to use a branch in another place i want server message, you cant use branch in this map please use DB Room!! thank you in advance guys, hope somebody know how to do this!!!
  16. TY very much guys this is Awesome, already have my Soul Buffer npc. Yoohoo!!!
  17. Sir Emistry this script is working very good, but how i can add some talk, like hello i am soul buffer npc i can buff or soul link you for the cost of (amount of zeny), what do you want i do for you? soul link me, buff me, both of them. TY again sir Emistry!!!
  18. Hello guys this is soul linker,healer and buffer npc by Emistry, i want this npc only to buff and soul link at cost of 200k zeny each service, but i want it have the option to choose like reset npc: hello what you want- Link Me, Buff me, both service. thanks in advance hope someboy help me . prontera,155,181,5 script Soul Buffer#1:SB 992,{ OnHeal: percentheal 100,100; end; OnBuffs: percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; end; OnLink: switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } end; OnInit: defpattern 1, "heal","OnHeal"; defpattern 1, "buff","OnBuffs"; defpattern 1, "link","OnLink"; activatepset 1; end; }
  19. Awesome!! i tried replacing lot of refine.txt and didnt work but this is working 100% thank you Euphy this is solved
  20. Did you make sure to search for: getitem <ID>,1;and replace <ID> with the number you use for Ygg box, because it works fine for me.Example: getitem 617,1; WOWOWO!! ty very much guys its working now, my problem was i replace the id like this <14232> but after i remove <> its working good
  21. Make sure before posting a script to turn off the Rich-Text Editor (Light Switch in top left) to keep tabs. You just need to retab the header. prontera.gat,144,173,3 script Berry Trader#1:BT 91,{ ok Skorm after i retab header npc its shown but now when i click it nothing happen it doesnt talk!
  22. hey Patskie thanks for reply i test this script but the npc doesn't appear.
×
×
  • Create New...