Jump to content

rans

Members
  • Content Count

    358
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by rans


  1. Hi guys,

    So i use the Rocred + last mac patch to record the last mac to sql.

     

    what i want to happen is when entering a map (for example geffen) i want to kick all dual client (Dual client will be Determined with last ip address AND last mac address.)

    and also i wanted to put a Max of 2 clients only (for the whole server) probably a OnPCloginEvent script will do but i am no good when it comes to Sql scripts. Thank you.

     

    Found this Script in rA forum but it does not check for the last ip. it only check for last mac. anyone can edit it? thanks

     

    http://pastebin.com/zVgrng1a


  2. @@Alexandria rocred is not an updater, but a login tool :P

     

     

     

    @Topic

    Updated it to the latest Hercules source code (as of the date of this post) and changed patch format to Git compliant, and added some mirrors.

     

    Its confusing me. is this working or no? the First line of this topic is "it is not working" 

    please edit if its working now. TY


  3.  

     

     

     

    thumb-03d8fea19e1e968295907b2db829d8ea-sFile Name: Devil's Square Nightmare-Mode (@editds, @disableds, @repeatds!)

    File Submitter: Aeromesi

    File Submitted: 28 Jul 2016

    File Category: Events & Games

     

     

    Devil Square [Nightmare-Mode]

    (Special thanks to: IeYaseru (Old friend who gave me a DS script I reinvented)=============================================================================================================

     

     

    Description:

    In this version of Devil's Square, once the amount of players have joined, that's it.

    You won't be able to continue going back inside of Devil Square once you die, after entering and Devil Square starts, it will be closed.

    All other players won't be able to join, and it's up to all the players to either complete Devil Square or die and not be able to come back in.

    If no players enter in the timeframe, it will cancel out the event.

    Also counts up the Max amount of Users when they enter Devil's Square. Once the Max Users have been established, no one else can join, and then it's just up to that team of people!

    Once all the Players have died and warped out of the event, it will announce that all the users who entered have failed Victory in Devil Square, and the event will be reset.=============================================================================================================

     

    Difference in Type 2:

    Description:

    In this version when you die and get warped out, if you hurry up you'll be able to come back into Devil Square again.

    NOTE: You WILL have to REPAY the amount of Zeny to re-enter.

    Since players can die, and repay/pay at anytime to join inside the event, there's no need to cancel out the event if no one joins.

     

    New Additions to Revision 5 (For Type 1 And Type 2):

    Created commands:

    @disableds - Allows you to disable Devil Square whenever you want (This feature is also inside of the NPC!)

    @repeatds - Allows you to repeat the Devil Square on the go. (This feature is also inside of the NPC!)

    @editds - Allows you to edit, or as I put it "Over Ride" the settings in the OnInit: inside of [DS] Organizer::DSORG

    Changes happen in the menu whether the event is active or not. If it's active it will allow you to disable or go to the Player Menu, if it's unactive it'll ask if you want to Start Devil's Square.

    Basically redesigned a lot of the aspects of the script, beforehand it didn't even work, and had errors upon errors.

    Made the script to be flexible and totally configurable!

    Future additions/ideas: Add the ability to also edit the mob data for each Round as well as the MvP list.

    Also before hand if it was <= 5 users it would only spawn 8 Treasure Chests, otherwise it would spawn 16. Now you can choose as much as you want!

    When a GM is editing an option inside of Devil's Square, another GM cannot edit an option until that GM is done editing an option via `@editds`.

     

    NOTE: Not every Treasure Chest is the same either!

     

    Click here to download this file

    hi i found some bugs on your script

    1. i used @killmonster and round 2 began but there isnt a single monster around

    uIQIsv1.jpg

     

     

    2. The time is isn't on minutes.

    TlunH6v.jpg

     

    The monster is spawn not only on the center side. try looking at the side (use the portals)

     

     

    @Aeromesi Hi, i don't understand the

    if(gettime(3) % 2)		end;

    what does it do? I'm tempted to removed this cause it screw my timings. but i think its important? can you tell what is the use of that?


  4.  

    replace this code

    // Nothing stripped.
    			if (sd && !rate)
    clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
    

    to

    // Nothing stripped.
    if (sd && !rate){
          int item_id = 7139; // Glistening Coat
          int ii;
          ARR_FIND(0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id);
          if (ii < MAX_INVENTORY) {
             pc->delitem(sd, ii, 1, 0, 0, LOG_TYPE_CONSUME);
          }
          clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
    }
    

    This script of yours is not from dastgir's Plugin


  5. Hi, my server just crash any possible reason? i'm using latest git ver.
    the only error i see in map-server before the crash is this

    [Error]: skill.c:12179: 'bst' in function `skill_unit_onplace_timer'
    [Error]: ./map-server(assert_report+0x78) [0x82855b8]
    [Error]: ./map-server(skill_unit_onplace_timer+0x440) [0x81fe6e0]
    [Error]: ./map-server(skill_unit_timer_sub_onplace+0xae) [0x820853e]
    [Error]: ./map-server() [0x8143db6]
    [Error]: ./map-server(map_foreachinshootrange+0x34) [0x814d194]
    [Error]: ./map-server(skill_unit_timer_sub+0x28a) [0x820c81a]
    [Error]: ./map-server() [0x827c682]
    [Error]: ./map-server() [0x827bf23]
    [Error]: ./map-server(skill_unit_timer+0x3e) [0x820864e]
    [Error]: ./map-server(do_timer+0x276) [0x8289cf6]
    [Error]: --- end nullpo info ----------------------------------------
    
×
×
  • Create New...

Important Information

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