Jump to content

Garkor

Members
  • Posts

    69
  • Joined

  • Last visited

Community Answers

  1. Garkor's post in [Thor Patcher] Notices box was marked as the answer   
    http://fs2.directupload.net/images/150404/v4i3cfcf.jpg
     
    Best regards,
    Garkor
  2. Garkor's post in (Hercules SVN) Custom Maintown Go 0 Adden was marked as the answer   
    If you change this you'll need to add your custom map on the map_index.h too.
     
    Replace:
    { MAP_PRONTERA, 156, 191, 3 }, // 0 = Prontera with this:
    { MAP_MAINTOWN, 181, 76, 3 }, // 0 = Maintown And after:
    { MAP_ECLAGE, 110, 39, 3 }, // 35 = Eclage add this:
    { MAP_PRONTERA, 156, 191, 3 }, // 36 = Prontera The lines:
    if (strncmpi(map_name, "morroc", 4) == 0) { // Correct town name for 'morocc' town = 1; } are only need if your map have more than one name.
    Example: @go maintown, @go main, @go home and @go 0. But you'll doesn't need this.
     
    Best regards,
    Garkor
  3. Garkor's post in Only 2 people are allowed in the map was marked as the answer   
    If you want to use a npc which can check this. You can add this line before warp to the map:
    if (getmapusers("prontera") >=2){ mes "Too much players on the map!"; close; } Or if you want to check the map without using npc. You can try this:
    - script PronLimitation -1,{ OnInit: end; OnPCLoadMapEvent: if (getmapusers("prontera") >=2 && strcharinfo(3) == "prontera"){ mes "The max. player limitation is 2 player."; close2; warp "geffen",11,11; end; } } prontera mapflag loadevent I hope it can help you.
     
    Best regards,
    Garkor
×
×
  • Create New...