Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Posts posted by Dastgir


  1. -   script  VIP script  FAKE_NPC,{
    
    OnPCLoginEvent:
        if (#AccountVIP >= gettimetick(2)) {
            ModExp = 100;
            ModDrop = 100;
        } else if (getgroupid() == 2)  {
            ModExp = 150;
            ModDrop = 150;
        }
        end;
    
    
    }
    
    function    script    F_TicketAddVip_3    {
        #AccountVIP = gettimetick(2) + (60*60*24*3);
        ModExp = 150;
        ModDrop = 150;
        mes "[ ^990099Geovani^000000 ]";
        mes "You received 3 days of VIP Account!";
        close;
    }

    Try this


  2. On 11/28/2019 at 10:53 PM, FleXx said:

    Hi Herc,

    I have a House System on my Server. I added a Kafra there with a savepoint.

     

    What im searching for is:

    When i release the House everyone should get a new savepoint.

    I got some help from someone with query sqL:

    query_sql("UPDATE `char` SET `save_map`='prontera', `save_x`='156', `save_y`='191' WHERE `char_id`='"+getcharid(CHAR_ID_CHAR, getd("$house" + getarg(0) + "_user$"))+"'");

     

    But this does not work. And even if it will work its only for the owner of the house who release the House.

    Could anyone help me out?

     

    Thank you

    ~cheers

    
    *savepoint("<map name>", <x>, <y>)
    
    This command saves where the invoking character will return to upon
    'return to save point', if dead or in some other cases. The two versions
    are equivalent. Map name, X coordinate and Y coordinate should be
    perfectly obvious. This ignores any and all map flags, and can make a
    character respawn where no teleportation is otherwise possible.
    
    	savepoint("place", 350, 75);

    so use this to alter the save point of character if player is online:

    savepoint("prontera", 156, 191)

     


  3. 6 hours ago, Psyz said:

    trocar armas gloriosas por distintivos?

    O sistema de happy hour pode colocar ou será colocado na fonte ou npc?

     

    Um ótimo roteiro já grato!

     

     

     

    Como se estivesse definido no eamod (common.txt):

      Reveal hidden contents

    // Happy Hour do BattleGround

    OnDoHappyHour:
      OnClock1600:
      OnClock1800:
      OnClock2000:
      OnClock2200:
      switch (gettime (4))
      {
      caso 1:
      caso 3:
      caso 5:
      if (gettime (3)> = 20 && gettime (3) <22)
      {
      anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
      setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
      setbattleflag "bg_ranked_mode", 1;
      fim;
      }
       
      if (gettime (3) == 22)
      {
      anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
      setbattleflag "bg_reward_rates", 100; // Taxas normais
      setbattleflag "bg_ranked_mode", 0;
      fim;
      }
      quebrar;
      caso 2:
      caso 4:
      caso 6:
      if (gettime (3)> = 16 e& gettime (3) <18)
      {
      anunciar "- O Happy Hour do campo de batalha foi iniciado | Modo Arena Classificado -", 0,0x00FF00;
      setbattleflag "bg_reward_rates", 120; // + 20% de taxas de recompensa
      setbattleflag "bg_ranked_mode", 1;
      fim;
      }
       
      if (gettime (3) == 18)
      {
      anunciar "- O Happy Hour do campo de batalha acabou | Modo Arena Regular -", 0,0x00BFFF;
      setbattleflag "bg_reward_rates", 100; // Taxas normais
      setbattleflag "bg_ranked_mode", 0;
      fim;
      }
      quebrar;
      }
      fim;
     

    }

       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
     

     

    Can you please use english in this topic?


  4. On 11/9/2019 at 7:40 AM, tyrolanuthmatar said:

    I've just followed a mixture of these guides Guide 1 and Guide 2 to try and get Hercules running a local Rag server on a in house Debian 8 sever I have.  Everything seems to be setup correctly, but when I try to start athena, it just sits and waits on the Awaiting maps from map-sever, but never moves passed it.  I do notice an error in the conf/map/map-server.conf:2 - syntax error, but I'm not seeing anything related in the map-server.conf that might be failing.  Any thoughts?  Let me know if you need any other files (I'm new to this).

     

    Your map-server is not started.

    Start map-server separately and show the logs, we can help you that way


  5. 7 hours ago, Caspian said:

    Battleground mode:

    Name: Battleground -- Treasure Hunt --

    Map: dew_fild01

    89hTr8T.png

    In the image there are two suggestions where the blue and red team might born. (Their Base)

    Objetives:

    > The teams have to find the Treasure Chest on the map and kill it. 

    > When you kill the Treasure Chest your team make 1 point. 

    > The Treasure Chest is born in a random spot anywhere on the map.

    > The Treasure Chest has 200 HP(or more perhaps). And everyone hits 1 on it.  (So the teams have the change to find it and fight against each other while someone is breaking it)

    > After killing it, the teams are teleported back to their base and the Treasure Chest is born again anywhere on the map and your team have to find it again.

    > The first team that make 3 Points wins the Battleground. 

    I hope I was clear.

    Treasure sprite:

    GrXYZlu.png

     

    This seems more like a hide and seek event rather than BG mode


  6. 28th October 2019 Update:

    dDelays is available for purchase. Introductory Offer would last for a week

    Site

    https://ddelays.dastgir.tech/
    Price

    Introductory Offer:

    Weekly: 1.25$

    Monthly: 5$ 

    Quarterly: 18$

    Beta Date 27th October 2019 (Sunday)
    Payment Method PayPal / PayTM / Others(Message in discord)

    Discord

    For Any kind of support/question/payment related query: https://discord.gg/sb4mkdH
    Emulators Hercules (Fully Supported). Other Emulator Support coming by 3rd November 2019 (Sunday)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.