|
You last visited: Today at 07:40
Advertisement
[REL] Official CoEmu v2's questions thread
Discussion on [REL] Official CoEmu v2's questions thread within the CO2 Private Server forum part of the Conquer Online 2 category.
10/17/2009, 10:29
|
#31
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
#Problem solved and i was right
He didn't change the DiedPk to PK
|
|
|
10/17/2009, 10:35
|
#32
|
elite*gold: 0
Join Date: Mar 2008
Posts: 268
Received Thanks: 25
|
Yeah, my bad =/ and thanks!
|
|
|
11/07/2009, 12:35
|
#33
|
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
|
hey, i dunno if people still use this thread but, i was wondering if anyone knows how to make the XP bar work. (as in brings the the skills like superman, cyclone etc etc)
anyone know how and willing to help me? please do lol
|
|
|
11/07/2009, 12:49
|
#34
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Why is this a seperate thread from the official thread about the release? Thats the whole point of having a thread about the release so that people can talk about it in the thread.
|
|
|
11/07/2009, 15:14
|
#35
|
elite*gold: 0
Join Date: Jan 2006
Posts: 430
Received Thanks: 286
|
because that thread is filled with worthless ****. other then source its self.
i like this thread more
|
|
|
11/07/2009, 16:04
|
#36
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
Quote:
Originally Posted by lukejonesy
..
|
I guess you already had a timer for it and put it to work?
If so it's sent by that
Quote:
Client.XPSkill = true;
Send(ConquerPacket.Status(this, 2, 0, Struct.StatusTypes.StatusEffect));
|
And then right at your Status packet (Packets->Status.cs)
put this
Quote:
if (CSocket.Client.XPSkill)
Status += 0x10;
|
Waiting for a feedback,
Yashi.
|
|
|
11/07/2009, 22:37
|
#37
|
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
|
ohhh i see.
i don't have the global timer if your talking bout that atm, but i know of a post i can get it from. then i'll test it out and add more feedback =D thanks
Edit: it came up with errors like:
The term 'client' does not exist in the context
and
had a "cannont convert int to bool o_0
anyway, thanks for your reply =)
|
|
|
11/08/2009, 20:51
|
#38
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
Seems like you got no function in the ClientSocket for the XPCircle?
|
|
|
11/09/2009, 06:42
|
#39
|
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
|
Quote:
Originally Posted by ImmortalYashi
Seems like you got no function in the ClientSocket for the XPCircle?
|
yeah that was my prob.
but i managed to fix it so thank you very much =D
*looking for fatal strike now* lols
|
|
|
11/09/2009, 08:45
|
#40
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
You can press thanks instead of saying it:P
|
|
|
11/10/2009, 03:26
|
#41
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
I got a question i added the top guild etc etc
from 12tails(sorry bout name) and well i put in my characters id in the "others" table and well plainly it dont work
Yes i did everything i was supposed to and BTW there is no errors what so ever it just dont work lol
|
|
|
11/10/2009, 03:42
|
#42
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
Is there anything in your source controlling if it's given out when your character spawns into the map or not? Cause basically what would have to happen (as far as I understand it, I haven't personally done anything with top players)
Status control (basically packet control to show the effect) defined in source so it knows wtf it's doing
Loading top players FROM database
saving top players TO database
Obviously somewhere in the database to store/load top players from.
A system in your server to control who has or doesn't have the effect (again, not important if you are doing it manually as a test but still)
and something to show the effect when the character spawns onto someone elses screen (or your own for that matter)
Again I haven't looked at his code but those should be the main things that would be needed, hopefully that will give you a place to start when re-checking through your source. You could also look at other modified sources (such as animeco or other semi-broken ones) to see how they handled it. Code examples are always great for learning.
|
|
|
11/10/2009, 04:01
|
#43
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
Ill post it to show u what i did
BTW im not going to lie all i did was copy and paste it but i can edit it im just being lazy :P
Code:
Add this at Nano.cs in game server:
Code:
public static int TopNinja = 0;
public static int TopMonth = 0;
public static int TopWeek = 0;
public static int TopArcher = 0;
public static int TopTrojan = 0;
public static int TopWarrior = 0;
public static int TopWater = 0;
public static int TopFire = 0;
public static int TopGuild = 0;Add this at Database/Database.cs in game server:
Code:
public static void LoadTops()
{
lock (DatabaseConnection.Connection)
{
MySqlCommand Cmd = new MySqlCommand("SELECT * FROM `others`", DatabaseConnection.Connection);
MySqlDataReader DR = Cmd.ExecuteReader();
if (DR.Read())
{
Nano.TopNinja = Convert.ToInt32(DR["topninja"]);
Nano.TopMonth = Convert.ToInt32(DR["topmonth"]);
Nano.TopWeek = Convert.ToInt32(DR["topweek"]);
Nano.TopArcher = Convert.ToInt32(DR["toparcher"]);
Nano.TopFire = Convert.ToInt32(DR["topfire"]);
Nano.TopWater = Convert.ToInt32(DR["topwater"]);
Nano.TopTrojan = Convert.ToInt32(DR["toptroj"]);
Nano.TopWarrior = Convert.ToInt32(DR["topwarr"]);
Nano.TopGuild = Convert.ToInt32(DR["topguild"]);
}
DR.Close();
}
}at Packets/Status.cs:
Code:
if (id == Nano.TopNinja)
Status += 0x80000000000;
if (id == Nano.TopTrojan)
Status += 0x8000000000;
if (id == Nano.TopWarrior)
Status += 0x4000000000;
if (id == Nano.TopArcher)
Status += 0x10000000000;
if (id == Nano.TopWater)
Status += 0x20000000000;
if (id == Nano.TopFire)
Status += 0x40000000000;
if (id == Nano.TopWeek)
Status += 0x2000000000;
if (id == Nano.TopMonth)
Status += 0x1000000000;
Then i added
Code:
Database.Database.LoadTops();
Still dident work so idk
Then the mysql table of course
|
|
|
11/10/2009, 11:50
|
#44
|
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
|
First of all what source are you using still alex's? And where did you put the "Database.Database.LoadTops();"?
|
|
|
11/10/2009, 16:06
|
#45
|
elite*gold: 0
Join Date: Oct 2006
Posts: 75
Received Thanks: 17
|
hunterman01 try this :
Code:
int id = CSocket.Client.ID;
if (id == Nano.TopNinja)
Status += 0x80000000000;
if (id == Nano.TopTrojan)
Status += 0x8000000000;
if (id == Nano.TopWarrior)
Status += 0x4000000000;
if (id == Nano.TopArcher)
Status += 0x10000000000;
if (id == Nano.TopWater)
Status += 0x20000000000;
if (id == Nano.TopFire)
Status += 0x40000000000;
if (id == Nano.TopWeek)
Status += 0x2000000000;
if (id == Nano.TopMonth)
Status += 0x1000000000;
if (CSocket.Client.GuildID == Nano.TopGuild && CSocket.Client.GuildID != 0)
|
|
|
Similar Threads
|
[Un-Official] CoEMU Help
01/24/2010 - CO2 PServer Guides & Releases - 38 Replies
CoEmu.Nano Help Thread
I started this topic to help keep the Conquer PServer Dissussions/Questions section clean. This topic will contain links , guides , and source codes examples as well as help. I seen day after day the same questions asked.
If you have any questions about the CoEmu.Nano source code , setup, or general questions about it please feel free to ask them here.
Source
The Offical CoEMU.Nano Thread
Private Server Clients
|
Official Counting Thread for CO2 Main Discussions / Questions
06/13/2008 - Conquer Online 2 - 14 Replies
Bored..... :D:D
......... 1
|
All times are GMT +2. The time now is 07:40.
|
|