Relation bet Effects , Packets

01/13/2012 18:10 shadowman123#1
Well i was interested in making pirate Skills Effect and i successeded in that by knowing the String Effect name but it was very weird cuz when i tested every Effect in C3 / Effects i found every pirate skill effect except Blade Tempest So how the F**k They Use its Effect while its not Found in Effect Folder ??

2nd question - i found Degrade item level Gui and its effect so i wonder how to bind them together and make it work ..if the answer is using packet so How ? ?

3rd question - when i was testing some of the effects by using command alot of them dont appear although their effect files exist ..Y is that its supposed to Appear on my char as long as its effect ?

4th - if i wanna load the effects using packets how it would be ?
01/13/2012 19:27 pro4never#2
#1 The client packs all* of its resources inside wdf packages. The client ALSO allows for non packed resources to be loaded from those normal resource folders (they are loaded by default, if they don't exist it looks in wdf archives). If the effect does not exist in the folder then it is likely inside the wdfs.

#2 Umm try adding an item and clicking ok, record what the packet you receive server side is and then handle it. Likely it's an item usage subtype (1009 subtype) which sends the item ID to be downgraded. Perform your checks and if they have the cost needed to downgrade the item and it's valid to be downgraded then lower the item (you'll have to write a calculation to lower item level. I have one in albetros source if you wanted to look at it) and then send the client the new item and update database.

#3: Don't know much about client side files sorry. Where are you getting the effect names? Usable ones should be inside effects.ini or 3deffect.ini iirc.

#4: There are multiple ways to send effects.. Each using their own packet types.

Option 1: String packet; Send the string of effect and it will display at UID or X/Y you send
Option 2: Spell effects; Send the spell usage packet on targets/xy you wish with any dmg/effect you wish
Option 3: I don't remember what packet it is but there's also enumerated effect ids which can be sent. Do a search I seem to remember fang and some others posting about it before.
01/13/2012 20:53 shadowman123#3
Quote:
Originally Posted by pro4never View Post
#1 The client packs all* of its resources inside wdf packages. The client ALSO allows for non packed resources to be loaded from those normal resource folders (they are loaded by default, if they don't exist it looks in wdf archives). If the effect does not exist in the folder then it is likely inside the wdfs.

#2 Umm try adding an item and clicking ok, record what the packet you receive server side is and then handle it. Likely it's an item usage subtype (1009 subtype) which sends the item ID to be downgraded. Perform your checks and if they have the cost needed to downgrade the item and it's valid to be downgraded then lower the item (you'll have to write a calculation to lower item level. I have one in albetros source if you wanted to look at it) and then send the client the new item and update database.

#3: Don't know much about client side files sorry. Where are you getting the effect names? Usable ones should be inside effects.ini or 3deffect.ini iirc.

#4: There are multiple ways to send effects.. Each using their own packet types.

Option 1: String packet; Send the string of effect and it will display at UID or X/Y you send
Option 2: Spell effects; Send the spell usage packet on targets/xy you wish with any dmg/effect you wish
Option 3: I don't remember what packet it is but there's also enumerated effect ids which can be sent. Do a search I seem to remember fang and some others posting about it before.
well i mean i cant load the Gui of the Downgrade item and its effect too so how to load the gui into the game ...knowing the name of gui inside data folder... ??

and in question nu.4 ...when i do some of the string effects alot of them dont appear so using string packet effect Fails ..and how to do it using SPellUSe ??? and how to bring the id of Effect ?? like study points and critical Strike Effects
01/13/2012 21:17 pro4never#4
... same way everyone else found them... You log packets (not much of an option right now) or you use trial/error.

You can log most packets subtypes in just a few minutes using a simple cmd. Just write one and start testing them zzz