Jump to content

Mastagoon

Members
  • Posts

    63
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Mastagoon

  1. here you go :

     

    -   script  max_castle_guild_members    -1,{
    
    OnInit:
        //settings here
        setarray .maps$, "prtg_cas01","prtg_cas03"; // insert your woe castles here
        .max_members_in_castle = 15;    // set the maximum number of guild members in a castle
     
        //don't edit this
     
        for(.@i = 0; .@i < getarraysize(.maps$); .@i++) {
            if(!getmapflag(.maps$[.@i], mf_loadevent)) setmapflag .maps$[.@i], mf_loadevent;
        }
        end;
     
    OnPCLoadMapEvent:
        if(inarray(.maps$, strcharinfo(3)) == -1 || ) end;
        if(getmapguildusers(strcharinfo(3), getcharid(2)) > .max_members_in_castle) {
            dispbottom "There can only be "+.max_castle_guild_members+" guild members inside a castle during woe.";
            warp "SavePoint",0,0;
        }
        end;
    }

     

  2. Hello everyone.

    i was using my RO server on debian OS with no problems, until yesterday i lost the ability to run the server using ./athena-start

    whenever i use ./athena-start start i get the following error:

    not-exist.png

    i did a ./configure && make clean && make server, there doens't seem to be any errors

    compile.png

     

    i tried cloning a fresh clean rathena from github, i did a make clean & make server and i'm getting the same error

    this is what my clean athena directory looks like:

    ls.png

     

    notes:

    all the screenshots are from a fresh athena server, there are no modifications at all

    when i tried using ./atena-start and then start, i get this error instead:

    weird-error.png

     

    any help would be appreciated, thank you.

×
×
  • Create New...