| testdude |
05.03.2006 12:58 |
auto-ss help -.-
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 -.-
|