Author | Message | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ![]() So in the spell pub is a tab 2 with UnkA, UnkC and such. how would i use those values? I've been searching for UnkC etc in the source but that can't be found. Any ideas?
|
| ![]() UnkC is relative to Elements. It appears that the method Vult-r used was UnkC (Elemental) and UnkG (Elemental). In the Whirl spell, it appears UnkC is probably the % bonus increased and UnkG may be a spell attack bonus. It might have worked like this: damage = (range(1-55) + 15); damage += damage*(50/100); here is my list of other unknowns: UnkA: Unused
|
| ![]() This might help Im not sure, I think these are correct im not 100% though heres my eodata.cpp https://tehsausage.com/paste/eodata-cpp-spells-7a62 and eodata.hpp https://tehsausage.com/paste/eodata-hpp-spells-7c76
|
| ![]()
|
| ![]() They can be what ever you want. There not even implemented. --- https://www.youtube.com/watch?v=d_DFVzxsEUc
|
| ![]() Maybe I did misunderstand but his question is not specific "So in the spell pub is a tab 2 with UnkA, UnkC and such. how would i use those values?" this is how I implemented them, then from there decided what I want each one to do,its cool to see the specific meaning of each unk value
though I just thought I could save him the trouble and time of testing each value like I did by posting my eodata spell crap!
|
| ![]() Insomniac didn't misunderstand me. Thanks for all the fast replies guys. i left to bed right after i posted this so i didnt reply right away. Im sure i could use this, thanks for the code insomniac!, Im trying to use the unknown values like spell->unka so i can use them for
mynewfeature.Alsothanks for the well explanation apollo. I could probaly use elements in the future. if(spell->unka != 0 || spell->unkc != 0)
|
| ![]() I was messing around the other day comparing if somthing is not using || if(character->class != 3 || character->clas !=10) { CODE: } and comparing this way didnt work I had to use && if(character->class != 3 && character->clas !=10) { CODE: } then it seemed to work maybe thats the prob not sure!
|
| ![]() Not really, I also tried it with just 1 unknown value. It just simply ignores it. The thing is even if i would make it check if the value == 5 or something that wouldn't work because for some reason it ignores the check when i check the unknown values. But like i said before, if i add in the else: spell->unka += 1; and check it again than it doesnt ignore and will work. but it shouldnt work like that.
|
| ![]() Where are you putting the code?
|
| ![]() In Spell.cpp under: case PACKET_CASTSELF: // Player using an spell { if (this->state < EOClient::Playing) return false; int direction = reader.GetChar(); int spellid = reader.GetByte(); /*int unk1 = */reader.GetShort(); /*int unk2 = */reader.GetShort(); ESF_Data *spell = this->server->world->esf->Get(spellid);
|
| ![]() I gotta go back to work Ill mess with it when I get home ) :!
|
| ![]() alright, thanks.
|
| ![]() Remember to decode the value and make sure you're reading the right one.
| |