76
Archive / Multiplayer Modification
« on: 2006-01-26 06:32:18 »
Sounds like you did alot of work on it. Do you have anyplans for it? or would you rather just get on with other stuff.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Not entirely sure I know what you are asking.
Actually I’ve already done it.
The worst thing that can happen is him so send us viruses through e-mail. Anyways its better than the gray chocobo, and flying to the moon to save Aeris.
Oh two things - First I hope you have full TAB functionality, I would hate to have to pick up the mouse while editing them stats (I like to just tab from one box to the next entering stats as I go along).
Also, where did all the enemy attack data go? I thought you were going to include that too?
I don’t know where you got 0x20, unless yours is some Corvette from some other location in the game.
I got mine from the RAM of the game while running rather than from files, but the data is not changed from the file to RAM.
01h - Double Damage
02h - Double Damage
enemyData[x]->SetMp(m_binReader->ReadInt16());
In the case of Corvette, you have 0x26.
This means instead of an element, the Corvette is weak to attacks that have the Confusion status implied.
00h - Death
02h - Double Damage
04h - Half Damage
05h - Nullify Damage
06h - Absorb 100%
07h - Full Cure
FFh - Nothing
Hidden :- Unknown. Unlike the others, Hidden is the name I've given it.
Very few attacks have this element. Any that do can be protected
from by linking any non-Element Materia with the Elemental
Materia in a character's armour.
Well at least 100% cpu usage is normal! Thanks!
Um, I hope you don't think that "+32" will properly handle the FF7 text?
and currently the only way ive worked out how to do it is long and tedious and quite frankly im ashamed of it.
- no need to call pow(), simple multiplying can be faster
- don't call data->GetLength() multiple times (in every cycle loop), when it can be called only once .. you can see speedup especially in case of larger arrays of data
- why using floating point number 'double' when the result is an integer ? also using floating point for a loop counter and indexer is a nonsense.
this code is in C++ syntax because I don't understand the language you're using properly
String ^FileEditor::BinaryToNumber(array<Byte> ^data)
{
String ^strTmp;
double dblTmp;
for (double i=0 ; i < data->GetLength(0) ; i++ )
{
if (i == 0)
{ dblTmp = dblTmp + data[i]; }
else
{ dblTmp = dblTmp + (data[i] * (pow(256,i)));}
}
return strTmp = dblTmp.ToString();
}