|
You last visited: Today at 08:43
Advertisement
How to work the LOFT source as a pro!
Discussion on How to work the LOFT source as a pro! within the CO2 Private Server forum part of the Conquer Online 2 category.
08/27/2008, 21:48
|
#76
|
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
|
From what i've been told, there's a problem with the coding for creating a new char. I've looked it over many times and still cant figure out what's wrong. I'm not ahsamed to say that im still a rookie at this coding thing (i didnt do to well in my computer science clas last year) lol.
Also, im using Qonquer with out patches, etc. is that a problem?
I posted the the coding for a new char from my source below. I hope some1 can read it and see what exactly the problem is. If this isnt where the problem is, some1 plz point it out. TY!!!!
public byte[] NewCharPacket(int MessageId)
{
ushort PacketType = 0x3ec;
byte[] Packet = new byte[54];
fixed (byte* p = Packet)
{
*((ushort*)p) = (ushort)Packet.Length;
*((ushort*)(p + 2)) = (ushort)PacketType;
*(p + 4) = 0xff;
*(p + 5) = (0xff);
*(p + 6) = (0xff);
*(p + 8) = (0x35);
*(p + 9) = (0x08);
*(p + 13) = (0x28);
*(p + 14) = (0x03);
*(p + 24) = (0x04);
*(p + 25) = (0x06);
*((uint*)(p + 26)) = (uint)MessageId;
*(p + 30) = (0x45);
*(p + 31) = (0x4d);
*(p + 32) = (0x08);
*(p + 33) = (0x41);
*(p + 34) = (0x4c);
*(p + 35) = (0x4c);
*(p + 36) = (0x55);
*(p + 37) = (0x53);
*(p + 38) = (0x45);
*(p + 39) = (0x52);
*(p + 40) = (0x53);
*(p + 42) = (0x08);
*(p + 43) = (0x4e);
*(p + 44) = (0x45);
*(p + 45) = (0x57);
*(p + 46) = (0x5f);
*(p + 47) = (0x52);
*(p + 48) = (0x4f);
*(p + 49) = (0x4c);
*(p + 50) = (0x45);
}
return Packet;
}
|
|
|
08/28/2008, 07:21
|
#77
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Use the original LOFT Source,not the edited one's you can download now.
|
|
|
08/28/2008, 15:47
|
#78
|
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
|
Didn't need to. i used another client since i was using qonquer in the first place and everything works fine. Thanks to all those who helped, ESPECIALLY EMME.!!!!!!!
TY TY TY TY
|
|
|
08/28/2008, 16:39
|
#79
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Quote:
Originally Posted by emildayan1
Your IP is not 192.168.1 blablabla. First,go and open your ports,when that is done,do this:
Go into  , there you get your real IP. Use that instead of all the others,done.
|
ty
but we are sharing network
so i don't have the router
and i don't need to puplich the server now from my pc
i will publish it on another Server with 8-24 MB Line
but now i'm only testing servers to get the best and edit it as i like
so i just need it to work on my computer only is there some way with out using router
because also if i open ports on router , i can't use IP becuse it is Shared IP
so is ther any way to run it on my pc only ??
sorry if i annoy u
ty again
|
|
|
08/28/2008, 17:55
|
#80
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Thats your IP,use that.. Cant be that hard.
|
|
|
08/29/2008, 15:32
|
#81
|
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
|
@emildayan1
Would u mind making a teleport code for the LOTF source for me plz?.
And for some reason, i cant get your RB code to work with mine.
Thanks
|
|
|
08/29/2008, 16:41
|
#82
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Teleport code? If you want a code in ur source,like a npc send u somewhere,it should be like this i think ( dont got the source anymore)
MyChar.Teleport(Mapid, CoordX, CoordY);
If you mean a teleport command that admin can use,its already added,can be used like this:
/tele mapid coordx coordy
|
|
|
08/29/2008, 18:50
|
#83
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
Quote:
Originally Posted by emildayan1
Teleport code? If you want a code in ur source,like a npc send u somewhere,it should be like this i think ( dont got the source anymore)
MyChar.Teleport(Mapid, CoordX, CoordY);
If you mean a teleport command that admin can use,its already added,can be used like this:
/tele mapid coordx coordy
|
Hi.. i added u on my msn.. need ur source if it is reallllly good... come back to me.
|
|
|
08/29/2008, 21:38
|
#84
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
i think the solution in Client Can modify soruce to work with original Qonquer client w/no patches??
or can u give me original link for LOTF original Soruce, may be mine is corrupted ???
i git this problem
Quote:
Originally Posted by emildayan1
Thats your IP,use that.. Cant be that hard.
|
yea , i can know what is my ip
i know it is not 192.168.1.xx
i can check it with any tool
but problem it is shared ip (it mean that i'm not alone that have this ip )
and i open Ports on router that u tell at first post
but sadly client not connect to it
and if i enter my ip (not 192.168.xx)on Internet explorer ,don't go to my Localhost page
but go to Router page and
and pervious servers (Futuer-Core-Co-Final-XYnet...etc) was work with Qonquer Original Client with out patches on Local IP (192.168.1.x)
so is there any solution for this
remember that i just need to run from my pc, idon't need to share it with any one yet
ty
|
|
|
09/02/2008, 15:33
|
#85
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
Quote:
Originally Posted by elragal_30
i think the solution in Client Can modify soruce to work with original Qonquer client w/no patches??
or can u give me original link for LOTF original Soruce, may be mine is corrupted ???
i git this problem
yea , i can know what is my ip
i know it is not 192.168.1.xx
i can check it with any tool
but problem it is shared ip (it mean that i'm not alone that have this ip )
and i open Ports on router that u tell at first post
but sadly client not connect to it
and if i enter my ip (not 192.168.xx)on Internet explorer ,don't go to my Localhost page
but go to Router page and
and pervious servers (Futuer-Core-Co-Final-XYnet...etc) was work with Qonquer Original Client with out patches on Local IP (192.168.1.x)
so is there any solution for this
remember that i just need to run from my pc, idon't need to share it with any one yet
ty
|
I had the same problem as in your picture there.. to fix it use CIDLoader.
|
|
|
09/02/2008, 15:59
|
#86
|
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
|
@Exia13
Here's an easyer one:
Code:
if (Splitter[0] == "/scroll")
{
if (Splitter[1] == "tc")
{
MyChar.Teleport(1002, 431, 379);
}
if (Splitter[1] == "faction")
{
MyChar.Teleport(1037, 150, 150);
}
if (Splitter[1] == "tg")
{
MyChar.Teleport(1039, 200, 200);
}
if (Splitter[1] == "jail")
{
MyChar.Teleport(6000, 30, 75);
}
if (Splitter[1] == "am")
{
MyChar.Teleport(1020, 567, 576);
}
if (Splitter[1] == "dc")
{
MyChar.Teleport(1000, 500, 650);
}
if (Splitter[1] == "mc")
{
MyChar.Teleport(1001, 316, 642);
}
if (Splitter[1] == "bi")
{
MyChar.Teleport(1015, 723, 573);
}
if (Splitter[1] == "pc")
{
MyChar.Teleport(1011, 190, 271);
}
if (Splitter[1] == "ma")
{
MyChar.Teleport(1036, 200, 200);
}
if (Splitter[1] == "arena")
{
MyChar.Teleport(1005, 52, 69);
}
if (Splitter[1] == "birth")
{
MyChar.Teleport(1010, 60, 110);
}
}
|
|
|
09/03/2008, 00:47
|
#87
|
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
|
@BERGHUIS1
Hey thanks alot.
I know it seems like im kinda nagging, but is there a way for a GM to make his/her own attribute points. I RBed to a tao and now my blade is stuck in my left hand, with a backsword in my right. If i can get the code, i'll be a real melee water ^^.
|
|
|
09/03/2008, 15:47
|
#88
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Do that in ur database lmao. Or you can set an command to edit those in-game,like this : ( dont have the source,im typing what i got at my brain,might not be working )
if (Splitter[0] == "/stam")
{
uint NewStam = uint.Parse(Splitter[1]);
MyChar.Stamina = NewStam;
}
And I think it should be like a code to update stamina or something, maybe this would help with that as an refference:
SendPacket(General.MyPackets.Vital((long)MyChar.UI D, 30, MyChar.Stamina));
|
|
|
09/03/2008, 22:12
|
#89
|
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
|
I think i understand. Thanks alot.
|
|
|
09/05/2008, 17:01
|
#90
|
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
|
If i'm using a LOTF source, how do i change the drop rate of items. I'll keep searching but can some1 plz tell me how?. Thank you.
|
|
|
 |
|
Similar Threads
|
[HeLP]LOFT Source
08/21/2009 - CO2 Private Server - 9 Replies
salvation can someone give me the id of the effect of NPC, and someone can give me the code for revive guard .(LOFT Source.)
thx
|
How to work as a pro on LOFT source!
07/29/2009 - CO2 Private Server - 34 Replies
Hello people! My first time helping you guys,and I think i deserve a thanks after this. Anyways,here it goes. This is what I will teach you through this guide
*Setting up the server
*Adding accounts
*Adding monsters
*Adding NPCs
*Adding monsterspawns ( Will share an exclusive command that I created )
*Remove monsters
*Edit monsters
|
Need the best loft source
04/20/2009 - CO2 Private Server - 1 Replies
Please i need the best loft source with the all necesary to play who can get me? link etc?
|
Request the best LOFT source
04/15/2009 - CO2 Private Server - 5 Replies
hey guys i dont know what source to use...i am confused idk whats the best source help me
|
how to work loft source by pic
09/01/2008 - Conquer Online 2 - 0 Replies
pliz i anyone can help me ?
anyone can do thise theard ?
but by pics
|
All times are GMT +1. The time now is 08:43.
|
|