NOTICE: If you are a returning member, please reset your password to be able to log in as your old password can no longer be used. Make sure you check your spam/junk mail folder in case the reset consent mail lands there. Additionally, you may not reply to or start new topics outside of the non-archive zone.

[Requested]Deadly Professor

Post Reply
User avatar

Topic author
Yandols
Articles:0
Posts:911
Joined:Fri Jul 24, 2009 8:00 am
Location:Rocknarok Town
Contact:

Badges

[Requested]Deadly Professor

Post by Yandols » Wed Sep 09, 2009 6:43 am

Script: Deadly Professor
Writer: Yandols ZeonX
Version: 1.02
Works with: Not Known, not tested.
Desc: Special Spawning NPC
Default Placement: prontera.gat,150,150

An NPC nopihina requested for spawning some custom monsters.
Written by me. :D

Script:
deadly_professor.txt
Show

Code: Select all

//////////////////////////////////////////////////////////////////////
//////////////////////// aERO2 Corp. Scripts /////////////////////////
//////////////////////////////////////////////////////////////////////
////Script:Deadly Professor
////Writer:Yandols ZeonX
////Version:1.02
////Works with:Not Known, not tested.
////Desc:Special Spawning NPC
//////////////////////////////////////////////////////////////////////
////Version Info:
////1.00Initial Release
////1.01Done some trimming and fixed wrong item id at mastering before uploading. XD
////1.02Fixed missing delitem(s)
//////////////////////////////////////////////////////////////////////
////Notes:
////- Requested by Nopihina for use on VooDooRO Private Server
//////////////////////////////////////////////////////////////////////

prontera.gat,150,150,5scriptDeadly Professor#N::mobresetnpc763,{
mes "[Deadly Professor]";
mes "Hello "+strcharinfo(0)+"!!";
mes "  ";//Do not remove - for backwards compatibility
next;
mes "[Deadly Professor]";
mes "Do you want to summon something?";
mes "  ";//Do not remove - for backwards compatibility
next;
menu "Deadly Professor",Lsc1,"Mastering",Lsc2,"Nothing.",Lquit;

Lsc1:
mes "[Deadly Professor]";
mes "To summon^FF0000 Deadly Professor^000000, you will need: ";
mes "- 1000 Handicuffs";
mes "- 45 Laurell Weinder Cards";
mes "- 1 Wizardry Staff[0]";
mes "- ";
next;
menu "OK",Lscs1,"Cancel",Lquit;

Lscs1:
mes "[Deadly Professor]";
mes "Checking...";
mes " ";
if((countitem(7345) < 1000) || (countitem(4350) < 45) || (countitem(1473) < 1)) goto DENYMATERIAL;
delitem 7345, 1000;
delitem 4350, 45;
delitem 1473, 1;
mes "Check complete.";
mes "Alright here you go!";
monster "prontera.gat",150,150,"Deadly Professor",2000,1;
close;


Lsc2:
mes "[Deadly Professor]";
mes "To summon^FF0000 Mastering^000000, you will need: ";
mes "- 100 Mastering Cards";
mes "- 300 Poring Cards";
mes "- ";
next;
menu "OK",Lscr1,"Cancel",Lquit;

Lscr1:
mes "[Deadly Professor]";
mes "Checking...";
mes " ";
if((countitem(4197) < 100) || (countitem(4001) < 300)) goto DENYMATERIAL;
delitem 4197, 100;
delitem 4001, 300;
mes "Check complete.";
mes "Alright here you go!";
monster "prontera.gat",150,150,"Mastering",1090,1;
close;


DENYMATERIAL:
mes "^FF0000Error! It seems that you don't have all of the required items! ^000000";
mes "If you do have all the required items but they are not detected please contact the support team.";
close;

Lquit:
mes "[Deadly Professor]";
mes "Okay come back when you want to summon.";
close;

}

Well, please report any bugs you may find. Thank you.
I'm Yandols. The Founder and Head Admin of this place.
Please contact me immediately if you encounter any problems.

User avatar

nopihina
Articles:0
Posts:221
Joined:Fri Sep 04, 2009 8:00 am
Location:Earth, is it correct?
Contact:

Badges

Post by nopihina » Wed Sep 09, 2009 7:04 am

Thanks yandols. I tested them( and added another id num) and it works fine! Unfortunately, the items did not disappear.

Retard #1. If you see this, you are Retard #2! Put this at ur sig XD

User avatar

Topic author
Yandols
Articles:0
Posts:911
Joined:Fri Jul 24, 2009 8:00 am
Location:Rocknarok Town
Contact:

Badges

Post by Yandols » Wed Sep 09, 2009 7:07 am

nopihina wrote:
Tue Sep 08, 2009 11:04 pm
Thanks yandols. I tested them( and added another id num) and it works fine! Unfortunately, the items did not disappear.
Oh! I'll get right onto that.
I'm Yandols. The Founder and Head Admin of this place.
Please contact me immediately if you encounter any problems.

User avatar

Topic author
Yandols
Articles:0
Posts:911
Joined:Fri Jul 24, 2009 8:00 am
Location:Rocknarok Town
Contact:

Badges

Post by Yandols » Wed Sep 09, 2009 7:11 am

Okay fixed that bug, but i need you to test it since i don't have Ragnarok at home.
Updated attachment as well.
I'm Yandols. The Founder and Head Admin of this place.
Please contact me immediately if you encounter any problems.

User avatar

nopihina
Articles:0
Posts:221
Joined:Fri Sep 04, 2009 8:00 am
Location:Earth, is it correct?
Contact:

Badges

Post by nopihina » Wed Sep 09, 2009 7:20 am

Thank you! It works!

Retard #1. If you see this, you are Retard #2! Put this at ur sig XD

User avatar

Topic author
Yandols
Articles:0
Posts:911
Joined:Fri Jul 24, 2009 8:00 am
Location:Rocknarok Town
Contact:

Badges

Post by Yandols » Wed Sep 09, 2009 10:00 pm

I'm glad it works, you can seek for my help again if you need it to be modified or you want a new script. :)
I'm Yandols. The Founder and Head Admin of this place.
Please contact me immediately if you encounter any problems.

Post Reply

Return to “Scripter's Zone”