Jump to content

jTynne

Members
  • Posts

    399
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by jTynne

  1. Client-side looks correct, so it must be something server-side. Are you using SQL? If so, you must put in an entry in your database. I'm not entirely certain if rA still has TXT based servers (haven't used it in nearly two years).

  2. Make sure you've edited the monster ID range inside /src/map/mob.h -- if you're using an older version of rAthena (latest trunk has a sufficient ID range for the mob #ID you're attempting to use). 

     

    #define MAX_MOB_DB 5000 in file, https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/mob.h -- If you need to increase this number, be sure to recompile and reboot your server, as it's a change to the source.

     

    If you haven't already, @reloadmobdb, and make sure your lua files now match the updated #ID for your Hellbat monster.

     

    You don't show where your sprite/act are located in your screenshots. Make sure they're located in data/sprite/¸ó½ºÅÍ/ -- If they're not already there, move them there/make a new folder at that path and place them there.

  3. Here's one example: vip_rental.txt

    Usage: (can be used in an item script or NPC script)

    { callfunc "F_VIPstart", <ticks>; }
    ticks = how long their VIP will last, in seconds
    • 1 day = 86400
    • 7 days = 604800
    • 14 days = 1209600

      etc.

    Example item script:
    55555,VIP_7day,VIP Membership (7 days),2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_VIPstart", 604800; },{},{}

    Damn near spot on for how I handle my VIP system on my server, haha. Highly recommended and easy to handle. :)

  4. Great work, paopao!

    What I typically do when I warp players who are dead, is under an OnPCDieEvent: label, I simply add something like..

    OnPCDieEvent:

    atcommand "@alive";

    sleep2 100;

    warp "map",x,y;

    end;

    As for the game match end.. I suppose that could be handled one of two or more ways: Storing player data in an array, then looping at the end of the match to distribute the rewards, or storing player data in an SQL table and then looping to reward each player.

  5. jTynne's @go Command Alternative In .txt Format!

    This is my custom alternative to @go that allows end users the ability to EASILY add/change @go locations on the fly without the need to edit any source files OR recompling/rebooting their server. This is a highly customizable script that is pretty straight-forward in its coding. You can easily add in or adjust existing @go locations in seconds.

    Please Note: This will replace the default @go command when loaded in-game!

    Instructions / Customization

    To use? Simply upload and @loadnpc the file in-game and @go will be modified. If you wish to add in a new @go location, all you have to do is add a new entry following the format noted below:

    if(@warp$ == "35" || @warp$ == "ecl" || @warp$ == "ecla" || @warp$ == "eclag" || @warp$ == "eclage") { callsub Process,"eclage",110,39,0,0; }

    if(@warp$ == "36" || @warp$ == "ser" || @warp$ == "sere" || @warp$ == "seren" || @warp$ == "serenglade") { callsub Process,"serenglade",34,82,0,0; }

    As noted in the text in red above, you add in a number higher than the current highest value (in the script currently, Eclage is 35, so to add in a custom location, simply add in a value of 36, customize the text based warp strings you want (for @go 36, in the above example, you can either use @go 36 or @go ser @go sere @go seren or @go serenglade, and all will teleport you to the same location of serenglade <34,82>).

    Planned for future releases:

    - Additional options GM's can set for the command in the header. (Re-use delay, price per use option)

    Version History : Current Version 2.0

    2.0 Dec 31st, 2012 : http://www.jtynne.com/rAthena/scripts/gobind_v2.txt

    1.0 Dec 29th, 2012: http://www.jtynne.com/rAthena/scripts/gobind.txt

    Please report any bugs you may find, and/or if you have any requests / suggestions for the script as a response to this thread. Thank you!

    (Please +1 me if you enjoy this script~)

    • Upvote 6
×
×
  • Create New...