Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    249

Reputation Activity

  1. Upvote
    Dastgir got a reaction from MikZ in CRITICAL DAMAGE MAKES DROP ITEM 2x ~ 3x. BUG or What?   
    https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/Critical-Magic.c
    Using this plugin? Be sure to disable it and try again(or check if you are using latest version of that), I eventually got busy to refactor that plugin ...
  2. Upvote
    Dastgir got a reaction from AnnieRuru in R>Weapon breaking after an hour? + npc   
    I moved into source considering one can have multiple knife, and it would fail to satisfy all conditions with scripting aloneWhile with plugin/source, one can add a time variable in item_data and can process each weapon separately...
  3. Upvote
    Dastgir got a reaction from Legend in npctimer question   
    If both are started by initnpctimer
    Y will get affected with whatever things you do in timers, if both event are on same npc.
    If its different npc, timer won't be affected (unless you specify so)
  4. Upvote
    Dastgir got a reaction from Yazoo in Rebirth System   
    File Name: Rebirth System
    File Submitter: Dastgir
    File Submitted: 05 Apr 2014
    File Category: Utility
     
    It is Rebirth System , which allows to rebirth unlimited times
     
    Some of its features on how it works
    It does not give any Extra StatusPoints(Adjustable via Config)
    Requires Some Item to Rebirth
    Rewards are given when you rebirth with x% chance
    You can Only Rebirth when you are Max Level (3rd,2nd job Configurable Option)
    RebirthSystem Ranking(To know who has Rebirth How many times)
    Master Rebirth System(When you have Rebirthed for x times, You can do Master Rebirth. You can add ItemReward and ItemRequirements, only for MasterRebirth too..)
    GM can reset the Rebirth Rankings(Affects StatusPoint Given)
    Can Force the User to be rebirthed to Novice/High Novice.
    Can Give x status point every Rebirth.
    Can Give y status point every Master Rebirth.
    Can Limit Number of Rebirth/Master Rebirths.
    Can rebirth to Any Jobs(Job Adjustable via Config)

    I made this script because it was requested to me by someone.
     
    Click here to download this file
  5. Upvote
    Dastgir got a reaction from mrlongshen in New 2015 alt+v   
    https://github.com/ROClientSide/Translation/tree/master/data/texture/%C3%80%C2%AF%C3%80%C3%BA%C3%80%C3%8E%C3%85%C3%8D%C3%86%C3%A4%C3%80%C3%8C%C2%BD%C2%BA/ro_menu_icon
  6. Upvote
    Dastgir got a reaction from MrSky in Bg_monster vs bg_monster   
    You can't use this plugin in 2014 Hercules..
    2014 plugin were having many limitation..
  7. Upvote
    Dastgir got a reaction from Phriya in 20130807 Client Problem   
    This not rathena xD
     
    @OnTopic
    You enabled SSO Login Packet(from nemo)
    But SSO Login Packet needs some kind of launcher to be used and it does not need Restore Login Window,
    So either
    1) disable SSO Login packet
    Or
    2) disable Restore Login Window and use some kind of launcher.
  8. Upvote
    Dastgir got a reaction from mleo1 in Community Help Needed for Quick Development.   
    Hello all,
     
    You might see we don't have quite a lot npc scripts(from official servers), thats mostly because of lack of info, not due to lack of active scripters..
    So what can be done?
    Well, alot of people does play official servers(iRO,kRO, or any other) and most script matches even if its iRO,jRO,idRO,kRO...
    So we can boost the development with your help.
     
    Someone might wonder if what would happen if some npc/instances are exclusive to jRO only or any other server, well, we might still need those, those may/may not be added to repository, but that will make a nice release over script release section.
     
    Almost all servers have Replay System, we can record the gameplay of any official script, so that can help us get all info we want...
     
    So I request you (if you want new official scripts), (and if you play ANY official server), that either record a video or start the replay, and share the replay/video file, so we can get it quickly converted, and release it..
     
    Or some of your friends might play those servers?, you can ask them for videos/replays?
     
     
    If you don't want to share the replay/video publicly, you can PM me as well with the file.
     
    I bet, that we will try our best to implement it quickly.
  9. Upvote
    Dastgir got a reaction from Tranquility in Community Help Needed for Quick Development.   
    Hello all,
     
    You might see we don't have quite a lot npc scripts(from official servers), thats mostly because of lack of info, not due to lack of active scripters..
    So what can be done?
    Well, alot of people does play official servers(iRO,kRO, or any other) and most script matches even if its iRO,jRO,idRO,kRO...
    So we can boost the development with your help.
     
    Someone might wonder if what would happen if some npc/instances are exclusive to jRO only or any other server, well, we might still need those, those may/may not be added to repository, but that will make a nice release over script release section.
     
    Almost all servers have Replay System, we can record the gameplay of any official script, so that can help us get all info we want...
     
    So I request you (if you want new official scripts), (and if you play ANY official server), that either record a video or start the replay, and share the replay/video file, so we can get it quickly converted, and release it..
     
    Or some of your friends might play those servers?, you can ask them for videos/replays?
     
     
    If you don't want to share the replay/video publicly, you can PM me as well with the file.
     
    I bet, that we will try our best to implement it quickly.
  10. Upvote
    Dastgir got a reaction from AnnieRuru in Undisguise when player die   
    if (sd == NULL)
    return 0;
     
    OR
     
    nullpo_retr(0,sd);
  11. Upvote
    Dastgir got a reaction from Legend in Community Help Needed for Quick Development.   
    Hello all,
     
    You might see we don't have quite a lot npc scripts(from official servers), thats mostly because of lack of info, not due to lack of active scripters..
    So what can be done?
    Well, alot of people does play official servers(iRO,kRO, or any other) and most script matches even if its iRO,jRO,idRO,kRO...
    So we can boost the development with your help.
     
    Someone might wonder if what would happen if some npc/instances are exclusive to jRO only or any other server, well, we might still need those, those may/may not be added to repository, but that will make a nice release over script release section.
     
    Almost all servers have Replay System, we can record the gameplay of any official script, so that can help us get all info we want...
     
    So I request you (if you want new official scripts), (and if you play ANY official server), that either record a video or start the replay, and share the replay/video file, so we can get it quickly converted, and release it..
     
    Or some of your friends might play those servers?, you can ask them for videos/replays?
     
     
    If you don't want to share the replay/video publicly, you can PM me as well with the file.
     
    I bet, that we will try our best to implement it quickly.
  12. Upvote
    Dastgir got a reaction from humble in Community Help Needed for Quick Development.   
    Hello all,
     
    You might see we don't have quite a lot npc scripts(from official servers), thats mostly because of lack of info, not due to lack of active scripters..
    So what can be done?
    Well, alot of people does play official servers(iRO,kRO, or any other) and most script matches even if its iRO,jRO,idRO,kRO...
    So we can boost the development with your help.
     
    Someone might wonder if what would happen if some npc/instances are exclusive to jRO only or any other server, well, we might still need those, those may/may not be added to repository, but that will make a nice release over script release section.
     
    Almost all servers have Replay System, we can record the gameplay of any official script, so that can help us get all info we want...
     
    So I request you (if you want new official scripts), (and if you play ANY official server), that either record a video or start the replay, and share the replay/video file, so we can get it quickly converted, and release it..
     
    Or some of your friends might play those servers?, you can ask them for videos/replays?
     
     
    If you don't want to share the replay/video publicly, you can PM me as well with the file.
     
    I bet, that we will try our best to implement it quickly.
  13. Upvote
    Dastgir got a reaction from mrlongshen in Sending own point by command in script or item based   
    @set #EVENTPOINTS 1
    ^ Will change points to 1
  14. 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.
  15. Upvote
    Dastgir got a reaction from Reki in Help about diffing   
    Use read data folder first..I see you are using your server client, which may already have that diff and thus is failing.
  16. Upvote
    Dastgir got a reaction from mleo1 in hello can you code this for me?   
    It wasn't until now: https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/storeequip.c
  17. Upvote
    Dastgir got a reaction from Aly in ItemDB can support items with > 32k id   
    While I was working on some item_data reconstruction(A Paid Source requested to me..) I discovered that we can create ItemID with greater than 32k ID. (Atleast on 2013-08-07,Since I use this mostly, I tested it with this client.), so maybe as kRO has reached almost 30k, they already increased itemid range...
     
    Some of the testings: http://imgur.com/zKGwMFZ
    Also I tried to make different items like equipable, usable, and I was able to wear and use them....
     
    We would need to modify some mysql tables and change some "short" type(in source)...
     
    Atleast I tested until 65535 , So maybe client is restricting ID > 65535 now?(Since Item Failed to create when tried with ID>65535).
     
     
    So my suggestion is to change short types and mysql tables, and make itemdb support to 65535 by default...
  18. Upvote
    Dastgir got a reaction from Nashruful in QUEST SHOP NPC   
    If you mean TCG Shop, here it is
    prontera,153,152,1 trader TCGShop 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion,2; //Sell Red Potion for 2z sellitem Orange_Potion; //Sell Orange Potion with default price. /* Add All Items to be sold here */ end;OnCountFunds: setcurrency(countitem(TCG_Card)); end;OnPayFunds: if( countitem(TCG_Card) < @price ) end; delitem TCG_Card,@price; purchaseok(); end;}
  19. 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.
  20. Upvote
    Dastgir got a reaction from frexorie in Q: Is it possible to run hercules on banana pi?   
    It's possible..
    But as winterfox said, it depends what you want to do, setting on banana pi for public server would be bad...
  21. Upvote
    Dastgir got a reaction from Duzanjos in [solved]Warning mob_read_db   
    Thats known warning of Hercules, and will be fixed soon.
  22. Upvote
    Dastgir got a reaction from Mirage in Dastgir's Services   
    Hello Hercules Community,

    I am offering my Services to you @ some expense of money.

    Works for Emulator: Hercules/rAthena/Others(if any)
    Services:
    Scripting. (Min Price:5$ ) Source Modification(/Addition).(Min Price: 5$) Converting to/Creating a Plugin[Hercules Specific].(Min Price: 5$) Migrating Your Server. (Min Price: 10$) Adding Custom Items/Maps/Mobs. (Min Price: 5$) Creating/Adding New Skills. (Min Price: 10$) Changing of Emulator (Min Price: 10$) ClientSide Things. (Min Price: 5$) Fixing Errors. (Min Price: 5$) Script Review. Consulting And Anything else, that you want, just drop me a PM
    Maximum Price: Depends on Complexity of the Work
    What Else:
    Free Support for Service bought from me.

    Contact Info:
    Post Here Via PM Payment Methods:
    PayPal Only PM me if you want any other payment method, and I might check If I can have it.

    Status: AVAILABLE
  23. Upvote
    Dastgir got a reaction from humble in LMS Mr. Banker Problem   
    - script LMS -1,{OnMinute52:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noongoto startlmsevent;startlmsevent:pvpoff "guild_vs5";announce "Mr. Manager: The Last Man Standing event will be starting shortly.",0;sleep2 5000;announce "Mr. Manager: Those who want to play, please proceed to Prontera and Register.",0;sleep2 5000;announce "Mr. Manager: After 1 Minute the Registration will close.",0;enablenpc "All Job Manager";initnpctimer;end;OnTimer30000:pvpoff "guild_vs5";announce "Mr. Manager: Last 30 seconds.",0;sleep2 5000;announce "Mr. Manager: If you want to join please Register in Prontera.",0;end;OnTimer50000:pvpoff "guild_vs5";announce "Mr. Manager: Last 10 seconds.",0;end;OnTimer55000:pvpoff "guild_vs5";announce "Mr. Manager: 5.",0;end;OnTimer56000:pvpoff "guild_vs5";announce "Mr. Manager: 4.",0;end;OnTimer57000:pvpoff "guild_vs5";announce "Mr. Manager: 3.",0;end;OnTimer58000:pvpoff "guild_vs5";announce "Mr. Manager: 2.",0;end;OnTimer59000:pvpoff "guild_vs5";announce "Mr. Manager: 1.",0;end;OnTimer60000:pvpoff "guild_vs5";announce "Mr. Manager: Time's up.",0;end;OnTimer61000:pvpoff "guild_vs5";disablenpc "All Job Manager";donpcevent "Mr. Banker::OnEnable";stopnpctimer;end;}//---------All Job Registration---------------prontera,87,50,5 script All Job Manager 106,{mes "[Mr. Manager]";mes "Hello What can I do for you?";next;menu "Register",-,"What is LMS?",what,"Leave",leave;next;mes "[Mr. Manager]";mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!";warp "guild_vs5",0,0;end;what:mes "[Mr. Manager]";mes "LMS is also known as Last Man Standing Event";next;mes "[Mr. Manager]";mes "LMS is also like a PvP.";mes "The only difference is at LMS you will get 50 HPRO Point if you are the Last Man Standing at the arena.";next;mes "[Mr. Manager]";mes "That's all";close;leave:mes "[Mr. Manager]";mes "I hope you will register next time";close;OnInit:disablenpc "All Job Manager";end;}//--------------------------//--------------------------guild_vs5,49,49,6 script Mr. Banker 56,{mes "[Banker]";mes "Congrats. You've won.";next;announce "Mr. Manager: We have a winner! well done "+strcharinfo(0)+".",0;getitem 7227,5; // Change This item id to what ever you want . item id,amountdispbottom "You Received 5x TCG Card for winning the LMS Event.";mes "You will return now";warp "prontera",86,51;disablenpc "Mr. Banker";close;end;OnEnable:mapannounce "guild_vs5","Mr. Manager:The Last Man Standing Event will start shortly",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager:But before we start this is just a few reminders..",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: Only the Last Man Standing will win this event!!",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;sleep2 5000;goto L_Start;end;L_Start:if(getmapusers("guild_vs5") == 1) goto L_Champ;if(getmapusers("guild_vs5") == 0) goto L_None;if(getmapusers("guild_vs5") > 1) {mapannounce "guild_vs5","Mr. Manager: Get ready at the count of 5 we will start!....",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: 5",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: 4",0;sleep2 4000;mapannounce "guild_vs5","Mr. Manager: 3",0;sleep2 3000;mapannounce "guild_vs5","Mr. Manager: 2",0;sleep2 2000;mapannounce "guild_vs5","Mr. Manager: 1",0;sleep2 1000;pvpon "guild_vs5";goto timer;end;}timer:initnpctimer;end;OnTimer1000:end;OnTimer1100:if(getmapusers("guild_vs5") == 1) goto L_Champ;if(getmapusers("guild_vs5") > 2) goto timer;if(getmapusers("guild_vs5") == 2) goto champ;stopnpctimer;end;champ:announce "Mr. Manager: Last 2 Brave warriors are still alive!",0;sleep2 10000;if(getmapusers("guild_vs5") == 1) goto L_Champ;if(getmapusers("guild_vs5") > 1) goto timer;end;L_Champ:mapannounce "guild_vs5","Mr. Banker: Please talk to me to get your prize..",0;pvpoff "guild_vs5";enablenpc "Mr. Banker";end;L_None:disablenpc "Mr. Banker";pvpoff "guild_vs5";end;OnInit: disablenpc "Mr. Banker"; end;}//----- Die = warp prt ------ script Killa_warp -1,{OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="guild_vs5") { set #kill_point, 0; announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all; warp "prontera",0,0; end; }OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="guild_vs5") { set #kill_point,#kill_point+1; if ( #kill_point % 4 == 0) { announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all; getitem 607, 50; end; } }}// == Mapflagsguild_vs5 mapflag nowarpguild_vs5 mapflag nowarptoguild_vs5 mapflag noteleportguild_vs5 mapflag nosaveguild_vs5 mapflag nomemoguild_vs5 mapflag nobranchguild_vs5 mapflag pvp_noparty The NPC which hides on OnInit should be loaded later on (also found an typo where it was disabling "Banker" instead of "Mr. Banker"
  24. Upvote
    Dastgir got a reaction from Fou-lu in So to save password Hash   
    It's all about security, like suppose you have occured with database hack, so you will be secure that player's password is not exposed.
  25. 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??

     
×
×
  • Create New...

Important Information

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