Jump to content

babycakestheman

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by babycakestheman

  1. yes, it's written by me ..

     

    the OnMinute part should be under these line

    OnWhisperGlobal:
    if( getgmlevel() < 90 ) end;
    // OnMinute25:        // <------------- HERE
    
    sample ...

    https://rathena.org/board/topic/68812-help-automatic-monster-invasion/?p=178899

     

    Now this is weird. I tried loading your script without modifying it, It still shows this error. This didnt happen before, i experienced the feature where the treasure chests shows up after you kill all mobs or the boss alone.

    post-32369-0-44368500-1430828751_thumb.png

  2.  I finally got the time working, but now, The mob count doesnt work, why is this script %$#king me so hard in the #ss. What am I missing now, the mob count seemed to work before. what did I erase?

     

    yes, it's written by me ..
     
    the OnMinute part should be under these line

    OnWhisperGlobal:
    if( getgmlevel() < 90 ) end;
    // OnMinute25:        // <------------- HERE
    
    sample ...
    https://rathena.org/board/topic/68812-help-automatic-monster-invasion/?p=178899

     

     

     

    -    script    Sample    -1,{
    function Invasion;

    OnInit:
    setarray .Maps$[0],"alberta","aldebaran","amatsu","ayothaya","comodo","einbroch","geffen","gonryun","hugel","jawaii","lighthalzen","louyang","morocc","moscovia","niflheim","payon","rachel","veins","umbala","xmas","yuno";
    end;

    OnWhisperGlobal:
    if( getgmlevel() < 90 ) end;
    OnMinute11:
    if( .Invasion ) end;
    set .Invasion,1;
    set .SelectedMap$,.Maps$[ rand( getarraysize(.Maps$) ) ];
    switch( rand(2) ){
        default: end;
        // MAX : ~64 Different Monster in each Cases( 1 BOSS + 63 Normal )
        // Case <X>: Invasion( <BOSS>,<Amount>,<MOBID>,<AMOUNT>,....,<MOBID>,<AMOUNT> ); break;
        Case 0: Invasion( 1399,1,1898,30,1898,20,1898,10,1898,5 ); break;
        Case 1: Invasion( 1808,1,1799,10,1800,10,1801,10,1802,10,1803,10,1804,10 ); break;
    }
    initnpctimer;
    end;

    OnTimer1500000:
    set .Invasion,0;
    announce "Time's Up !!  Invasion End.",0;
    killmonster .SelectedMap$,"All";
    end;

    function    Invasion    {
        monster .SelectedMap$,0,0,"INVASION BOSS",getarg(0),getarg(1),strnpcinfo(0)+"::OnBossKilled";
        for( set .@i,2; getarg( .@i,0 ); set .@i,.@i + 2 )
            monster .SelectedMap$,0,0,"INVASION MOB",getarg(.@i),getarg(.@i+1),strnpcinfo(0)+"::OnMobKilled";
        announce "Invasion STARTED at "+.SelectedMap$+" .. Hurry Up !!.",0;
    }

    OnBossKilled:
    // getitem 512,100;
    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBossKilled" ) ){
        mapannounce .SelectedMap$,"MAIN BOSS - Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBossKilled" ),0;
    }else{
        killmonster .SelectedMap$,"All";
        mapannounce .SelectedMap$,"ALL Boss has been Killed, Treasure BOX has been Summoned",0;
        monster .SelectedMap$,0,0,"TREASURE BOX",1333,30,strnpcinfo(0)+"::OnBoxKilled";
    }
    end;

    OnMobKilled:
    // getitem 512,1;
    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnMobKilled" ) ){
        mapannounce .SelectedMap$,"Monsters Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnMobKilled" ),0;
    }
    end;

    OnBoxKilled:
    // getitem 607,1;
    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBoxKilled" ) ){
        mapannounce .SelectedMap$,"Treasure Box Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBoxKilled" ),0;
    }else{
        announce "Invasion Event end Successfully.",0;
        stopnpctimer;
    }
    end;

    }

     

    Ha yes maybe you forgot the args?

    Invasion( 1870,1,1898,30,1898,20,1898,10,1898,5 );
    

    Look at my updated script, am i forgetting the args somewhere else?

     

  3. you can follow emistry's advice in this topic https://rathena.org/board/topic/68812-help-automatic-monster-invasion/

    and use the script in rep 4, it's very similar to yours and it works

     

    OnMinute25:
    function    Invasion    {
        monster .SelectedMap$,0,0,"INVASION BOSS",getarg(0),getarg(1),strnpcinfo(0)+"::OnBossKilled";
        for( set .@i,2; getarg( .@i,0 ); set .@i,.@i + 2 )
            monster .SelectedMap$,0,0,"INVASION MOB",getarg(.@i),getarg(.@i+1),strnpcinfo(0)+"::OnMobKilled";
        announce "Zombie Simulator at "+.SelectedMap$+" .. Hurry Up !!.",0;
    
    }
    

    here you def the function but you don't execute it

    function Invasion {
    	monster .SelectedMap$,0,0,"INVASION BOSS",getarg(0),getarg(1),strnpcinfo(0)+"::OnBossKilled";
    	for( set .@i,2; getarg( .@i,0 ); set .@i,.@i + 2 )
    		monster .SelectedMap$,0,0,"INVASION MOB",getarg(.@i),getarg(.@i+1),strnpcinfo(0)+"::OnMobKilled";
    	announce "Zombie Simulator at "+.SelectedMap$+" .. Hurry Up !!.",0;
    }
    OnMinute25:
    	Invasion;
    	end;
    

    Thank you for the help but, sadly it isnt working. Why is this script so difficult.

     

    -    script    Sample    -1,{

    function Invasion;

    OnInit:

    setarray .Maps$[0],"alberta","aldebaran","amatsu","ayothaya","comodo","einbroch","geffen","gonryun","hugel","jawaii","lighthalzen","louyang","morocc","moscovia","niflheim","payon","rachel","veins","umbala","xmas","yuno";

    end;

    OnWhisperGlobal:

    if( getgmlevel() < 90 ) end;

    if( .Invasion ) end;

    OnMinute00:

    OnMinute11:

    set .Invasion,1;

    set .SelectedMap$,.Maps$[ rand( getarraysize(.Maps$) ) ];

    switch( rand(2) ){

        default: end;

        // MAX : ~64 Different Monster in each Cases( 1 BOSS + 63 Normal )

        // Case <X>: Invasion( <BOSS>,<Amount>,<MOBID>,<AMOUNT>,....,<MOBID>,<AMOUNT> ); break;

        Case 0: Invasion( 1399,1,1898,30,1898,20,1898,10,1898,5 ); break;

        Case 1: Invasion( 1808,1,1799,10,1800,10,1801,10,1802,10,1803,10,1804,10 ); break;

    }

    initnpctimer;

    end;

    OnTimer900000:

    set .Invasion,0;

    announce "Time's Up !!  Invasion End.",0;

    killmonster .SelectedMap$,"All";

    end;

    function    Invasion    {

        monster .SelectedMap$,0,0,"INVASION BOSS",getarg(0),getarg(1),strnpcinfo(0)+"::OnBossKilled";

        for( set .@i,2; getarg( .@i,0 ); set .@i,.@i + 2 )

            monster .SelectedMap$,0,0,"INVASION MOB",getarg(.@i),getarg(.@i+1),strnpcinfo(0)+"::OnMobKilled";

        announce "Mob Invasion at "+.SelectedMap$+" .. Hurry Up !!.",0;

    }

    OnBossKilled:

    // getitem 616,20;

    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBossKilled" ) ){

        mapannounce .SelectedMap$,"MAIN BOSS - Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBossKilled" ),0;

    }else{

        killmonster .SelectedMap$,"All";

        mapannounce .SelectedMap$,"ALL Boss has been Killed, Treasure BOX has been Summoned",0;

        monster .SelectedMap$,0,0,"TREASURE BOX",1333,30,strnpcinfo(0)+"::OnBoxKilled";

    }

    end;

    OnMobKilled:

    // getitem 512,1;

    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnMobKilled" ) ){

        mapannounce .SelectedMap$,"Monsters Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnMobKilled" ),0;

    }

    end;

    OnBoxKilled:

    // getitem 607,1;

    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBoxKilled" ) ){

        mapannounce .SelectedMap$,"Treasure Box Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBoxKilled" ),0;

    }else{

        announce "Mob Invasion end Successfully.",0;

        stopnpctimer;

        set .Invasion,0;

    }

    end;

    }

     

    So after days of playing around with the time code,it finally worked but, its missing some things like the mob count, slaves dying when MVP is killed and the treasure box is not showing up after all mobs are dead. plus when I checked my map server, it was showing this.

     

     

    post-32369-0-62297800-1430655988_thumb.png

  4. there's something wrong about how you declare or call your function, where  did you get this script?

    I'm sorry, I forgot who did I got this from, but its definitely from this forum. Anyway, is there anyway you could help me man?

  5. This is embarrassing, but I cant seem to make this event work. trust me on this, I searched this forum for answers back to back, and yes they all worked.......with my other events. Except for this one though, i tried OnMinute,OnClock,etc all seem to fail. Why? What am I doing wrong?

    and yes, I added this onto my scripts_custom.conf

    just in case you're wondering.

    -    script    Sample    -1,{
    function Invasion;
    
    OnInit:
    setarray
    
    .Maps$[0],"alberta","aldebaran","amatsu","ayothaya","comodo","einbroch","geffen","gonryun","hugel","jawaii","lighthalzen","louya
    
    ng","morocc","moscovia","niflheim","payon","rachel","veins","umbala","xmas","yuno";
    end;
    
    OnWhisperGlobal:
    if( getgmlevel() < 90 ) end;
    if( .Invasion ) end;
    set .Invasion,1;
    set .SelectedMap$,.Maps$[ rand( getarraysize(.Maps$) ) ];
    switch( rand(4) ){
        default: end;
        // MAX : ~64 Different Monster in each Cases( 1 BOSS + 63 Normal )
        // Case <X>: Invasion( <BOSS>,<Amount>,<MOBID>,<AMOUNT>,....,<MOBID>,<AMOUNT> ); break;
        Case 0: Invasion( 1870,1,1898,30,1898,20,1898,10,1898,5 ); break;
    }
    initnpctimer;
    end;
    
    OnTimer3600000:
    set .Invasion,0;
    announce "Time's Up !!  Invasion End.",0;
    killmonster .SelectedMap$,"All";
    end;
    OnMinute25:
    function    Invasion    {
        monster .SelectedMap$,0,0,"INVASION BOSS",getarg(0),getarg(1),strnpcinfo(0)+"::OnBossKilled";
        for( set .@i,2; getarg( .@i,0 ); set .@i,.@i + 2 )
            monster .SelectedMap$,0,0,"INVASION MOB",getarg(.@i),getarg(.@i+1),strnpcinfo(0)+"::OnMobKilled";
        announce "Zombie Simulator at "+.SelectedMap$+" .. Hurry Up !!.",0;
    
    }
    
    OnBossKilled:
    // getitem 512,100;
    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBossKilled" ) ){
        mapannounce .SelectedMap$,"MAIN BOSS - Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBossKilled" ),0;
    }else{
        killmonster .SelectedMap$,"All";
        mapannounce .SelectedMap$,"ALL Boss has been Killed, Treasure BOX has been Summoned",0;
        monster .SelectedMap$,0,0,"TREASURE BOX",1333,30,strnpcinfo(0)+"::OnBoxKilled";
    }
    end;
    
    OnMobKilled:
    // getitem 512,1;
    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnMobKilled" ) ){
        mapannounce .SelectedMap$,"Monsters Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnMobKilled" ),0;
    }
    end;
    
    OnBoxKilled:
    // getitem 607,1;
    if( mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBoxKilled" ) ){
        mapannounce .SelectedMap$,"Treasure Box Remain : "+mobcount( .SelectedMap$,strnpcinfo(0)+"::OnBoxKilled" ),0;
    }else{
        announce "Zombie Simulator end Successfully.",0;
        stopnpctimer;
        set .Invasion,0;
    }
    end;
    
    }
    
  6. double check your ROTD bonus item rate setting ...etc..

    Im sorry but I do not understand How?

    How do you input automated Exp bonus, item and rate? please do elaborate, Im not that great with scripts, honestly, I see them as if they were hieroglyphics.

    Please do help, Im sorry for the spoon-feeding, its just I dont get it seriously.

  7. Hello!

    So....I searched the forum and no one seems to have an updated version of a mall. Well, worry no further friend. Use this script for your server, but I hope you do give me credit. Ah! Who am i kidding, of course you wont. /kis2

    Oh, and also, I include Headers, forgive my usage of notepads. I do not know how to group/script "Chatbox" NPCs in one notepad. If you guys know how, please do care to share/help. :)

    Thank you!
    Enjoy


    mall source: ratemyserver

    armory.txt

    pet.txt

    Weaponry.txt

    hgandcostumes.txt

    cards.txt

    Mall.txt

    • Upvote 2
    • Like 1
  8.  

    First off, Hello and I am truly grateful that this forum exists, without you guys I wont be able to pay Ragnarok offline Renewal,this is like waking up on Christmas morning.

    So, I just created my own server. my Errors so far are items in itemdb starting from #20018 onwards shows Unknown item(apple) in game and prompts an Error when i load my character. So, with that said, I tried finding solutions, I learned that you must have the correct files in specific folders.

    Now, please take a look at the pictures that I uploaded. Is this normal? Is there a solution for this? I know it must show names like ex. "¾ÆÀÌÅÛ" and so.

    Also, I am also curious with the app called Shoper v.3 that you use for making shops. I tried switching all the collection and small files, also the idnum2itemdesctable. But the shoper.exe wont open when I double click. Is this because my file names are blank squares?

    Thank you forum.

    PS. Sorry for my bad english. its my second language.

     

    Lol its simple. Follow these steps:

    1. Download Unbollox (google it) from ratemyserver.

    2. Click on it. Keep this file's URL as the file directory.

    3. Click on the blank boxes in the unbollox app. it will convert all back to how it should look.

     

    Holy Crap! That WAS simple. Thank you so much Sir.

     

     

    Try to update your iteminfo.lua.  If use .lub files rename it to .lub. From itemInfo.lua -> iteminfo.lub in your RO folder under system folder.

    If you use shopper.. change only the itemdb.txt for you to have an updated items. Don't change the other files only itemdb.txt Nevermind the other files such as the sprites. You don't need them. shopper wont load because the program was designed during the time of eAthena.

    Your system does not support korean language that's why you see blank square.

     

    I did update my iteminfo.lua. But, still from items #20018(Horo/Holo Ear) onward still gives me an Error.

    So I did what you said for the shoper, and it worked. Thank you man!

  9. First off, Hello and I am truly grateful that this forum exists, without you guys I wont be able to pay Ragnarok offline Renewal,this is like waking up on Christmas morning.

    So, I just created my own server. my Errors so far are items in itemdb starting from #20018 onwards shows Unknown item(apple) in game and prompts an Error when i load my character. So, with that said, I tried finding solutions, I learned that you must have the correct files in specific folders.

    Now, please take a look at the pictures that I uploaded. Is this normal? Is there a solution for this? I know it must show names like ex. "¾ÆÀÌÅÛ" and so.

    Also, I am also curious with the app called Shoper v.3 that you use for making shops. I tried switching all the collection and small files, also the idnum2itemdesctable. But the shoper.exe wont open when I double click. Is this because my file names are blank squares?

    Thank you forum.
    PS. Sorry for my bad english. its my second language.

    post-32369-0-81115700-1428902025_thumb.png

    post-32369-0-27121900-1428902036_thumb.png

    post-32369-0-49413300-1428902043_thumb.png

    post-32369-0-78743600-1428902049_thumb.png

    post-32369-0-04779900-1428902058_thumb.png

    post-32369-0-59335300-1428902064_thumb.png

    post-32369-0-70494700-1428902102_thumb.png

×
×
  • Create New...