Jump to content

iZeal

Members
  • Content Count

    158
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    iZeal reacted to AnnieRuru in Update how many seconds left?   
    prontera,155,172,5 script kjdhfkdjsf 100,{ .@deny = 10; if ( @delay + .@deny > gettimetick(2) ) { dispbottom "Please wait "+( @delay + .@deny - gettimetick(2) )+" seconds."; end; } @delay = gettimetick(2); percentheal 100,100; skilleffect AL_HEAL, 10; end;}I usually set the deny variable equal to gettimetick(2)its because from my experience in script release
     
    example like instance dungeon set it deny for 3 hours before re-entering, and I always make it configurable
    if admin suddenly change it into 5 hours, player's deny usage doesn't change ... ( well just 2 hours doesn't matter much .. )
    so I didn't follow wiki example
  2. Upvote
    iZeal got a reaction from SkyTech6 in Custom Pet Help   
    I think this line:
    identifiedResourceName = "¾Ï¼Ó¼º¾Ë", identifiedDescriptionName = { should be:
     
    identifiedResourceName = "CHARMANDER", identifiedDescriptionName = {
  3. Upvote
    iZeal reacted to kisuka in Obtaining Hercules   
    Should work fine in git bash. Try to stay away from the GUI. Get used to doing the command line / bash version. It's much easier / faster.
  4. Upvote
    iZeal reacted to kisuka in Obtaining Hercules   
    In your master branch do the following:
     
    ​git checkout -b mybranch <sha1 / commit you want>
     
    example:
     
    git checkout -b cantthinkofbranchname 254f47e
  5. Upvote
    iZeal reacted to Angelmelody in [Script CMD] showscript   
    plz try example npc, I think nothing is better than first hand experience
  6. Upvote
    iZeal reacted to evilpuncker in storing npc name as variable need help   
    btw you can just use:
     
    mes "["+strnpcinfo(1)+"]";
     
    so there is no need of additional variables
  7. Upvote
    iZeal reacted to Mumbles in storing npc name as variable need help   
    When storing string variables, you need to append them with the suffix $.
    .@var = 123;.@var$ = "abc";  
    If these variables are going under an OnInit label, make sure they're permanent NPC variables instead of temporary ones.
    .var = 123;.var$ = "abc";  
    These posts should help you get back into the basics of scripting:
    Crash Course: Scripting 101-A Crash Course: Scripting 101-B

  8. Upvote
    iZeal reacted to Angelmelody in storing npc name as variable need help   
    prontera,151,189,5 script example 100,{ mes "-------"+.npcname$+"-------"; mes "123456789abcdefgh........"; close;OnInit: .npcname$ = strnpcinfo(1);end;}
  9. Upvote
    iZeal got a reaction from Zirius in Hercules as service?   
    i think he wants it like same with: httpd, iptables, mysql so he can start it easier during boot
    @TS you can do that by making a crontab.
  10. Upvote
    iZeal reacted to Mhalicot in Costume Item Plugins   
    Noted I will when I update it..
  11. Upvote
    iZeal reacted to Mhalicot in Costume Item Plugins   
    I will.. just be patient
     
     
     
    Yes I think it is
  12. Upvote
    iZeal got a reaction from zackpinoy in monster_db   
    copy ka lng dito dpende sa database mo kung pre-re or re punta ka lng sa folders na yun.
    https://github.com/HerculesWS/Hercules/tree/master/db
  13. Upvote
    iZeal reacted to quesoph in 1 Char per GM Account by Ind   
    here ya go
    OneCharPerGMAccount.patch
  14. Upvote
    iZeal reacted to raPalooza~ in [Guide] Removing "Battleground" and "Navigation" buttons   
    The "Battleground" and the "Navigation" buttons are somehow useless for our clients, so i'm going to show you how to remove them from the client, keep in mind that this Technic is a little hackish as it consist in changing the HEX value, misleading the image information for those buttons.

    Needed:
    [*] HxD ( Or some other HEX editor ) [*]Your patched client ( Tested on 08.07a )

    Search and replace the following Hex values to hide the buttons:

    Navigation:
    Search:
    [cbox]5C 62 74 6E 5F 4E 61 76 69 67 61 74 69 6F 6E[/cbox]
    Replace
    [cbox]5F 62 74 6E 5F 4E 61 76 69 67 61 74 69 6F 6E[/cbox]

    Battleground:
    Search:
    [cbox]5C 62 74 6E 5F 62 61 74 74 6C 65 5F 66 69 65 6C 64[/cbox]
    Replace
    [cbox]5F 62 74 6E 5F 62 61 74 74 6C 65 5F 66 69 65 6C 64[/cbox]

    Replacing the first 5C for a 5F is what i'm doing.


    What it does?
    It changes the image path, so the client do not reach and load the buttons.

    It goes well with the skin that I've released, where i hided the navigation from the menu for a better fit.

    raPzLight Skin Renewal 1.0
    Category: Other Graphics Last Updated Jul 14 2014 02:57 AM




    That's it yall.  
  15. Upvote
    iZeal reacted to Angelmelody in item_noequip.txt where is it?   
    http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/
  16. Upvote
    iZeal reacted to Mumbles in FluxCP paypal donation question   
    For the PayPalIpnUrl, use www.paypal.com to accept donations. Make sure you set your PayPalBusinessEmail to the PayPal email address you use to accept payments. This is typically your login email as well. If my email address to accept payments is [email protected], then I would set that as the value for my PayPalBusinessEmail. Leave the PayPalReceiverEmails array alone.
     
    Also, don't forget to add Flux to your PayPal IPN settings. Your IPN URL should look something like this:
    http://my.ragnarok.ws/?module=donate&action=notify
  17. Upvote
    iZeal reacted to Dastgir in 2013-08-07 Item Names not Translated.   
    Please don't bump too fast, Its not even 12 hours since your topic,
     
    You need translated iteminfo for items to be translated
  18. Upvote
    iZeal reacted to Angelmelody in Request for an Double Exp Event every Friday and Saturday   
    you can try this  not tested
     
    - script asdfjkl -1,{end;OnClock0800:OnClock1900: .@tt = 1;OnInit: atcommand "@reloadbattleconf"; if(gettime(4)!=5 && gettime(4)!=6 && ( !gettime(4) && !@tt ? 0 : 1 ) ) end; if((gettime(3) >= 1 && gettime(3) < 8 ) || (gettime(3) >= 14 && gettime(3) < 19) ) end; announce "double drop rate started", bc_all; setbattleflag ("base_exp_rate", getbattleflag("base_exp_rate")*2); setbattleflag ("job_exp_rate", getbattleflag("job_exp_rate")*2); setbattleflag ("item_rate_common", getbattleflag("item_rate_common")*2); setbattleflag ("item_rate_heal", getbattleflag("item_rate_heal")*2); setbattleflag ("item_rate_use", getbattleflag("item_rate_use")*2); setbattleflag ("item_rate_equip", getbattleflag("item_rate_equip")*2); end;OnClock0100: .@mo = 1;OnClock1400: if(gettime(4)!=5 && gettime(4)!=6 && ( !gettime(4) && !.@mo ? 0 : 1 ) ) end; atcommand "@reloadbattleconf"; announce "double drop rate ended", bc_all; end;}
  19. Upvote
    iZeal reacted to Dastgir in Config for Walk Path? Where?   
    src/config/core.h
    /// Comment to disable the official walk path/// The official walkpath disables users from taking non-clear walk paths,/// e.g. if they want to get around an obstacle they have to walk around it,/// while with OFFICIAL_WALKPATH disabled if they click to walk around a obstacle the server will do it automatically#define OFFICIAL_WALKPATH
  20. Upvote
    iZeal reacted to Dastgir in Help with Hercules FluxCP on CentOS   
    Assuming your webhost and mysql on different hosts(not on same vps), I would recommend doing this command via putty.
    /usr/sbin/setsebool -P httpd_can_network_connect=1
    error code 13(2003) means connection is refused by the host, so the above command will enable the php(fluxcp) to connect to your mysql on vps
  21. Upvote
    iZeal reacted to eKoh in My ragnarok web design (landing page)   
    Hello guys, I've made a ragnarok web design, it is a landing page, which I want to use to attract players to get into our forums. I want to make this to create a big community before launching our server.
     
    Please tell me what you like and what you dislike please be critical, it will help me a lot =)
     

  22. Upvote
    iZeal reacted to Judas in @job how to remove certain Jobs?   
    ACMD(jobchange) I belive in the atcommand.c you can remove specific ones if you want to
  23. Upvote
    iZeal reacted to Mystery in June Digest 2014   
    June Digest 2014
    The following digest covers the month of June 1st - June 30th 2014.
     


    Development Highlights
    [*]Fixed memory in the accinfo packet (0fd3eda) [*]Added new NPC Constants (eee93ba) (P2: 1b45943) [*]Removed ZENY_HACKER (2fb3c85) [*]Changes in npc_parsefile (354a5b1) [*]Changes in npc_parse_shop (0c40a49)

     
    Scripting Highlights
    [*]Fixed issue with Biochemist quest (78b0650)

     
    Documentation Highlights
    [*]Update of script_commands (17382d3)

     
    Database Highlights
    [*]Updated wrong item buying prices (c3c9ef) [*]Fixed some itemDB issues (b73a578) (P2: f39c3ed)

     
    June Statistics
    [*]During the period there were 20 Commits. [*]Of these 20 commits, 5 included bug-fixes. [*]3 Commits from Pull Requests [*]In this month, there were 391 Additions and 254 Deletions.

  24. Upvote
    iZeal reacted to Sunzuki in @monster that spawns random location   
    - script OnInit -1,{end;OnInit: bindatcmd "monster2", "AtCommands::OnMonster2", <GM Level>, 99;end;}- script AtCommands -1,{end;OnMonster2: if(getarraysize(.@atcmd_parameters$) == 1) { set .@mobid,.@atcmd_parameters$[0]; monster ""+strcharinfo(3)+"",0,0,""+strmobinfo(1, .@mobid)+"",.@mobid,1; } else if(getarraysize(.@atcmd_parameters$) == 2) { set .@mobid,.@atcmd_parameters$[0]; set .@map$,.@atcmd_parameters$[1]; monster ""+.@map$+"",0,0,""+strmobinfo(1, .@mobid)+"",.@mobid,1; } else if(getarraysize(.@atcmd_parameters$) == 3) { set .@mobid,.@atcmd_parameters$[0]; set .@amount,.@atcmd_parameters$[1]; if(!.@amount) set .@amount,1; set .@map$,.@atcmd_parameters$[2]; monster ""+.@map$+"",0,0,""+strmobinfo(1, .@mobid)+"",.@mobid,.@amount; } else { message strcharinfo(0), "Wrong command format. Possible formats:"; message strcharinfo(0), " - @monster2 <Mob ID> <amount> <map>"; message strcharinfo(0), " - @monster2 <Mob ID> <map>"; message strcharinfo(0), " - @monster2 <Mob ID>"; message strcharinfo(0), "@monster2 failed."; }end;}   
     It could basically work like that, but I'm not good of a coder and I don't know how to check if a monster ID or a map is valid. There will be a console message when someone enters invalid values I assume. Don't forget to change gm level if you use it
  25. Upvote
    iZeal reacted to quesoph in [ Plugin ] @debuff   
    This command will debuff all players in your current map.
     
    Good for PvP and GvG event..
     
     
     
    I made this command back when I was using rA.
     
    debuff.7z
     
     
    Update 06 / 15 / 2014:

    debuff.c
×
×
  • Create New...

Important Information

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