![]() |
|
|
#51 | |
|
Архивный участник
Join Date: May 2005
Posts: 71
|
Quote:
|
|
|
|
|
|
#52 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Looks cold...
|
|
|
|
|
#53 | |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Quote:
(even if this topic became kinda useless...) |
|
|
|
|
|
#54 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
so i dont get a cup of coffee?
DISCRIMINATION! :cry: :cry: :cry: (burn you...) :roll: |
|
|
|
|
#55 |
|
Архивный участник
Join Date: Jan 2006
Posts: 68
|
ppl stop with those cups, better make something useful...
|
|
|
|
|
#56 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
I feel like closing this topic...
|
|
|
|
|
#57 |
|
Архивный участник
Join Date: Feb 2006
Posts: 4
|
In some servers, what they have done is a program that takes as input a function key (this which the users uses for ss or bss) and sends this function key to the server every specific period of time. Using on key the user can enable/disable. Some users use it and for crafting (as receipe book).
This is not a good solution but it is used. |
|
|
|
|
#58 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 154
|
Quote:
|
|
|
|
|
|
#59 |
|
Архивный участник
Join Date: Mar 2006
Posts: 38
|
HI All.
(I'am not sorry for my bad english )Anybody have solution's, idea's about how to fix autosoulshot's? I have some idea's , but i not sure , that it correct. 1. Interesting, what protocol needed for working autoSS? 530 or higher? 2. Where trouble: server side, client dll(s) side or both? 3. So, at java client-server autoSS are working, but help this to us if analyzing java source? client.Request.AutoSoulshot.Java. Code:
package net.sf.l2j.gameserver.clientpackets;
import java.nio.ByteBuffer;
import java.util.logging.Logger;
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.ClientThread;
import net.sf.l2j.gameserver.ItemTable;
import net.sf.l2j.gameserver.model.L2ItemInstance;
import net.sf.l2j.gameserver.model.L2PcInstance;
import net.sf.l2j.gameserver.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.serverpackets.SystemMessage;
import net.sf.l2j.gameserver.templates.L2Item;
public class RequestAutoSoulShot extends ClientBasePacket
{
private static final String _C__CF_REQUESTAUTOSOULSHOT = "[C] CF RequestAutoSoulShot";
private static Logger _log = Logger.getLogger(RequestAutoSoulShot.class.getName());
// format cd
private final int _itemId;
private final int _type; // 1 = on : 0 = off;
public RequestAutoSoulShot(ByteBuffer buf, ClientThread client)
{
super(buf, client);
_itemId = readD();
_type = readD();
}
void runImpl()
{
L2PcInstance activeChar = getClient().getActiveChar();
if (activeChar.getPrivateStoreType()==0 && activeChar.getTransactionRequester()==null && !activeChar.isDead())
{
if (Config.DEBUG) _log.fine("AutoSoulShot:" + _itemId);
L2ItemInstance item = activeChar.getInventory().findItemByItemId(_itemId);
if (item != null)
{
L2Item tempItem = ItemTable.getInstance().getTemplate( item.getItemId() );
String tempName = tempItem.getName();
if ( _type == 1)
{
if (item == null)
{
_log.warning("Bad item id ("+_itemId+") was given to RequestAutoSoulShot.");
activeChar.sendPacket(new ActionFailed());
return;
}
activeChar.addAutoSoulShot(_itemId);
ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
activeChar.sendPacket(atk);
//start the auto soulshot use
SystemMessage sm = new SystemMessage(1433);
sm.addString(tempName);
activeChar.sendPacket(sm);
}
else if ( _type == 0)
{
activeChar.removeAutoSoulShot(_itemId);
ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
activeChar.sendPacket(atk);
//cancel the auto soulshot use
SystemMessage sm = new SystemMessage(1434);
sm.addString(tempName);
activeChar.sendPacket(sm);
}
}
}
}
/* (non-Javadoc)
* @see net.sf.l2j.gameserver.clientpackets.ClientBasePacket#getType()
*/
public String getType()
{
return _C__CF_REQUESTAUTOSOULSHOT;
}
}
Code:
package net.sf.l2j.gameserver.serverpackets;
public class ExAutoSoulShot extends ServerBasePacket
{
private static final String _S__FE_EXAUTOSOULSHOT = "[S] FE ExAutoSoulShot";
private int _itemId;
private int _type;
public ExAutoSoulShot(int itemId, int type)
{
_itemId = itemId;
_type = type;
}
final void runImpl()
{
// no long-running tasks
}
final void writeImpl()
{
writeC(0xFE);
writeH(0x12); //unknown??
writeD(_itemId);
writeD(_type);
}
/* (non-Javadoc)
* @see net.sf.l2j.gameserver.serverpackets.ServerBasePacket#getType()
*/
public String getType()
{
return _S__FE_EXAUTOSOULSHOT;
}
}
So, i execute game, logining, execute sniffer and press right mouse button at shortcut with soulshot's, than stop sniffer and save packet's. # some packet's - haven't data section, just destination , source etc. may be it's ping like packet's ?... # many packet's are small , i think , that is transmition , player position/status. Example data section of client-side packet. Code:
1f 00 63 6c 01 01 a0 84 3b bc de 27 d6 29 77 6f 56 d1 b3 86 6d 6d cc 10 b5 cd 50 3f 3f 3f 9e Code:
13 00 61 38 3b 3b 9a f7 a3 24 21 55 56 56 f7 f0 ab 2c 29 Example data section of server-side packet (big). Code:
29 00 5e 69 17 07 ee c2 eb 7c 22 58 53 53 f2 9f cb 4c 5a 2d 2e 2e 8f e3 b7 30 26 30 5e 5e ff db 64 e3 f5 3a c8 37 69 05 51 0b 00 59 3b 3a 3a 9b f7 a3 24 19 23 00 61 17 14 16 b7 db 8f 96 c9 ae ed 86 28 44 10 03 47 30 33 33 92 fe aa 2d 6b 1c 1f 1f be d2 86 01 47 d5 01 63 75 1b 1b ba 9e 21 a6 c1 0e fc 03 5d 31 65 e2 85 b2 cc dc 35 1d 49 8b ec fd fe 98 39 3e 6a ac cb bc bf be 1f 73 27 a1 c6 b1 b2 ab 0a 66 32 b0 d7 a0 a3 1f aa c6 92 00 67 10 13 0b aa c6 92 0c 6b 1c 1f 3a 9b f7 a3 33 54 23 20 08 a9 c5 91 8f e8 9f 9c 05 a4 c8 9c cf a8 df dc 08 a9 c5 91 a5 c2 b5 b6 64 f9 95 c1 c6 46 30 33 1b ba d6 82 05 62 15 16 8a 32 4e 5a 46 38 5f 1c 81 39 45 51 4c 32 55 16 8f 37 4b 5f 4c 32 55 16 8e 36 4a 5e d9 be c9 ca 5c e4 98 8c 98 e6 81 c2 50 e8 94 80 92 ec 8b c8 c8 69 05 51 4e 30 57 14 14 b5 d9 8d 0a 6d 1a 19 54 f6 9a ce 04 60 17 14 98 3a 56 02 e8 8c fb f8 95 37 5b 0f a4 c3 b4 b7 07 a6 ca 9e 19 7e 09 0a 38 99 f5 a1 6b 08 7f 7c 2c 89 e5 b1 10 77 00 03 03 a2 ce 9a ad ca bd be be 1f 73 27 b3 d4 a3 a0 f2 52 3e 6a 8e e9 9e 9d bf 1e 72 26 86 e1 96 95 bc 1d 71 25 ba dd aa a9 15 b5 d9 8d 58 3e 49 4a 33 92 fe aa 2d 4a 3d 3e 3e 9f f3 a7 5a 3d 4a 49 1c bd d1 85 78 1f 68 6b 3e 9f f3 a7 5a 3d 4a 49 1c bd d1 85 78 1f 68 6b 3e 9f f3 a7 84 93 d9 d0 07 05 99 f2 11 2b 80 c5 c6 1f 80 eb 6c 0b 7c 7f 7f de ac b8 3f 58 2f 2c 2c 8d d6 c2 43 24 53 50 52 f3 9f cb 4e 29 5e 5d 5c fd 91 c5 42 25 52 51 51 f0 9c c8 4f 28 5f 5c 5c fd 91 c5 42 25 52 51 51 f0 9c c8 4f 28 5f 5c 5c fd 91 c5 42 25 52 51 51 f0 9c c8 4f d7 5f a3 5c 02 91 3a 42 da 52 ae 51 0f 9c 37 4f d7 5f a3 5c 02 91 3a 42 da 52 ae 51 0f 9c 37 4f 2e 59 5a 5a fb 97 c3 44 73 04 1e 1e bf d3 87 00 67 10 6c 6c cd a1 8a 0d 6a 1d 1e But, I want to find solution and please stop flooding at this topik - it's not help us. Thank's. |
|
|
|
|
#60 |
|
Архивный участник
Join Date: Mar 2006
Posts: 38
|
may be this help somebody.
Client packet [EXAMPLE] Code:
00 0c 6e b8 b7 49 00 30 4f 3b 77 be 08 00 45 00 00 47 ab 0e 40 00 80 06 be 0e c0 a8 08 21 c0 a8 08 22 0c 4e 1e 61 69 0e fc 17 07 f1 78 e5 50 18 f9 4f 2b c4 00 00 1f 00 af 81 ec ec 4d a2 1d 9a 34 cf 3e c1 9f a5 9c 1b b5 7e 95 95 34 f5 50 28 79 15 15 15 b4 SorceMAC 00 30 4f 3b 77 be TypeIP 08 00 IPversiov(v.4) 45 Differented Service f. 00 Total length:71 00 47 Indentification ab 0e Flag's (fragment. not fragment. etc.) 40 00 TTL:128 80 Protocol: TCP 0x06 06 Header CheckSum be 0e SourceIP(1xx.xx8.8.33) c0 a8 08 21 DistanationIP(1xx.xx8.8.34) c0 a8 08 22 SourcePort(3150) 0c 4e DestinationPort(7777) 1e 61 Sequance number 69 0e fc 17 Acknowledgment Sequance number 07 f1 78 e5 Header Length:20byte 50 Flags (PSH, ACK) 18 Window size f9 4f CheckSum 2b c4 I think that is decimal 00 00 DATA section: 1f 00 af 81 ec ec 4d a2 1d 9a 34 cf 3e c1 9f a5 9c 1b b5 7e 95 95 34 f5 50 28 79 15 15 15 b4 |
|
|
|
|
#61 |
|
Архивный участник
Join Date: Mar 2006
Posts: 38
|
so... anyone doesn't posted at PP, how to fix autoss.
At this time I haven't solution too... but try search it Interesting, I try to do autoss with 530 version of protocol. This example of data section from packets,which sent client: Code:
#1 0B 00 D2 85 9F 8F 6E 02 56 D1 17 #2 0B 00 A9 FE E4 F4 15 79 2D AA 17 #3 0B 00 DB 98 82 92 73 1F 4B CC 03 #4 0B 00 CC 8F 95 85 64 08 5C DB 03 #5 0B 00 F5 A2 B8 A8 49 25 71 F6 17 #6 0B 00 FE A9 B3 A3 42 2E 7A FD 17 #7 0B 00 E7 A4 BE AE 4F 23 77 F0 03 #8 0B 00 E8 AB B1 A1 40 2C 78 FF 03 Code:
#1 07 00 C2 2E E2 E2 43 #2 07 00 AD 17 14 7B 9E pressed right mouse button at soulshot's-shorcut (activated-deactivated) and sniff sent/resived packets with Ethereal Network Protocol Analyzer. Than, i filtered not autoss request ( i think )So, with java-system-folder autoss are working :-) Than, i replace system folder with normal, and do all steps, describing before, again: This example of data section from packets,which sent client: Code:
#1 0B 00 65 E2 45 45 E4 21 D2 55 A7 #2 0B 00 9F 4E ED ED 4C EF 18 9F 97 Code:
#1 07 00 ED 62 C1 C1 60 #2 07 00 6A 33 24 4B AE #3 07 00 05 E3 39 39 98 Why at java-system case last byte "17" or "03" may be it is activate/deactivate mode? Why 5-th an 6-th bytes are identical? or 5th-6th=10, example: E4-F4=10 82-92=10 95-85=10 B8-A8=10 B3-A3=10 BE-AE=10 B1-A1=10 9F-8F=10 (not all case, but very often, i don't think that is not random) Now, I know that my l2server.exe supporting autoss, if to use engine, core, nwindow dll's for L2J. How can help L2J source code client.Request.AutoSoulshot? How to rewtite it in asm, or rewtite it in something else like C ? Where need implament it than? so... i have just idea's and theory... I'll be glad if someone can help me or work with me to solve this problem. Thank's for you time.
|
|
|
|
|
#62 |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
the packets between client-server are encrypted, there is no way you can use normal packet sniffer to get useful data. "0B" and "07" are packet length
|
|
|
|
|
#63 |
|
Архивный участник
Join Date: Mar 2006
Posts: 38
|
yes. you right, 0b in dec - 11.
![]() so, what sniffer needed? IRIS? something else? |
|
|
|
|
#64 |
|
Архивный участник
Join Date: Jul 2005
Posts: 123
|
And using NASC? (with a New Skill)
...burp |
|
|
|
|
#65 |
|
Архивный участник
Join Date: Jun 2006
Posts: 39
|
Can somebody tell in detail as to make AutoSS. It is desirable in Russian
<rus> Может кто-нибудь подробно рассказать как сделать AutoSS. Желательно на русском |
|
|
|
|
#66 |
|
Архивный участник
Join Date: Dec 2005
Posts: 83
|
I'm research some l2j sources and found there, thats 0xCF packet is C3 AutoSS request. I try to debug server and catch it but when i press right button on SS in sortcut panel nothing happened. No packets with opcode 0xCF or other higher then 0xAA catched! So, i tryed many different clients dll's and so on - still got nothing (((
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|