Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Reputation Activity

  1. Upvote
    Dastgir got a reaction from sonyk2 in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Hello Hercules Community,
     
    Let me explain it first.
    It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).
    Some Previews:
    http://imgur.com/a/2SSVR
    Ohh, and the last thing I forgot to tell,
    Its 100% Plugin and Script, no Source Edits ..
     
    Special Thanks To:
    jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it).
     
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
    Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support.
     
    Want to encourage me??

     
  2. Upvote
    Dastgir got a reaction from MikZ in @security forgot code   
    That was not coded to prevent abuse.
    Admin can check account_reg_num_db #secure_code
  3. Upvote
    Dastgir reacted to bWolfie in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Good stuff guys. Keep up reporting issues in an orderly manner.
  4. Upvote
    Dastgir got a reaction from MikZ in Admin Trade Permission   
    https://github.com/HerculesWS/Hercules/blob/stable/doc/permissions.txt
  5. Upvote
    Dastgir got a reaction from grimmm in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Fixed, it was just a visual bug. (https://github.com/dastgirp/eBG/commit/080ab35cfeecca43884adc6c192d9f99f8f17364)
  6. Upvote
    Dastgir got a reaction from caspe in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
  7. Upvote
    Dastgir got a reaction from Aethelingaeg in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Hello Hercules Community,
     
    Let me explain it first.
    It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).
    Some Previews:
    http://imgur.com/a/2SSVR
    Ohh, and the last thing I forgot to tell,
    Its 100% Plugin and Script, no Source Edits ..
     
    Special Thanks To:
    jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it).
     
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
    Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support.
     
    Want to encourage me??

     
  8. Upvote
    Dastgir got a reaction from Mihael in Encrypt grf   
    For protecting clientinfo, it's useless.
    Why you would want to protect clientinfo.xml?
  9. Upvote
    Dastgir got a reaction from grimmm in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
  10. Upvote
    Dastgir got a reaction from Rebel in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
  11. Upvote
    Dastgir got a reaction from hendra814 in Zodiac of the months   
    Remove the quotes.
    Constant's are without quotes
  12. Upvote
    Dastgir got a reaction from hendra814 in Zodiac of the months   
    Problem is the item constant.
    Item constant cannot contain ' (which was allowed previously)
    most probably, just the ' is removed, so you can Replace "Goat's_Horn" with "Goats_Horn", however, you should double-check if constant exist in https://raw.githubusercontent.com/HerculesWS/Hercules/stable/db/re/item_db.conf (the AegisName field is the constant)
  13. Upvote
    Dastgir got a reaction from Neffletics in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Hello Hercules Community,
     
    Let me explain it first.
    It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).
    Some Previews:
    http://imgur.com/a/2SSVR
    Ohh, and the last thing I forgot to tell,
    Its 100% Plugin and Script, no Source Edits ..
     
    Special Thanks To:
    jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it).
     
    Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
     
    Leave Comments/Suggestions if you find something.
    NOTE:
     There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
    Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support.
     
    Want to encourage me??

     
  14. Upvote
    Dastgir reacted to bWolfie in check_resist() script command   
    Description: Adds the check_resist() script command to your script engine.
    With this command, you can retrieve elemental resistances for a character.
    check_resist(<type>{, <account id>}) e.g. check_resist(Ele_Water); check_resist(Ele_Wind, getcharid(CHAR_ID_ACCOUNT)); https://github.com/bWolfie/HPM-Plugins/blob/master/src/plugins/check_resist.c
  15. Upvote
    Dastgir reacted to Habilis in [Event] Wheel of fortune   
    I've recently got a brilliant idea.
    Why not make my own version of a paid script, sold on rAthena
    and release it to Hercules for free!?

    (Not because I'm banned on rAthena )
     
    I need a peer review before releasing the whole package.
     
    @Myriad Did a nice Peer review of my terribel kode...
    If anyone else would like to contribute, feel free.
    Otherwise, it is soon to be released
     
     
    UPD : I reDrew the cutins, they don't look like stolen from rAthena

     

     
     
     
    1) configuration
    there are 2 arrays
        setarray .prize_id[1],-1,31024,31026,31008,31020,31017,31010,31016,0,31009;
        setarray .prize_qty[1],2,1,1,1,3,3,1,3,0,3;
     
    in prize_id
    if id is > 0, the prize is an item
    if id = 0 , the prize is NOTHING!
    if id = -1, the prizer is free spin (number of free spins set in qty array)
    in array  .prize_qty you setup the quantity won
     
     
    //===== Hercules Script ====================================== //= Wheel of Fortune //===== By =================================================== //= Habilis //= Edited by Myriad //===== Description ========================================== //= Wheel of fortune something. //============================================================ - script Wheel_of_Fortune FAKE_NPC ,{ OnInit: disablenpc("Wheel of Fortune#Main"); disablenpc("Hussein#WOF"); .EventName$ = "[Wheel Of Fortune]"; end; OnMinute39: OnStart: query_sql("DELETE FROM `acc_reg_num_db` WHERE `key`='#freewheelfortunespin';"); announce(sprintf("%s : The event will begin in 1 minute, near the center of Prontera.", .EventName$), bc_blue | bc_all); initnpctimer(); end; OnTimer60000: // 1 min enablenpc("Wheel of Fortune#Main"); enablenpc("Hussein#WOF"); announce(sprintf("%s : Come to Prontera and test your luck, everyone got some free spins!", .EventName$), bc_blue | bc_all); end; OnTimer1800000: // 30 mins announce(sprintf("%s : One more minute, do your last spin!", .EventName$), bc_blue | bc_all); end; OnTimer1860000: // 31 mins OnStop: disablenpc("Wheel of Fortune#Main"); disablenpc("Hussein#WOF"); end; } prontera,159,178,3 script Hussein#WOF 1_M_MERCHANT,{ doevent("Wheel of Fortune#Main::OnTalk"); end; } prontera,155,176,3 script Wheel of Fortune#Main 2_SLOT_MACHINE,{ OnTalk: if (#freewheelfortunespin == 0) #freewheelfortunespin = .Free_Spins; if (getd(.Event_Points_Variable$) < .Points_Cost && #freewheelfortunespin < 0) { mesf("[^0055FF ::: %s ::: ^000000]", .EventName$); mes("You are out of points"); mes("and have no more free"); mes("spins! Come back next"); mes("time for more."); close(); } .@mes$ = (#freewheelfortunespin > 0) ? sprintf(", but you, my friend, have %d free spin%s!", #freewheelfortunespin, (#freewheelfortunespin == 1) ? "" : "s") : "."; cutin("aca_salim02", 2); addtimer(1, sprintf("%s::OnEnd", strnpcinfo(NPC_NAME))); mesf("[^0055FF ::: %s ::: ^000000]", .EventName$); mes("Do you want to spin the wheel?"); mesf("It costs ^FF0000%d Event points^000000 to play%s", .Points_Cost, .@mes$); next(); callsub(S_Loop); S_Loop: .@val = getd(.Event_Points_Variable$); if (.@val < .Points_Cost && #freewheelfortunespin < 0) callsub(S_End); switch (select( (#freewheelfortunespin > 0) ? sprintf("Yes! Use free spin! (%d left)", #freewheelfortunespin) : "", (.@val > 0) ? sprintf("Yes! Use Event Points. (%d remaining)", .@val) : "", "No (Leave)" )) { case 1: callsub(S_Pay, 0); case 2: callsub(S_Pay, 1); default: callsub(S_End); } S_Pay: switch (getarg(0)) { // pay with free spin case 0: if (#freewheelfortunespin > 0) { if ((#freewheelfortunespin -= 1) < 1) #freewheelfortunespin = -1; callsub(S_Gamble); } else callsub(S_End); // Pay with points case 1: default: if ((.@val = getd(.Event_Points_Variable$)) >= .Points_Cost) { setd(.Event_Points_Variable$, (.@val -= .Points_Cost)); dispbottom(sprintf("%s : You now have %d event points.", .ServerName$, .@val)); callsub(S_Gamble); } else { cutin("aca_salim02", 2); mesf("[^0055FF ::: %s ::: ^000000]", .EventName$); mes("Awww, you don't have enough to gamble..."); mes(" "); mes("Have you ever heard?"); mes("'Money isn't all that matters' Got it?"); mes("Byeeeeeeeeeeeeee ;)"); callsub(S_End); } } S_Gamble: // Actual Gambling .@sector = rand(.Sector[0], .Sector[1]); .@displayCutin = (.@sector * 2) - 1; .@Speed = .Spin_Speed; for (.@i = 0; .@i < .nbTurns; .@i++) { .@b = .Cutin[0]; while (.@b <= .Cutin[1]) { cutin(sprintf("%s%d", .cutin$, .@b), 4); sleep2(.@Speed); .@b++; .@Speed++; } } .@b = .Cutin[0]; while (.@b < .@displayCutin) { cutin(sprintf("%s%d", .cutin$, .@b), 4); sleep2(.@Speed); .@b++; } cutin(sprintf("%s%d", .cutin$, .@b), 4); if (.prize_id[.@sector] == -1) { // Free spin if (.Sound_Effects) soundeffect("wheel_jackpot.wav", 0); announce(sprintf("[%s] : Wow, %d more Free spins!!!", .EventName$, .prize_qty[.@sector]), bc_blue | bc_self); #freewheelfortunespin = #freewheelfortunespin == -1 ? .prize_qty[.@sector] : #freewheelfortunespin + .prize_qty[.@sector]; } else if (.prize_id[.@sector] == 0) { // nothing if (.Sound_Effects) soundeffect("wheel_lost.wav", 0); announce(sprintf("[%s] : Awwww, No luck in gamble, more luck in love...", .EventName$), bc_blue | bc_self); } else { // item if (.Sound_Effects) soundeffect("wheel_won.wav", 0); announce(sprintf("[%s] : Enjoy your prize!!!", .EventName$), bc_blue | bc_self); getitem(.prize_id[.@sector], .prize_qty[.@sector]); } sleep2(1000); callsub(S_Loop); end; S_End: close2(); OnEnd: cutin("", 255); end; OnInit: .ServerName$ = "[Your boring server]"; .EventName$ = "Wheel Of Fortune"; .cutin$ = "WheelOfFortune_"; .Event_Points_Variable$ = "#LROEVENTPOINTS"; // The name of your event points variable setarray(.Sector, 1, 10); // Sector range setarray(.Cutin, 0, 19); // Cutin range .Spin_Speed = 50; // What is the base spin speed? (ms) .nbTurns = 2; .Points_Cost = 100; // How many 'points' does it cost for a spin? .Free_Spins = 1; // How many free spins does a player get? .Sound_Effects = true; // Enable sound effects? (true/false) setarray(.prize_id[1], -1, 31024, 31026, 31008, 31020, 31017, 31010, 31016, 0, 31009); setarray(.prize_qty[1], 2, 1, 1, 1, 3, 3, 1, 3, 0, 3); end; }  
  16. Like
    Dastgir got a reaction from simplexjay2 in Plugin Collections   
    Hello Community,
     I am feeling like, there's many plugin on forum, but not been actively used, due to out-of-date plugin
     
    I have updated Shikazu's Plugin first(as it was requested on the thread from 25th April), maybe Shikazu busy on his rl.
    Also I have included My Plugins there.
     
    I would like to add more plugins there(which are not updated on hercules forum <- please suggest if you find some outdated plugin and want me to update it )
     
    List of Plugins and Owners:
    https://github.com/dastgir/HPM-Plugins/blob/master/README.md  
    Repository: https://github.com/dastgir/HPM-Plugins
     
    Thanks.
  17. Upvote
    Dastgir reacted to nuna in Willing to pay for this agit defender script   
    Does anyone has the script for the longest agit defender? wherein every second of defending the agit counts.
    Here's the criteria of what i'm looking for:
     
    - An npc in which shows the Top 10 Longest Agit Defender
     
    the npc will show somehow like this:
     
    [Top 10 Longest Agit Defender] Top 1: Ganja Guild : 10 minutes 14 seconds // top 1: <guild name> : <defending time> Top 2: Ganja2 Guild : 8 minutes 10 seconds // top 2: <guild name> : <defending time> //and so on. . . . //not a matter of points, but a matter of time on how long does the guild defend their castle  
    - after clicking 'next' it will also show the Longest Agit Defender of the Day which resets after woe
     
    [ Longest Agit Defender of the Day ] September 24, 2015 - Kriemhild //<date of defend> - <defended castle name> - Ganja Guild - 10 minutes 12 seconds // //- <guild name> : <defending time>  
     
    Credits to: https://rathena.org/board/topic/103232-request-longest-agit-defender-script/
     
    Message me asap and lets talk
  18. Upvote
    Dastgir reacted to Cabrera in A battleground idea :D   
    Hey everyone  I have an idea for a BG based on a game called GunZ i used to play. It's called "Assassination"
    This is similiar to capture the flag in some ways more than anything,
    Concept:
    Normal teams Red vs Blue, lets say its a 3v3 ( u need a minimum of 2 players in a team or itd be lame xD)
    one of the 3 players get a target on their head ( some marker is put on the player to suggest that he/she is the one to be killed. This should not be shown in minimap though or it would be gamebreaking)
    The other 2 players in red and blue should search for the targets of their respective opponent teams, 1st team to kill the opponent target wins the round.
    Targets are the main priority. even if its 3 players alive in team Blue, 1 player alive in team Red, If the 1 player(who is the target and the rest of his/her team is dead) in Red kills the target of Blue, Blue looses.
    So basically, 1 target is chosen at random in each team(this changes in each round so basically every 1 might get to be the target). The opponent team has to assassinate this target. If the target dies, all his/her teammates die and the round is over, opponent wins.
    Hope i explained it well xD i have posted it on rA as well, hopefully someone comes up with possibilities of making this a script
  19. Upvote
    Dastgir got a reaction from OmarAcero in Help: Script Invasor   
    you need to have 12 monsters:
    First 9 would be normal mob and other 3 as boss monster, but.you specified only 11 id
    Onc1,"Aqua",1001,1002,1002,1002,1002,1001,1002,1001,1002,1001,1002;
     
  20. Upvote
    Dastgir got a reaction from Kairedia in Plugin Collections   
    Hello Community,
     I am feeling like, there's many plugin on forum, but not been actively used, due to out-of-date plugin
     
    I have updated Shikazu's Plugin first(as it was requested on the thread from 25th April), maybe Shikazu busy on his rl.
    Also I have included My Plugins there.
     
    I would like to add more plugins there(which are not updated on hercules forum <- please suggest if you find some outdated plugin and want me to update it )
     
    List of Plugins and Owners:
    https://github.com/dastgir/HPM-Plugins/blob/master/README.md  
    Repository: https://github.com/dastgir/HPM-Plugins
     
    Thanks.
  21. Upvote
    Dastgir got a reaction from Pravatek in Andro: Ragnarok client emulator for Android - Some help   
    But you need the key file first,
    For it use keytool
     
    http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/keytool.html
     
    Format:
     
    keytool -genkey -v -keystore my-release-key.keystore
    -alias alias_name -keyalg RSA -keysize 2048-validity 10000
     
    Signing:
    java -jar signapk.jar key.x509.pem key.pk8 [android_app].apk [signed_android_app].apk
     
    Its java application(the signing tool)
  22. Upvote
    Dastgir got a reaction from Pravatek in Andro: Ragnarok client emulator for Android - Some help   
    You have to sign the apk,
    You are repacking, signature are a way to know who made the apk
    https://code.google.com/p/signapk/
    Check this for knowing how to sign the apk.
     
    About AndRO, its waste for those who want to use new client, it doesn't support much feature.
    And UX is worst.
    I wouldn't opt for AndRO for now, till it's well developed and have a good UX.
  23. Upvote
    Dastgir got a reaction from IndieRO in Infinite Storage   
    Hello,
    I feel this is one of the important setting, which was restricted due to packet size. So I have made this plugin to allow UNLIMITED Storage Size.
    Just enable this plugin and set MAX_STORAGE(from common/mmo.h) to whatever you want.
    Link: https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/storage_expand.c
     
    Note: This doesn't work with Guild Storage.
  24. Upvote
    Dastgir reacted to bWolfie in Infinite Storage   
    Will try it out. It's a decision you have to make whether to use it or not, since once you increase storage limit, you shouldn't ever reduce it, since players won't be able to access some items until they empty space :| could prove problematic. This is not exclusive to this plugin, though, thought I'd put it out there :P. Thanks as always, Dastgir!
  25. Upvote
    Dastgir got a reaction from bWolfie in Infinite Storage   
    Hello,
    I feel this is one of the important setting, which was restricted due to packet size. So I have made this plugin to allow UNLIMITED Storage Size.
    Just enable this plugin and set MAX_STORAGE(from common/mmo.h) to whatever you want.
    Link: https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/storage_expand.c
     
    Note: This doesn't work with Guild Storage.
×
×
  • Create New...

Important Information

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