Ninja Amulet

07/07/2009 23:36 Arcotemple:)#1
i wanna make ninja amulet
the one where it changes your size
how would i go about coding this?
07/07/2009 23:49 pro4never#2
I would think something along the lines of

if CSocket.Client.Model == 11004
CSocket.Client.Model = 11003
w/e save cmd for it would be

add that for each gender for small>big and big>small.


Fairly sure the Model field in the character database is controlling the gender and size.
07/07/2009 23:53 Arcotemple:)#3
its for lotf not CoEmu
07/07/2009 23:55 danielachraf#4
character.cs
07/07/2009 23:59 Arcotemple:)#5
yaeh all item uses are in character.cs lmao
07/08/2009 00:01 pro4never#6
Quote:
Originally Posted by Arcotemple:) View Post
its for lotf not CoEmu
why do people still use lotf

/facepalm
07/08/2009 00:03 AmbiguousStatement#7
Quote:
Originally Posted by pro4never View Post
why do people still use lotf

/facepalm
Did you know. . .
There's a face palm emoticon now ; :facepalm:

Anyways, nobody knows why people still use it.
07/08/2009 00:05 Arcotemple:)#8
i like lotf
its pretty good if you ask me
if you have nothing helpful to say then screw off
07/09/2009 05:19 PeTe Ninja#9
try this i havent tested it

Code:
                      else if (ItemParts[0] == "723583") // Ninja Amulet
            {
                if (Model == 1004 || Model == 2002)
                    Model -= 1;
                else if (Model == 1003 || Model == 2001)
                    Model += 1;

                General.MyPackets.Vital(UID, 12, ulong.Parse(Avatar.ToString() + Model.ToString()));
                World.UpdateSpawn(this);
                RemoveItem(ItemUID);
            }
07/09/2009 07:52 pajar22#10
same i like lotf better cause you can get help with some codes with poeple here and you can learn coding for like a short period of time..^^ There are also many release in lotf so you could just get em or improve em like some who has bugs in it
07/09/2009 08:32 Incariuz#11
LOTF should simply be used as a learning tool. It's extremely buggy, and the majority using it don't have the knowledge required to fix it. But it doesn't mean it should be avoided altogether. People can still learn how to do some basic stuff by reading, manipulating, and performing tons of trial and error. As for trying to run a server with it, you'd be more successfull trying to pick up a a friday night date in a book store.

On topic though, Pete Ninja's coding looks like it should work properly.