PDA

View Full Version : auto-ss help -.-


testdude
05.03.2006, 12:58
k well i got bored today so i started to look into making a dll for auto-ss server side... but i have a problem... client sends the itemid of the ss to the server when requesting auto ss enable/disable... but the UseItem packet requires the ObjectID... now heres my question... is there a func in the l2server to get the objectid from the itemid? O.o or is it gonna be a case of me stealing the itemlist packet to get the object id that way... the only problem i have with this is i dont have ANY experience with dll programming, and ive not the slightest idea how to store the objectid in a var or in the mem as to be accessable from a different func which would be called for the actual auto-ss, and if i did do it this way, would the vars stay unique to that user? can anyone help me out with this?.. im really kinda lost atm... im trying to get a better feel for the whole dll thingy to make one and possibly share it, but i cant really find any examples of dlls that do the whole relocate, change, call original, to use as a guide or just to see how these things work -.-

Aspire
05.03.2006, 13:09
0xCD Client->Server
then Server send back a UseItemPacket(1665) to client
it will trigger the alt+m

seme things for 2 features, alt+m and autoSS

archy
05.03.2006, 13:23
Last time i checked, Auto SS was changed to server side, so that server uses a ss after each attack, and not client.

testdude
05.03.2006, 13:28
Last time i checked, Auto SS was changed to server side, so that server uses a ss after each attack, and not client.thats what i thought also... but ill check... :|

testdude
09.03.2006, 10:08
k i checked on retail and its definatly done server side... can anyone help me with this? :|