Kumo Posted January 8, 2010 Posted January 8, 2010 Hey guys, i've seen that scrolls on few l2off servers already (l2khaos, l2sublimity), so my question is: How to make special scroll that will have 100% chance (all others the normal chance) ? Any guide? :x Quote
0 mcbigmac Posted January 11, 2010 Posted January 11, 2010 Hook User/CItem::EnchantItem There's 3 RandomDouble compares, for blessed enchant, normal.. and forgot the 3rd. or ..make your own skill effect(CDB::RequestEnchantItem), manually update ItemInfo/SharedItemInfo, and send approriate packets. Quote
0 Razbojnik Posted January 11, 2010 Posted January 11, 2010 Hook User/CItem::EnchantItem There's 3 RandomDouble compares, for blessed enchant, normal.. and forgot the 3rd. or ..make your own skill effect(CDB::RequestEnchantItem), manually update ItemInfo/SharedItemInfo, and send approriate packets. word :D Quote
0 Kumo Posted January 16, 2010 Author Posted January 16, 2010 and how to do that? what file i have to edit? (l2server.exe i think) and how i can decompile it or something? Quote
0 mcbigmac Posted January 16, 2010 Posted January 16, 2010 You hook it thru viewing it in a dissassembler like IDA or olly. Writing a hook to it in a dll. Idea 2 would require you to write and extend skilldata lexer/tokens for new skilleffects of course. while 1 would be finding ar egister with the itemobject, hooking and checking if itemid is .. your special scrolls and then skipping the cmp. Seeing your massive lack of knowledge, i doubt youll succeed. Perhaps a skill that summons an npc, and uses SetEnchantOfWeapon AI function. would be more equivelant for you. That'd be by raw AI. Quote
Question
Kumo
Hey guys, i've seen that scrolls on few l2off servers already (l2khaos, l2sublimity), so my question is:
How to make special scroll that will have 100% chance (all others the normal chance) ?
Any guide? :x
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.