Jump to content

Azhura

Members
  • Content Count

    50
  • Joined

  • Last visited

Posts posted by Azhura


  1. 1. Anyone can share a guide to modify the 1024 concurrent connection for CentOS 7? 

    2. If I use e-poll do I still need to do some modification from the machine like change the nofile sizes?

    3. Is there a way to test this if it is now accepting more than 1024 connections?

     

    TIA


  2. Using the latest revision I want to change the color of the megaphone announcer, Anyone know where can I find the loudhailer function?

     

    Below is the current script

     

        Script: <"
            input @megaphone$;
            loudhailer(@megaphone$);
            end;
        ">
     


  3. Been playing around with the party match script created by @AnnieRuru and it has been helpful when hosting a rpc like matches with the server. Currently players can abuse it by performing outside buffs before the recall. I am trying to add a debuff before the recall but it seems like SC_END needs GID for it to be executed can anyone help me correct the callsub below? TIA :D

     

    My callsub 

    Spoiler

    L_debuff_party_members:
        if (!getarg(0))
            mes "Party "+ getarg(1) +" = ^FF0000None^000000";
        else {
            getpartymember getarg(0), 0;
            getpartymember getarg(0), 1;
            getpartymember getarg(0), 2;

            for (.@i = 0; .@i < $@partymembercount; ++.@i) {
                attachrid $@partymemberaid[.@i];
                sc_end(SC_ALL, $@partymembercid[.@i]); 
            }
        }
        return;


     

    Party match of AnnieRuru

     


  4. 19 hours ago, Racaae said:

    /npc/instances/EndlessTower.txt

    Find this line:

    mapannounce(strnpcinfo(NPC_MAP), sprintf(_$("All Monsters on the %s Level have been defeated."), callsub(L_Display, .@level)), bc_map, C_YELLOW);

    
    mapannounce(strnpcinfo(NPC_MAP), sprintf(_$("All Monsters on the %s Level have been defeated."), callsub(L_Display, .@level)), bc_map, C_YELLOW);

    Add below:

    if (.@level == 25) { //final floor donpcevent(instance_npcname("#et_end::OnEnable")); end; }

    
    if (.@level == 25) { //final floor
    	donpcevent(instance_npcname("#et_end::OnEnable"));
    	end;
    }

     

    Add this NPC:

    1@tower,355,51,0 script #et_end WARPNPC,2,2,{ mes("^0000ffA mysterious voice echoes through the room as you step in the portal.^000000"); next(); mes("[Mysterious Voice]"); mes("It's still too early for you to continue to climb my tower."); mes("Good-bye for now."); next(); mes("^0000ffAs soon as the voice stopped talking, an irresistible force lifted and moved you somewhere else."); close2(); warp("alberta", 223, 36); end; OnInstanceInit: disablenpc(instance_npcname("#et_end")); end; OnEnable: enablenpc(instance_npcname("#et_end")); while (true) { specialeffect(EF_ENHANCE); sleep 1000; } end; }

    
    1@tower,355,51,0	script	#et_end	WARPNPC,2,2,{
    	mes("^0000ffA mysterious voice echoes through the room as you step in the portal.^000000");
    	next();
    	mes("[Mysterious Voice]");
    	mes("It's still too early for you to continue to climb my tower.");
    	mes("Good-bye for now.");
    	next();
    	mes("^0000ffAs soon as the voice stopped talking, an irresistible force lifted and moved you somewhere else.");
    	close2();
    	warp("alberta", 223, 36);
    	end;
    
    OnInstanceInit:
    	disablenpc(instance_npcname("#et_end"));
    	end;
    
    OnEnable:
    	enablenpc(instance_npcname("#et_end"));
    	while (true) {
    		specialeffect(EF_ENHANCE);
    		sleep 1000;
    	}
    	end;
    }

     

    Thank you for your suggestion :)


  5. Anyone knows how to correctly limit the level in endless tower? for example I will only allow players to defeat until level 25.

     

    Tried to disable the warp function and it does work but is there a better way to limit it?


  6. I am working on a script we're I would like to shout the name of the spawned mob, can anyone share the command I can use to get the name of monster from mobid. I am requesting a command similar to getitemname()

     

    Thanks in advance.

     

    *** ANSWER ***

    figured it out, strmobinfo(1,ID) is the command

×
×
  • Create New...

Important Information

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