[Request]Guides

09/24/2008 00:06 tanelipe#76
Code:
public static [B]unsafe[/B] void GetPacket(...)
He told to add that unsafe part couple pages ago.
09/24/2008 00:18 MushyPeas#77
Quote:
Originally Posted by © Haydz View Post
i would actually help but as you can see he/she has made no effort to attempt any of those... and i have also come to realise that why should i give if im not receiving... its like charity donations... except your not actually helping people who need help... your just helping the lazy and idle people
Yea the sad reality of this forum is that almost everyone is lazy :rolleyes:
09/24/2008 00:32 tao4229#78
Quote:
Originally Posted by YukiXian View Post
I did, It doesn't save the Spouse, I already made an new Table in the Character thing in MySQl. with the name Spouse... There it will be saved, But in the game it's not, ...

#Kinda request :
And if ya got time, You can Explain me how to Auto Un-equip items and send to Inventory? ( The Items you Auto-Unquip to ur Inventory )

#Request Weather Effects ( Like Rain and Snow, Day and Night ) :
You may could make an Guild about that? :p

#Kinda request :
How to show the ItemNames on lotto when someone wins something? I'f already got the other stuff done... Only need to know how to change it <ItemId>-0-0-0-0-0-0 into an name...

#Request ( Finaly, The last one, Better everything at same time, than spride out, ... ) :
How to make monsters look bigger? ( How to change their size? )
First request-

Set the the item in the array a variable first to save it, then (Equips[x]) to "0", send the packet for the equips(Which should be 0(You may also have to update spawn)), then AddItem(varible, UID) to the inventory...

Second- He already made a guide about the day/night(just try random uint values until you get the right shade #14...). As for weather, I'd take some help with that packet too Haydz....

Third, there's a file ItemNamesToId.ini, just do it in reverse....Eh if you can... maybe you'd just have to read it as a text file.

Lastly, you cannot make monsters bigger(server side), the mesh doesn't get bigger.
09/24/2008 00:38 Brun0_#79
Quote:
Originally Posted by stephanyd View Post
i tried the marriage code and i get that error ... see screenshot ... anyone can help me plz:confused:



I have problem the same that you, if you to discover what is or somebody to know, inform to me :)
09/24/2008 00:57 stephanyd#80
Quote:
Originally Posted by Brun0_ View Post
I have problem the same that you, if you to discover what is or somebody to know, inform to me :)
ok.. fixed my problem;) in Client.cs search for :public void GetPacket(byte[] data) then make it
Quote:
public unsafe void GetPacket(byte[] data)
and click Build... and Bam it build successfully;)
09/24/2008 02:31 Brun0_#81
Quote:
Originally Posted by stephanyd View Post
ok.. fixed my problem;) in Client.cs search for :public void GetPacket(byte[] data) then make it and click Build... and Bam it build successfully;)



Now i have other problem O.o :

[Only registered and activated users can see links. Click Here To Register...]


:D

can u help me? xD
09/24/2008 02:59 stephanyd#82
Quote:
Originally Posted by Brun0_ View Post
Now i have other problem O.o :

[Only registered and activated users can see links. Click Here To Register...]


:D

can u help me? xD
I Donno how to fix that too.. i got same error:confused:
09/24/2008 03:04 Brun0_#83
Quote:
Originally Posted by stephanyd View Post
I Donno how to fix that too.. i got same error:confused:


:D
hahahaha
ok ! =P


thx :D
09/24/2008 04:24 tao4229#84
You guys can't make a simple public variable... this section is a failure... we should only allow people who can actually; 1)Speak fluent English, not PERFECT, but a lot higher level than most of these n00pz. 2) Can code without copy+pasting #14...
09/24/2008 09:05 © Haydz#85
Quote:
Originally Posted by tao4229 View Post

Lastly, you cannot make monsters bigger(server side), the mesh doesn't get bigger.
hmmm i may be wrong but if you decrypt the monster.dat file in the Ini folder im sure theres a Size= variable in there... try changing that and then encrypting again... however i may be wrong cause ive never tested it
09/24/2008 09:54 ~Yuki~#86
Quote:
Originally Posted by © Haydz View Post
hmmm i may be wrong but if you decrypt the monster.dat file in the Ini folder im sure theres a Size= variable in there... try changing that and then encrypting again... however i may be wrong cause ive never tested it

Woking i did it some time be4 but im not sure now isnt a sizeadd function in the database :P

Btw to definie the Spouse Variables u just add the public XXXXXXX = "Spouse"

To save u need to add Spuse into database cs at MySQL Data adapter ^^
Maybe it helped ya^^
09/24/2008 14:43 Kratos59#87
Thank you for the guilde mariage but i'm no sure to understant that, can u say me a detail where i can put that because this code :

public static byte[] MarriageMouse(uint CharUID)
{
byte[] Mouse = new byte[24];
fixed (byte* Ptr = Mouse)
{
*(ushort*)(Ptr + 0) = 24;
*(ushort*)(Ptr + 2) = 1010;
*(uint*)(Ptr + 8) = CharUID;
*(uint*)(Ptr + 12) = 1067;
*(uint*)(Ptr + 22) = 116;
return Mouse;
}
}

I don't know where i can put and i have :

if (Control == 2)
{
SendPacket(General.MyPackets.NPCSay("Cliquez a votre amoureux(se) pour demander le mariage."));
SendPacket(General.MyPackets.NPCLink("OK", 4));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 4)
/*Marriage Packet
const uint dwUnknown = 0x0000042B;
DataPacket Data = new DataPacket(null);
Data.ID = DataIDs.MarriageMouse;
Data.UID = Client.Entity.UID;
Data.lParam = dwUnknown;
MarriageMouse = 0x74;
PacketType = 0x3f2;*/

The the packets is wrong and who this code i can replace that

I request the Attacked.Mythique, Attacked.Bless and Attacked.MagicBlock in other.cs

I have attacked.Mythique (Tortoise Gem) but i'm no sur it's work

Then i need Attacked.Bless and MagicBlock

Thank you very much
09/24/2008 15:34 ~Yuki~#88
if u cant do it dont make a server u will fail ...no epic fail!
09/24/2008 15:34 YukiXian#89
Quote:
Originally Posted by tao4229 View Post
First request-

Set the the item in the array a variable first to save it, then (Equips[x]) to "0", send the packet for the equips(Which should be 0(You may also have to update spawn)), then AddItem(varible, UID) to the inventory...
Could you give an example or something? I don't understand anything of it ...
09/24/2008 17:10 © Haydz#90
Quote:
Originally Posted by Kratos59 View Post
Thank you for the guilde mariage but i'm no sure to understant that, can u say me a detail where i can put that because this code :

public static byte[] MarriageMouse(uint CharUID)
{
byte[] Mouse = new byte[24];
fixed (byte* Ptr = Mouse)
{
*(ushort*)(Ptr + 0) = 24;
*(ushort*)(Ptr + 2) = 1010;
*(uint*)(Ptr + 8) = CharUID;
*(uint*)(Ptr + 12) = 1067;
*(uint*)(Ptr + 22) = 116;
return Mouse;
}
}

I don't know where i can put and i have :

if (Control == 2)
{
SendPacket(General.MyPackets.NPCSay("Cliquez a votre amoureux(se) pour demander le mariage."));
SendPacket(General.MyPackets.NPCLink("OK", 4));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 4)
/*Marriage Packet
const uint dwUnknown = 0x0000042B;
DataPacket Data = new DataPacket(null);
Data.ID = DataIDs.MarriageMouse;
Data.UID = Client.Entity.UID;
Data.lParam = dwUnknown;
MarriageMouse = 0x74;
PacketType = 0x3f2;*/

The the packets is wrong and who this code i can replace that

I request the Attacked.Mythique, Attacked.Bless and Attacked.MagicBlock in other.cs

I have attacked.Mythique (Tortoise Gem) but i'm no sur it's work

Then i need Attacked.Bless and MagicBlock

Thank you very much
hmm how do you have DataPacket?... who gave you that o.o... or did you make it?