Jump to content

Taylor

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by Taylor

  1. Hello everyone,

     

    Can someone help me what script to add to prevent players from abusing the reward npc in devil square event, they make their alt characters stay in the safe place until the end of event just to get extra rewards. Is it possible to kick out the players in the map if they are afk/not moving for atleast 2 minutes? Cause we have to check every players who joins DS event if they are actively participating, if not we need to recall them back to prontera everytime the event starts. I want it to auto kick the player back to prontera without giving them a warning.

     

    Please help what script to add. thank you.

     

    This is the script:

     


  2. Hello,
     
    Can someone help me with this script, cause everytime the event runs the guild owning it always break the emp. Cause even if you're the owner of the emp you can still break it and force kick the other guilds. Is there a way to fix the script so the guild owning it wont be able to break it again?    /hmm
     
    Tyvm.

    - script KoE -1,{
    OnInit:
    disablenpc "The King#KoE";
    disablenpc "Get Your Price Here#KoE";
    end;
    OnWhisperGlobal:
    if ( getgmlevel() < 99 ) end;
    else if ( compare ( @whispervar0$, "on" ) ) goto L_start;
    else if ( compare ( @whispervar0$, "off" ) ) goto L_end;
    else end;
    
    L_end:
    OnClock1300:
    OnClock2110:
    announce "The King of Emperium Hill is over!", 0;
    set .koe_start, 0;
    enablenpc "Get Your Price Here#KoE";
    disablenpc "The King#KoE";
    killmonsterall "guild_vs1";
    end;
    L_start:
    OnClock1200:
    OnClock2010:
    announce "The King of Emperium Hill has begun! Please proceed to prontera to join", 0;
    set .koe_start, 1;
    enablenpc "The King#KoE";
    disablenpc "Get Your Price Here#KoE";
    set $koegid, 0;
    donpcevent "::OnRevKoE";
    maprespawnguildid "guild_vs1", $koegid, 6;
    monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
    end;
    OnEmpDead:
    set $koegid, getcharid(2);
    announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0;
    donpcevent "::OnRevKoE";
    maprespawnguildid "guild_vs1", $koegid, 6;
    sleep 500;
    if ( .koe_start )
    monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
    end;
    }
    // KoE Entrance
    prontera,147,162,6 script The King#KoE 966,{
    mes "[The King]";
    if ( getcharid(2) == 0 ) {
    mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000.";
    close;
    }
    mes "Hello.";
    mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?";
    if ( select ( "Yes", "No" ) == 2 ) close;
    switch( rand(1,4) ){
    case 1: warp "guild_vs1", 50, 88; end;
    case 2: warp "guild_vs1", 88, 50; end;
    case 3: warp "guild_vs1", 50, 11; end;
    case 4: warp "guild_vs1", 11, 50; end;
    }
    }
    // KoE Exit
    guild_vs1,49,56,5 script Get Your Price Here#KoE 51,{
    mes "[ Exit ]";
    mes "See ya.";
    if ( getcharid(2) == $koegid )
    getitem 607, 20; // configure prize here
    next;
    warp "Save",0,0;
    close;
    }
    // Flags
    guild_vs1,49,38,4 script King of Emperium Hill#1::koe_flag 722,{
    set .@gid, $koegid;
    if ( .@gid == 0 ) end;
    mes "[King of Emperium Hill]";
    mes "The Current King of Emperium Hill is the ["+ getguildname(.@gid) +"] guild.";
    close;
    OnRevKoE:
    flagemblem $koegid;
    end;
    }
    guild_vs1,61,49,6 duplicate(koe_flag) King of Emperium Hill#2 722
    guild_vs1,38,49,2 duplicate(koe_flag) King of Emperium Hill#3 722
    guild_vs1,49,61,0 duplicate(koe_flag) King of Emperium Hill#4 722
    prontera,156,192,4 duplicate(koe_flag) King of Emperium Hill#5 722
    guild_vs1 mapflag gvg
    guild_vs1 mapflag nobranch
    guild_vs1 mapflag nomemo
    guild_vs1 mapflag nopenalty
    guild_vs1 mapflag noreturn
    guild_vs1 mapflag nosave SavePoint
    guild_vs1 mapflag noteleport
    guild_vs1 mapflag gvg_noparty
    guild_vs1 mapflag nowarp
    guild_vs1 mapflag nowarpto
    
  3.  

    Hi Taylor,

     

    Maybe I can help out, is there any possibility that you can do the @reloaditemdb while the "Harmony" is disabled? Do you have a setting to disable harmony? I don't have much knowledge with regards Harmony but if that was the case that it crashes every time you do the command and you can simply resolve it by doing that.

     

    Or another way is edit everything that you can edit in your item_db and then restart the server once you are done. This ways are simple but it might just require your patience as you would have to wait again for your server to get back on.

     

     

    Hi sir Red, yes I have a backup of the server without the harmony. And in the local server it doesnt have harmony @reloaditemdb is working very smoothly. Editing everything I can in one shot once a week, thats what I do, hehe. Yes I just wish I didnt purchase harmony without a lack of customer support on their part. The only problem when I remove harmony, It will require to create a new installer/patcher for the players again. I forgot to mention, im using SVN 17282   :)

     

    Im also starting to think of removing it, but I guess I have to finish my billing cycle cause I purchase a monthly harmony plan. But then still undecided/confused lol. I hope theres @reloaditemdb2 just like this one: http://trac.rathena.org/changeset/12662/rathena  .. So I can just add the command. 

     

    Thanks for the time.  ^_^

    Well it actually depends if the function of the @reloaditemdb is the one that is making your server crash and @reloaditemdb2 will have the same function.

    Well I guess I won't sign up for harmony because there are ways for you to prevent cheats in your server hehe. Anyway let me try and look at the @reloaditemdb2 hehehe. I'm not giving assurance but let me see what I can do, even though if some people will be able to read this and they have a solution they'll post it. :)

     

    GL.

     

     

    Thanks sir I really appreciate it.  :)

  4. Hi Taylor,

     

    Maybe I can help out, is there any possibility that you can do the @reloaditemdb while the "Harmony" is disabled? Do you have a setting to disable harmony? I don't have much knowledge with regards Harmony but if that was the case that it crashes every time you do the command and you can simply resolve it by doing that.

     

    Or another way is edit everything that you can edit in your item_db and then restart the server once you are done. This ways are simple but it might just require your patience as you would have to wait again for your server to get back on.

     

     

    Hi sir Red, yes I have a backup of the server without the harmony. And in the local server it doesnt have harmony @reloaditemdb is working very smoothly. Editing everything I can in one shot once a week, thats what I do, hehe. Yes I just wish I didnt purchase harmony without a lack of customer support on their part. The only problem when I remove harmony, It will require to create a new installer/patcher for the players again. I forgot to mention, im using SVN 17282  :)

     

    Im also starting to think of removing it, but I guess I have to finish my billing cycle cause I purchase a monthly harmony plan. But then still undecided/confused lol. I hope theres @reloaditemdb2 just like this one: http://trac.rathena.org/changeset/12662/rathena  .. So I can just add the command. 

     

    Thanks for the time.  ^_^

  5. Hello,

     

    Im having problem with @reloaditemdb since I purchased harmony the mapserver crashes when I use it. I was advised to contact harmony, But then still no response from them for a month. I keep sending them a msg with all the info they may need, but I guess I'll just give up on contacting them.

     

    My request is that, can anyone give me a source code similar to @reloaditemdb function like @reloaditemdb2 or something like that??  maybe its a better idea than to contact harmony and hope for nothing. 

     

    Please help  /sob  Thanks in advance.

     

     

  6. Hello,

     

    Can someone please help me make NPC that gives 60,000 Cash Points every 24 hours. Can give one character per account and is IP based. Players just have to click on it every day, npc will say "Hi [player name], this is your free cash points for today." Something like that. 

     

    Thanks in advance.  :)

  7. Hello Feefty,

     

     I'm really happy to use your addon, i have configured everything that I can (to the best of my knowledge) and all seems to be working except after I vote the image didn't change and the Vote Now didn't start the countdown. The thing is there's no error on the error log so i'm kinda lost. Hope you can help me with this.

  8. Hi, please help me balance warlock skill combo damage. I dont know what to do and where to edit the source.

     

    Heres my prob.

    a. If the warlock use Frosty Mist + Jack Frost skills at the same time, it can onehit kill the player. 

    b. also same as Frosty Mist + Earth Strain skills, can onehit kill the player.

     

    Do you think I only have to edit the Frosty Mist skill effect? and How? 

     

    Please help me. Thanks in advance.

  9. Hello rAthena,

     

    I'm getting server error when I go to "Vote for Points" on my website. Upon checking the error logs i found this...

     

    PHP Fatal error: Call to a member function points() on a non-object in /home/xxXXXxx/public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 32

     

    Please help.

     

    Thanks in advance...

  10. Hello, Im having trouble with my @reloaditemdb command, since I purchased harmony, it exits the mapserv everytime I execute the command. So whenever I test some items I still need to wait at night when there are a few players playing to reset the server just to change a single item effect lol.

     

    If anyone has an idea on how to fix this in harmony settings, please help me. Thanks in advance.

  11. just  copy rathena' s specific code  here

     

    I think  that  should work

     

     

    You've helped me alot Maam sorellina, thanks so much. First, I tried to delete all the lines that is related to the costume system, and at the end, I was able to fix the ammunition and the costume system altogether. Ty so much maam +rep  /thx   :)

  12. try to remove  EQI_MAX_BONUS = 10,  and recompile

     

     

    Maam we're getting this error upon recompiling:

     

    2mc7nyt.jpg

     

     

    here is my current enum equip_index and enum equip_pos

     

    enum equip_index {
        EQI_ACC_L = 0,
        EQI_ACC_R,
        EQI_SHOES,
        EQI_GARMENT,
        EQI_HEAD_LOW,
        EQI_HEAD_MID,
        EQI_HEAD_TOP,
        EQI_ARMOR,
        EQI_HAND_L,
        EQI_HAND_R,
        EQI_COSTUME_TOP,
        EQI_COSTUME_MID,
        EQI_COSTUME_LOW,
        EQI_COSTUME_GARMENT,
        EQI_AMMO = EQI_MAX-1,
        EQI_MAX
    };
     

    enum equip_pos {
        EQP_HEAD_LOW         = 0x0001,
        EQP_HEAD_MID         = 0x0200, //512
        EQP_HEAD_TOP         = 0x0100, //256
        EQP_HAND_R           = 0x0002, //2
        EQP_HAND_L           = 0x0020, //32
        EQP_ARMOR            = 0x0010, //16
        EQP_SHOES            = 0x0040, //64
        EQP_GARMENT          = 0x0004, //4
        EQP_ACC_L            = 0x0008, //8
        EQP_ACC_R            = 0x0080, //128
        EQP_COSTUME_HEAD_TOP = 0x0400, //1024
        EQP_COSTUME_HEAD_MID = 0x0800, //2048
        EQP_COSTUME_HEAD_LOW = 0x1000, //4096
        EQP_COSTUME_GARMENT  = 0x2000, //8192
        //EQP_COSTUME_FLOOR  = 0x4000,
        //EQP_SHADOW_ARMOR   = 0x10000,//Shadow equip slots will be left disabled until client's supporting them are usable. [Rytech]
        //EQP_SHADOW_WEAPON  = 0x20000,
        //EQP_SHADOW_SHIELD  = 0x40000,
        //EQP_SHADOW_SHOES   = 0x80000,
        //EQP_SHADOW_ACC_R   = 0x100000,
        //EQP_SHADOW_ACC_L   = 0x200000,
        EQP_AMMO             = 0x8000, //32768
    };

     

  13. Maam here is the part you're looking for:

     

    //Equip position constants
    enum equip_pos {
    EQP_HEAD_LOW = 0x0001,
    EQP_HEAD_MID = 0x0200, //512
    EQP_HEAD_TOP = 0x0100, //256
    EQP_HAND_R = 0x0002, //2
    EQP_HAND_L = 0x0020, //32
    EQP_ARMOR = 0x0010, //16
    EQP_SHOES = 0x0040, //64
    EQP_GARMENT = 0x0004, //4
    EQP_ACC_L = 0x0008, //8
    EQP_ACC_R = 0x0080, //128
    EQP_COSTUME_HEAD_TOP = 0x0400, //1024
    EQP_COSTUME_HEAD_MID = 0x0800, //2048
    EQP_COSTUME_HEAD_LOW = 0x1000, //4096
    EQP_COSTUME_GARMENT = 0x2000, //8192
    EQP_AMMO = 0x8000, //32768
    //EQP_COSTUME_FLOOR = 0x4000,
    //EQP_SHADOW_ARMOR = 0x10000,//Shadow equip slots will be left disabled until client's supporting them are usable. [Rytech]
    //EQP_SHADOW_WEAPON = 0x20000,
    //EQP_SHADOW_SHIELD = 0x40000,
    //EQP_SHADOW_SHOES = 0x80000,
    //EQP_SHADOW_ACC_R = 0x100000,
    //EQP_SHADOW_ACC_L = 0x200000,
    };

     

     

     

     

    enum equip_index {
        EQI_ACC_L = 0,
        EQI_ACC_R,
        EQI_SHOES,
        EQI_GARMENT,
        EQI_HEAD_LOW,
        EQI_HEAD_MID,
        EQI_HEAD_TOP,
        EQI_ARMOR,
        EQI_HAND_L,
        EQI_HAND_R,
        EQI_MAX_BONUS = 10,
        EQI_COSTUME_TOP,
        EQI_COSTUME_MID,
        EQI_COSTUME_LOW,
        EQI_COSTUME_GARMENT,
        EQI_AMMO,
        EQI_MAX

    };

  14. Did you update? >_>

     

    It works just fine in the most recent revision.

     

    Okay sir i'll update the svn today, I just waited for some answers if theres any quick solution. I'll update here if I was able to fix it or not. Thanks for the advise sir michael.

  15. If I remember right, it was a problem with ammo being declared the wrong type.

     

    Try updating, and see if you still have the problem.

     

     

    Sir michael, i've just found out that all the ammunitions are not working. All weapons are working except those weapons that needs ammunition. Like GS gun, bow, ninja. I dont know what do.. T__T Please help, is this still svn problem or should I check some source mod to fix it ?   /sob  

    Screenshot:

     

    2mot3r4.jpg

  16. Previous topic: jobs using bow cannot attack

     

    Hi, please help me. It seems that any job class using bow weapon cannot attack. Ive already tried alot of bow weapons and arrows but still telling me to equip an arrow. Here is the screenshot:

     

    2lo2994.jpg

     

    Now all the archer class are just using knife. Please help. 

×
×
  • Create New...