Vegetta Posted November 28, 2013 Posted November 28, 2013 Hello, I am looking for disable/enable: 1. Block Shots Animation 2. Hide Stores (Hide all private stores ) 3. On enter load shots (Auto Activate SoulShots on EnterWorld) ------------------------------------------------- Is there any pack shared with these stuffs or someone can paste the codes please ? Thank you !
0 xdem Posted November 28, 2013 Posted November 28, 2013 (edited) do you want a ingame coffee maker man... ? A blowjob perhaps? Edited November 28, 2013 by xdem
0 xdem Posted November 28, 2013 Posted November 28, 2013 what is wrong on my request? ppl are all pro to request here, few are those who are able to help them but they have no reason to do so
0 Vegetta Posted November 28, 2013 Author Posted November 28, 2013 ppl are all pro to request here, few are those who are able to help them but they have no reason to do so Why you are all so greedy ? I saw some Servers based on L2jServer that have this options on control pannel .ccp
0 SweeTs Posted November 29, 2013 Posted November 29, 2013 1 & 3 is shared, just search. :P About 2, I don't have a clue what you mean by that. Also, like xdem said, none will just share the code like that, nor search it for you.
0 povis111 Posted November 29, 2013 Posted November 29, 2013 (edited) 1 & 3 is shared, just search. :P About 2, I don't have a clue what you mean by that. Also, like xdem said, none will just share the code like that, nor search it for you. Lol, i don't think that's mutch of a code with 2. In fact, i could bet that it's related to PcKnownList.java class. I think imma make that... I don't know if this works.. but try finding 'public void refreshInfos()' in PcKnownList.java and add a check for offline traders. I don't know how to check if the player is in offline trade, just try this: public void refreshInfos() { for (L2Object object : _knownObjects.values()) { if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).getOfflineStartTime()>0) continue; sendInfoFrom(object); } } oh i misread xD it's just stores :D public void refreshInfos() { for (L2Object object : _knownObjects.values()) { if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).isInStoreMode() || ((L2PcInstance) object).isInCraftMode()) continue; sendInfoFrom(object); } } Edited November 29, 2013 by povis111
0 Guest Elfocrash Posted November 29, 2013 Posted November 29, 2013 Lol, i don't think that's mutch of a code with 2. In fact, i could bet that it's related to PcKnownList.java class. I think imma make that... I don't know if this works.. but try finding 'public void refreshInfos()' in PcKnownList.java and add a check for offline traders. I don't know how to check if the player is in offline trade, just try this: public void refreshInfos() { for (L2Object object : _knownObjects.values()) { if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode()) continue; if (object instanceof L2PcInstance && ((L2PcInstance) object).getOfflineStartTime()>0) continue; sendInfoFrom(object); } } or public void refreshInfos() { for (L2Object object : _knownObjects.values()) { if (object instanceof L2PcInstance && ((L2PcInstance) object).inObserverMode() || ((L2PcInstance) object).getOfflineStartTime()>0) continue; sendInfoFrom(object); } } Why are you looping around object and then specify their instance rather than looping around pcinstance and using just that?
0 povis111 Posted November 29, 2013 Posted November 29, 2013 Why are you looping around object and then specify their instance rather than looping around pcinstance and using just that? that's a default code in my pack.... i could have done that... but i just didn't :D
0 xdem Posted November 29, 2013 Posted November 29, 2013 i think it could work via sendInfo from L2PcInstance if (isInCraftMode blabla bla return;
0 Guest Elfocrash Posted November 30, 2013 Posted November 30, 2013 i think it could work via sendInfo from L2PcInstance if (isInCraftMode blabla bla return; Yeah by altering the visiblility status but that would be less fast in overall
Question
Vegetta
Hello,
I am looking for disable/enable:
1. Block Shots Animation
2. Hide Stores (Hide all private stores )
3. On enter load shots (Auto Activate SoulShots on EnterWorld)
-------------------------------------------------
Is there any pack shared with these stuffs or someone can paste the codes please ?
Thank you !
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now