Jump to content

mrlongshen

Members
  • Content Count

    1126
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Upvote
    mrlongshen got a reaction from CharlesKa in Obtaining Hercules   
    why there are rathena and zones folder here ?
    with 1 should i use ?
  2. Upvote
    mrlongshen got a reaction from Disgaea in The 2011 Server that will finally be true   
    Nice. Good luck !
  3. Upvote
    mrlongshen reacted to Litro in Multi selection reward   
    it missing ';' like the script parser showed you on line 7
    change
    .@menu$ = "Loyal Reward:" into
    .@menu$ = "Loyal Reward:"; from what i understand from your request is when player click the npc, the npc will show the list reward he can claim, after the reward claimed the menu will be hidden or removed
     
    if you want to add more case on it my be some thing like this
    gonryun,162,126,4 script Event Reward 4_F_OPERATION,{ if (.error) { mes "Script Configuration Error Please Fix it"; close; } while(1) { .@menu$ = ""; for (.@i = 0; .@i < getarraysize(.reward_menu$); ++.@i) { if (getd(.reward_var$[.@i])) .@menu$ += ":"; else { .@menu$ += .reward_menu$[.@i]+":"; .@[member=check] = 1; } } if (!.@[member=check]) { mes "There is no more reward you can redeem."; close2; emotion e_bzzz; end; } mes "Please select which reward you want to redeem"; next; .@select = select(.@menu$); switch(.@select) { default: mes "Error On: "+.reward_menu$[(.@select-1)]+" did not have a case label"; close; case 1: getitem 607,1; break; case 2: getitem 607,1; break; } setd .reward_var$[(.@select-1)], 1; } OnInit: setarray .reward_menu$, "Loyal Reward", "LoL Reward"; setarray .reward_var$ , "#Loyal_Reward", "#LoL_Reward"; if (getarraysize(.reward_menu$) != getarraysize(.reward_var$)) .error = 1; end; }
  4. Upvote
    mrlongshen reacted to Asheraf in Downgrade hercules svn before using .conf   
    http://herc.ws/board/topic/2954-item-db-file-structure-overhaul/
    http://herc.ws/board/topic/10913-mob-db-file-structure-overhaul/
  5. Upvote
    mrlongshen reacted to Omnipotent in Item Evolution System   
    Item Evolution System
     
     
    Hello! It has been a lot of time since I don't make a release. One of the most important reasons is my laziness to do a topic. But I tried to fight against it and here I am.
    This is an old script. It was very ugly in the past (now it's just ugly and has been optimised). I tested it a good amount of times and I didn't found any bugs in my tests.
     
     
    What does this script do?
    It can evolve equips when you kill an amount of monsters, or gather experience from them. You can request aditional types if you want. I could update this... probably.
     
     
    How to configure?
    Well, I like to think the config is easy, but I don't really know. You can add items by using callsub Ids. The structure is like this:
    callsub Ids, ID 1, evolution mode 1, mob id 1, amount to advance 1%, ID 2..., mob id 2... and so. Every entry is a different evolving line which can consist of... 10 items if you like (i.e. Poring Wings -> Super Poring Wings -> Mega Poring Wings -> God of Poring Wings, and so).
    The evolution modes, as of now, are the next:
    1 = Every X amount of mobs 2 = Every x amount of experience You can also define if the evolution itself is handled by the system or you have some quest in mind with the .auto variable.
     
     
     
    Screenshots



     
     
     
    So, enjoy the script.
     
     
    Mirror: http://pastebin.com/dl/6xk49UED
     
     
    Note: the idea itself comes from Pow Supremacy. Credits to them.
    Items_Evo.txt
  6. Upvote
    mrlongshen reacted to ecrow in Downgrade hercules svn before using .conf   
    This is a good question for those learning Git. If I understand correctly: you pulled the latest Hercules update and want to go back.
    Terminology wise, SVN is different from Git. SVN is Subversion; which is an alternative to Git.
     
    Here's the Git command you're looking for:
    (remember to cd into where ever you cloned your Hercules repository)
    git checkout <branch or commitid> I can't tell you where or when that change was made, since I'm very new to this project. You can do some research if you use:
    git log --follow <path to file> Hercules Github might have an easier to read interface for checking the logs.
  7. Upvote
    mrlongshen got a reaction from anjasoleil0 in Most stable 2015 client?   
    Yes you can use 2015.
    Here the link. http://herc.ws/board/topic/9600-2015-05-13aragexe-release/
    Its stable enough to run. 
     
    Wah ..
    What do you means by 
     
  8. Upvote
    mrlongshen reacted to Ridley in Status Ailments   
    File Name: Status Ailments
    File Submitter: Ridley
    File Submitted: 06 Jul 2016
    File Category: Sprites & Palettes
     
    Due to a recent question: This file will add the text to the negative status.
    Add it to your data\sprite\ÀÌÆÑÆ®

    Click here to download this file
  9. Upvote
    mrlongshen reacted to Asheraf in All monster drops specific item with blacklist mobs   
    .@item = callfunc("F_Rand", Apple, Jellopy, Garlet);
    getitem(.@item, 1);

  10. Upvote
    mrlongshen reacted to Ridley in All monster drops specific item with blacklist mobs   
    you can use f_rand function
     
    - script dropnpc FAKE_NPC,{ OnNPCKillEvent: if (rand(1000) > 50) // 5% end; dispbottom("Happy Halloween!"); getitem(callfunc("F_Rand", Apple, Banana, Red_Potion, Orange_Potion), 1); end; }  
    edit: asheraf was faster
  11. Upvote
    mrlongshen reacted to Ridley in Simple usable item   
    It should remain unlimited (item type 11)
    This is only consumed if you use itemskill command
  12. Upvote
    mrlongshen reacted to Ridley in Simple usable item   
    {
    Id: 12345
    AegisName: "Refined_Wing_Of_Butterfly"
    Name: "Refined Butterfly Wing"
    Type: 11
    Trade: 9
    Script: <"
    sleep2 75; warp "SavePoint", 0, 0;
    ">
    },
    {
    Id: 23456
    AegisName: "Refined_Wing_Of_Fly"
    Name: "Fly Wing"
    Type: 11
    Trade: 9
    Script: <"
    sleep2 75; warp "Random", 0, 0;
    ">
    },

  13. Upvote
    mrlongshen reacted to Ridley in Simple usable item   
    Yes it just adds a small delay to prevent several issue which mostly occured by spamming those items.
    I edited my previous post and added the one for Bwing. 
     
    Using these items since years now like this
  14. Upvote
    mrlongshen reacted to Garr in Overwrite item price in ragnarok   
    1) Just open SDE
    2) Open item db
    3) Use "[type] 6" as filter
    4) Select 1 card, then ctrl+A
    5) Edit sell & buy price on the right window (it will edit ALL selected items)
    6) Save
    7) ...
    8) Profit!
  15. Upvote
    mrlongshen reacted to Cretino in Custom Display @command   
    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
  16. Upvote
    mrlongshen got a reaction from Cretino in Custom Display @command   
    @@Cretino Oh I see. Thanks for your help sir ! I wish one day you will become herc.ws source dev 
  17. Upvote
    mrlongshen reacted to Aeromesi in [Event] Easter Egg Hunt - HAPPY EASTER HERCULES!   
    File Name: [Event] Easter Egg Hunt - HAPPY EASTER HERCULES!
    File Submitter: Aeromesi
    File Submitted: 26 Mar 2016
    File Category: Events & Games
     

    File Name: [Event] Catch the Easter Egg Hunt Event - HAPPY EASTER HERCULES!
    File Submitter: Aeromesi
    File Submitted: 26 Mar 2016
    File Category: Events & Games
     
    [Event] Catch the Easter Egg Hunt
     
    So, what exactly is my
    Easter Egg Hunt Event?
    What it does: After configuring, 50 Gold, 50 Silver, and 50 Normal eggs spawn in Prontera. They all move at a decent speed. Normal/Silver eggs move at the SAME Speed, but Gold eggs move faster! They contain the better reward so you better have good coordination!
     
    All begins with '@egghunt
    ' command. Able to start off by creating Easter Egg Hunt settings. Able to disable or delete the setup to start configuring new treasure hunter event. (Note: It will be able to tell if created or event is active.)
    When setting up you input:
    Input GOLD and SILVER egg ID/Amounts for REWARDS.
    '@repeategghunt
    ' - Allows you the GM to repeat the previous Easter Egg Hunt setup you made!
     
     
    '@joinegghunt
    ' - Allow player to warp to the designated map where event is being held.
     
     
     
    3 Simple commands to control the whole Easter Egg Hunt
     
    Event.
     
     
    Enjoy <3 (Download Attachment)
     
     
    Here's some screenshots btw:
    For player to click Easter Egg Hunt to see if event is active and what details you put:
     
     
     

     
     
    Click here to download this file
     
    Click here to download this file
  18. Upvote
    mrlongshen reacted to Cretino in Custom Display @command   
    To add the custom commands to '@commands', you'll have to make a change in the source, if you want do to in script, you have to create a command using the function 'bindatcmd' (see more in 'doc/script_commands.txt') and put your custom commands.
     
    If you want the source modification example.
    Here is:
    atcommand.c.patch
     
    Sorry for my english, I only understand a little of english.
  19. Upvote
    mrlongshen got a reaction from hyvda in Masao(Shopstreet) - Original Mall Script problem   
    new_zone02,182,182,5 script Costume Seller 790,{ mes "[Costume Seller]"; mes "Welcome to ^FF0000 Ragnarok Online^000000 ^000088Costume Shop^000000."; mes "Hello there ^FF0000" + strcharinfo(0) + "^000000."; mes "I'm selling various of costume, It's very nice to makeup and change your personallity."; mes "..."; mes "Please select what you want:"; next; switch(select("Costume Headgear:Costume Misc:Combo Set:Nothing")) { close2; case 1: switch(select("Upper:Middle:Lower")) { case 1: callshop "Upper", 0; end; case 2: callshop "Middle", 0; end; case 3: callshop "Lower", 0; end; } case 2: switch(select("Normal Eggs:Custom Eggs:Job Figures")){ case 1: callshop "Normal Eggs", 0; end; case 2: callshop "Custom Eggs", 0; end; case 3: callshop "Job Figures", 0; end; } case 3: switch(select("Angel Sets:Novice Sets:Wizard Sets:Ninja Sets:Bakunawa Sets:Ranger Sets:High Wizard Sets:Captain Sets:Rebellion Sets:Warlock Sets:Golden Sets:Acolyte Sets:Assasin Sets:Rune Knight Sets:Priest Sets:High Priest Sets:Sinx Sets:White Sets:Vk Sets")){ case 1: callshop "Angel Sets", 0; end; case 2: callshop "Novice Sets", 0; end; case 3: callshop "Wizard Sets", 0; end; case 4: callshop "Ninja Sets", 0; end; case 5: callshop "Bakunawa Sets", 0; end; case 6: callshop "Ranger Sets", 0; end; case 7: callshop "High Wizard Sets", 0; end; case 8: callshop "Captain Sets", 0; end; case 9: callshop "Rebellion Sets", 0; end; case 10: callshop "Warlock Sets", 0; end; case 11: callshop "Golden Sets", 0; end; case 12: callshop "Acolyte Sets", 0; end; case 13: callshop "Assasin Sets", 0; end; case 14: callshop "Rune Knight Sets", 0; end; case 15: callshop "Priest Sets", 0; end; case 16: callshop "High Priest Sets", 0; end; case 17: callshop "Sinx Sets", 0; end; case 18: callshop "White Sets", 0; end; case 19: callshop "Vk Sets", 0; end; } end; case 4: mes "[ Quick Mall ]"; mes "Okay,come back when you need me."; close; }}//shops- cashshop Upper -,19521:100,19517:100,19507:1000,19529:100,19545:100,19547:100,19548:200,19524:100,19537:1000,19573:700,19526:100,19587:300,19549:100,19650:200,19536:140,19535:230,19527:100,19533:260,19544:700,19546:100,19530:230,19538:260,19523:10,19522:250,19543:150,19520:1000,19518:1000,19532:150,19516:1000- cashshop Middle -,19509:100,19550:100,19542:200,19551:100,19525:100,19511:100,19512:100,19510:300- cashshop Lower -,19514:100,19513:100,19553:100,19552:100,19528:100,19541:100,19505:100,19500:100- cashshop Normal Eggs -,969:100- cashshop Custom Eggs -,969:100- cashshop Job Figures -,2767:100,2769:100,2768:100,2771:100,2765:100,2766:100,2770:100 //http://ratemyserver.net/index.php?iname=figure&page=re_item_db&quick=1&isearch=Search- cashshop Angel Sets -,2358:100,5153:100 //Angel's Dress & Angeling Hairpin- cashshop Novice Sets -,5125:100,2420:100,2521:100,2116:100,2355:100 //Angelic Guard[1] , Angelic Protection[1] , Angel's Reincarnation[1] , Angelic Cardigan[1] & Angel's Kiss[1] - cashshop Wizard Sets -,2860:150,15026:150,2468:150,2008:300 //Aqua Staff[2] , Aqua Shoes[1] , Aqua Orb[1] & Aqua Robe- cashshop Ninja Sets -,15055:100,2173:100 //Crescent Wrist Guard[1] & Armor of Nothingness[1] - cashshop Bakunawa Sets -,15051:500,2590:500,2169:500,2491:500 //Kalasag, Nightmare Bangungot Boots, Buwaya Skin Clothes & Bakunawa Scale Armor- cashshop Ranger Sets -,2480:400,2891:400,2581:400,15043:1000 //Black Wing Boots[1] , Black Wing Manteau, Black Wing Brooch & Black Wing Suit[1] - cashshop High Wizard Sets -,15027:200,2009:1000,2861:200,2469:200 //Crimson Staff[2] , Crimson Shoes[1] , Crimson Orb[1] & Crimson Robe- cashshop Captain Sets -,2435:100,2538:100,2377:200 //Elite Engineer Armor[1] , Battle Greaves[1] & Captain's Manteau[1] - cashshop Rebellion Sets -,2437:100,2382:100,2540:100 //Elite Shooter Suit[1] , Battle Boots[1] & Sheriff's Manteau[1] - cashshop Warlock Sets -,2862:200,15028:200,2470:200,2010:1000 //Forest Staff[2] , Forest Shoes[1] , Forest Orb[1] & Forest Robe- cashshop Golden Sets -,2859:200,15025:200,2469:200,2007:1000 //Golden Lord Staff[2] , Golden Lord Shoes[1] , Golden Lord Orb[1] & Golden Lord Robe- cashshop Acolyte Sets -,2436:100,2539:100,2380:100 //Medic's Robe[1] , Combat Boots[1] & Commander's Manteau[1] - cashshop Assasin Sets -,2578:250,2886:250,2478:250,15039:250 //Nab's Shoes[1] , Nab's Hood, Nab's Seal & Nab's Cloth[1] - cashshop Rune Knight Sets -,2476:300,2575:300,15037:900,2884:300 //Pertz Greaves[1] , Pertz Manteau, Pertz Seal[1] & Pertz Plate- cashshop Priest Sets -,15029:100,2569:100,2471:100,1657:300 //Staff of Affection[2] , Affection Shoes, Affection Shawl & Affection Robe- cashshop High Priest Sets -,16013:100,15030:100,2570:100,2472:100 //Judgement Shoes, Judgement Shawl, Judgement Robe & Mace of Judgement[2] - cashshop Sinx Sets -,2577:180,2886:180,2477:180,15038,300 //Sabath Shoes[1] , Sabath Hood, Sabath Seal & Sabath's Cloth[1] - cashshop White Sets -,2479:170,2890:200,2580:130,15042:700 //White Wing Boots[1] , White Wing Manteau, White Wing Brooch & White Wing Suit[1]  
    here the full script. can someone optimise this for hercules ?
  20. Upvote
    mrlongshen reacted to Aeromesi in [CMD] @shutdown   
    So what exactly is my custom command @.shutdown?
    Well it was based off @ request.
    I modified it a lot and turned it from a whisper into a command, if you input 0 it directly shuts down your map-server.
    You input the amount of minutes you want to start the shutdown.
    If you type @@shutdown after you set a shutdown, it will cancel out that current shutdown you have in progress!

    Enjoy guys, and here you go @   

    Just download attachment, install in npc folder and you're good to go.
    shutdown_cmd.txt
  21. Upvote
    mrlongshen got a reaction from Nova in DailyRewards like this one so cool!   
    @@Nova Nova ro is cool 
  22. Upvote
    mrlongshen reacted to Samuel in Tiny browser popup from itemlink   
    @@mrlongshen
     
    try this, <URL>google<INFO>https://www.google.com/,1024,768</INFO></URL>
  23. Upvote
    mrlongshen reacted to Keru in Grand cross skill   
    Change skill_db.txt:
     
    254,5,6,4,6,0x48,0,10,1,no,33,0x100,0,magic,0, CR_GRANDCROSS,Grand Cross to
    254,5,6,4,6,0x48,0,10,1,no,33,0,0,magic,0, CR_GRANDCROSS,Grand Cross  
    This changes the
    // 12 inf2 (skill information 2):// 0x0100- skill that damages/targets yourself so the selfhit is disabled.
     
    They will still lose some HP due to the Grandcross, but it will be impossible to kill theirself.
     
  24. Upvote
    mrlongshen reacted to Kuya Jeo in Simple script to reset   
    try this one, i didnt test it, just try it

    - script Sample FAKE_NPC,{OnPCLoginEvent:if( ( BaseLevel >= 100 && BaseLevel <= 255 ) && ( JobLevel >= 71 && JobLevel <= 100 ) ){set BaseLevel,99;set JobLevel,70;sc_end SC_ALL;resetskill;resetstatus;}end;}
  25. Upvote
    mrlongshen reacted to AnnieRuru in Card Collector   
    this script gets in the way when I editing the wiki, so I have to dispose here
    ops, I mean, release here
     
    Download:
    script
     
    simple script, the npc announce the name of the card it wants
    if the player having this card, can give to this npc for a reward
     
    found this idea from rathena script request
×
×
  • Create New...

Important Information

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