Jump to content

Karul's Scripts~ [Latest: Game Master Event Starter]


iFoxkun

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

//~~~~~~~~~~Scripts Made By Karul~~~~~~~~~~

~Terms of Agreement~

  • You can NOT take credit for any script that I have made or others that have edited and was posted on this topic.
  • You can NOT remove the credit tags saved on the scripts and re edit & repost my work.
  • You can NOT redistribute my work into any other websites without my consent.
  • You CAN edit my work, but leave the credit tags.
  • Rate my work and PM if there is anything wrong.
  • If my work is found on any other site besides eAthena, PM me at once, with the information of the website & link.
  • By downloading and using it on your server, you accept the Terms of Agreement above.
  • Thank You for using Karul's Scripts. Also, please thank those who edit these script and has been posted here.

~ Arigatou

:) Gozaimas ~

** Sorry, I don't make automated events because I dislike them **

Support NPC

This script can be used for a support NPC. It uses the the command @request, so a GM must be on to receive the message. I know I fail, but its my friends script ever posted ;D here. ;x

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

People can report the following:

  • Bugs
  • Hackers
  • Questions

And for those "Enter" key spammers, I added an option to @nuke them if they spam "Enter".

Rate please ;_;

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please don't take credit for it. Please leave the credits left alone at the beginning of the script. Please do not redistribute without my consent.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://pastebin.com/raw.php?i=jwDqtgw6 - Without Randomized Menu

http://pastebin.com/raw.php?i=9bLgWikj- With Randomized Menu (Thanks to Genuine)

Attachment is called support.txt

The download link below is the one Without a Randomized Menu.

Broadcaster NPC

This script allows players to broadcast messages. It uses the Announce function to display the message inputted to the whole server.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

People are given the warning about spamming the broadcast system.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It costs 1 Million Zeny to use, but it can be customized.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please don't take credit for it. Please leave the credits left alone at the beginning of the script. Please do not redistribute without my consent.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Script was made for China.

http://pastebin.com/raw.php?i=rCTjz5YB- Spammable

http://pastebin.com/raw.php?i=gkmghfVk - Emistry's Non Spammable Version

Download is called broadcaster.txt.

Ver 1: Posted

Ver 2: Fixed Bugs Included, added "case 2:" to close it;

TCG Event

Wooo!~ A Donation / TCG Event. This event allows players to get rare items to the server, but you must be really lucky to find it. This script spawns items in the script but has a time (which can be edited in your .conf files) to which it disappears from the floor.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Customization:

  • A Custom Item may be placed in the in-game menu. After inputting the Item ID. Reopen the menu and click the "Start Custom Event" Option. This option will only spawn 1 item but it will be of any item of your choice inside the game.
  • Only GMs level 99 may be able to start this event, but can be edited:
    • Line 6:
       if(getgmlevel() < 99) { 

      Change the "99" in it to any Level you want. I.E. Only Levels, 1, 10, 20, 40, 50, 60, 80, and 99.

    [*]Changing the Rand Items chosen:

    • Line 28 to 59:

 OnStart:
Announce "Four items were spawned around Prontera!",bc_all;
sleep2 1000;
set $@ran, rand(1,4);
if ($@ran == 1) set .Item,"20041";
if ($@ran == 2) set .Item,"20092";
if ($@ran == 3) set .Item,"20107";
if ($@ran == 4) set .Item,"20126";
sleep2 1000;
set $@ran2, rand(1,4);
if ($@ran2 == 1) set .Item2,"20143";
if ($@ran2 == 2) set .Item2,"20173";
if ($@ran2 == 3) set .Item2,"21000";
if ($@ran2 == 4) set .Item2,"21010";
sleep2 1000;
set $@ran3, rand(1,4);
if ($@ran3 == 1) set .Item3,"21031";
if ($@ran3 == 2) set .Item3,"21024";
if ($@ran3 == 3) set .Item3,"21023";
if ($@ran3 == 4) set .Item3,"21036";
sleep2 1000;
set $@ran4, rand(1,4);
if ($@ran4 == 1) set .Item4,"21039";
if ($@ran4 == 2) set .Item4,"21043";
if ($@ran4 == 3) set .Item4,"21047";
if ($@ran4 == 4) set .Item4,"21048";
sleep2 1000;
makeitem .Item,1,0,0,"prontera";
makeitem .Item2,1,0,0,"prontera";
makeitem .Item3,1,0,0,"prontera";
makeitem .Item4,1,0,0,"prontera";
end;

  • To change the 16 items listed, after .Item(#),"XXXX" change the XXXX to the desires Item IDs wanted to it. After, save, and load your game, and click the "Start Event" option in the in-game menu. This will spawn 4 items around prontera. Keep the Item ID in Quotations otherwise it will not work.
  • To change the desired map: Change "prontera" to the desired place. Keep the map in the quotations otherwise it will not work. E.x. "prontera" , "lutie" , "gonryun" , etc.

​Also, If there is no item specified for the Custom Event, it will not allow you to start the event and display a message saying It will not start.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please don't take credit for my work. Please leave alone the Credits at the top of the script. Please do not redistribute this script without my consent.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Download link is called TCG Event.txt

http://pastebin.com/raw.php?i=w00C4AyD

http://pastebin.com/raw.php?i=2rL8xJAi (zero48ena's version (uses arrays!~))

Satan Catcher Event!

Ever got tired of the Poring Catcher Event? When people got the prize because the event was just too easy? Well now, there's a Satan Catcher Event!. 100% Harder!

It spawns 100 Satan Morrocs! All of the of their original monster size, making it hard! They all have different names of course. Only Gms level 80 can start the script!~

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MUST ADD!

mob_avail_txt (db/mob_avail)

 3030,1916 

mob_db2.txt (db/mob_db2)

 3030,Satan Morroc,Satan Morroc,Satan Morroc,1,1,1,0,0,1,1,2,0,0,1,1,1,1,1,1,5,10,1,1,80,0x01,200,1672,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Customization:

You must change the prize for the items!. It can be any amount wanted to be given and any item that is stored in your item_db(2)!. It uses the map poring_w01~. Well there's nothing else for me to say. Heres the link!

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I.E: Please don't take credit for my work. Please leave alone the Credits at the top of the script. Please do not redistribute this script without my consent.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://pastebin.com/raw.php?i=HFKernnt

The download link is called satancatcher.txt

Crack the Safe

Meep. A wild bank safe has appeared. What should you do? Break into it or Leave it. That's right. A crack the safe event.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The story-line:

There have been a bunch of bank thefts of your bank due to fail security. A bank safe is sitting there inside with a note saying 'Game Masters' Safe'. Players have a choice, breaking into it or leaving it. But to enter the bank, they must deposit money (10 Mill Zeny) and create an account. They must guess a 5 digit password ranging from 0 - 9 each digit. As they get pass each digit, the chances of reducing their deposit increases by 10% reduction. If... IF which is unlikely xD, manages to get past the fifth digit, their deposit is doubled by 2 and given back to them as zeny.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Warning: THIS IS NOT A REAL BANK. IT TAKES ZENY, CAN'T GIVE IT BACK, AND IS STORED IN VARIABLES!.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Customization:

set .ctsservername$, " (YOUR SERVER NAME) ";

set .ctsbankdepmin, (MINIMUM TO DEPOSIT AND USE EVENT); (nothing less than 5 million)

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I.E: Please don't take credit for my work. Please leave alone the Credits at the top of the script. Please do not redistribute this script without my consent.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://pastebin.com/raw.php?i=EA8N77G6

Download File is called crack the safe.txt

Game Master Event Starter!

Woah!

Now Game Masters can start events easily! Just click and choose your event! There are a lot of events set up already!

Such as Death by Dice, Bomb Porings?!, Last Man Standing, and even "Go Pikachu!."

*Go Pikachu! is an event where you spawn 2 monsters and have players guess which monster would kill each other first!*

Well, that's pretty much it, but give some ideas, I'll make more!.

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Download File is called gmeventroom.txt

support.txt

broadcaster.txt

TCG Event.txt

satancatcher.txt

crack the safe.txt

gmeventroom.txt

Edited by iFoxkun
  • Upvote 5
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Nice. Nice touch

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   4
  • Joined:  11/09/11
  • Last Seen:  

The menu should be random.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

The menu should be random.

What do you mean by that o_O?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   4
  • Joined:  11/09/11
  • Last Seen:  

The menu should be random.

What do you mean by that o_O?

When you select between the two option("I want to feel divine punishment:Request Help"),

it should be random. Sometimes Request help will be the first option.

Edited by Genuine
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

The menu should be random.

What do you mean by that o_O?

When you select between the two option("I want to feel divine punishment:Request Help"),

it should be random.

Oh. I have no clue how to use Algorithm so thats gonna be hard xD. You can edit it if you like, but just keep the credits c:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

@iFoxkun

Try this > http://pastebin.com/VfTeHP9d

Added, Thanks Genuine, Credits are also added next you your link above ;D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Latest script added: Satan Catcher!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Maybe you should store the Bugs, etc. inside the NPC because @Request doesn't work if there's no GM's online.. and what were to happen this player found a bug and wanted to report it to the NPC but the NPC can't do @request cause GM's ain't online :D Thus, the bugs etc. stored in the NPC (Of course, given the ability to the admin to delete bugs etc. that have been addressed so that it doesn't clutter).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Maybe you should store the Bugs, etc. inside the NPC because @Request doesn't work if there's no GM's online.. and what were to happen this player found a bug and wanted to report it to the NPC but the NPC can't do @request cause GM's ain't online :D Thus, the bugs etc. stored in the NPC (Of course, given the ability to the admin to delete bugs etc. that have been addressed so that it doesn't clutter).

You may edit it, sadly, I don't think I can do that since I'm still a noob, if you do, I'd be happy to update the links for your version of it, and give you credit for it ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Umm your Event the Satan Catcher...You should give Credits to the person,who made the Poring Catcher,too. You just edited the Poring Catcher and made a new Mob for that. Now you say don't remove the Credits in that,so please give the Credits of the Person , who made the Poring Catcher,too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Umm your Event the Satan Catcher...You should give Credits to the person,who made the Poring Catcher,too. You just edited the Poring Catcher and made a new Mob for that. Now you say don't remove the Credits in that,so please give the Credits of the Person , who made the Poring Catcher,too.

Oh no, I didn't copy and paste, I actually made the Satan Catcher, I didn't copy and paste and edit, I made it myself, since the poring catcher got annoying because I couldn't fix it. ;_;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Wow! Great Job!! xD

@Ahh Thanks for your support!

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Latest Script Added: Crack The Safe!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

No comments anything D:? seriously anything ._.? comments, recommendations, requests? D:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

Broad caster npc < i download and try it tonight ^^. erm not yet try no comment yet ^^.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Broad caster npc < i download and try it tonight ^^. erm not yet try no comment yet ^^.

Alright xDD. Remember to say which one your using

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  12/03/11
  • Last Seen:  

nice scripts. you should try adding an automated version of some of your events. that would be great. and thanks for the idea of randomized menu.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   6
  • Joined:  11/27/11
  • Last Seen:  

Nice! I like crack the safe haha

Edited by Sonic
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

nice scripts. you should try adding an automated version of some of your events. that would be great. and thanks for the idea of randomized menu.

I kind of dislike automated events. But if you have a request to change one, I can.

Nice! I like crack the safe haha

Thanks~, That actually took so long to make. Because I got mixed up with the variables, Had too many D:

Edited by iFoxkun
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/03/11
  • Last Seen:  

Hello

Nice scripts iFoxkun

Edited: 2011-12-18 16:36 (reson I was to hasty)

I have taken the liberty To edit 1 of you scripts, to impuve it alittle

(at least i think i improved it)

Long story short here it is

Here it is

http://pastebin.com/2rL8xJAi

i added config options:



setarray $@towns$[0],"prontera","prt_in","prt_in";
setarray $@cordsx[0],115,195,32,44,127,131;
setarray $@cordsy[0],164,244,96,115,69,74;
setarray $@displayname$[0],"Center Prontera","Prontera Starting House","Prontera Tool Shop";
setarray $@items[0],675,503,504,505;
setarray $@equipment[0],2631,1143,1159;
setarray $@noum$[0],"One","Two","Three","Four","Five","Six","Seven";

1st line: is to config the town u want the items to spawn

2nd line: is the min and max cordinates for the X

3rd same as 2nd just that is for the Y

note: there are 2 sets for each town. ex prontera got 115-195, 164-244;

4th line: anouncment name , for ppl to understand.

5th: are the spawned items

6th: are the spawned EQUIPMENT (def it is set to summon only 1 equipment)

note: if u want to spawn more equipment.

set .item, $@equipment[rand(getarraysize($@equipment))];
 makeitem .item,1,$@town$,$@randomx,$@randomy;
 set $@spawned, 1; << change this to 0
 set $@eq, 0;

7th: The number of spawned items , this only defines the max number

this is the item spawn loop How meny items are spawned

//set $@spawn_loop, rand(getarraysize($@noum$));
set $@spawn_loop,7;

and

this is the item qty for normal NONE EQUIPMENT items

}else{
set $@spawn_qty,rand(10,100);//So that every spawnd item differs!
set .item, $@items[rand(getarraysize($@items))];

ps: sry about my grammar i know it is bad :)

Edited by zero84ena
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Hello

Nice scripts iFoxkun

Edited: 2011-12-18 16:36 (reson I was to hasty)

I have taken the liberty To edit 1 of you scripts, to impuve it alittle

(at least i think i improved it)

Long story short here it is

Here it is

http://pastebin.com/2rL8xJAi

i added config options:



setarray $@towns$[0],"prontera","prt_in","prt_in";
setarray $@cordsx[0],115,195,32,44,127,131;
setarray $@cordsy[0],164,244,96,115,69,74;
setarray $@displayname$[0],"Center Prontera","Prontera Starting House","Prontera Tool Shop";
setarray $@items[0],675,503,504,505;
setarray $@equipment[0],2631,1143,1159;
setarray $@noum$[0],"One","Two","Three","Four","Five","Six","Seven";

1st line: is to config the town u want the items to spawn

2nd line: is the min and max cordinates for the X

3rd same as 2nd just that is for the Y

note: there are 2 sets for each town. ex prontera got 115-195, 164-244;

4th line: anouncment name , for ppl to understand.

5th: are the spawned items

6th: are the spawned EQUIPMENT (def it is set to summon only 1 equipment)

note: if u want to spawn more equipment.

set .item, $@equipment[rand(getarraysize($@equipment))];
 makeitem .item,1,$@town$,$@randomx,$@randomy;
 set $@spawned, 1; << change this to 0
 set $@eq, 0;

7th: The number of spawned items , this only defines the max number

this is the item spawn loop How meny items are spawned

//set $@spawn_loop, rand(getarraysize($@noum$));
set $@spawn_loop,7;

and

this is the item qty for normal NONE EQUIPMENT items

}else{
set $@spawn_qty,rand(10,100);//So that every spawnd item differs!
set .item, $@items[rand(getarraysize($@items))];

ps: sry about my grammar i know it is bad :D

This is good~ i'll add this above so players can access it as well as give credit~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/03/11
  • Last Seen:  

Done some Bug fixing ...

And added a new Function, To group up items or to spread items on the predefind area

setarray $@noum$[0],"One","Two","Three","Four","Five","Six","Seven";
set $@group_up,0; // 1 or 0 for true or false |this is to group items up or each will have they own x,y coords

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
Reply to this topic...

×   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...