T9Text Posted June 30, 2015 Posted June 30, 2015 (edited) Hello guys :) I have end my "Shift Click Action" but i dont know how to link (Item Icon) If somebody can help me :) Preview : //EDIT Source : l2jaCis Edited July 2, 2015 by T9Text
0 T9Text Posted July 3, 2015 Author Posted July 3, 2015 (edited) Problem Solved Thanks to Elfosass :) Edited July 3, 2015 by T9Text
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 Do they have the icon names in the xml files? No :/ but i think i can find this .xml ( i think is shared like) <list> <id=57 icon=icon.etc_adena_i00> <id=.....> </list>
0 Tessa Posted July 1, 2015 Posted July 1, 2015 Then just put a getter in the parser and you're done... just like l2jserver.
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 Then just put a getter in the parser and you're done... just like l2jserver. I dont know how to connect html with xml :/ <img width=32 height=32 src=" + itemId.getIcon() + "> ?? or what... dont need on java side something ? only one xml ?
0 Tessa Posted July 1, 2015 Posted July 1, 2015 You need to create the getIcon() method which takes the icon name.
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 You need to create the getIcon() method which takes the icon name. How ? :S im new on aCis :P i was use l2jfrozen and i know only how to connect sql :S can you give me the method ? and i miss and xml atm :S
0 Tessa Posted July 1, 2015 Posted July 1, 2015 You can look at the other item related methods for example.
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 (edited) You can look at the other item related methods for example. I make the xml by myself :) http://pastebin.com/V8iHWBC8 If you want to help me with java side im waiting :) //Edit Pastebin Edited July 1, 2015 by T9Text
0 Tryskell Posted July 1, 2015 Posted July 1, 2015 A workbench is currently under process to add getIcon() and other missing L2OFF tags (reparsing infos directly from L2OFF to fix few L2J errors aswell). I can't tell you how much time it will take, as it's a secondary workbench, not performed by myself (but followed). If you don't count to add icons on items XMLs, simply hardcode it under a static Map<Integer, String> waiting.
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 If i add this code ( http://pastebin.com/TmngATeH ) you think i will have lag or any problem ?
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 Then can help me with that XML ? http://pastebin.com/E6cAXHv6
0 Tryskell Posted July 1, 2015 Posted July 1, 2015 If i add this code ( http://pastebin.com/TmngATeH ) you think i will have lag or any problem ? I loled on the code. It generates a hashmap and populate it everytime you request a icon. It's a performance overkill.
0 T9Text Posted July 1, 2015 Author Posted July 1, 2015 I loled on the code. It generates a hashmap and populate it everytime you request a icon. It's a performance overkill. Thank you for your opinion but that not help me :/ Somebody please.... ?
Question
T9Text
Hello guys :)
I have end my "Shift Click Action" but i dont know how to link (Item Icon)
If somebody can help me :)
Preview :
//EDIT
Source : l2jaCis
Edited by T9Text21 answers to this question
Recommended Posts