Jump to content

Recommended Posts

Posted

Event Manager


This is an event manager I made. The events are of public knowledge (there aren't many ways to do good events and these are the ones I found to be the best, at the moment I wrote up the script), and I inspired myself from them. Here's the list of events it has as of now. Have fun!
I can add some events if you like to. I considered some myself (like MvP vs MvP) but they offered little gameplay experience to do so. I can reconsider though!

 

Avaiaible events:

    - Dices.
    - Find the Porings.
    - Escape from the Bombrings.
    - Guess the Monster.
    - Pick the Candy.
    - Devil Square.
    - Cluckers.

Features:

    - Easy addition of events.
    - Random queue system which players can check with @events command.
    - Automatic joining with @event command.
    - Can manually start & end events (forcing them to end).
    - Events can have a limited amount of players.
    - Events have a limited time to let players register before they start.
    - Configurable prizes.

 

I must give credits to sandbox, Stolao, and AnnieRuru for all the events I found, Thank you guys!

If you buy, you accept this:
You cannot redistribute this, less as your own.
You can modify it as you like, however, in order to receive proper support, you must tell me what you modified.


 

  • 1 month later...
Posted

N

On 6/17/2017 at 8:26 AM, n0tttt said:

Event Manager


This is an event manager I made. The events are of public knowledge (there aren't many ways to do good events and these are the ones I found to be the best, at the moment I wrote up the script), and I inspired myself from them. Here's the list of events it has as of now. Have fun!
I can add some events if you like to. I considered some myself (like MvP vs MvP) but they offered little gameplay experience to do so. I can reconsider though!

 

Avaiaible events:

    - Dices.
    - Find the Porings.
    - Escape from the Bombrings.
    - Guess the Monster.
    - Pick the Candy.
    - Devil Square.
    - Cluckers.

Features:

    - Easy addition of events.
    - Random queue system which players can check with @events command.
    - Automatic joining with @event command.
    - Can manually start & end events (forcing them to end).
    - Events can have a limited amount of players.
    - Events have a limited time to let players register before they start.
    - Configurable prizes.

 

I must give credits to sandbox, Stolao, and AnnieRuru for all the events I found, Thank you guys!

If you buy, you accept this:
You cannot redistribute this, less as your own.
You can modify it as you like, however, in order to receive proper support, you must tell me what you modified.


 

How much?

  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
Posted (edited)

You can delete the OnQueue and OnClock1200 label and then add this:

OnMinute00:

	setarray .@events[0], 
			0, // 00:00
			7, // 01:00 (cluckers)
			0, // 02:00
			0, // 03:00
			0, // 04:00
			0, // 05:00
			0, // 06:00
			0, // 07:00
			0, // 08:00
			0, // 09:00
			0, // 10:00
			0, // 11:00
			0, // 12:00
			0, // 13:00
			1, // 14:00 (dices)
			0, // 15:00
			0, // 16:00
			0, // 17:00
			0, // 18:00
			0, // 19:00
			4, // 20:00 (guess the monster)
			0, // 21:00
			0, // 22:00
			0; // 23:00

	.@event = .@events[gettime(DT_HOUR)];
	if(!.event_active) {
		.event_active = .@event;
		if(.maps$[.@event - 1] != "")
			set_mapflags(.@event - 1);
		donpcevent .events$[.@event - 1]+"::OnStart";
	}
	end;

Then you config the events in the desired hours. The number of the events is:

        [1] = Dices.
        [2] = Find the Porings.
        [3] = Escape from the Bombrings.
        [4] = Guess the Monster.
        [5] = Pick the candy.
        [6] = Devil Square.
        [7] = Cluckers.

 

I will edit the script to add a configuration about the event automatic modes in the future. I'm not in my house currently, so I couldn't test really well to make such a change.

Edited by n0tttt
  • 3 months later...
Posted

New version 1.2!

  • Fixed Pick the Candy Event: Changed the method to use attachrid instead of addrid because of multiprocessing issues.
  • Fixed Bombring Event death haldling to require only one instance of addrid.
  • 5 months later...
  • 3 months later...
Posted

Sorry but no, eAmod is too outdated and I use some newer script commands like getfreecell. Maybe I could edit those parts (it isn't that hard), or those commands could be easily applied to the emulator, but I can't guarantee.

  • 2 months later...
  • 2 months later...
Posted
On 3/16/2019 at 7:27 AM, Break said:

[Debug]: NPCEvent 'Eventos::OnEndEvent' not found! (source: Event_DevilSquare)

 

Fixed, waiting for revision.

Posted (edited)
[Warning]: script: buildin_getmapxy: Invalid type 128.
[Debug]: Source (NPC): Clucker at prontera (163,226)
[Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list!

 

Edited by Break
Posted
8 minutes ago, Break said:

[Warning]: script: buildin_getmapxy: Invalid type 128.
[Debug]: Source (NPC): Clucker at prontera (163,226)
[Debug]: (map_mapname2mapid) mapindex_name2id: Map "" not found in index list!

 

You don't have the last version of rAthena.

But you can change this line:

getmapxy .@m$,.@x0,.@y0,BL_NPC;

to:

getmapxy .@m$,.@x0,.@y0,UNITTYPE_NPC;

 

  • Like 1
  • 2 weeks later...
Posted

It is possible to add Event RFYL in the new version?

Can you help fix the event RFYL? When 1 player remains, the event does not end.

-    script    Event_RFYL    -1,{

OnStart:

    $@open_event = true;
    mapwarp "rfylmap3","prontera",rand(148,163),rand(167,186);
    announce "The Run from the RFYL event will soon begin.",bc_all,0xEE0C14;
    sleep 2000;
    announce "If you want to join use the @event command.",bc_all,0xEE0C14;
    sleep 2000;
    announce "The entry will be open for 1 minute.",bc_all,0xEE0C14;
    sleep 30000;
    announce "30 seconds left to register to Run from the RFYL event.",bc_all,0xEE0C14;
    sleep 30000;
    announce "The entry to the event has been closed.",bc_all,0xEE0C14;
    $@open_event = false;
    sleep 3500;
    .@players = getmapusers("rfylmap3");
    if(.@players < 3) {
        announce "The event has been cancelled due to a low amount of players.",bc_all,0xEE0C14;
        killmonsterall "rfylmap3";
        .@end = true;
        donpcevent "Events::OnEndEvent";
        end;
    }
    mapannounce "rfylmap3","We're about to begin the event.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","There will be RFYL everywhere.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","And every sigle one of them will explode, so be careful.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","As time goes, more RFYL will appear.",bc_all,0xEE0C14;
    sleep 2500;
    mapannounce "rfylmap3","So be prepared! Because they will come even if you're not!",bc_all,0xEE0C14;
    sleep 2500;
    monster "rfylmap3",51,51,"Crazy Poring",1847,1,"Event_RFYL::OnRFYLMobDead";
    sleep 60000;
    monster "rfylmap3",51,34,"Crazy Poring",1847,1,"Event_RFYL::OnRFYLMobDead";
    end;
    
OnPCDieEvent:
    .@players = getmapusers("rfylmap3");
    if( .@players == 1 && !$@end_event) {
        killmonsterall "rfylmap3";
        .@end = true;
        .@size = getmapunits(BL_PC,"rfylmap3",.@players);
        for(.@i = 0;.@i < .@size;.@i++) {
            attachrid .@players[.@i];
            announce strcharinfo(0)+" has won the Run from the RFYL event!",bc_all,0xEE0C14;
            @event_prize = 6;
            doevent "Events::OnPrize";
            warp "prontera",rand(148,163),rand(167,186);
        }    
    }
    donpcevent "Events::OnEndEvent";
    end;
}

 

  • 2 months later...
  • 1 month later...
Posted (edited)

I bought it. But i dont know how to install.

Could you help me? or someone? 

Have an exellent day

I bought it. But i dont know how to install.

Could you help me? or someone? 

Have an exellent day

Edited by omar94
  • 2 weeks later...
Posted
On 7/31/2019 at 10:34 PM, omar94 said:

I bought it. But i dont know how to install.

Could you help me? or someone? 

 

Have an exellent day

Just go to your rAthena npc folder and edit script_custom.conf with Notepad.

Add this line anywhere:

 

npc: npc/custom/Events.txt

Then copy the "Events.txt" file into the npc/custom folder.

You can now talk in-game to the script using @events script command.

  • 5 months later...
Posted

LStK4KN.png

 

Can someone help me fix these errors. The npc wont even work. 

Also is there a way to remove the Devil square? I already have my own custom one running. 

Posted
3 hours ago, Xenduria said:

LStK4KN.png

 

Can someone help me fix these errors. The npc wont even work. 

Also is there a way to remove the Devil square? I already have my own custom one running. 

It seems like you don't have or aren't loading Global_Functions.txt (https://raw.githubusercontent.com/rathena/rathena/master/npc/other/Global_Functions.txt)

You can delete the line in add_event, and also the Event_DevilSquare script.

  • Upvote 1
  • 1 year later...
  • 11 months later...
  • 1 month later...
Posted
On 6/17/2017 at 12:26 PM, n0tttt said:

Event Manager


This is an event manager I made. The events are of public knowledge (there aren't many ways to do good events and these are the ones I found to be the best, at the moment I wrote up the script), and I inspired myself from them. Here's the list of events it has as of now. Have fun!
I can add some events if you like to. I considered some myself (like MvP vs MvP) but they offered little gameplay experience to do so. I can reconsider though!

 

Avaiaible events:

    - Dices.
    - Find the Porings.
    - Escape from the Bombrings.
    - Guess the Monster.
    - Pick the Candy.
    - Devil Square.
    - Cluckers.

Features:

    - Easy addition of events.
    - Random queue system which players can check with @events command.
    - Automatic joining with @event command.
    - Can manually start & end events (forcing them to end).
    - Events can have a limited amount of players.
    - Events have a limited time to let players register before they start.
    - Configurable prizes.

 

I must give credits to sandbox, Stolao, and AnnieRuru for all the events I found, Thank you guys!

If you buy, you accept this:
You cannot redistribute this, less as your own.
You can modify it as you like, however, in order to receive proper support, you must tell me what you modified.


 

Is it currently working?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...