Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. Dastgir

    [Question]

    Shouldn't You Post Error instead of only saying I got some errors in compiling and enabling?
  2. Dastgir

    [Question]

    For enabling autoattack //====================================================//= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ '__/ __| | | | |/ _ / __|//= | | | | __/ | | (__| |_| | | __/__ //= _| |_/___|_| ___|__,_|_|___||___///= //= http://herc.ws/board/ //====================================================//== Topic Discussion ================================//== http://herc.ws/board/topic/549-introducing-hercules-plugin-manager///====================================================//== Description =====================================//The plugin system allows you to create customized scripts //outside of the source. These scripts won't conflict with any //future source updates - think of it as a /conf/import/ for the source. //====================================================/* --------------- Format ---------------After you have listed your plugin(s) in "quotations", you need to put in a comma, to separate the plugins.-----------------------------------------plugins_list: [ "example", "other",]-----------------------------------------Please note that your scripts need to be savedin the .c (source code) extension and placed in the /src/plugin/ folder.-----------------------------------------*/plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", "autoattack", //"db2sql", //"sample", //"other",] This would be plugins.conf, (P.S: File name should be autoattack.dll in order for this to work)
  3. Anywhere in the World of RO.
  4. But it's script is "itemskill RK_STORMBLAST,1;"(item is casting a skill using scriptcommand) So noskill mapflag should stop this, but that's not happening.
  5. Dastgir

    [Question]

    Can you Elaborate, what you mean by " but i failed to apply them..." IF a Plugin Use HPMHooks, Compile your HPMHook Plugin and uncomment "HPMHooking" line. You have to add new line with the name of the file at plugins.conf Like if you have plugin named "HelloWorld.dll" then you will have to add "HelloWorld", Below "HPMHooking" Lines. Compiling Plugin in linux is too easy, just type "make plugins" after you put your plugin file in src/plugins/ For compiling Plugin in Windows, Check http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC For more info on compiling on Linux, Check http://herc.ws/wiki/Building_HPM_Plugin_for_gcc That's more than enough to know how to install a plugin.
  6. How to make it 10% only? OnNPCKillEvent: if ((strcharinfo( 3 ) != "prt_fild04" || killedrid != 1002) && (rand(100)>=10) ) end; getitem 7227, 1; end; This will make a 10% chance.
  7. I will test itEDIT: Hmm it seems to hard to edit specially when u are making alot of quest. Can u guide me a sample please by using that structure? Lets say Solar God Helm needs to have a 1 apple 2 Orange Juice and 2 Grape Juice. how to do it there? Hercules trader npc is for constant currency, like replacement of tcg shop,mc shop. And maximum 2 currency can be set with tradernpc.
  8. Whats error? If it says invalid job, then its source error, if client crash, then client problem.Can you tell what edits u made in source?(as we cannot read other minds..)
  9. FFFFFF should be 0xFFFFFF progressbar "0xFFFFFF",10;
  10. Wiki says that files are for xray only, so you only need to edit those neo files, and appropriate positions in the source and db folder and recompile.
  11. @annie sorry, I was like how u got to know that topicstarter was uding which emu, I almost got blinr and havent seen left side. @ontopic it wont reset , instead just update the file(add/remove lines), but if there are many edits, it will surely cause conflicts, which u need to fix manually or by programs like winmerge.
  12. shouldnt prt_fild04 be inside quotes.
  13. function script boxweight { //callfunc("boxweight",ItemID,Quantity,BoxID)if (checkweight(atoi(getarg(0)),atoi(getarg(1)))){ getitem atoi(getarg(0)),atoi(getarg(1));}else{ getitem atoi(getarg(2)),1;}end;}Replace spaces with tab,(And suddenly i realize, i cant type tab button in mobile)Usage: on item script, put callfunc("boxweight",ItemID,Quantity,BoxID) And only change itemid,quantity and boxid, P.s:added atoi since many here put quotes.
  14. Isnt this hercules? Addrid is available as plugin not on source by default i believe. http://herc.ws/board/topic/3285-script-command-addrid/Pull request was rejected https://github.com/HerculesWS/Hercules/pull/211 , stating that haru is working on somehing like this.
  15. Was not expecting this post here.
  16. the first file found is read, it doesnt matter if 1st,2nd or 3rd grf, until its the first occurence of that file.if its not included in server grf, then it would be read from data.grf, but for this, data.grf should be updated, which most of players dont have.
  17. Have you added packets for that client at end of packets.h
  18. If death is 0, maybe make it read as 1, and then on first death, death will not increase, it will remain at 1.So we can do like OnPCDieEvent:If(die==0) die=1;Then apply formula. It doesnt need to apply default death value as 1, i think conditions are enough, About sql, we can make column conditions like Int(5) NOT NULL default '0'
  19. Was there any other message displaying file name? And what data folder you are using? https://github.com/ROClientSide/Translation/blob/master/Data/luafiles514/lua%20files/effecttool/effectfunc.lub was updated by me, a month ago, contains that function, maybe if you are using this, error will vanish(dont only download this, since there is one more file for morroc named morroc.lub, you ahould have that too, so just get that whole folder),else maybe if you using this and still have error, then this file must have been updated recently.(but less chance, since you using client older than the lub file, so downloading those files, should vanish your errors.) So get the latest luafolder, and try to run.
  20. wasnt bank limit increased to 2147483647 after 1 week of bank release...
  21. I thought Hercules features were blocking WPE "activities" but couldn't do anything against bots; tho I'd be the happiest man in the world if I am wrong Confirmation (or not) is indeed very welcome based on some searches, openkore dont support it(and other programs too cant bypass it, checked ones whose names I know), but who knows, if a group of botter have it?In my server, I customize a lot of packets(shuffle the order, and add an extra 4byte info in middle, split the info in 2 different position) so that bot programs dont recognize the order(note: this system by me was made years ago, so no comments like, bot was already stop, etc.)(although its still bypassable if they know orders)
  22. Whoa... for a minute there I thought you meant I missed a month D:haha. Is my english soo bad?
  23. One more outstanding month passed. .......... Waiting for next outstanding month....
  24. Mob and item are directly parsed from respective db. The aegis names are the mob/item constants. Npc constants are parsed from db/const.txt
  25. The limit is possesed by clientside I guess, so we have to be on that limit too. max id one can have is 32767
×
×
  • Create New...

Important Information

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