Jump to content
  • 0

goldroom


DevilSupremeRO

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.02
  • Content Count:  55
  • Reputation:   0
  • Joined:  08/21/20
  • Last Seen:  

i want to move the gold room from ordeal_2-1 to ordeal_3-2 but everytime i move it to ordeal_3-2 when the golden peco are killed it spawns at ordeal_2-1 

-    script    trum_v1    -1,{

OnInit: 
    monster "ordeal_2-1",0,0,"Golden Chocobo",1369,1000,"trum_v1::OnKill";
    monster "ordeal_2-1",0,0,"Killer Boss",1949,5,"trum_v1::OnKill";
end;

OnKill:
    
    if(#GoldPoint > 100000){
        warp "prontera",155,184;
    }
    set .Gold_Points, rand(1,3);
    set #GoldPoint, #GoldPoint + .Gold_Points;
    dispbottom "Your Gold Points: "+#GoldPoint+" you get "+ .Gold_Points +" Gold Points";
    monster "ordeal_2-1",0,0,"Golden Chocobo",1369,1,"trum_v1::OnKill";
    
end;

OnClock1432: 
OnClock1433: 
OnClock1000: 
OnClock3000: 
OnClock6000: 
OnClock9000: 
OnClock1200:
OnClock1500:
OnClock1800:
OnClock2100:
OnClock0000:
    killmonster "ordeal_2-1", "All";
    monster "ordeal_2-1",0,0,"Golden Chocobo",1369,1000,"trum_v1::OnKill";
end;
}


//===========================================================
//=== Warpers
//===========================================================
prontera,147,168,3    script    Gold Room#prt::Treasurer    804,{
mes "[^0000FFGol D. Roger^000000]";
mes "Hi "+strcharinfo(0)+", Would you like to go to the Treasure Room? You need 200,000z to go inside.";
next;
switch(select("Yes. Sure!:Change my Gold Points:No")) {
case 1:
    if (Zeny > 199999) {
        mes "[^0000FFGol D. Roger^000000]";
        mes "Alright I will now send you to the Treasure Room, Take Care!.";
        menu "^FF0000I change my mind.",EXIT, "^0000FFYes Lets go!!!",SURE; 
        next;
        SURE:
            set Zeny,Zeny-200000;
            warp "ordeal_2-1",150,149;
            emotion 21;
            announce  strcharinfo(0) +" has Enter in Gold Room!",bc_all,0x00FF00;
        close;
        
        EXIT: 
        end;
    }
    else {
        mes "[^0000FFGol D. Roger^000000]";
        mes "^FF0000Sorry, But you don't have enough zeny.";
    close;
    }
    
case 2:     
    if(!#GoldPoint){
        mes "[^0000FFGol D. Roger^000000]";
        mes "^FF0000You didnt have any Gold Points.";
    }else{
        mes "[^0000FFGol D. Roger^000000]";
        mes "Total Gold Point = ^0000FF"+#GoldPoint+" Points^000000."; 
        
        next;
        mes "[^0000FFGol D. Roger^000000]";
        mes "How many gold you want?";
        mes "Your Gold Point: ^0000FF"+#GoldPoint+" Points^000000.";
        input @GOLD_POINTS;
        
        next;
        mes "[^0000FFGol D. Roger^000000]";
        if(!checkweight(969, @GOLD_POINTS)){
            mes "^FF0000You're Overweight Limit... please put other thing inside your storage.";
            close;
        }
        if(#GoldPoint < @GOLD_POINTS){
            mes "^FF0000You don't have enough Gold Points kid..^000000";
            close;
        }  
        mes "Total Gold Point = ^0000FF"+ (#GoldPoint - @GOLD_POINTS) +" Points^000000.";
        getitem 969, @GOLD_POINTS;
        set #GoldPoint,#GoldPoint - @GOLD_POINTS;
        
    }
    close;
case 3:
    mes "[^0000FFGol D. Roger^000000]";
    mes "Alright, No problem.";
    close;
}

//OnInit:
//    waitingroom "Gold Room",0;
//end;

}

ordeal_2-1,147,149,2    script    Exit Gold Room#1    804,{
    mes "[^0000FFGol D. Roger^000000]";
    mes "Are you sure you want to Exit?";
    menu"Yes!",YES,"Not this time!!!",NVM;
    next;
    YES:
    warp "prontera",155,184;
    end;
    
    NVM:
    end;
}


ordeal_2-1    mapflag    nosave
ordeal_2-1    mapflag    pvp    on
ordeal_2-1    mapflag    nomemo
ordeal_2-1    mapflag    nobranch
ordeal_2-1    mapflag    noexp
ordeal_2-1    mapflag    nodrop
ordeal_2-1    mapflag    nochat
ordeal_2-1    mapflag    novending
//ordeal_2-1    mapflag    nowarp
ordeal_2-1    mapflag    nowarpto
ordeal_2-1    mapflag    noreturn
ordeal_2-1    mapflag    noloot
//ordeal_2-1    mapflag    noskill
ordeal_2-1    mapflag    nocommand    99

 

Edited by Patskie
codebox
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

4 minutes ago, Marrahzxc said:

monster "ordeal_2-1",0,0,"Golden Chocobo",1369,1,"trum_v1::OnKill";

Change spawn maps to 3-2

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

search for ordeal_2-1 replace with ordeal_3-2

use notepad++

image.png.0f35c9c37080d35d5129b2ab4f7af7a1.png

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.02
  • Content Count:  55
  • Reputation:   0
  • Joined:  08/21/20
  • Last Seen:  

Just now, Start_ said:

Change spawn maps to 3-2

i tried that but still it spawns at ordeal_2-1

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

Save files and reload scripts {Or restart server}

Make sure you edit correct file.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Read this

OnInit: // When the server start do this below

monster "ordeal_2-1",0,0,"Killer Boss",1949,5,"trum_v1::OnKill";


OnKill: // When the monster killed by player do this event

    if(#GoldPoint > 100000){
        warp "prontera",155,184;
    }
    set .Gold_Points, rand(1,3);
    set #GoldPoint, #GoldPoint + .Gold_Points;
    dispbottom "Your Gold Points: "+#GoldPoint+" you get "+ .Gold_Points +" Gold Points";
    monster "ordeal_2-1",0,0,"Golden Chocobo",1369,1,"trum_v1::OnKill"; // Summon monster on this map when player killed me


//When the time it this Hour do this
 

OnClock1432: 
OnClock1433: 
OnClock1000: 
OnClock3000: 
OnClock6000: 
OnClock9000: 
OnClock1200:
OnClock1500:
OnClock1800:
OnClock2100:
OnClock0000:
    killmonster "ordeal_2-1", "All";
    monster "ordeal_2-1",0,0,"Golden Chocobo",1369,1000,"trum_v1::OnKill";
end;
}

 

I hope you get what i mean
after you change type ingame : @reloadscript

Edited by Poring King
  • Upvote 1
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
Answer this question...

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