Jump to content

Neferpitou

Members
  • Content Count

    26
  • Joined

  • Last visited

Posts posted by Neferpitou


  1. //===== Hercules Script ======================================//= MVP Arena//===== By: ==================================================//= Darkchild//===== Current Version: =====================================//= 1.4//===== Description: =========================================//= Rooms containing 16 different MVPs//===== Additional Comments: =================================//= 1.0 - First version of script//= 1.1 - Optimised The MVP arena [massdriller]//= 1.2 - NPC in prontera [Silent]//= 1.3 - Removed Duplicates//= 1.4 - Optimized, text edited [Euphy]//============================================================// Entranceque_moon,32,21,3	script	MVP Warper	8_M_JPNMASTER,{	mes "[ ^0065DFMVP Warper^000000 ]";	mes "Would you like to enter";	mes "the MVP Arena?";	if (select("Yes!","No thanks.") == 2) close;		warp "quiz_00",50,24;	close;}// Informationquiz_00,49,31,4	script	MVP Arena Guide	4_M_TWTEAMAN,{	mes "[ ^0065DFMVP Arena Guide^000000 ]";	mes "Welcome and behold this sacred place. Here you will find out if you truly have what it takes to call yourself a warrior.";	next;	switch(select("Information","Heal me!","Return to Prontera","Cancel")) {	case 1:		mes "[ ^0065DFMVP Arena Guide^000000 ]";		mes "There are four Keepers, and each can spawn four different MVPs.";		mes "There are eight rooms per Keeper, and sixteen MVPs in total.";		close;	case 2:		specialeffect2 313;		percentheal 100,100;		close;	case 3:		warp "prontera",156,179;		close;	case 4:		close;	}}// Keepersfunction	script	Keeper	{	mes "[ ^0065DF"+strnpcinfo(1)+"^000000 ]";	mes "Which arena would you";	mes "like to enter?";	set .@menu$,"";	for(set .@i,1; .@i<9; set .@i,.@i+1)		set .@menu$, .@menu$+"Arena "+.@i+" ["+getmapusers("pvp_n_"+.@i+"-"+getarg(0))+"/20]:";	set .@i, select(.@menu$);	if (getmapusers("pvp_n_"+.@i+"-"+getarg(0))>19) {		mes "[ ^0065DF"+strnpcinfo(1)+"^000000 ]";		mes "Sorry, this arena is full!";		close;	}	warp "pvp_n_"+.@i+"-"+getarg(0),102,102;	close;}quiz_00,56,31,4	script	Alpha MVP	4_F_TWGIRL,{ callfunc "Keeper",2; }quiz_00,58,31,4	script	Beta MVP	4_F_TWMIDWOMAN,{ callfunc "Keeper",3; }quiz_00,60,31,4	script	Theta MVP	4_M_TWBOY,{ callfunc "Keeper",4; }quiz_00,62,31,4	script	Epsilon MVP	4_M_TWMIDMAN,{ callfunc "Keeper",5; }// Protectorsfunction	script	Protector	{  mes "[ ^0065DFMVP-Protector^000000 ]";	switch(select(""+((getarg(0)=="")?"":"Harder Monsters")+":Heal:Exit")) {	case 1:		warp getarg(0),102,102;		end;	case 2:		specialeffect2 313;		percentheal 100,100;		close;	case 3:		warp "prontera",156,179;		end;	}}pvp_n_1-2,100,100,4	script	MVP-Protector#01	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_2-2"; }pvp_n_2-2,100,100,4	script	MVP-Protector#02	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_3-2"; }pvp_n_3-2,100,100,4	script	MVP-Protector#03	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_4-2"; }pvp_n_4-2,100,100,4	script	MVP-Protector#04	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_5-2"; }pvp_n_5-2,100,100,4	script	MVP-Protector#05	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_6-2"; }pvp_n_6-2,100,100,4	script	MVP-Protector#06	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_7-2"; }pvp_n_7-2,100,100,4	script	MVP-Protector#07	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_8-2"; }pvp_n_8-2,100,100,4	script	MVP-Protector#08	4_F_JOB_HUNTER,{ callfunc "Protector",""; }pvp_n_1-3,100,100,4	script	MVP-Protector#09	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_2-3"; }pvp_n_2-3,100,100,4	script	MVP-Protector#10	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_3-3"; }pvp_n_3-3,100,100,4	script	MVP-Protector#11	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_4-3"; }pvp_n_4-3,100,100,4	script	MVP-Protector#12	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_5-3"; }pvp_n_5-3,100,100,4	script	MVP-Protector#13	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_6-3"; }pvp_n_6-3,100,100,4	script	MVP-Protector#14	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_7-3"; }pvp_n_7-3,100,100,4	script	MVP-Protector#15	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_8-3"; }pvp_n_8-3,100,100,4	script	MVP-Protector#16	4_F_JOB_HUNTER,{ callfunc "Protector",""; }pvp_n_1-4,100,100,4	script	MVP-Protector#17	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_2-4"; }pvp_n_2-4,100,100,4	script	MVP-Protector#18	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_3-4"; }pvp_n_3-4,100,100,4	script	MVP-Protector#19	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_4-4"; }pvp_n_4-4,100,100,4	script	MVP-Protector#20	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_5-4"; }pvp_n_5-4,100,100,4	script	MVP-Protector#21	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_6-4"; }pvp_n_6-4,100,100,4	script	MVP-Protector#22	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_7-4"; }pvp_n_7-4,100,100,4	script	MVP-Protector#23	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_8-4"; }pvp_n_8-4,100,100,4	script	MVP-Protector#24	4_F_JOB_HUNTER,{ callfunc "Protector",""; }pvp_n_1-5,100,100,4	script	MVP-Protector#25	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_2-5"; }pvp_n_2-5,100,100,4	script	MVP-Protector#26	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_3-5"; }pvp_n_3-5,100,100,4	script	MVP-Protector#27	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_4-5"; }pvp_n_4-5,100,100,4	script	MVP-Protector#28	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_5-5"; }pvp_n_5-5,100,100,4	script	MVP-Protector#29	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_6-5"; }pvp_n_6-5,100,100,4	script	MVP-Protector#30	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_7-5"; }pvp_n_7-5,100,100,4	script	MVP-Protector#31	4_F_JOB_HUNTER,{ callfunc "Protector","pvp_n_8-5"; }pvp_n_8-5,100,100,4	script	MVP-Protector#32	4_F_JOB_HUNTER,{ callfunc "Protector",""; }// Alphapvp_n_1-2,0,0,0,0	monster	Eddga	1115,3,60000,66000pvp_n_1-2,0,0,0,0	monster	Mistress	1059,1,60000,66000pvp_n_2-2,0,0,0,0	monster	Mistress	1059,3,60000,66000pvp_n_2-2,0,0,0,0	monster	Moonlight	1150,1,60000,66000pvp_n_3-2,0,0,0,0	monster	Mistress	1059,1,60000,66000pvp_n_3-2,0,0,0,0	monster	Moonlight	1150,2,60000,66000pvp_n_3-2,0,0,0,0	monster	Maya	1147,1,60000,66000pvp_n_4-2,0,0,0,0	monster	Eddga	1115,1,60000,66000pvp_n_4-2,0,0,0,0	monster	Mistress	1059,1,60000,66000pvp_n_4-2,0,0,0,0	monster	Moonlight	1150,1,60000,66000pvp_n_4-2,0,0,0,0	monster	Maya	1147,1,60000,66000pvp_n_5-2,0,0,0,0	monster	Eddga	1115,1,60000,66000pvp_n_5-2,0,0,0,0	monster	Mistress	1059,2,60000,66000pvp_n_5-2,0,0,0,0	monster	Moonlight	1150,1,60000,66000pvp_n_5-2,0,0,0,0	monster	Maya	1147,2,60000,66000pvp_n_6-2,0,0,0,0	monster	Eddga	1115,2,60000,66000pvp_n_6-2,0,0,0,0	monster	Mistress	1059,3,60000,66000pvp_n_6-2,0,0,0,0	monster	Moonlight	1150,1,60000,66000pvp_n_6-2,0,0,0,0	monster	Maya	1147,2,60000,66000pvp_n_7-2,0,0,0,0	monster	Eddga	1115,3,60000,66000pvp_n_7-2,0,0,0,0	monster	Mistress	1059,3,60000,66000pvp_n_7-2,0,0,0,0	monster	Moonlight	1150,2,60000,66000pvp_n_7-2,0,0,0,0	monster	Maya	1147,2,60000,66000pvp_n_8-2,0,0,0,0	monster	Eddga	1115,3,60000,66000pvp_n_8-2,0,0,0,0	monster	Mistress	1059,3,60000,66000pvp_n_8-2,0,0,0,0	monster	Moonlight	1150,3,60000,66000pvp_n_8-2,0,0,0,0	monster	Maya	1147,3,60000,66000// Betapvp_n_1-3,0,0,0,0	monster	Phreeoni	1159,3,60000,66000pvp_n_1-3,0,0,0,0	monster	Turtle General	1312,1,60000,66000pvp_n_2-3,0,0,0,0	monster	Phreeoni	1159,2,60000,66000pvp_n_2-3,0,0,0,0	monster	Turtle General	1312,1,60000,66000pvp_n_2-3,0,0,0,0	monster	Orc Hero	1087,1,60000,66000pvp_n_3-3,0,0,0,0	monster	Phreeoni	1159,1,60000,66000pvp_n_3-3,0,0,0,0	monster	Turtle General	1312,1,60000,66000pvp_n_3-3,0,0,0,0	monster	Orc Hero	1087,1,60000,66000pvp_n_3-3,0,0,0,0	monster	Orc Lord	1190,1,60000,66000pvp_n_4-3,0,0,0,0	monster	Phreeoni	1159,2,60000,66000pvp_n_4-3,0,0,0,0	monster	Turtle General	1312,1,60000,66000pvp_n_4-3,0,0,0,0	monster	Orc Hero	1087,1,60000,66000pvp_n_4-3,0,0,0,0	monster	Orc Lord	1190,1,60000,66000pvp_n_5-3,0,0,0,0	monster	Phreeoni	1159,1,60000,66000pvp_n_5-3,0,0,0,0	monster	Turtle General	1312,2,60000,66000pvp_n_5-3,0,0,0,0	monster	Orc Hero	1087,2,60000,66000pvp_n_5-3,0,0,0,0	monster	Orc Lord	1190,1,60000,66000pvp_n_6-3,0,0,0,0	monster	Phreeoni	1159,2,60000,66000pvp_n_6-3,0,0,0,0	monster	Turtle General	1312,1,60000,66000pvp_n_6-3,0,0,0,0	monster	Orc Hero	1087,2,60000,66000pvp_n_6-3,0,0,0,0	monster	Orc Lord	1190,2,60000,66000pvp_n_7-3,0,0,0,0	monster	Phreeoni	1159,3,60000,66000pvp_n_7-3,0,0,0,0	monster	Turtle General	1312,1,60000,66000pvp_n_7-3,0,0,0,0	monster	Orc Hero	1087,2,60000,66000pvp_n_7-3,0,0,0,0	monster	Orc Lord	1190,3,60000,66000pvp_n_8-3,0,0,0,0	monster	Phreeoni	1159,3,60000,66000pvp_n_8-3,0,0,0,0	monster	Turtle General	1312,3,60000,66000pvp_n_8-3,0,0,0,0	monster	Orc Hero	1087,3,60000,66000pvp_n_8-3,0,0,0,0	monster	Orc Lord	1190,3,60000,66000// Thetapvp_n_1-4,0,0,0,0	monster	Drake	1112,3,60000,66000pvp_n_1-4,0,0,0,0	monster	Osiris	1038,1,60000,66000pvp_n_2-4,0,0,0,0	monster	Drake	1112,2,60000,66000pvp_n_2-4,0,0,0,0	monster	Osiris	1038,1,60000,66000pvp_n_2-4,0,0,0,0	monster	Doppelganger	1046,1,60000,66000pvp_n_3-4,0,0,0,0	monster	Drake	1112,1,60000,66000pvp_n_3-4,0,0,0,0	monster	Osiris	1038,1,60000,66000pvp_n_3-4,0,0,0,0	monster	Doppelganger	1046,1,60000,66000pvp_n_3-4,0,0,0,0	monster	Lord of Death	1373,1,60000,66000pvp_n_4-4,0,0,0,0	monster	Drake	1112,2,60000,66000pvp_n_4-4,0,0,0,0	monster	Osiris	1038,1,60000,66000pvp_n_4-4,0,0,0,0	monster	Doppelganger	1046,2,60000,66000pvp_n_4-4,0,0,0,0	monster	Lord of Death	1373,1,60000,66000pvp_n_5-4,0,0,0,0	monster	Drake	1112,3,60000,66000pvp_n_5-4,0,0,0,0	monster	Osiris	1038,2,60000,66000pvp_n_5-4,0,0,0,0	monster	Doppelganger	1046,2,60000,66000pvp_n_5-4,0,0,0,0	monster	Lord of Death	1373,1,60000,66000pvp_n_6-4,0,0,0,0	monster	Drake	1112,3,60000,66000pvp_n_6-4,0,0,0,0	monster	Osiris	1038,2,60000,66000pvp_n_6-4,0,0,0,0	monster	Doppelganger	1046,2,60000,66000pvp_n_6-4,0,0,0,0	monster	Lord of Death	1373,2,60000,66000pvp_n_7-4,0,0,0,0	monster	Drake	1112,3,60000,66000pvp_n_7-4,0,0,0,0	monster	Osiris	1038,2,60000,66000pvp_n_7-4,0,0,0,0	monster	Doppelganger	1046,3,60000,66000pvp_n_7-4,0,0,0,0	monster	Lord of Death	1373,2,60000,66000pvp_n_8-4,0,0,0,0	monster	Drake	1112,3,60000,66000pvp_n_8-4,0,0,0,0	monster	Osiris	1038,3,60000,66000pvp_n_8-4,0,0,0,0	monster	Doppelganger	1046,3,60000,66000pvp_n_8-4,0,0,0,0	monster	Lord of Death	1373,3,60000,66000// Epsilonpvp_n_1-5,0,0,0,0	monster	Incantation Samurai	1492,3,60000,66000pvp_n_1-5,0,0,0,0	monster	Pharoh	1157,1,60000,66000pvp_n_2-5,0,0,0,0	monster	Incantation Samurai	1492,2,60000,66000pvp_n_2-5,0,0,0,0	monster	Pharoh	1157,1,60000,66000pvp_n_2-5,0,0,0,0	monster	Dark Lord	1272,1,60000,66000pvp_n_3-5,0,0,0,0	monster	Incantation Samurai	1492,1,60000,66000pvp_n_3-5,0,0,0,0	monster	Pharoh	1157,1,60000,66000pvp_n_3-5,0,0,0,0	monster	Dark Lord	1272,1,60000,66000pvp_n_3-5,0,0,0,0	monster	Baphomet	1039,1,60000,66000pvp_n_4-5,0,0,0,0	monster	Incantation Samurai	1492,3,60000,66000pvp_n_4-5,0,0,0,0	monster	Pharoh	1157,1,60000,66000pvp_n_4-5,0,0,0,0	monster	Dark Lord	1272,1,60000,66000pvp_n_4-5,0,0,0,0	monster	Baphomet	1039,1,60000,66000pvp_n_5-5,0,0,0,0	monster	Incantation Samurai	1492,2,60000,66000pvp_n_5-5,0,0,0,0	monster	Pharoh	1157,2,60000,66000pvp_n_5-5,0,0,0,0	monster	Dark Lord	1272,2,60000,66000pvp_n_5-5,0,0,0,0	monster	Baphomet	1039,1,60000,66000pvp_n_6-5,0,0,0,0	monster	Incantation Samurai	1492,2,60000,66000pvp_n_6-5,0,0,0,0	monster	Pharoh	1157,2,60000,66000pvp_n_6-5,0,0,0,0	monster	Dark Lord	1272,2,60000,66000pvp_n_6-5,0,0,0,0	monster	Baphomet	1039,1,60000,66000pvp_n_7-5,0,0,0,0	monster	Incantation Samurai	1492,2,60000,66000pvp_n_7-5,0,0,0,0	monster	Pharoh	1157,2,60000,66000pvp_n_7-5,0,0,0,0	monster	Dark Lord	1272,2,60000,66000pvp_n_7-5,0,0,0,0	monster	Baphomet	1039,2,60000,66000pvp_n_8-5,0,0,0,0	monster	Incantation Samurai	1492,3,60000,66000pvp_n_8-5,0,0,0,0	monster	Pharoh	1157,2,60000,66000pvp_n_8-5,0,0,0,0	monster	Dark Lord	1272,2,60000,66000pvp_n_8-5,0,0,0,0	monster	Baphomet	1039,2,60000,66000// Mapflagspvp_n_1-1	mapflag	pvp_nightmaredrop	offpvp_n_2-1	mapflag	pvp_nightmaredrop	offpvp_n_3-1	mapflag	pvp_nightmaredrop	offpvp_n_4-1	mapflag	pvp_nightmaredrop	offpvp_n_5-1	mapflag	pvp_nightmaredrop	offpvp_n_6-1	mapflag	pvp_nightmaredrop	offpvp_n_7-1	mapflag	pvp_nightmaredrop	offpvp_n_8-1	mapflag	pvp_nightmaredrop	offpvp_n_1-2	mapflag	pvp_nightmaredrop	offpvp_n_2-2	mapflag	pvp_nightmaredrop	offpvp_n_3-2	mapflag	pvp_nightmaredrop	offpvp_n_4-2	mapflag	pvp_nightmaredrop	offpvp_n_5-2	mapflag	pvp_nightmaredrop	offpvp_n_6-2	mapflag	pvp_nightmaredrop	offpvp_n_7-2	mapflag	pvp_nightmaredrop	offpvp_n_8-2	mapflag	pvp_nightmaredrop	offpvp_n_1-3	mapflag	pvp_nightmaredrop	offpvp_n_2-3	mapflag	pvp_nightmaredrop	offpvp_n_3-3	mapflag	pvp_nightmaredrop	offpvp_n_4-3	mapflag	pvp_nightmaredrop	offpvp_n_5-3	mapflag	pvp_nightmaredrop	offpvp_n_6-3	mapflag	pvp_nightmaredrop	offpvp_n_7-3	mapflag	pvp_nightmaredrop	offpvp_n_8-3	mapflag	pvp_nightmaredrop	offpvp_n_1-4	mapflag	pvp_nightmaredrop	offpvp_n_2-4	mapflag	pvp_nightmaredrop	offpvp_n_3-4	mapflag	pvp_nightmaredrop	offpvp_n_4-4	mapflag	pvp_nightmaredrop	offpvp_n_5-4	mapflag	pvp_nightmaredrop	offpvp_n_6-4	mapflag	pvp_nightmaredrop	offpvp_n_7-4	mapflag	pvp_nightmaredrop	offpvp_n_8-4	mapflag	pvp_nightmaredrop	offpvp_n_1-5	mapflag	pvp_nightmaredrop	offpvp_n_2-5	mapflag	pvp_nightmaredrop	offpvp_n_3-5	mapflag	pvp_nightmaredrop	offpvp_n_4-5	mapflag	pvp_nightmaredrop	offpvp_n_5-5	mapflag	pvp_nightmaredrop	offpvp_n_6-5	mapflag	pvp_nightmaredrop	offpvp_n_7-5	mapflag	pvp_nightmaredrop	offpvp_n_8-5	mapflag	pvp_nightmaredrop	off

    Can someone edit this and make 5 poring coin before you can enter and after you killed 1 mvp you will be warp out to your savepoint to prevent spam killing mvp's.. thank you in advance


  2. wow this host very helpful he do everything in my server side he use remote access to my desktop to back up all i needs even it takes an hour. i really suggest this host to you guys very fast reply very fast support and very professional i just started here but all i can say right now i rate this 9/10 since the 1 point i will observe to my server smoothness and lag free :) i will make a review again after 1 week since im new here in this host... salute to you @PonyVPS keep up the good work and more power


  3. @Winerfox
    thanks a lot bro but can you make it only refinable items i mean Headtop armor shield weapon dont include accessories and mid headgears like a default refine npc hehehe thanks a lot and can you add also sucess rate option? if can thanks a lot bro i really appreciate your effort and help big thanks to you


  4. i see thanks for the reply so no default shadow blacksmith right now in herc :(. and can you make a script like that? if you are not busy if not its ok i try to understand all the code and try to learn it thanks


  5. //===== Hercules Script ======================================//= Job Master//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.4//===== 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]//= 1.4 Improved legibility (renamed variables, replaced//      numbers with constants; Changed syntax to match//      Hercules standards; Fixed status point exploit upon//      Baby Novice job change. [Haru]//============================================================prontera,147,175,6	script	Job Master	656,{	function Job_Menu; function A_An;	mes "[Job Master]";	if (Class > Job_Soul_Linker) {		mes "No more jobs are available.";		close;	}	if (checkfalcon() || checkcart() || checkmount() || hascashmount()) {		mes "Please remove your "+((checkfalcon())?"falcon":"")+((checkcart())?"cart":"")+((checkmount() || hascashmount())?"mount":"")		    +" before proceeding.";		close;	}	if (.skill_point_check && SkillPoint > 0) {		mes "Please use all your skill points before proceeding.";		close;	}	.@eac = eaclass();	.@base = .third_classes ? roclass(.@eac&EAJ_UPPERMASK) : Class;	if (.@base >= Job_Knight && .@base <= Job_Crusader2) {		if (BaseLevel < .rebirth_blevel || JobLevel < .rebirth_jlevel) {			.@blvl = .rebirth_blevel - BaseLevel;			.@jlvl = .rebirth_jlevel - JobLevel;			mes "You need "			    + (BaseLevel < .rebirth_blevel ? ((.rebirth_blevel - BaseLevel) +" more base levels "+ (JobLevel < .rebirth_jlevel ? "and " : "")) : "")			    + (JobLevel < .rebirth_jlevel ? (.rebirth_jlevel - JobLevel) +" more job levels " : "")			    + "to continue.";			close;		}		if (Class > Job_Crusader2) {			mes "Switch to third class?";			next;			Job_Menu(roclass(.@eac|EAJL_THIRD));			close;		}		while (true) {			mes "Select an option.";			next;			.@choice = select(" ~ ^0055FFRebirth^000000:"+(.third_classes ? " ~ ^FF0000Third Class^000000" : "")+": ~ ^777777Cancel^000000");			if (.@choice == 3)				close;			mes "[Job Master]";			mes "Are you sure?";			next;			if (.@choice == 1)				Job_Menu(Job_Novice_High);			else				Job_Menu(roclass(.@eac|EAJL_THIRD));			mes "[Job Master]";		}	}	.@job1 = roclass(.@eac|EAJL_2_1);	.@job2 = roclass(.@eac|EAJL_2_2);	if ((.@eac&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE) {		.@newclass = roclass(.@eac|EAJL_THIRD);		.@required_jlevel = 99;	} else if (Class == Job_Ninja) {		.@newclass = .@job1;		.@required_jlevel = 70;	}	if (.@newclass && .third_classes) {		if (BaseLevel < .rebirth_blevel || JobLevel < .@required_jlevel) {			mes "You need "			    + (BaseLevel < .rebirth_blevel ? ((.rebirth_blevel - BaseLevel) +" more base levels "+ (JobLevel < .@required_jlevel ? "and " : "")) : "")			    + (JobLevel < .@required_jlevel ? (.@required_jlevel - JobLevel) +" more job levels " : "")			    + "to continue.";			close;		}		mes "Switch to "+jobname(.@newclass)+"?";		next;		Job_Menu(.@newclass);		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 < .jobchange_first) {			mes "A job level of "+.jobchange_first+" is required to change into the 1st Class.";		} else if (Class == Job_Novice_High && .linear_jobchange && lastJob) {			mes "Switch classes now?";			next;			Job_Menu(roclass((eaclass(lastJob)&EAJ_BASEMASK)|EAJL_UPPER));		} else if (Class == Job_Novice) {			Job_Menu(Job_Swordman, Job_Mage, Job_Archer, Job_Acolyte, Job_Merchant, Job_Thief,			         Job_SuperNovice, Job_Taekwon, Job_Gunslinger, Job_Ninja, Job_Baby);		} else if (Class == Job_Novice_High) {			Job_Menu(Job_Swordman_High, Job_Mage_High, Job_Archer_High, Job_Acolyte_High, Job_Merchant_High, Job_Thief_High);		} else if (Class == Job_Baby) {			Job_Menu(Job_Baby_Swordman, Job_Baby_Mage, Job_Baby_Archer, Job_Baby_Acolyte, Job_Baby_Merchant, Job_Baby_Thief,			         Job_Super_Baby);		} else {			mes "An error has occurred.";		}		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 < .jobchange_second) {		mes "A job level of "+.jobchange_second+" is required to change into the 2nd Class.";	} else if (.linear_jobchange && lastJob && (.@eac&EAJL_UPPER)) {		mes "Switch classes now?";		next;		Job_Menu(lastJob+Job_Novice_High);	} else {		Job_Menu(.@job1, .@job2);	}	close;function Job_Menu {	while (true) {		if (getargcount() > 1) {			mes "Select a job.";			.@menu$ = "";			for (.@i = 0; .@i < getargcount(); ++.@i)				.@menu$ += " ~ "+jobname(getarg(.@i))+":";			.@menu$ += " ~ ^777777Cancel^000000";			next;			.@newjob = getarg(select(.@menu$)-1, 0);			if (!.@newjob) close;			if ((.@newjob == Job_SuperNovice || .@newjob == Job_Super_Baby) && BaseLevel < .supernovice_level) {				mes "[Job Master]";				mes "A base level of "+.supernovice_level+" is required to turn into a "+jobname(.@newjob)+".";				close;			}			mes "[Job Master]";			mes "Are you sure?";			next;		} else {			.@newjob = getarg(0);		}		if (select(" ~ Change into ^0055FF"+jobname(.@newjob)+"^000000 class: ~ ^777777"+(getargcount() > 1 ? "Go back" : "Cancel")+"^000000") == 1) {			mes "[Job Master]";			mes "You are now "+A_An(jobname(.@newjob))+"!";			if (.@newjob == Job_Novice_High && .linear_jobchange)				lastJob = Class; // Note: This is incompatible with the Valkyrie rebirth script.			jobchange .@newjob;			if (.@newjob == Job_Novice_High)				resetlvl(1);			if (.@newjob == Job_Baby) {				resetlvl(4);				SkillPoint = 0;			}			specialeffect2 EF_ANGEL2;			specialeffect2 EF_ELECTRIC;			if (.platinum)				callsub Get_Platinum;			close;		}		if (getargcount() == 1)			return;		mes "[Job Master]";	}	end;}function A_An {	setarray .@vowels$, "a", "e", "i", "o", "u";	.@firstletter$ = strtolower(charat(getarg(0), 0));	for (.@i = 0; .@i < getarraysize(.@vowels); ++.@i) {		if (.@vowels$[.@i] == .@firstletter$)			return "an "+getarg(0);	}	return "a "+getarg(0);}Get_Platinum:	skill NV_FIRSTAID, 1, 0;	if (BaseClass == Job_Novice) {		if (Class != Job_SuperNovice)			skill NV_TRICKDEAD, 1, 0;	} else if (BaseClass == Job_Swordman) {		skill SM_MOVINGRECOVERY, 1, 0;		skill SM_FATALBLOW, 1, 0;		skill SM_AUTOBERSERK, 1, 0;	} else if (BaseClass == Job_Mage) {		skill MG_ENERGYCOAT, 1, 0;	} else if (BaseClass == Job_Archer) {		skill AC_MAKINGARROW, 1, 0;		skill AC_CHARGEARROW, 1, 0;	} else if (BaseClass == Job_Acolyte) {		skill AL_HOLYLIGHT, 1, 0;	} else if (BaseClass == Job_Merchant) {		skill MC_CARTREVOLUTION, 1, 0;		skill MC_CHANGECART, 1, 0;		skill MC_LOUD, 1, 0;	} else if (BaseClass == Job_Thief) {		skill TF_SPRINKLESAND, 1, 0;		skill TF_BACKSLIDING, 1, 0;		skill TF_PICKSTONE, 1, 0;		skill TF_THROWSTONE, 1, 0;	}	if (BaseJob == Job_Knight) {		skill KN_CHARGEATK, 1, 0;	} else if (BaseJob == Job_Priest) {		skill PR_REDEMPTIO, 1, 0;	} else if (BaseJob == Job_Wizard) {		skill WZ_SIGHTBLASTER, 1, 0;	} else if (BaseJob == Job_Blacksmith) {		skill BS_UNFAIRLYTRICK, 1, 0;		skill BS_GREED, 1, 0;	} else if (BaseJob == Job_Hunter) {		skill HT_PHANTASMIC, 1, 0;	} else if (BaseJob == Job_Assassin) {		skill AS_SONICACCEL, 1, 0;		skill AS_VENOMKNIFE, 1, 0;	} else if (BaseJob == Job_Crusader) {		skill CR_SHRINK, 1, 0;	} else if (BaseJob == Job_Monk) {		skill MO_KITRANSLATION, 1, 0;		skill MO_BALKYOUNG, 1, 0;	} else if (BaseJob == Job_Sage) {		skill SA_CREATECON, 1, 0;		skill SA_ELEMENTWATER, 1, 0;		skill SA_ELEMENTGROUND, 1, 0;		skill SA_ELEMENTFIRE, 1, 0;		skill SA_ELEMENTWIND, 1, 0;	} else if (BaseJob == Job_Rogue) {		skill RG_CLOSECONFINE, 1, 0;	} else if (BaseJob == Job_Alchemist) {		skill AM_BIOETHICS, 1, 0;	} else if (BaseJob == Job_Bard) {		skill BA_PANGVOICE, 1, 0;	} else if (BaseJob == Job_Dancer) {		skill DC_WINKCHARM, 1, 0;	}	return;OnInit:	.rebirth_blevel = 99;    // Minimum base level to reborn OR change to third class	.rebirth_jlevel = 50;    // Minimum base job level to reborn OR change to third class	.jobchange_first = 10;   // Minimum job level to turn into 1st class	.jobchange_second = 40;  // Minimum job level to turn into 2nd class	.third_classes = 1;      // Enable third classes? (1: yes / 0: no)	.supernovice_level = 45; // Minimum base level to turn into Super Novice	.linear_jobchange = 1;   // Enforce linear class changes? (1: yes / 0: no)	.skill_point_check = 1;  // Force player to use up all skill points? (1: yes / 0: no)	.platinum = 1;           // Get platinum skills automatically? (1: yes / 0: no)	end;}

    Kindly edit this default script of hercules to give starting weapons and equips every time they change there jobs. example change to swordsman it will give sword and accessory's but just simple items that will help him hunt monsters thank you very much


  6. wow hi master Rytech the founder of 3ceam :) i already applied all the patch without any errors but my script its not working anymore when i load it to my test server no error in compiling and no error also in script load but the npc dont have space for pub i mean i cant enter his pub to join the battle grounds that this is the old battle grounds i have but i cant enter in the NPC PUB...


  7. 2>  chat.c2>..srcmapchat.c(198): error C2143: syntax error : missing ';' before 'type'2>..srcmapchat.c(203): error C2065: 'kickusername' : undeclared identifier2>..srcmapchat.c(203): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'2>..srcmapchat.c(203): warning C4024: 'strncmp' : different types for formal and actual parameter 22>..srcmapchat.c(211): error C2143: syntax error : missing '{' before '->'2>..srcmapchat.c(211): error C2059: syntax error : '->'2>..srcmapchat.c(212): error C2143: syntax error : missing ')' before '->'2>..srcmapchat.c(212): error C2143: syntax error : missing '{' before '->'2>..srcmapchat.c(212): error C2059: syntax error : '->'2>..srcmapchat.c(212): error C2059: syntax error : ')'2>..srcmapchat.c(213): error C2143: syntax error : missing '{' before '->'2>..srcmapchat.c(213): error C2059: syntax error : '->'2>..srcmapchat.c(215): error C2065: 'i' : undeclared identifier2>..srcmapchat.c(215): error C2099: initializer is not a constant2>..srcmapchat.c(217): error C2059: syntax error : 'for'2>..srcmapchat.c(217): error C2143: syntax error : missing '{' before '<'2>..srcmapchat.c(217): error C2059: syntax error : '<'2>..srcmapchat.c(217): error C2143: syntax error : missing '{' before '++'2>..srcmapchat.c(217): error C2059: syntax error : '++'2>..srcmapchat.c(217): error C2059: syntax error : ')'2>..srcmapchat.c(221): error C2059: syntax error : 'if'2>..srcmapchat.c(239): error C2059: syntax error : 'if'2>..srcmapchat.c(254): error C2143: syntax error : missing '{' before '->'2>..srcmapchat.c(254): error C2059: syntax error : '->'2>..srcmapchat.c(256): error C2059: syntax error : 'return'2>..srcmapchat.c(257): error C2059: syntax error : '}'2>..srcmapchat.c(474): error C2065: 'chat_changechatowner' : undeclared identifier2>..srcmapchat.c(474): warning C4047: '=' : 'bool (__cdecl *)(map_session_data *,const char *)' differs in levels of indirection from 'int' 

     

    oh thank you i already apply all the patch manually but i have a problem kindly help me i really need this how to fix this error i really dont have any idea thank you

     

    Recompile error


  8. thank you very much but i have errors when i try to apply patch using tortoise
    script.c
     

    --- script.c+++ script.c@@ -14254,6 +14303,28 @@ 	return 0; } +BUILDIN_FUNC(getbgmembers)+{+	struct battleground_data *bg = NULL;+	struct map_session_data *sd;+	int bg_id, i, j=0;++	bg_id = script_getnum(st,2);+	if( (bg = bg_team_search(bg_id)) == NULL) {+		script_pushint(st,0);+		return 0;+	}+	for( i = 0; i < MAX_BG_MEMBERS; i++ ) {+		if( (sd = bg->members[i].sd) == NULL )+			continue;+		setd_sub(st, NULL, ".@bg_members", j, (void *)sd->status.account_id, NULL);+		j++;+	}+	setd_sub(st, NULL, ".@bg_membercount", 0, (void *)j, NULL);++	return 0;+}+ BUILDIN_FUNC(bg_updatescore) { 	const char *str;@@ -14924,6 +14995,8 @@ 	BUILDIN_DEF(waitingroom,"si??"), 	BUILDIN_DEF(delwaitingroom,"?"), 	BUILDIN_DEF2(waitingroomkickall,"kickwaitingroomall","?"),+	BUILDIN_DEF(waitingroomkick,"ss"),+	BUILDIN_DEF(getwaitingroomusers, "?"), 	BUILDIN_DEF(enablewaitingroomevent,"?"), 	BUILDIN_DEF(disablewaitingroomevent,"?"), 	BUILDIN_DEF2(enablewaitingroomevent,"enablearena",""),		// Added by RoVeRT@@ -15134,7 +15207,7 @@ 	BUILDIN_DEF(bg_get_data,"ii"), 	BUILDIN_DEF(bg_getareausers,"isiiii"), 	BUILDIN_DEF(bg_updatescore,"sii"),-+	BUILDIN_DEF(getbgmembers, "i"), 	// Instancing 	BUILDIN_DEF(instance_create,"si"), 	BUILDIN_DEF(instance_destroy,"?"),

    chat.h
     

    --- chat.h+++ chat.h@@ -36,4 +36,5 @@ int chat_disableevent(struct chat_data* cd); int chat_npckickall(struct chat_data* cd); +int chat_npckickchat(struct chat_data* cd, const char* kickusername); #endif /* _CHAT_H_ */

    thank you i really appreciate your help thank you very much


  9. Hello everyone im new here in hercules and i have a ragnarok server last 2 years and i want to try to make a new 1 again using hercules and i really want to apply my old src file from 3ceam r650 to latest hercules revision anyone can edit my patch file so that i can use this to patch in hercules without any problem. i really appreciate all the help thanks in advance and thank you and also sorry for my bad english :(


    chatroomBGCmds.patch

×
×
  • Create New...

Important Information

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