Dastgir
Script Developers-
Content Count
3805 -
Joined
-
Last visited
-
Days Won
250
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Dastgir
-
Shouldn't You Post Error instead of only saying I got some errors in compiling and enabling?
-
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)
-
Anywhere in the World of RO.
-
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.
-
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.
-
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.
-
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.
-
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..)
-
FFFFFF should be 0xFFFFFF progressbar "0xFFFFFF",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.
-
@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.
-
shouldnt prt_fild04 be inside quotes.
-
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.
-
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.
-
Was not expecting this post here.
-
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.
-
Have you added packets for that client at end of packets.h
-
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'
- 14 replies
-
- woe ranking
- guild ranking
-
(and 1 more)
Tagged with:
-
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.
-
wasnt bank limit increased to 2147483647 after 1 week of bank release...
-
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)
-
Whoa... for a minute there I thought you meant I missed a month D:haha. Is my english soo bad?
-
One more outstanding month passed. .......... Waiting for next outstanding month....
-
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
-
The limit is possesed by clientside I guess, so we have to be on that limit too. max id one can have is 32767