Jump to content

stydianx

Members
  • Posts

    390
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by stydianx

  1. hmm.. there is an existing map flag, i don't know if this is going to work, but you should try it..

    mapflag night

    what it does is it "allows" night mode in the map.. so i think, without this, you won't be able to enable night mode on any map without this.

  2. King Of Emperium Hill

    My version of King Of Emperium Hill. It was make for donkeyg on rAthena.org. I did not use the other versions as a base. You can set it to give a zeny and upto five item prizes to the guild leader through the Emperium Assistant. They can collect once after each time the KoE ends. The time is fully setable for up to four seperate events. All aspects of it is contolled in game. Unless you have the KoE patch () you will be able to hit the emperium even if you control it, it is just how the emperium is progammed and not a glitch with the script!

    Version 4.7:

    can you give me a brief definition of this event?

    and what's the difference between WoE and KoE? :) thanks my friend!

  3. OMG! Orlox and AnnieRuru..

    i love you guys!

    i bet this will have breathe taking results!

    AnnieRuru! Dear god, I haven't see you around for a LONG time. Where have you been!?!? I'm so happy you came to join rAthena ^_^

    For those who don't know who AnnieRuru is -> She's an epically amazing scripter

    i agree with you! /no1 /no1 and your maps are amazing too :)

    GO ANNIE GO!!

  4. hmm ... this script is seriously a tough one

    even I need about 4~6 days to tackle this script fully

    even harder than a simple battleground script that I made another day ... but simpler than wow battleground though

    so stydianx you are doing this on your own, or wants someone write it for you ?

    yes its a tough one! and im sorry i can't do this my self, i still havent mastered level 1 scripting yet, but still improving my skills..

    yes i would like someone to write it for me, if possible, some description along the way for studying reasons :)

    it's a unique script that you can own if you finish, im sure allot will enjoy this idea and event :)

  5. emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

    remove the variable assign and checking.....

    and add another makeitem to allow tcg to drop in the map.

    like this Master Emistry?

    
    prontera,155,181,5	script	Sample	757,{
    	set gettime(5);
    	addtimer 1000,strnpcinfo(0)+"::OnTimeLimit";
    	warp "poring_c01",100,100
    }
    close;
    
    OnTimeLimit:
    message strcharinfo(0),"Time's Up.";
    sleep2 3000;
    warp "SavePoint",0,0;
    end;
    
    OnInit:
    while( 1 ){
    if( getmapusers("poring_c01") )
    	makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
    	makeitem 7227,1,"poring_c01",rand(87,119).rand(86,115)
    sleep 100;
    }
    end;
    }
    

    emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

    remove the variable assign and checking.....

    and add another makeitem to allow tcg to drop in the map.

    if( getmapusers("poring_c01") ){
     makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
     makeitem 7227,1,"poring_c01",rand(87,119),rand(86,115);
    }
    

    @stydianx

    LOL....your method is wrong....Addtimer 1 second ? LOL.....

    the player wont even have chances to peek on the gold room after they get warped...

    they will straight trigger the even and warped outside the gold room.

    and....the second part.....you need to use braces when your statement have more than 1 lines.

    hey said he wanted it everysecond, buy not daily..

    • Upvote 2
  6. emistry how to edit it and change it to everysecond not daily. tnx a lot. and add a tcg card to the drop so the drops will be tcg card and gold tnx.

    TRY THIS

    FOR THE EVERY SECOND:

    Replace this:

    
    addtimer 5000,strnpcinfo(0)+"::OnTimeLimit";
    

    with this:

    
    
    addtimer 1000,strnpcinfo(0)+"::OnTimeLimit";
    

    FOR THE TCG DROP:

    replace this:

    
    if( getmapusers("poring_c01") )
    	makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
    

    with this:

    
    
    if( getmapusers("poring_c01") )
    	makeitem 969,1,"poring_c01",rand(87,119),rand(86,115);
    
    	makeitem 7227,1,"poring_c01",rand(87,119),rand(86,115);
    

    • Upvote 1
  7. Very possible, however it will require src edits, to make things easier, thankfully those src edits are already released to the public.

    However, for your Conditions & Levels section, you need to create custom Mobs for those bonuses yourself. Because, as of right now, rAthena (as for as i know) can not increase/decrease a monster's ailities on the fly, without doing a @reloadmobdb, and even if it could, this would mean that ALL of those monsters changed would affect the rest of the server.

    But other than that... the only src edit you need is umm Extra Bonuses system.

    about creating custom mobs,

    i can just copy 1 mob and just edit it only thing i need to change is my parameters of choice correct?

    like this

    1001,SCORPION,Scorpion,Scorpion,24,1109,0,287,176,1,80,135,30,0,1,24,24,5,52,5,10,12,0,4,23,0x3195,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,1
    

    copy and edit to this:

    2083,SCORPION,Scorpion,Scorpion,24,1109,0,287,176,1,80,135,30,0,1,24,24,5,52,5,10,12,0,4,23,0x3195,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,1
    

    and about these bonuses, what specific edits do i need?

  8. This is just an example NPC, as such, it doesn't calculate MC_DISCOUNT, so all prices are at face value, even if the merchant has discount level 10.

    How it works:

    If no one owns the shop, no one can use the NPC. At the start of each WoE (First Edition), it will give the owner all the tax it has collected. At the end of each WoE (First Edition) it will change it's owner to the guild leader of Kriemhild castle. Other than that, it acts as a normal shop, for buy and sell.

    Note - This npc, does not add a tax value to items, it just gives the shop owner 10% of all sales.

    Note2 - Overcharge does not work with this npc as well, when selling items, as i didn't add in a MC_OVERCHARGE calc.

    taxshop.txt

    Edit: This script was not tested as I'm at work and should not be scripting lmao @.@;

    /no1/lv/kis2/kis/ok nice..

    can you make this like for example:

    if guild rAthenaboys runs kriemhild caste then they own all NPC at lighthalzen, the GM then gets 10% tax of all purchased items

    each they that they hold the castle?

  9. RO-bust QUEST EVENT

    It announces the event 5min. before it opens.

    when it opens, the NPC appears, Party leaders needs to register their party to be able to join.

    Registration is Open for 10min. Only, when 10 seconds remaining for the registration,

    the event Counts down from 10-1 then the registration ends, the NPC disappears and all party

    are automatically warped to the map.

    Members should be lvl 300 above,

    they must pay 100,000,000 zeny

    to register.

    The Event is Only 3 times a day

    here is the time pattern of the event:

    OnClock1600:

    OnClock1200:

    OnClock0800:

    OnClock0400:

    OnClock0000:

    Mechanics and Definition:

    In this Event Quest, Parties are summoned in a pvp map.

    they will be facing 10 boss monsters(any), 10 mini-boss(any) and 30 normal monsters PER party.

    so if there is 2 parties they will be facing 20boss/20miniboss/60normal monsters.

    (Minimum of 2 parties, maximum of 6) party must be composed of 4 players and above,

    its a pvpon area,they can choose to help each other to defeat monsters or kill each other.

    every level parties are warped to different map.

    each map has its own condition or effects to monsters or players/

    Conditions and levels.

    level 1: all Players in map: -10% attack speed and -10% HP.

    level 2: all Players in map: -20% heal effect, -20% HP, +20 Crit rate.

    level 3: all palyers in map: -200 Matk, +30 Mdef, poisoned status and -50% SP.

    level 4: all Monsters: +50% HP | all palyers: +20% damage against boss type monsters.

    level 5: all Monsters: Immune to magic (if monster magic immunity doesnt work use--> players cannot use skill.) and +100 Patk base damage.

    level 6: all players in map: +30% HP, +50% Magic damage, -100 patk base damage.

    level 7: all players in map: -30% damage and -30% armor | All monsters + 50% damage.

    level 8: all players in map: Blind status, poisoned status, -10% HP, -30% Patkrate and Matk damge, -20% healing effect, -10def, -20Mdef, and -70% SP.

    MAPS: (izlude not used.)

    pvp_y_8-1 // lvl 1.

    pvp_y_8-3 // lvl 2.

    pvp_y_8-4 // lvl 3.

    pvp_y_8-5 // lvl 4.

    pvp_y_8-1 // lvl 5.

    pvp_y_8-3 // lvl 6.

    pvp_y_8-4 // lvl 7.

    pvp_y_8-5 // lvl 8.

    MAPFLAGS TO BE USED:

    mapflag night

    mapflag pvp

    mapflag noloot

    mapflag nowarp

    mapflag nowarpto

    Every time a party kills a boss monster, it announces to the whole server.

    *For example: Party (Jungleboys) killed baphomet at RO-bust Quest Event.

    All remaining parties in the Quest Event is Announced to the entire server every time they clear a level.

    *For example: Party (Jungleboys) (rathenaboys) and (pornoboys) made it to the next round! level 2!

    All parties that are eliminated are announced to the entire server and recieves consolation prize.

    *For example: party (noobx) was eliminated at the 1st level of RO-bust Quest Event. They recieve 5 TCG's and 30 YGG's.

    (item ID and ammount = 7227,5 and 607,30)

    All parties that makes it pass the level 5 automatically recieves 5 Silver Coins and is announced to the server.

    *For Example: Party (rathenaboys) and (pornoboys) made it pass the 5th level, they are awarded with 10 silver coins and 5 TCG's.

    (item ID and ammount = 675,10 and 7227,5)

    all parties that Wins the event are broad casted, along side with the leader name (all in capital letters) and is awarded with 10 silver coins and 10 TCG's

    *For example: Party: (rathenaboys) and (pornoboys) WINS THE RO-bust EVENT QUEST! FOR BEING PRO's THEY ARE AWARDED WITH 10 SILVER COINS, 50 YGG, 15TCG's.

    (item ID and amount = 675,10 , 607,50 , 7227,15)

    (if there is more that needs to be added, let me know. /no1 )

  10. i have tried adding mapflags on certain events in my trunk.

    but every time i add a map flag the NPC/Event doesnt work properly..

    i know i am missing something here.. can someone point it out to me?

    thanks..

    here is an example of a event that i would like to add a mapflag pvp..

    ordeal_1-2,0,0,0	script	Gold Room	-1,{
    
    OnInit:
    //No. of Mine Guardian.
    //For golden peko it is default to 100 and 4 seconds~2 seconds spawn rate.
    set .guardian,50;
    
    //Type of guardian. 0 = normal 1 = extreme
    set .@guardiantype,0;
    
    if(.@guardiantype == 0){
    	monster "ordeal_1-2",0,0,"Taga Bantay",2001,.guardian,"";
    
    }else{
    	monster "ordeal_1-2",0,0,"Taga Bantay",2002,.guardian,"";
    }
    end;
    OnNPCKillEvent:
    //===== Configurations: ========================================================================
    
    //Max gold can a player get after killing 1 golden peko (default 5 note:this will increase if luk bonus is enable).
    set .@maxgaingold,5;
    
    //Apply gold penalty. 0 = no 1 = yes
    set .@penalty1,0;
    
    //The Maximum no. of gold Penalty.
    set .@maxpenalty1,0;
    
    //Apply speed & HP penalty. 0 = no 1 = yes 
    set .@penalty2,0;
    
    //Gold limitation penalty must be enable
    set .@maxgold,200;
    
    //The maximum no. of hp penalty by %.
    set .@maxpenalty2,10;
    
    //Enable luk bonus. 0=no 1=yes
    set .@lukbonus,1;
    
    //If luk Bonus is enable,luk divider default 49 w/ 99 max parameter. Note: the quotient of your max parameter and .@lukdiv must not grater than 5 to avoid over mining.
    set .@lukdiv,49;
    
    //Show Server Name. 0=no 1=yes
    set .@showservername,1;
    
    //Name of your Server
    set .@servername$,"[RObust Online]";
    
    //=========================================================================================
    
    
    if (getmapxy(@mapname$,@mapx,@mapy,0) == -1) goto L_Finish;
    if (@mapname$ == "ordeal_1-2"){
    	set @bonus,0;
    	set @deduction,0;
    	set @gain,rand (.@maxgaingold);
    
    	//Luk bonus
    	if (.@lukbonus != 0){
    		set @bonus,readparam(bLuk)/.@lukdiv;
    	}
    
    	//Gold Penalty
    	if (.@penalty1 != 0){
    		set @deduction,rand(.@maxpenalty1);
    		if(@deduction == 0) set @deduction,1; 
    	}
    
    	set @gain, @gain + @bonus - @deduction;
    	set gold, gold + @gain ;
    
    	//Displaying Gained Gold
    	if(.@showservername != 0){
    		if(gold%5 == 0){ //Show Server Name every 10 gold gain.
    			dispbottom "=============Brought to you by==============";
    			dispbottom "==============" + .@servername$ +"==============";
    		}
    	}
    
    	if(@gain){
    		dispbottom "-|You got: " +@gain+ " gold| - |Total: " +gold+ " gold|- ";
    
    	}else{
    		dispbottom "-|You got: NOTHING! |- ";
    	}
    
    
    
    	if (.@penalty2 != 0){
    		if (gold >= .@maxgold/2 && gold <=.@maxgold/2+20){
    			sc_start SC_DECREASEAGI,240000,10;   
    		}else if(gold >.@maxgold){
    			sc_start SC_CURSE,240000,10;
    			percentheal (.@maxpenalty2*-1),(.@maxpenalty2*-1);
    			heal -50,0; //For him to die
    		}
    	}
    
    	if(paid == 0){
    		mapannounce "ordeal_1-2"," x( "+strcharinfo(0)+" is a cheater!",bc_map;
    		dispbottom "Go out you bastard!";
    		set gold,0;
    		warp "prontera", 173, 160;
    	}
    	end;
    }
    
    
    OnPCDieEvent: 
    
    if (getmapxy(@mapname$,@mapx,@mapy,0) == -1) goto L_Finish;
    if (@mapname$ == "ordeal_1-2"){
    	dispbottom "Holy Shit you died!";
    	dispbottom "All of your gold will be gone!";
    	set alive, 0;
    	set paid, 0;
    	end;
    }
    
    L_Finish:
    close;
    }
    
    
    
    //===============================================
    //warper
    //===============================================
    ordeal_1-2,154,156,5 script Gold Miner 813,{
    mes "[Gold Miner]";
    if(gold >=50){
    	goto wa;
    }
    mes "Want to go now?";
    mes "Your gold is just "+gold+" you can still get more.";
    close;
    wa:
    mes "Want to go now?";
    if(select("Yes", "No") == 1) {
    	set alive,1;
    	warp "prontera", 173, 160;
    }
    close;
    }
    
    lighthalzen,183,120,5 script Gold Room Warperer#pront 105,{
    set @name$,"lighthalzen";
    callfunc "goldmain";
    end;
    }
    
    aldebaran,133,116,4 script Gold Room Warperer#alde 813,{
    set @name$,"aldebaran";
    callfunc "goldmain";
    end;
    }
    
    alberta,23,247,4 script Gold Room Warperer#alb 813,{
    set @name$,"alberta";
    callfunc "goldmain";
    end;
    }
    payon,151,182,4 script Gold Room Warperer#pay 813,{
    set @name$,"payon";
    callfunc "goldmain";
    end;
    }
    
    geffen,115,74,4 script Gold Room Warperer#gef 813,{
    set @name$,"geffen";
    callfunc "goldmain";
    end;
    }
    
    function script goldmain {
    if (getgmlevel() >= 90){
    	mes "[Gold Room Warperer]";
    	if(sex != 0){
    		mes "Hello Sir what can I do for you?";
    	}else{
    		mes "Hello Maam what can I do for you?";
    	}
    
    	next;
    	menu "Enter Mining Site",start,"Please close the mine Site. Now!",-,"Please Open the mine Site. Now!",G_open,"Nothing",C_s;
    	next;
    	mes "[Gold Room Warperer]";
    	mapannounce "ordeal_1-2","Excuse me Miners.",bc_map;
    	mes "Ok.";
    	next;
    	mapannounce "ordeal_1-2",strcharinfo(0) +" wants to close the Gold Room for a while",bc_map;
    	mes "Just a second I will just ask them to";
    	mes "go out in the mining site";
    	next;
    	mapannounce "ordeal_1-2","Please settle your things and move quitely",bc_map;
    	mes "[Gold Room Warperer]";
    	mes ".............";
    	mes "........";
    	next;
    	mes "[Gold Room Warperer]";
    	mes "Ok your done";
    	set .opengoldroom,1;
    	areawarp "ordeal_1-2",21,286,286,22,"lighthalzen", 139, 86;
    	close;
    }
    
    if(.opengoldroom == 0){
    	goto start;
    }else{
    	mes "[Gold Room Warperer]";
    	mes "Sorry!";
    	mes "The Mining Site is closed.";
    	close;
    }
    G_open:
    mes "[Gold Room Warperer]";
    mes "Ok.";
    mes "Mining Site is Already Available.";
    announce " Gold Room is open for public!",bc_map;
    set .opengoldroom,0;
    close;
    
    start:
    if ( alive == 0){
    	set gold,0;
    }
    mes "[Gold Room Warperer]";
    mes "What do you want?";
    next;
    menu "To the Gold Room",-,"Exchange Gold",exchange,"Nothing",C_s;
    mes "[Gold Room Warperer]";
    mes "Hmm..";
    mes "It cost 100,000z";
    mes "Would you like to go now to the gold room?";
    if(select("Yes", "No") == 1) {
    	if(@name$ == "prontera") savepoint "prontera", 173, 160;
    	if(@name$ == "aldebaran") savepoint "aldebaran",166, 163;
    	if(@name$ == "alberta") savepoint "alberta",16, 246;
    	if(@name$ == "payon") savepoint "payon",160, 179;
    	if(@name$ == "geffen") savepoint "geffen",124, 85;
    	if (Zeny < 100000) goto nomoney;
    	set Zeny, Zeny - 100000;
    	set alive, 1;
    	set paid, 1;
    	warp "ordeal_1-2", 156, 155;
    
    }
    close;
    nomoney:
    mes "[Gold Room Warperer]";
    mes "Sorry insufficient balance";
    close;
    exchange:
    mes "[Gold Room Warperer]";
    mes "Hmm...let me see";
    mes "You have " +gold+ ".";
    if (gold == 0) goto nogold; 
    mes "Ok get this.";
    next;
    if (checkweight(969,gold) == 0) goto L_OverWeight;
    getitem 969, gold;
    set gold, 0;
    emotion e_gg;
    close;
    L_OverWeight:
    mes "[Gold Room Warperer]";
    mes "Sorry your overweight";
    close;
    nogold:
    close;
    C_s:
    close;
    }
    
    
    //============================================================
    
    //===========================================================
    //========================================
    //warps you may edit this one for your convenience
    //========================================
    ordeal_1-2,73,265,0 warp ord500 1,1,lighthalzen,139,86
    ordeal_1-2,129,194,0 warp ord501 1,1,lighthalzen,139,86
    ordeal_1-2,130,194,0 warp ord502 1,1,lighthalzen,139,86
    ordeal_1-2,178,193,0 warp ord503 1,1,lighthalzen,139,86
    ordeal_1-2,290,130,0 warp ord504 1,1,lighthalzen,139,86
    ordeal_1-2,241,281,0 warp ord505 1,1,lighthalzen,139,86
    ordeal_1-2,66,25,0  warp ord506 1,1,lighthalzen,139,86
    ordeal_1-2,202,129,0 warp ord509 1,1,lighthalzen,139,86
    ordeal_1-2,105,154,0 warp ord510 1,1,lighthalzen,139,86
    
    //============Spawns=================
    ordeal_1-2,0,0,0,0 monster Golden Pecopeco 1369,100,40000,20000,0
    

  11. scenario 2

    a guild owns prontera castle A

    prontera castle A has a special npc B that sells unique items

    everyone can buy unique items selling from special npc B

    everytime a new woe start,

    the system will automatically *sendmail to the guild master owning that castle of all the 10% total transaction between the OnAgitstart

    ( ... well no need to explain much ... OnAgitStart: sendmail ... getguildmasterid ... )

    EDIT: yeah, GmOcean say something similar to my scenario 1

    I LIKE THIS ONE

    If this is made, i'll surely take it.

    No it's not like that. It's like a TAX system. example you buy an item on a NPC shop costs 10k, and I'll receive the 1k as a 10% tax on your purchase

    let me give you a condition

    If "this player" bought an item on a NPC, 10% tax would be given to "this player"

    Basically, to make this work is if another player owns a NPC..

    because, if the shop is just going to get the TAX that you are saying,

    then, you might as well just put DISCOUNT skill on all jobs..

    so in my opinion POST#5 and POST#6 scenario 2 would be the best script for this.

    im sure they can come up with a way how to own a NPC if its not in a guild war or some sort.

  12. if you dont want to take emistry's offer and your kinda old skul guy.. here's the script..

    //Map,xxx,yyy,D,script,npcname,spritenumber,item1,price1,item2,price2,item3,price3
    
    lighthalzen,224,99,4 shop 3rd job shop 880,504:500,911:500,7821:500,518:500,1002:500,716:500,532:500,711:500,929:500,511:500,6096:500,6095:500
    

    there you go, i don't know what kind of items your saying, you just said 3rd job.. so i have included some that i think are needed by 3rd jobs..

    edit as you wish, i have given you the pattern..

  13. In this old Halloween script, can someone tell to me where i can edit the monsters that are to be spawned??

    - script Halloween Wizard#iRO09::09HallowWiz 737,{
    mes "[Halloween Wizard]";
    mes "...";
    mes "Do you want to play a trick on someone?";
    next;
    while(1) {
    switch(select("What trick?:Sure:No.")) {
    case 1:
    mes "[Halloween Wizard]";
    mes "I can summon monsters in other parts of the world with just a few materials.";
    next;
    mes "[Halloween Wizard]";
    mes "Sounds interesting huh?";
    next;
    mes "[Halloween Wizard]";
    mes "If you bring me Fabric, Jack o' Pumpkins, Worn Fabric, or Crushed Pumpkins I can summon the monsters.";
    next;
    break;
    case 2:
    mes "[Halloween Wizard]";
    mes "Which town do you want to play a trick on?";
    next;
    getmapxy(.@mapname$,.@mapx,.@mapy,0,""+strcharinfo(0)+"");
    if (.@mapname$ == "prontera") {
    switch(select("Geffen:Payon:Alberta:Aldebaran:lighthalzen")) {
    case 1:
    set .@HallowTown,3;
    break;
    case 2:
    set .@HallowTown,2;
    break;
    case 3:
    set .@HallowTown,4;
    break;
    case 4:
    set .@HallowTown,5;
    break;
    case 5:
    set .@HallowTown,5;
    break;
    }
    }
    else if (.@mapname$ == "payon") {
    switch(select("Prontera:Geffen:Alberta:Aldebaran:lighthalzen")) {
    case 1:
    set .@HallowTown,1;
    break;
    case 2:
    set .@HallowTown,3;
    break;
    case 3:
    set .@HallowTown,4;
    break;
    case 4:
    set .@HallowTown,5;
    break;
    case 5:
    set .@HallowTown,5;
    break;
    }
    }
    else if (.@mapname$ == "geffen") {
    switch(select("Prontera:Payon:Alberta:Aldebaran:lighthalzen")) {
    case 1:
    set .@HallowTown,1;
    break;
    case 2:
    set .@HallowTown,2;
    break;
    case 3:
    set .@HallowTown,4;
    break;
    case 4:
    set .@HallowTown,5;
    break;
    case 5:
    set .@HallowTown,5;
    break;
    }
    }
    else if (.@mapname$ == "alberta") {
    switch(select("Prontera:Geffen:Payon:Aldebaran:lighthalzen")) {
    case 1:
    set .@HallowTown,1;
    break;
    case 2:
    set .@HallowTown,3;
    break;
    case 3:
    set .@HallowTown,2;
    break;
    case 4:
    set .@HallowTown,5;
    break;
    case 5:
    set .@HallowTown,5;
    break;
    }
    }
    else if (.@mapname$ == "aldebaran") {
    switch(select("Prontera:Geffen:Payon:Alberta:lighthalzen")) {
    case 1:
    set .@HallowTown,1;
    break;
    case 2:
    set .@HallowTown,3;
    break;
    case 3:
    set .@HallowTown,2;
    break;
    case 4:
    set .@HallowTown,4;
    break;
    case 5:
    set .@HallowTown,5;
    break;
    }
    }
    else if (.@mapname$ == "lighthalzen") {
    switch(select("Prontera:Geffen:Payon:Alberta:aldebaran")) {
    case 1:
    set .@HallowTown,1;
    break;
    case 2:
    set .@HallowTown,3;
    break;
    case 3:
    set .@HallowTown,2;
    break;
    case 4:
    set .@HallowTown,4;
    break;
    case 5:
    set .@HallowTown,5;
    break;
    }
    }
    setarray .@HallowTowns$[1],"prontera","payon","geffen","alberta","aldebaran";
    mes "[Halloween Wizard]";
    mes "Ok then let's go to the next step.";
    next;
    mes "[Halloween Wizard]";
    mes "How many Fabrics or Jack o' Pumpkins do you want to use? Don't go over 100 because that is the max amount that I can use.";
    next;
    input .@input;
    if (.@input == 0) {
    mes "[Halloween Wizard]";
    mes "You have no definite idea.";
    mes "It's not a big deal.";
    mes "Let me know.";
    next;
    break;
    }
    else if (.@input > 100) {
    mes "[Halloween Wizard]";
    mes "I told you that it must be between 1 to 100!";
    mes "You didn't pay attention!";
    next;
    break;
    }
    else {
    set .@fabric,countitem(1059);
    set .@jack,countitem(1062);
    set .@worn,countitem(6299);
    set .@crushed,countitem(6298);
    set .@whispers,0;
    set .@darklords,0;
    
    set .@total,.@fabric + .@jack + .@worn + .@crushed;
    
    if(.@total < .@input) {
    mes "[Halloween Wizard]";
    mes "Recount the number of items you have and tell me the total.";
    mes "Huhuhuhuhuhu...";
    next;
    break;
    }
    
    if(.@fabric > 0) {
    if(.@fabric >= .@input) {
    delitem 1059,.@input;
    set .@whispers,.@whispers+.@input;
    set .@input,0;
    }
    else{
    delitem 1059,.@fabric;
    set .@input,.@input - .@fabric;
    set .@whispers,.@whispers+.@fabric;
    }
    }
    if(.@worn > 0 && .@input != 0) {
    if(.@worn >= .@input) {
    delitem 6299,.@input;
    set .@whispers,.@whispers+.@input;
    set .@input,0;
    }
    else{
    delitem 6299,.@worn;
    set .@input,.@input - .@worn;
    set .@whispers,.@whispers+.@worn;
    }
    }
    if(.@jack > 0 && .@input != 0) {
    if(.@jack >= .@input) {
    delitem 1062,.@input;
    set .@darklords,.@darklords+.@input;
    set .@input,0;
    }
    else{
    delitem 1062,.@jack;
    set .@input,.@input - .@jack;
    set .@darklords,.@darklords+.@jack;
    }
    }
    if(.@crushed > 0 && .@input != 0) {
    if(.@crushed >= .@input) {
    delitem 6298,.@input;
    set .@darklords,.@darklords+.@input;
    set .@input,0;
    }
    else{
    delitem 6298,.@crushed;
    set .@input,.@input - .@crushed;
    set .@darklords,.@darklords+.@crushed;
    }
    }
    if (.@input > 0) {
    mes "Theres a problem.";
    close;
    }
    monster ""+.@HallowTowns$[.@HallowTown]+"",0,0,"Halloween Whisper",3014,.@whispers;
    monster ""+.@HallowTowns$[.@HallowTown]+"",0,0,"Halloween Dark Lord",3015,.@darklords;
    mes "[Halloween Wizard]";
    mes "Here's what you wanted.";
    mes "Imagine what the people must be thinking in the other villages?";
    mes "Muahahaha";
    close;
    }
    case 3:
    mes "[Halloween Wizard]";
    mes "If you change your mind, come back here...";
    mes "I'll stay here for a while...";
    mes "Kkkk...";
    close;
    }
    }
    }

  14. Eto po ung skill.txt

    baka po pwedeng paki edit..

    hindi ko parin po kasi makuha ung no cast pagka 150 na ung dex..

    at palaging merong warning na ganito:

    
    [Warning]: Value for setting 'vcast_stat_scale': 0 is invalid (min:1 max:2147483647)! Defaulting to 530...
    [Warning]: Unknown setting 'renewal_cast_enable' in file conf/battle/skill.conf
    

    // The rate of time it takes to cast a spell (Note 2, 0 = No casting time)

    casting_rate: 10

    // Delay time after casting (Note 2)

    delay_rate: 40

    // Does the delay time depend on the caster's DEX and/or AGI? (Note 1)

    // Note: On Official servers, neither Dex nor Agi affect delay time

    delay_dependon_dex: no

    delay_dependon_agi: no

    // Minimum allowed delay for ANY skills after casting (in miliseconds) (Note 1)

    // Note: Setting this to anything above 0 can stop speedhacks.

    min_skill_delay_limit: 40

    // This delay is the min 'can't walk delay' of all skills.

    // NOTE: Do not set this too low, if a character starts moving too soon after

    // doing a skill, the client will not update this, and the player/mob will

    // appear to "teleport" afterwards.

    default_walk_delay: 300

    //Completely disable skill delay of the following types (Note 3)

    //NOTE: By default mobs don't have the skill delay as specified in the skill

    // database, but follow their own 'reuse' skill delay which is specified on

    // the mob skill db. When set, the delay for all skills become

    // min_skill_delay_limit.

    no_skill_delay: 2

    // At what dex does the cast time become zero (instacast)?

    castrate_dex_scale: 150

    // How much (dex*2+int) does variable cast turns zero?

    vcast_stat_scale: 0

    // What level of leniency should the skill system give for skills when

    // accounting attack motion (ASPD) for casting skills (Note 2, between 0 and 100)

    //

    // NOTE: Setting this to 100% may cause some issues with valid skills not being cast.

    // The time difference between client and server varies so allowing 90% leniency

    // should be enough to forgive very small margins of error.

    skill_amotion_leniency: 90

    // Will normal attacks be able to ignore the delay after skills? (Note 1)

    skill_delay_attack_enable: yes

    // Range added to skills after their cast time finishes.

    // Decides how far away the target can walk away after the skill began casting before the skill fails.

    // 0 disables this range checking (default)

    skill_add_range: 0

    // If the target moves out of range while casting, do we take the items and SP for the skill anyway? (Note 1)

    skill_out_range_consume: no

    // Does the distance between caster and target define if the skill is a ranged skill? (Note 3)

    // If set, when the distance between caster and target is greater than 3 the skill is considered long-range, otherwise it's a melee range.

    // If not set, then the range is determined by the skill's range (if it is above 5, the skill is ranged).

    // Default 14 (mobs + pets + homun)

    skillrange_by_distance: 14

    // Should the equipped weapon's range override the skill's range defined in the skill_db for most weapon-based skills? (Note 3)

    // NOTE: Skills affected by this option are those whose range in the skill_db are negative. Note that unless monster_ai&0x400 is

    // set, the range of all skills is 9 for monsters.

    skillrange_from_weapon: 30

    // Should a check on the caster's status be performed in all skill attacks?

    // When set to yes, meteors, storm gust and any other ground skills will have

    // no effect while the caster is unable to fight (eg: stunned).

    skill_caster_check: yes

    // Should ground placed skills be removed as soon as the caster dies? (Note 3)

    clear_skills_on_death: 0

    // Should ground placed skills be removed when the caster changes maps? (Note 3)

    clear_skills_on_warp: 15

    //Setting this to YES will override the target mode of ground-based skills with the flag 0x01 to "No Enemies"

    //The two skills affected by default are Pneuma and Safety Wall (if set to yes, those two skills will not protect everyone, but only allies)

    //See db/skill_unit_db.txt for more info.

    defunit_not_enemy: no

    // Do skills do at least 'hits' damage when they don't miss/are blocked?

    //(for example, will firebolts always do "number of bolts" damage versus plants?)

    //Values (add as appropiate): 1 for weapon-based attacks, 2 for magic attacks, 4 for misc attacks.

    skill_min_damage: 6

    // The delay rate of monk's combo (Note 2)

    combo_delay_rate: 100

    // Use alternate auto Counter Attack Skill Type? (Note 3)

    // For those characters on which it is set, 100% Critical,

    // Otherwise it disregard DEF and HIT+20, CRI*2

    auto_counter_type: 15

    // Can ground skills be placed on top of each other? (Note 3)

    // By default, skills with UF_NOREITERATION set cannot be stacked on top of

    // other skills, this setting will override that. (skill_unit_db)

    skill_reiteration: 0

    // Can ground skills NOT be placed underneath/near players/monsters? (Note 3)

    // If set, only skills with UF_NOFOOTSET set will be affected (skill_unit_db)

    skill_nofootset: 1

    // Should traps (hunter traps + quagmire) change their target to "all" inside gvg/pvp grounds? (Note 3)

    // Default on official servers: yes for player-traps

    gvg_traps_target_all: 1

    // Some traps settings (add as necessary):

    // 1: Traps are invisible to those who come into view of it. When unset, all traps are visible at all times.

    // (Invisible traps can be revealed through Hunter's Detecting skill)

    traps_setting: 0

    // Restrictions applied to the Alchemist's Summon Flora skill (add as necessary)

    // 1: Enable players to damage the floras outside of versus grounds.

    // 2: Disable having different types out at the same time

    // (eg: forbid summoning anything except hydras when there's already

    // one hydra out)

    summon_flora_setting: 3

    // Whether placed down skills will check walls (Note 1)

    // (Makes it so that Storm Gust/Lord of Vermillion/etc when casted next to a wall, won't hit on the other side)

    skill_wall_check: yes

    // When cloaking, Whether the wall is checked or not. (Note 1)

    // Note: When the skill does not checks for walls, you will always be considered

    // as if you had a wall-next to you (you always get the wall-based speed).

    // Add the settings as required, being hit always uncloaks you.

    //

    // 0 = doesn't check for walls

    // 1 = Check for walls

    // 2 = Cloaking is not cancelled when attacking.

    // 4 = Cloaking is not cancelled when using skills

    player_cloak_check_type: 1

    monster_cloak_check_type: 4

    // Can't place unlimited land skills at the same time (Note 3)

    land_skill_limit: 1

    //Determines which kind of skill-failed messages should be sent:

    // 1 - Disable all skill-failed messages.

    // 2 - Disable skill-failed messages due to can-act delays.

    // 4 - Disable failed message from Snatcher

    // 8 - Disable failed message from Envenom

    display_skill_fail: 2

    // Can a player in chat room (in-game), be warped by a warp portal? (Note 1)

    chat_warpportal: no

    // What should the wizard's "Sense" skill display on the defense fields?

    // 0: Do not show defense

    // 1: Base defense

    // 2: Vit/Int defense

    // 3: Both (the addition of both) [default]

    sense_type: 3

    // Which finger offensive style will be used?

    // 0 = Aegis style (single multi-hit attack)

    // 1 = Athena style (multiple consecutive attacks)

    finger_offensive_type: 0

    // Grandcross Settings (Dont mess with these)

    // If set to no, hit interval is increased based on the amount of mobs standing on the same cell

    // (means that when there's stacked mobs in the same cell, they won't receive all hits)

    gx_allhit: no

    // Grandcross display type (Default 1)

    // 0: Yellow character

    // 1: White character

    gx_disptype: 1

    // Max Level Difference for Devotion

    devotion_level_difference: 10

    // If no than you can use the ensemble skills alone. (Note 1)

    player_skill_partner_check: yes

    // Remove trap type

    // 0 = Aegis system : Returns 1 'Trap' item

    // 1 = Athena system : Returns all items used to deploy the trap

    skill_removetrap_type: 0

    // Does using bow to do a backstab give a 50% damage penalty? (Note 1)

    backstab_bow_penalty: yes

    // How many times you could try to steal from a mob.

    // Note: It helps to avoid stealing exploit on monsters with few rare items

    // Use 0 to disable (max allowed value is 255)

    skill_steal_max_tries: 0

    // Can Rogues plagiarize advanced job skills

    // 0 = no restriction

    // 1 = only stalker may plagiarize advanced skills

    // 2 = advanced skills cannot be plagiarized by anyone

    // Official servers setting: 2

    copyskill_restrict: 2

    // Does Berserk/Frenzy cancel other self-buffs when used?

    berserk_cancels_buffs: no

    // Level and Strength of "MVP heal". When someone casts a heal of this level or

    // above, the heal formula is bypassed and this value is used instead.

    max_heal: 9999

    max_heal_lv: 11

    // Emergency Recall Guild Skill setting (add as appropiate).

    // Note that for the skill to be usable at all,

    // you need at least one of 1/2 and 4/8

    // 1: Skill is usable outside of woe.

    // 2: Skill is usable during woe.

    // 4: Skill is usable outside of GvG grounds

    // 8: Skill is usable on GvG grounds

    //16: Disable skill from "nowarpto" maps

    // (it will work on GVG castles even if they are set to nowarpto, though)

    emergency_call: 11

    // Guild Aura Skills setting (add as appropiate).

    // (This affects GD_LEADERSHIP, GD_GLORYWOUNDS, GD_SOULCOLD and GD_HAWKEYES)

    // Note that for the skill to be usable at all,

    // you need at least one of 1/2 and 4/8

    // 1: Skill works outside of woe.

    // 2: Skill works during woe.

    // 4: Skill works outside of GvG grounds

    // 8: Skill works on GvG grounds

    //16: Disable skill from affecting Guild Master

    guild_aura: 31

    // Max Possible Level of Monster skills

    // Note: If your MVPs are too tough, reduce it to 10.

    mob_max_skilllvl: 100

    // Allows players to skip menu when casting Teleport level 1

    // Menu contains two options. "Random" and "Cancel"

    skip_teleport_lv1_menu: no

    // Allow use of SG skills without proper day (Sun/Moon/Star) ?

    allow_skill_without_day: no

    // Allow use of ES-type magic on players?

    allow_es_magic_player: no

    // Miracle of the Sun, Moon and Stars skill ratio (100% = 10000)

    sg_miracle_skill_ratio: 2

    // Miracle of the Sun, Moon and Stars skill duration in milliseconds

    sg_miracle_skill_duration: 3600000

    // Angel of the Sun, Moon and Stars skill ratio (100% = 10000)

    sg_angel_skill_ratio: 10

    // Skills that bHealPower has effect on

    // 1: Heal, 2: Sanctuary, 4: Potion Pitcher, 8: Slim Pitcher, 16: Apple of Idun

    skill_add_heal_rate: 7

    // Whether the damage of EarthQuake with a single target on screen is able to be reflected.

    // Note: On offcial server, EQ is reflectable when there is only one target on the screen,

    // which might be an exploit to hunt the MVPs.

    eq_single_target_reflectable: yes

    // On official server, you will receive damage from Reflection and some Tarot Card even in invincible status.

    // When this setting is enabled, it allows you to immune to all kinds of damage, including those stated previous.

    // (The number will show but no actual damage will be done)

    invincible.nodamage: no

    // Dancing Weapon Switch

    // On official server, a fix is in place that prevents the switching of weapons to cancel songs.

    // Default: yes

    dancing_weaponswitch_fix: yes

    // This setting is to enable the 20% fixed and 80% variable cast time also known as renewal casttime settings.

    // When this setting is disabled variable cast time will become 100% and instant cast will be available again

    // and cast time will be reducable only by dex.

    // Note: When this setting is disabled ( Sacrament, Radius and other skills and statuses that reduces fixed cast time

    // will no longer become functional ). Default: yes

    renewal_cast_enable: no

  15. erm ... lol

    that script is now looks more like a joke XD its useless

    to gives the reward out immediately,

    like this

    prontera,156,185,5	script	kdjshfksdjf	100,{
    if ( getcharid(1) == 0 ) end;
    warpparty "guild_vs2", 49,49, getcharid(1);
    addtimer 10000, strnpcinfo(0)+"::Ontimeup";
    end;
    Ontimeup:
    announce strcharinfo(1) +" survive for 10 seconds !!", 0;
    warpparty "SavePoint", 0,0, getcharid(1);
    getpartymember getcharid(1), 1;
    getpartymember getcharid(1), 2;
    for ( .@i = 0; .@i < $@partymembercount; .@i++ )
    	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) )
    		getitem 501, 1, $@partymemberaid[.@i];
    end;
    OnPCLogoutEvent:
    OnPCDieEvent:
    if ( getcharid(1) == 0 )
    	warp "Save", 0,0;
    else
    	warpparty "SavePoint", 0,0, getcharid(1);
    end;
    }

    don't forget all the mapflags

    especially the nosave SavePoint ones

    @Emistry

    yes, addtimer command will disappear if 1 of the party member log out

    but isn't on the 1st post it says, if any one of the party member log out, that party is fail ?

    EDIT:

    5. if one member of the party dies, they are all warped out.
    hmm he just said dies

    but if logout is counted, this method is possible

    ( this is one of the level1 event script technique )


    EDIT2:

    if you want to make things complicated

    allow die = whole team warp out, but log out still allow to remain until 1 person

    then need to use level2 event script technique ( party system )

    wait me write out the technique ( though I think you already familiar the system )

    EDIT3:

    here it is ... a level2 event script technique if you want to use this

    prontera,156,185,5	script	kdjshfksdjf	100,{
    if ( getcharid(1) == 0 ) end;
    warpparty "guild_vs2", 49,49, getcharid(1);
    .@party_id = getcharid(1);
    
    getpartymember .@party_id, 1;
    getpartymember .@party_id, 2;
    for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
    	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
    		setd ".bossnia_pid_"+ .@party_id +"["+ .@c +"]", $@partymemberaid[.@i]; // simulate a new party array using setd/getd - a very typical level2 event script technique
    		.@c++;
    	}
    }
    
    sleep 10000; // use sleep command to attach timer to the party, there's no other way
    if ( getarraysize( getd( ".bossnia_pid_"+ .@party_id ) ) == 0 ) end; // when all party member down, it ends itself
    
    announce getpartyname( .@party_id ) +" survive for 10 seconds !!", 0;
    getpartymember .@party_id, 1;
    getpartymember .@party_id, 2;
    for ( .@i = 0; .@i < $@partymembercount; .@i++ ) {
    	if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) {
    		attachrid $@partymemberaid[.@i];
    		if ( strcharinfo(3) == "guild_vs2" ) {
    			getitem 501, 1;
    			warp "Save", 0,0;
    		}
    	}
    }
    deletearray getd( ".bossnia_pid_"+ .@party_id );
    end;
    OnPCDieEvent:
    if ( getcharid(1) == 0 )
    	warp "Save", 0,0;
    else
    	warpparty "SavePoint", 0,0, getcharid(1);
    deletearray getd( ".bossnia_pid_"+ getcharid(1) );
    end;
    OnPCLogoutEvent:
    if ( strcharinfo(3) != "guild_vs2" ) end; // ok I originally don wan to do this
    if ( getcharid(1) ) {
    	.@size = getarraysize( getd( ".bossnia_pid_"+ getcharid(1) ) );
    	for ( .@i = 0; .@i < .@size; .@i++ ) {
    		if ( getd( ".bossnia_pid_"+ getcharid(1) +"["+ .@i +"]" ) == getcharid(3) ) {
    			deletearray getd( ".bossnia_pid_"+ getcharid(1) +"["+ .@i +"]" ), 1;
    			.@size--;
    			if ( .@size )
    				announce strcharinfo(0) +" from "+ strcharinfo(1) +" has log out ! "+ .@size +" members left", 1;
    			else
    				announce "all team members from "+ strcharinfo(1) +" has log out !", 1;
    			end;
    		}
    	}
    }
    end;
    }
    guild_vs2	mapflag	nosave	SavePoint	// this mapflag itself prevent them staying in the map with logout

    its fine if you just want to learn this for fun ( well you seems to be asking for this )

    though I still recommend level1 event script technique can already do the trick

    no need to complicate yourself with this

    im sorry if i didnt mention the party if the leader or a team member logs out...

    well, if the leader logs out, or even a member, all of then should be warped back out, same as one dying,

    and they should be allowed to enter the event anymore..

    and the script your using is still not the right one..

    its the one that i posted in the 1st post = bossnia script.

    right under here:

    
    - script Sample -1,{
    OnClock0100:
    OnClock0500:
    OnClock0900:
    OnClock1300:
    OnClock1700:
    for( set .@i,0; .@i < 3; set .@i,.@i + 1 ){
    announce "RObustnia Event will Open within "+( 3 - .@i )+" Minutes.",0;
    sleep 60000;
    }
    enablenpc "bsw";
    announce "RObustnia Event Opened, Party leader's with 4-10 Members may go in!.",0;
    sleep ( 30 * 60000 );
    announce "RObustnia Event Closed.",0;
    OnInit:
    disablenpc "bsw";
    end;
    }
    
    
    lighthalzen,162,105,4 script RObustnia Staff::bsw 105,{
    function CheckBaseLevel;
    mes "[Red]";
    mes "Halt! Who approaches?";
    mes "I know a Place where chaos rules the land.";
    mes "I found it while wondering the plains of RObust.";
    mes "I am an adventurer.";
    mes "Haha~";
    next;
    mes "[Red]";
    mes "What? My name is...";
    mes "'RObustnia Staff'?? Urghh no...";
    mes "Well, my name is not so important.";
    mes "Sometimes you should be generous.";
    mes "No time for considering that kind of small stuff";
    mes "when you have to concentrate on more important things.";
    next;
    mes "[Red]";
    mes "Hum... anyway I want to say... something..";
    mes "While I was travelling through some places,";
    mes "I found a really dreadful and fearful place.";
    next;
    mes "[Red]";
    mes "Most of the time when you come to a place,";
    mes "there is one strong and fearful monster.";
    mes "Isn't it?";
    next;
    mes "[Red]";
    mes "But... but... in there...";
    mes "There are lots of fearful and strong monsters in there...";
    mes "That was really frightful, i even heared rumors of Satan being spotted there.";
    next;
    mes "[Red]";
    mes "If I had reacted a bit later... a few seconds...";
    mes "I might have been killed.";
    next;
    mes "[Red]";
    mes "What?";
    mes "You want to go in there?";
    mes "Oh~ Boy~ you didn't get me.";
    mes "In there.......";
    next;
    mes "[Red]";
    mes "Uh... you already know?";
    mes "Although you know the place, you want to go in...";
    mes "Good, I will send you there.";
    mes "But after you went there, don't hold";
    mes "a grudge against me. Also it costs 5,000 zeny.";
    next;
    mes "[Red]";
    
    if( !getcharid(1) ){
    mes "You need a Party.";
    }else{
    mes "Would you really like to take the challenge??";
    mes "Ok, just choose the course.";
    set .@room, select("First","Second","Third","Fourth");
    getpartymember getcharid(1),1;
    if( getcharid(0) != getpartyleader( getcharid(1),2 ) ){
    mes "Only Party Leader can decide to go or not.";
    }else if( !CheckBaseLevel( getcharid(1) ) ){
    mes "All party Member must be level 150.";
    }else if( $@partymembercount < 4 || $@partymembercount > 10 ){
    mes "You need total of 4 - 10 Party Members.";
    }else if (Zeny < 499999){
    mes "You need 500,000 Zeny.";
    }else{
    set Zeny, Zeny - 500000;
    warpparty "bossnia_0"+.@room,rand(199,200),rand(199,200),getcharid(1);
    end;
    }
    }
    close;
    
    function CheckBaseLevel {
    set .@Leader,getpartyleader( getarg(0),1 );
    getpartymember getarg(0),2;
    for( set .@i,0; .@i < $@partymembercount; set .@i,.@i + 1 )
    if( attachrid( $@partymemberaid[.@i] ) )
    if( BaseLevel < 150 ){
    attachrid(.@Leader);
    return 0;
    }
    attachrid(.@Leader);
    return 1;
    }
    
    OnPCDieEvent:
    if( compare( strcharinfo(3),"bossnia_0" ) ){
    warpparty "lighthalzen",138,85,getcharid(1);
    }
    end;
    }
    
    bossnia_01 mapflag partylock
    bossnia_02 mapflag partylock
    bossnia_03 mapflag partylock
    bossnia_04 mapflag partylock
    bossnia_01 mapflag pvp
    bossnia_02 mapflag pvp
    bossnia_03 mapflag pvp
    bossnia_04 mapflag pvp
    

    damn! two of the greatest mind working on one script = perfect script..

    thanks guys!

    @emistry.. im sorry, haven't slept yet.. LOL! i forget things..

    @annie, thanks! :) i might use the script for other purposes, or study it :)

    thanks guys! its working perfectly now..

    almost forgot..

    it even got worse.. the NPC is no longer showing itself..

    @Annie...

    thx for reminding..xD

    was fixing that too while uploading to pastebin...~

    @TS

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

    it even got worse.. the NPC is no longer showing itself..

    /... the NPC is hided every time server is reloaded ...and will appear every 4 hours...specified by yourself inside the script....

    otherwise just temporary remove this..

    OnInit:
    disablenpc "bsw";
    

    or add another way to enable the NPC for testing purpose.....

    thus this script has this:

    3. It only opens for 30min.

    10. Those who can survive for 30min. recieves 3 TCG's.

    if yes, where can i find them, cause i dont see them here..

    if no, could you give me the script and tell me where to put it?

    or you can just add it on to what you did and i'll just copy on paste bin..

    same, if one member leaves the map (under any circumstances(died,logout,DC,char select,guild,recall)) all members of that party should be warped out of the map event, and is not allowed to go in anymore.

    for the award script at the end, a time based rewarder will be ideal..

    lets say if party A lasted 30min inside the map, they get the reward and automatically after getting the reward, they are warped back out.

  16. 3. It only opens for 30min.

    here...

    announce "Bossnia Event Opened.",0;
    sleep ( 30 * 60000 );
    announce "Bossnia Event Closed.",0;
    

    for the survive 30 minute and get reward... i havent do it...

    because...still thinking a solution for it...

    i scare i would mess up the time calculation....if the following cases appear...

    1. Multiple Party Access into the Map
    2. Member login / logout ( if allow to stay in the map ? )
    3. Attach timer to NPC / Players...or Party Leader

    use addtimer attach to party leader after register

    when timeout, that label warpparty

    I think you can figure out yourself with this hint

    i think a script that will give each player 3 TCG's at the end of that 30min. will work..

    hmmm.. something like a "gettime" and then if 30min. they recieve 3 TCG's,

    and after the 30min. mark, they are warped out of the map to the coordinates that i will put.

    ===========================================

    i took out a piece of annieruru's script. can this be used to this script that im asking for?

    all its missing is the time, and "guild_vs2,49,49,5" to be edited.

    guild_vs2,49,49,5 script Reward#bossnia 100,{

    getitem 501,1; // change to TCG here ... you didn't say what are the item ID so I'm not going to look up for you

    warp "Save", 0,0;

    end;

  17. damn! two of the greatest mind working on one script = perfect script..

    thanks guys!

    @emistry.. im sorry, haven't slept yet.. LOL! i forget things..

    @annie, thanks! :) i might use the script for other purposes, or study it :)

    thanks guys! its working perfectly now..

    almost forgot..

    it even got worse.. the NPC is no longer showing itself..

    @Annie...

    thx for reminding..xD

    was fixing that too while uploading to pastebin...~

    @TS

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

    it even got worse.. the NPC is no longer showing itself..

    /... the NPC is hided every time server is reloaded ...and will appear every 4 hours...specified by yourself inside the script....

    otherwise just temporary remove this..

    OnInit:
    disablenpc "bsw";
    

    or add another way to enable the NPC for testing purpose.....

    thus this script has this:

    3. It only opens for 30min.

    10. Those who can survive for 30min. recieves 3 TCG's.

    if yes, where can i find them, cause i dont see them here..

    if no, could you give me the script and tell me where to put it?

    or you can just add it on to what you did and i'll just copy on paste bin..

  18. it work fine for me....

    When i dont have party......or i am not party leader..........

    sv2gR.pngdRLQp.png

    When i am party leader....but my member doesnt reach level 150 .......

    I9PvE.png

    it look fine for me....O.O

    if you encounter error..then show it....

    anyway...for BaseLevel checking part...inside the CheckBaseLevel() function...( line 101 )

    change

    if( BaseLevel < 99 ){
    

    into

    if( BaseLevel < 150 ){
    

    and also this........ ( line 84 )

    }else if( $@partymembercount < 2 || $@partymembercount > 10 ){
    

    to

    }else if( $@partymembercount < 4 || $@partymembercount > 10 ){
    

    here is the error that it gave me:

    [Error]: npc_enable: Attempted to show a non-existing NPC 'bossnia Staff::bsw' (flag=1).

×
×
  • Create New...