-
Content Count
1677 -
Joined
-
Last visited
-
Days Won
245
Reputation Activity
-
AnnieRuru got a reaction from anacondaq in Adding Thief Skills to Knight Skill Tree
no need patch, just pure skill tree
db\re\skill_tree.conf
Knight: { inherit: ( "Swordsman" ); skills: { TF_HIDING: 10 KN_SPEARMASTERY: 10 KN_PIERCE: { MaxLevel: 10 KN_SPEARMASTERY: 1 } data\luafiles514\lua files\skillinfoz\skilltreeview.lub
[JOBID.JT_KNIGHT] = { [0] = SKID.KN_TWOHANDQUICKEN, [1] = SKID.KN_AUTOCOUNTER, [2] = SKID.KN_RIDING, [3] = SKID.KN_SPEARMASTERY, [6] = SKID.KN_CHARGEATK, [8] = SKID.KN_BOWLINGBASH, [9] = SKID.KN_CAVALIERMASTERY, [10] = SKID.KN_PIERCE, [13] = SKID.KN_ONEHAND, [16] = SKID.KN_SPEARBOOMERANG, [17] = SKID.KN_SPEARSTAB, [24] = SKID.KN_BRANDISHSPEAR, [25] = SKID.TF_HIDING }, data\luafiles514\lua files\skillinfoz\skillinfolist.lub
[SKID.TF_HIDING] = { "TF_HIDING", SkillName = "Hiding", MaxLv = 10, SpAmount = { 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 }, bSeperateLv = true, AttackRange = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }, NeedSkillList = { [JOBID.JT_THIEF] = { { SKID.TF_STEAL, 5 } } } },
and if having trouble when client clash, don't unpack from data.grf, copy the one from translation team
-
AnnieRuru got a reaction from anacondaq in Adding Thief Skills to Knight Skill Tree
Knight: { inherit: ( "Swordsman" ); skills: { KN_SPEARMASTERY: 10 KN_PIERCE: { MaxLevel: 10 KN_SPEARMASTERY: 1 } KN_BRANDISHSPEAR: { MaxLevel: 10 KN_RIDING: 1 KN_SPEARSTAB: 3 } KN_SPEARSTAB: { MaxLevel: 10 KN_PIERCE: 5 } KN_SPEARBOOMERANG: { MaxLevel: 5 KN_PIERCE: 3 } KN_TWOHANDQUICKEN: { MaxLevel: 10 SM_TWOHAND: 1 } KN_AUTOCOUNTER: { MaxLevel: 5 SM_TWOHAND: 1 } KN_BOWLINGBASH: { MaxLevel: 10 SM_BASH: 10 SM_MAGNUM: 3 SM_TWOHAND: 5 KN_TWOHANDQUICKEN: 10 KN_AUTOCOUNTER: 5 } KN_RIDING: { MaxLevel: 1 SM_ENDURE: 1 } KN_CAVALIERMASTERY: { MaxLevel: 5 KN_RIDING: 1 } KN_CHARGEATK: 1 KN_ONEHAND: { MaxLevel: 1 KN_TWOHANDQUICKEN: 10 } TF_HIDING: 10 } } ok I don't know why, but the TF_HIDING has to be the last ... probably because it is [25] ??
previously can't learn the skill, now suddenly can
Actually I don't know why sometimes can put skill points in and sometimes it doesn't work either !!
-
AnnieRuru got a reaction from MikZ in Promotional Code
1.3 - script
- fix a bug the 'Promotion code has Started' didn't even activate after a server restart
- fix a bug when GM edit the start/expire date field, the announcement didn't update along with it ... should have just disable it when countdown initiated
- fix a bug when GM close a promo code, it doesn't announce a GM has closed it, yet its still make announcement about still can claim promo code
OKies I'm gonna leave this script and go do some other project ...
maybe some other day can come back and rewrite this script entirely with .npc_var only sync with SQL variables so don't have to call query_sql so frequently ...
but as it stands now, this script is 1400 lines, not something to be underestimate
-
AnnieRuru got a reaction from RodrigoRod in Promotional Code
1.3 - script
- fix a bug the 'Promotion code has Started' didn't even activate after a server restart
- fix a bug when GM edit the start/expire date field, the announcement didn't update along with it ... should have just disable it when countdown initiated
- fix a bug when GM close a promo code, it doesn't announce a GM has closed it, yet its still make announcement about still can claim promo code
OKies I'm gonna leave this script and go do some other project ...
maybe some other day can come back and rewrite this script entirely with .npc_var only sync with SQL variables so don't have to call query_sql so frequently ...
but as it stands now, this script is 1400 lines, not something to be underestimate
-
AnnieRuru got a reaction from kalabasa in About the mushroom_event
OnMinute40: if (mobcount(.Map$, strnpcinfo(0)+"::OnMobKilled") == 0) end; killmonster .Map$, strnpcinfo(0)+"::OnMobKilled"; announce "All left over mushroom has been removed", bc_all; end;
I don't use rAthena but should work
-
AnnieRuru got a reaction from evilpuncker in Adding Thief Skills to Knight Skill Tree
no need patch, just pure skill tree
db\re\skill_tree.conf
Knight: { inherit: ( "Swordsman" ); skills: { TF_HIDING: 10 KN_SPEARMASTERY: 10 KN_PIERCE: { MaxLevel: 10 KN_SPEARMASTERY: 1 } data\luafiles514\lua files\skillinfoz\skilltreeview.lub
[JOBID.JT_KNIGHT] = { [0] = SKID.KN_TWOHANDQUICKEN, [1] = SKID.KN_AUTOCOUNTER, [2] = SKID.KN_RIDING, [3] = SKID.KN_SPEARMASTERY, [6] = SKID.KN_CHARGEATK, [8] = SKID.KN_BOWLINGBASH, [9] = SKID.KN_CAVALIERMASTERY, [10] = SKID.KN_PIERCE, [13] = SKID.KN_ONEHAND, [16] = SKID.KN_SPEARBOOMERANG, [17] = SKID.KN_SPEARSTAB, [24] = SKID.KN_BRANDISHSPEAR, [25] = SKID.TF_HIDING }, data\luafiles514\lua files\skillinfoz\skillinfolist.lub
[SKID.TF_HIDING] = { "TF_HIDING", SkillName = "Hiding", MaxLv = 10, SpAmount = { 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 }, bSeperateLv = true, AttackRange = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }, NeedSkillList = { [JOBID.JT_THIEF] = { { SKID.TF_STEAL, 5 } } } },
and if having trouble when client clash, don't unpack from data.grf, copy the one from translation team
-
AnnieRuru got a reaction from Mihael in @market clone
update to version 1.9
plugin
big thanks to dastgir to give some hints how to update this plugin
if you removed that, any server that has show_mob_info settings on, will allow players to see the level and hp of the mobs
it seems the function has changed, now just need clif_mobname_ack to work
-
AnnieRuru got a reaction from Mihael in OnPCStatCalcEvent
update to version 1.3
plugin
consumables should be done with *sc_start something
{ Id: 32247 AegisName: "Dark_Elf_Potion" Name: "Dark Elf Potion" Type: "IT_USABLE" Weight: 100 BuyingStore: true Trade: { nodrop: true noselltonpc: true nomail: true noauction: true } Script: <" sc_start SC_INCDEX, 500, 10; sc_start SC_INCINT, 500, 20; sc_start SC_INCAGI, 500, 5; sc_start SC_INCMATKRATE, 500, 10; "> }, seems unrelated to what this modification does ... though
-
AnnieRuru reacted to gidzdlcrz in Promotional Code
^ Well then lemme quote this and post to rathena forums.
-
AnnieRuru got a reaction from evilpuncker in Promotional Code
1.2 - script
- fix a bug after the code expire, the "list player has claimed this code" option is missing
- fix a bug that when the code suddenly triggered/start, GM still can do edit
- add some text to tell why players can't claim the code
- add announcement when the Promotion Code activate and expire
EDIT: found another bug, when using EDIT start/expire time, the announcement doesn't react ....
I don't know how to fix this one <-- let's try trigger every hour
a big word NO
2 conditions then I'll consider
No.1 - tell rathena developers to merge *getcalendartime script command
https://github.com/HerculesWS/Hercules/commit/79b69495bbc5d758529a485eb1144bd64b8ea50f
No.2 - tell rathena developers that *preg_match to follow the exact PHP style format, that can return $array
https://www.php.net/manual/en/function.preg-match.php
currently rathena's preg_match is like this
*preg_match(<regular expression pattern>,<string>{,<offset>})
I want this
*preg_match(<regular expression pattern>,<string>{,<offset>{,<output array>,{<flag>}}})
if rathena has these 2 script commands, then only I'll consider
because this script is using them, without these 2 script commands it just won't feel the same functionality if these 2 features are scrap
-
AnnieRuru got a reaction from gidzdlcrz in View current token quest script
ZZZZZZzzzzzz......
talk to this npc... then talk to that npc... then go here kill monster, then help this npc in trouble ...
what ... you think is rpg game or something ?
insert keima meme here from the world gods only knows episode 4 18:12
ok joke aside, I don't like doing this kind of stuffs, unless you want to pay me of course
but if you want to do it yourself, there are 2 ways I can think of
1. create a new bindatcmd "@checktokenquest" and script all the description yourself, this new npc will have a very long lines to code
2. use quest log system like my sample here ->
either way good luck
I think gravity will eventually put this onto quest log or something...
-
AnnieRuru got a reaction from MikZ in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
AnnieRuru got a reaction from anacondaq in About guild emblems
conf\map\battle\client.conf
// Limits use of blank (transparent) pixels in guild emblems to a set // percentage of the total. // Official servers do not enforce this technically to date, but some disallow // use of blank emblems in their rules. (Note 2) // A value of 100 (allowing 100% blank pixels) disables this check. // NOTE: Enabling this option slightly degrades performance. client_emblem_max_blank_percent: 100
I think this is the answer you are looking for
@Kuroyama
-
AnnieRuru got a reaction from RodrigoRod in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
-
AnnieRuru reacted to 4144 in Some upcoming hercules features
Futures already added to hercules:
Inventory expanding
http://imgc1.gnjoy.com/ufile/ro/2018/11/21/QK3O60RA1MGOMU301NUO.gif
Supported from clients: 2018-10-31 ragexe/ragexeRE, 2018-11-14 zero.
For expand inventory need to have in inventory item Inventory_Extension_Coupon (25793)
Barter shop
Supported from clients: 2019-01-16 ragexe/ragexeRE, 2018-12-26 zero.
For shop barter shop need uncomment line
"npc/custom/bartershop.txt", in npc/scripts_custom.conf. Barter shop demo npc will be added in prontera at (159, 284).
Most client exes can be downloaded here: http://nemo.herc.ws/downloads/
-
AnnieRuru reacted to 4144 in Some new hercules features
Display group (titlte) and icon for mobs, homunculus, npc, mercenaries
For set icon in some way need get bl_id of npc, mob etc and call function:
Set icon
setunitdata(GID, UDT_GROUP, ID) Icon files stored in directory data/texture/유저인터페이스/group/group_ID.bmp
Where GID is bl id of being, ID is icon id.
Example for npc:
setunitdata(getnpcid(), UDT_GROUP, 3); It will use this image:
data/texture/유저인터페이스/group/group_3.bmp
Set group
setunittitle(GID, group_name);
Where group_name is any name what you want assign to group
Example for npc:
setunittitle(getnpcid(), "Hercules");
Sample images
Works from versions:
ragexe from 20180207,
ragexeRE from 20171129,
ragexe_zero from 20171130
-
AnnieRuru got a reaction from gidzdlcrz in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
AnnieRuru got a reaction from Aethelingaeg in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
AnnieRuru got a reaction from Sikdope in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
AnnieRuru got a reaction from evilpuncker in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
AnnieRuru got a reaction from fiction in Promotional Code
I got 2 rep up for making that grumbling post, that just shows how many members really like this idea
and of course I knew many topics talking about this script again and again and again and again and again and again and again and again and again and again and again and again !!!
so I make one myself and hopefully don't want see people talking about that bug script again !!
What this script does ?
GM generate some sort of gibberish word and promotes it on social media
then players input that gibberish word and able claim the items
honestly I don't really see the point of gibberish word,
I made this script in a drop down menu, players can just select it from the menu and claim it <_<
Download: 1.3
script
here's an example by Philippine RO, from this post
TODO :
1. add coloring to the text
2. HULD compatible ?
3. maybe someday can rewrite this whole damn thing with .npc_var sync with SQL variables so don't have to call query_sql too frequently
-
AnnieRuru reacted to meko in defpattern: regexp, my old ennemy
defpattern is case insentive, but pcre_match (and the regex operator) is not.
This means you could just use "^(.*)$" with defpattern and then filter a second time (the variable is $@p0$) with pcre_match (or ~=) when the event is invoked.
-
AnnieRuru got a reaction from evilpuncker in Making body style ignore palette
correct answer is just make changes to the stylist script
prontera,170,180,1 script Stylist#custom_stylist 2_M_DYEINGER,{ .@choose = select( "Hair Style", "Hair Color", "Cloth Color", ( !(eaclass() & EAJL_THIRD) || BaseJob == Job_SuperNovice )? "": _("Body Style") ) -1; if (.@choose == 3) // JUST ADD THIS FUCKING SIMPLE LINE setlook LOOK_CLOTHES_COLOR, 0; .@lookpart = .@part = .look[.@choose]; if ( BaseClass == Job_Summoner ) .@part += Job_Summoner;
btw I have at least 4 paid service line up right now so .... that reply you made on my stylist script, takes time to write so yeah ........
-
AnnieRuru got a reaction from Fou-lu in Change reading order of files.
so far I have never failed to convert anything into plugin
mainly due to plugin allow function overload
https://github.com/HerculesWS/Hercules/wiki/Hercules-Plugin-Manager
although I still recommend using hooking instead of overloading as much as possible,
as having 2 plugins overloading the same function might cause problems for your server
EDIT: example of overload a function
https://github.com/AnnieRuru/Release/blob/master/plugins/branch_displayname.c