-
Posts
29 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Creamy G Colin
-
Help [-.Exe-]*Server
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
Oh, did you start another project? -
Help activeChar.isIn?
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
And who are you? This guy does not asking for help. He just want a ready code. When he gets what he wants, a new thread will open for another one. L2j Dev rank ,off,gmods etc is not here to give ready solutions for guys who are not even try, but is here to HELP ppl . Help != ready code (except some cases). In the other hand, If anyone who cannot create something by their own , come here and open a thread to get what they want, freelancers will dissapear. His attitute wasn't offensive (fuck the rank) , he just said what he felt about this person . He do have the right, right? Edit. I'm justified -> Posted 10 minutes ago If you have the knowledge for atleast the basics . Can you please tell me what can someone say to him, in order to understand how this thing could be done? NO! he just want it ready to create another topic. No you are not. You had 4 projects in the past , while you were asking for help for every idea that came to your mind. Also, you asked help for config TWICE. search at your activity.... If you really want to learn, get out of here. stackoverflow,google is your best friend. You cant read english? Pay a guy (not even from here) to teach you the basics like what variable is. By: Asking for help, Get what you want, Implement, Is working, New idea for help, and so on. You wont learn anything dude. accept it. -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
sure, it was a different plan for the thing you shared -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
Yeah that was actually the main goal... I saw this post and i tried to create a code that will bring as result the Draconic Bow even if you search for "wob cinocard" the reverse of Draconic Bow... :P -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
if the search word is 'aden' and we have items Adena, Ancient Adena the code will search if 'a','d','e','n' is inside of Adena which is true, AA is also contains all these letters. I cant really get what are you trying to do , but for sure something is broken as you tested in l2. i used it at workspace -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
What problems do you faced with this code? Huge name isn't problem since it is looping the whole char array one by one -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
Alright Mr smart guy. i wont answer to you anymore since im not even working on l2 anymore... i just rly wanna see what @Tryskell have to say about your thoughts -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
What a brain. You came here to judge interlude users/devs? rly nigga? in a share about interlude Server Side? rly nigga? I could say the exact same thing about lineage 2 client devs. What's up? -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
This is > interlude client.... and if not, requires client modification.. so? .... -
Code COMMAND - Admin Command Search Item
Creamy G Colin replied to StinkyMadness's topic in Server Shares & Files [L2J]
I think you didnt even test this code... isnt working at all. Here is one that could work. package test; import java.util.Arrays; import java.util.stream.Collectors; public class workspace { public static void main(String[] args) { final String[] items = new String[] { "Draconic Bow", "Draconic Bow - Focus", "Arcana Mace", "Arcana Mace - Acumen" }; final String search = "drac bo"; Arrays.asList(items).stream().filter(names -> matches(names.toLowerCase(), search.toLowerCase())).collect(Collectors.toList()).forEach(System.out::println); } public static boolean matches(String string1, String string2) { for (char c : string2.toCharArray()) if (string1.indexOf(c) == -1) return false; return true; } } and if you need extra debug mode... take the lines you need and create it -
Discussion Current l2j projects situation
Creamy G Colin replied to Raws's topic in Server Development Discussion [L2J]
I just dont get what the hell are you talking about... The fact that you are a 'dev' and 'working' on a customer's project while this customer saying that the project have bugs, should make you happy because you will fix them and get paid well. 3 possible reasons about your reaction: 1) You are trying to create your own acis server which is 360 rev with tons of customs and important things are missing (Since you havent the last changesets) and crying for that missing stuff. OR 2) You dont know how to fix those bugs that your customer reported (probably) to you. OR 3) You wasted like 5 days to fix something and you broke something else and ASAGDSHGAWEPRGio..... -
Help Shift+click
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
Well, i didnt though that it will take a new line... Im pretty sure it will if the pages are 20 for example. Im not the smart guy, im trying to give you some hints. Your html is huge as you can see. You dont have to add more and more useless things. -
Help Shift+click
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
You know better... My opinion is that is completely useless... You are adding more html code for something that is useless... (Ok, except if your mobs have tons of drops and players are boring to click 10 times the arrow). An alternative way, is to make the numbers appearing with max values... Ex if you are in 5th page, should be appearing 4,5,6. I still believe that your way is not good at all . For html design and coding too. -
Help Shift+click
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
What will happen if the droplist is huge? the numbers will take place in the next line and the next one? -
Help Shift+click
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
Your paging system should be changed . (delete numbers and keep only the arrows) -
Help Shift+click
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
There's a whole section to find out the best one lol -
Help Shift+click
Creamy G Colin replied to criss22's question in Request Server Development Help [L2J]
Have you ever thought to buy the things you want from a dev? You are coming like a storm with a new pack always and opening thousands of topic and asking for help... Grow up mate seriously -
Help making the services by items
Creamy G Colin replied to HorrorSlyer's question in Request Server Development Help [L2J]
destroyItemByItemId its a boolean method. True if all item count destroyed ,false if not. So item count check is useless -
Depends on your needs . If you need key+ value then use it. Else if you need only the player use the set. Both of them are synchronized
-
Help Treasure chest open with Deluxe key
Creamy G Colin replied to loleknos's question in Request Server Development Help [L2J]
its because you missing the item handler as i told you the item handler will launch the skill (deluxe key) -
Help Treasure chest open with Deluxe key
Creamy G Colin replied to loleknos's question in Request Server Development Help [L2J]
replace again the line with the one i updated. About the item handler just see arround the other handlers how they are working and do your own. As i can see "l2r" sources, ive never work on those before -
Help Treasure chest open with Deluxe key
Creamy G Colin replied to loleknos's question in Request Server Development Help [L2J]
about the code you posted above you have only to edit 3 lines and define the skill id. private static final int ATTACK_SPAWN_TIME = 5000; private static final int PLAYER_LEVEL_THRESHOLD = 78; private static final int MAESTROS_KEY_SKILL_ID = 22271; + private static final int SKILL_DELUXE_KEY = 2229; else { npc.getVariables().set("MAX_LEVEL_DIFFERENCE", 5); } - if (npc.getVariables().getInt("MAESTRO_SKILL_USED") == 0) + if (npc.getVariables().getInt("MAESTRO_SKILL_USED") == 0 || npc.getVariables().getInt("DELUXE_KEY") == 0) { - if ((skill != null) && (skill.getId() == MAESTROS_KEY_SKILL_ID)) + if (skill != null && (skill.getId() == MAESTROS_KEY_SKILL_ID || skill.getId() == SKILL_DELUXE_KEY)) { - npc.getVariables().set("MAESTRO_SKILL_USED", 1); + npc.getVariables().set(skill.getId() == MAESTROS_KEY_SKILL_ID ? "MAESTRO_SKILL_USED" : "DELUXE_KEY" , 1); Take care about chances. if you want different chance on deluxe key you have to edit more things now about the item handler part, you have to create it by your own. you didnt even mention your sources name. -
Help Treasure chest open with Deluxe key
Creamy G Colin replied to loleknos's question in Request Server Development Help [L2J]
Usually deluxe keys have item skill 2229 which is Treasure Chest Key skill. You need an item handler (if you dont have) to catch the item while in this handler you will add all the conditions like target instanceof TreasureChest etc... and then use the skill. In your code you just have to add one more 'if' to check the skill id and add your chances -
Get current player & actions
Creamy G Colin replied to BrabusLV's question in Request Server Development Help [L2J]
Not sure what is this but, considering to that name i think somewhere should be located all the opcodes of the packets that have to send in server side. so MoveForward have an opcode. (Client side is not l2.ini. do a deep search :P) And again, a client dev can help you more than us.