Register for your free account! | Forgot your password?

You last visited: Today at 16:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Request]Guides

Discussion on [Request]Guides within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 09/22/2008, 22:03   #31
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by lolmaster123 View Post
Whats about summoning ? :P
Or Transforming skillz
i'll explain summoning when i get to that stage myself and im even considering adding it... transforming skills is just a char mech edit on a timer ( i think 0.0 )
© Haydz is offline  
Old 09/22/2008, 22:05   #32
 
elite*gold: 0
Join Date: Jun 2007
Posts: 323
Received Thanks: 30
Quote:
Originally Posted by © Haydz View Post
i'll explain summoning when i get to that stage myself and im even considering adding it... transforming skills is just a char mech edit on a timer ( i think 0.0 )
Yea but the mech thing doesn't appear if you have armor on lulcakes
Zanzibar is offline  
Old 09/22/2008, 22:09   #33
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by Zanzibar View Post
Yea but the mech thing doesn't appear if you have armor on lulcakes
Thats where you **** with the spawnentity/charinfo packets.
tao4229 is offline  
Old 09/22/2008, 22:15   #34
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
then i need a guide how to unequip stuff automaticly + send to inv.
At a command

Really needed Guide:

How to move LOTF to INI´s away from MySQL?
~Yuki~ is offline  
Old 09/22/2008, 22:20   #35
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by lolmaster123 View Post
then i need a guide how to unequip stuff automaticly + send to inv.
At a command

Really needed Guide:

How to move LOTF to INI´s away from MySQL?
I recommend that IF YOU DO, (well in the first place don't do it.. MySQL is faster if you can manage it) that you DO NOT USE Hadeset's ini class. It sucks...

Edit:: I can do that Haydz, I just need to know how the model goes.. its like ***(mesh)

I need to know the leading numbers :x
tao4229 is offline  
Old 09/22/2008, 22:27   #36
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Hmmm player mech is lemme see...brb^^
~Yuki~ is offline  
Old 09/22/2008, 22:29   #37
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by © Haydz View Post
hmmm... its just the same as mob mechs... and a player mech is like 671003 or something :/
Thats what i meant, i needed that 671
tao4229 is offline  
Old 09/22/2008, 22:31   #38
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by tao4229 View Post
Thats what i meant, i needed that 671
happy to help
© Haydz is offline  
Old 09/22/2008, 22:35   #39
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
101003 = Another mesh Male Big male^^
~Yuki~ is offline  
Old 09/22/2008, 22:36   #40
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Anyone tested the marriage code?.. cause i didnt lol
© Haydz is offline  
Old 09/22/2008, 22:37   #41
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
didnt too just added it 0 errors FTW!
~Yuki~ is offline  
Old 09/22/2008, 22:38   #42
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
Quote:
Originally Posted by © Haydz View Post
Okay so here goes with the guide on how to add marriage...

Okay so first your going to need the packet for the MarriageMouse...:

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;
            }
        }
Okay so assuming your using an NPC your gonna want to use Client.Send(Packets.MarriageMouse(Client.Char.UID) );
to make the mouse appear from the npc...

okay next step..
Make sure that the GetPacket function is unsafe otherwise you can use 1337 Pointers lul... e.g. public unsafe void GetPacket(byte[] Data)
sending the marriage request and accepting the marriage request is an attack type so your going to wan to search for case 1022: in the packets file and add the following code:.. (baring in mind that ive just tried and tested this in lotf cause i assume your all using it):

Code:
 if (AttackType == 8)//Marriage Proposal
                            {
                                fixed (byte* Ptr = Data)
                                {
                                    uint TargetUID = *(uint*)(Ptr + 12);
                                    Character Target = (Character)World.AllChars[TargetUID];
                                    *(uint*)(Ptr + 8) = MyChar.UID;
                                    Target.MyClient.SendPacket(Data);
                                }
                            }
Then for accepting the proposal you need below the other code :
Code:
 if (AttackType == 9)//Marriage Accept
                            {
                                fixed (byte* Ptr = Data)
                                {
                                    uint UID = *(uint*)(Ptr + 12);
                                    Character Char = (Character)World.AllChars[UID];
                                    Char.Spouse = MyChar.Name;
                                    MyChar.Spouse = Char.Name;
                                    
                                }
                            }
And if you don't have variables for spouse in lotf well im not gonna explain i made this in 5 minutes : added all the variables changed the char info and made the spouse save and load... so if you can't do that... don't even bother with a server
it's bad enough that your using lotf anyway. And even if your not using lotf you can adapt this code to work with any server
heyhey u bish u didnt even gives me, infamous credits for helping

mostly infamous :O
lostsolder05 is offline  
Old 09/22/2008, 22:40   #43
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
Quote:
Originally Posted by © Haydz View Post
Anyone tested the marriage code?.. cause i didnt lol
lies n00b yes u did on my serv

Quote:
Originally Posted by © Haydz View Post
erm you didnt help... i had two of the request offsets the wrong way around (12 and 4)... isnt exactly help
thats y i said mostly inf =x

basically he did the whole thing... u just transfered it 2 loftco(besides mouse ****) u did that =x
lostsolder05 is offline  
Old 09/22/2008, 22:42   #44
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by lostsolder05 View Post
lies n00b yes u did on my serv



thats y i said mostly inf =x
Oh yeah.. forgot about that... i just wrote that from memory refrence :P... and erm how did inf help the only thing i did wrong was the offsets

edit: wtf... i did it all except the offsets :| you even said so your self.. i hope i has chat logs zomg no i dont im gonna start logging my chats
© Haydz is offline  
Old 09/22/2008, 22:43   #45
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
Quote:
Originally Posted by © Haydz View Post
Oh yeah.. forgot about that... i just wrote that from memory refrence :P... and erm how did inf help the only thing i did wrong was the offsets
becuz he told me how he did it then i told u and u went off that lol
lostsolder05 is offline  
Reply


Similar Threads Similar Threads
[Request]Richtige Guides ??
09/10/2010 - Starcraft 2 - 5 Replies
Hey Stracraft Suchtis :P , Wollte mal fragen wo es denn richtige Guides gibt. Sprich Baureihenfolge usw. Habe bis jetzt nur einen gefunden der nicht wirklich hilfreich war xD Bedanke mich schon mal im Voraus.
Request Guides! :D
08/16/2010 - Runescape - 11 Replies
Guides! Hey. I've been trying as hard as I can to help you with all of your needs, now it is time for you to help me you. You can do this simply by posting here any guides you want me to make, I will either make a video, or picture, or both. I need this to be organized, so I will be monitoring this thread daily, and i will be posting new polls, and deleting poll to see what i should make my number one priority. How to Post!: Posting should be like this:
[REQUEST] Killer guides
09/15/2009 - Aion - 15 Replies
moin, hat jmd die Killer guides für aion parat? (Aion Complete Guide Package) komplett oder einzeln ich, alle gern gesehn :) ooooder:
[Request]More Coding Guides. C#
08/29/2009 - CO2 Private Server - 13 Replies
Yo guys, if you want less people asking questions/leaching then just make "how to code guides". Not only are you keeping people from taking other people's work, but your also giving other people the chance to create more stuff and ideas so we can all be pros at coding to make our own servers. Honestly, if you people released useful guides, I will read everyone of them until I know how to code then I'll take my time to complete servers 100%. Well thats it, I hope this encouraged people to take...



All times are GMT +1. The time now is 16:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.