AnnieRuru
~~Cute~Cute~Scripter~~
- Messages
- 1,677
- Points
- 0
- Location
- your next door ~
- Discord
- AnnieRuru#1609
- Github
- AnnieRuru
- Emulator
- Client Version
- 2019-05-30aRagexeRE
another lame script that has been around for a very long time ...
just a function to show the item name exactly like on the client side
Download: 2.6
script
Display Item name just as the client
version 2 onward has color code for display inside npc dialog
original topic from eathena and rathena ...
just a function to show the item name exactly like on the client side
Download: 2.6
script
Display Item name just as the client
version 2 onward has color code for display inside npc dialog
original topic from eathena and rathena ...
to faster get the prefix name for hercules process
open kro/data/cardprefixnametable.txt, use notepad++, find with regular expression
replace with
open kro/data/cardprefixnametable.txt, use notepad++, find with regular expression
Code:
([0-9]+)#([][&0-9a-z_'.()]*)#
Code:
$@cardprefix$[\1] = "\2";
1.0 getitemname2_1.0.txt
--- initial release
2.0 getitemname2_2.0.txt
--- reduce gotocount in checking item type, card name, card amount, and crafted info
------ priority item types, eg: etc items is conditioned 1st, carded equipment next, signed equipment conditioned last
------ in carded equipment check, priority equipment with only 1 type of card each, 4 same cards conditioned last
------ in signed item check, priority etc items that has no star crumb or elemental
--- change VS into Very Strong, it was copy pasted from my itemlist script lol
--- added a temporal array for a more detailed item info
--- fix a bug that carded etc items show card name
2.1 getitemname2_2.1.txt
--- reduce gotocount by using Keyworld's <- lol !! method
--- make unidentified items shows the name as accurate as possible, though may not 100% be correct
--- fix bug [3] should show star crumb level but it showed weapon element instead
2.2 getitemname2_2.2.txt
--- update to fit latest renewal client item names
2.3 getitemname2_2.3.txt
--- update all variables to fit latest rathena revision, and renewal client item names
--- fix enchantment not showing properly
--- optimized card counting with *countstr
--- utilizing *freeloop instead of Keyworld's <- lol !! method
--- TODO: useless unidentified updates ....
2.4 - script
- made in 2015
--- no longer use setd on card prefix, use array as pointers
2.5 - script
- made in Jan 2019
--- hercules has update item ID smallint(6) field into int(11), and signed item need to rewrite
--- finally update unidentified items, simply using regular expression replace
--- card counting no longer count with strings
2.6 - script
- fix a bug when you have only 1 card inserted, it shows Triple <blank>, now the blank slot no longer calculate
- fix a bug for missing line getiteminfo(ITEMINFO_SUBTYPE) when having identify flag off
--- initial release
2.0 getitemname2_2.0.txt
--- reduce gotocount in checking item type, card name, card amount, and crafted info
------ priority item types, eg: etc items is conditioned 1st, carded equipment next, signed equipment conditioned last
------ in carded equipment check, priority equipment with only 1 type of card each, 4 same cards conditioned last
------ in signed item check, priority etc items that has no star crumb or elemental
--- change VS into Very Strong, it was copy pasted from my itemlist script lol
--- added a temporal array for a more detailed item info
--- fix a bug that carded etc items show card name
2.1 getitemname2_2.1.txt
--- reduce gotocount by using Keyworld's <- lol !! method
--- make unidentified items shows the name as accurate as possible, though may not 100% be correct
--- fix bug [3] should show star crumb level but it showed weapon element instead
2.2 getitemname2_2.2.txt
--- update to fit latest renewal client item names
2.3 getitemname2_2.3.txt
--- update all variables to fit latest rathena revision, and renewal client item names
--- fix enchantment not showing properly
--- optimized card counting with *countstr
--- utilizing *freeloop instead of Keyworld's <- lol !! method
--- TODO: useless unidentified updates ....
2.4 - script
- made in 2015
--- no longer use setd on card prefix, use array as pointers
2.5 - script
- made in Jan 2019
--- hercules has update item ID smallint(6) field into int(11), and signed item need to rewrite
--- finally update unidentified items, simply using regular expression replace
--- card counting no longer count with strings
2.6 - script
- fix a bug when you have only 1 card inserted, it shows Triple <blank>, now the blank slot no longer calculate
- fix a bug for missing line getiteminfo(ITEMINFO_SUBTYPE) when having identify flag off
Last edited by a moderator: