Jump to content

IndieRO

Members
  • Content Count

    286
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by IndieRO

  1. i hope this system implement on hercules asap
  2. use nemo patcher http://herc.ws/board/topic/2905-nemo-client-patcher/page-1
  3. @@Legend can you give me some example to configuration coordinat x and y without array? and still connected with npc vending helper thxx
  4. I know this script is already good but does not match with map I use btw i use this map to vending area https://rathena.org/board/topic/67742-custom-vending-map/
  5. @@raPalooza~ finally you share it thx a lot
  6. i try use script vending control by emistry //===== eAthena Script ===================================== //= Vendor Control //===== By: ================================================ //= Original by Emistry //= Rewrite by AnnieRuru //===== Current Version: =================================== //= 1.0 //===== Compatible With: =================================== //= Hercules 2014-02-18 //===== Description: ======================================= //= Vendors only vend on certain coordinate, looks tidy //===== Topic ============================================== //= http://hercules.ws/board/topic/4509- //===== Additional Comments: =============================== //= Emistry would love his script rewritten by his master ? //========================================================== vend_zone,100,103,4 script Vending Helper 4_GEFFEN_13,{ mes "["+ strnpcinfo(1) +"]"; if ( !getskilllv( "MC_VENDING" ) ) { mes "You dont have ^0055FFVending Skill^000000."; close; } mes "Select a slot and start vending."; while ( true ) { .@menu$ = .@currentpage ? "Previous Page:" : ":"; .@pageindex = .@currentpage * .slotperpage; for ( .@i = 0; .@i < .slotperpage && .@pageindex + .@i < .count; .@i++ ) { if ( !getmapxy( .@map$, .@x, .@y, 1, "#vend_slot"+( .@pageindex + .@i ) ) && getareausers( .map$, .@x, .@y, .@x, .@y ) ) .@menu$ = .@menu$ +"Slot No."+( .@pageindex + .@i +1 )+" - ^FF0000[UnAvailable]^000000:"; else { .@menu$ = .@menu$ +"Slot No."+( .@pageindex + .@i +1 )+" - ^00CC00[Available]^000000:"; .@available++; } } if ( .@currentpage != .maxpage ) .@menu$ = .@menu$ + "Next Page"; .@pick = select( .@menu$ ) -1; if ( !.@pick ) .@currentpage--; else if ( .@pick == .slotperpage +1 ) .@currentpage++; else break; } .@s = .@currentpage * .slotperpage + .@pick -1 ; if ( !getmapxy( .@map$, .@x, .@y, 1, "#vend_slot"+ .@s ) && getareausers( .map$, .@x, .@y, .@x, .@y ) ) { mes " "; mes "This slot is ^FF0000[UnAvailable]^000000."; close; } warp .@map$, .@x, .@y; hideonnpc "#vend_slot"+ .@s; donpcevent "#vend_slot"+ .@s +"::OnCheckAvailable"; end; OnInit: // ======================= Configuration HERE ============================= .map$ = "vend_zone"; // map setarray .@x, 56,59,62,65,68,71,74,77,80,83,86,89,92,95,104,107,110,113,116,119,122,125,128,131,134,137,140,143; // x coordinates setarray .@y, 140,145,113,0; // y coordinates .slotperpage = 20; // display how many slots per page (prevent making the menu too long) // too many people said this script causes vendor cannot vend at all on the map, ( coordinates has set too near ) // because there is a setting in 'conf\battle\player.conf' to disallow player to vend too near other npcs setbattleflag "min_npc_vendchat_distance", 0; // comment this line to make the default value back to 3 freeloop 1; setcell .map$, 0,0, 500,500, cell_novending, 1; .@x_size = getarraysize( .@x ); .@y_size = getarraysize( .@y ); .@i = 0; while ( .@i < .@y_size ) { .@j = 0; while ( .@j < .@x_size ) { if ( checkcell( .map$, .@x[.@j], .@y[.@i], cell_chkpass ) ) { movenpc "#vend_slot"+ .count, .@x[.@j], .@y[.@i]; setcell .map$, .@x[.@j], .@y[.@i], .@x[.@j], .@y[.@i], cell_novending, 0; if ( getareausers( .map$, .@x[.@j], .@y[.@i], .@x[.@j], .@y[.@i] ) ) { hideonnpc "#vend_slot"+ .count; donpcevent "#vend_slot"+ .count +"::OnCheckAvailable"; } .count++; } .@j++; } .@i++; } .maxpage = .count / .slotperpage + ( .count % .slotperpage > 0 ) -1; end; } - script vend_slot -1,{ mes "[Vending Slot]"; getmapxy .@map$, .@x, .@y, 1; if ( !getskilllv( "MC_VENDING" ) ) { mes "You dont have ^0055FFVending Skill^000000."; close; } else if ( getareausers( .@map$, .@x, .@y, .@x, .@y ) ) { mes "Someone already using this slot"; close; } mes "Spot : ^777777Available^000000"; mes "^0055FF[ Vending Area Rules ]^000000"; mes "^FF0000 ~ Use proper Shop Name.^000000"; mes "^777777Player who failed to follow these rules will be punished.^000000"; unitwalk getcharid(3), .@x, .@y; hideonnpc strnpcinfo(0); donpcevent strnpcinfo(0)+"::OnCheckAvailable"; close; OnCheckAvailable: sleep 10000; getmapxy .@map$, .@x, .@y, 1; while ( getareausers( .@map$, .@x, .@y, .@x, .@y ) ) sleep 10000; hideoffnpc strnpcinfo(0); end; } // Add more if needed. vend_zone,0,0,4 duplicate(vend_slot) #vend_slot0 4_BULLETIN_BOARD2 it's possible to setting locate without using array just use spesific X and Y?
  7. @@True Zeal thx a lot it's fully working fine
  8. IndieRO

    Rebellion Skills

    hercules didn't support rebellion job until now
  9. is it possible the player get the item when change job if yes, can someone help me make this script how to produce : when player change job ex swordman player will get item spear (1404).. when player change job ex thief player will get item maingauche (1207)..
  10. @@raPalooza~ thanks a lot this is so awasome
  11. Hello friend, was seeing something in the function 'bindatcmd' and I made a change that I think you will like it, you will only need apply this change and all script commands will be read and show together in '@commands'. atcommand.c_v2.patch @@Cretino thx a loot bro
  12. what a client do you use? i can't produce that bug like what u say i use 20150513 everthing fine @@raPalooza~ btw can u share your costume cursor??
  13. It was already fixed a week or two ago, I just didn't leave any note here What's that item Id? Happens with all items? yes with all item id
  14. @@Mumbles hello, can u add menu request song for player?? like player can request new song for radio
  15. You must make 30 different cutin to make like that This is an example that I have created by myself https://dl.dropboxusercontent.com/content_link/ikSFpkBiQrEMHKmw4ELyKmGM2Plx8DngjRP8sa5KXCQeS2zqIj4BPTnY41Y9MJDm/file
  16. @@Dastgir i get error on report message seller https://www.dropbox.com/s/lvvyxwo9he0lvtx/screenHercules002.jpg?dl=0 how to fix unknown item?
  17. @@Quazi can u share again ur script? your link already dead please reupload thx
  18. i try to use instance pvp but i got error when implement this script this is problem on map server please somebody help me
  19. ohh i see thx yeah when player on affect decrease agility he got over speed
  20. how to produce : players get the effect dreacase agi then use the speed potions and then get over speed is it true speed potion is not affected on a skill dreacase agi?
  21. not ok to ignore, its constants used for scripts(if there's any script, like disguise), you see the 2 mob id's 1120 and 3188, having same name GHOSTRING, just change it. add a _, to avoid any more warnings. thx for your info very helpfull
×
×
  • Create New...

Important Information

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