|
You last visited: Today at 12:33
Advertisement
[Help] Spawn Packet
Discussion on [Help] Spawn Packet within the CO2 Private Server forum part of the Conquer Online 2 category.
01/19/2014, 15:53
|
#1
|
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
|
[Help] Spawn Packet
Hello! I created a command so I can change my first reborn class, but when I use the command, the class does not change the status. I wonder what I did wrong? Photo below:
Code:
Game example:
Obs: Version 5765, FirstRebornClass SpawnPacket: 221.
|
|
|
01/19/2014, 15:58
|
#2
|
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
|
Uint16_FirstRebornClass = 225,
Uint16_SecondRebornClass = 227,
Uint16_Class = 229,
|
|
|
01/19/2014, 16:08
|
#3
|
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
|
Quote:
Originally Posted by teroareboss1
Uint16_FirstRebornClass = 225,
Uint16_SecondRebornClass = 227,
Uint16_Class = 229,
|
I changed to 225, but only updates the status to other players, for me does not change.
|
|
|
01/20/2014, 21:57
|
#4
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
packet 1006 characterinfo i think
|
|
|
01/21/2014, 21:56
|
#5
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
|
Quote:
Originally Posted by abdoumatrix
packet 1006 characterinfo i think
|
No. That is for login only.
@OP You have to use the update packet, same packet you use to update money, cps, level, experience etc. with.
The spawnpacket is only for surroundings, ALWAYS.
Quote:
Originally Posted by teroareboss1
Uint16_FirstRebornClass = 225,
Uint16_SecondRebornClass = 227,
Uint16_Class = 229,
|
Well that was some ugly naming convention.
|
|
|
01/21/2014, 22:21
|
#6
|
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
|
Quote:
Originally Posted by Super Aids
No. That is for login only.
@OP You have to use the update packet, same packet you use to update money, cps, level, experience etc. with.
The spawnpacket is only for surroundings, ALWAYS.
Well that was some ugly naming convention.
|
For update money is used:
Code:
Update(number, value, false);
I tried numbers 0-255 in number to first reborn class and had no results :/
|
|
|
01/21/2014, 22:45
|
#7
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
|
Or wait my bad. I thought it was the reborn count. Read count instead of class.
It could be wrong offsets of your packet.
Make sure that you send the spawnpacket to yourself when you update it.
Try change:
Code:
client.SendScreen(client.Entity.SpawnPacket, false);
To:
Code:
client.SendScreen(client.Entity.SpawnPacket, true);
|
|
|
01/21/2014, 23:28
|
#8
|
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
|
Ah, i'm not read right
in update packet is:
CurrentClass = 7,
FirstClass = 50,
SecoundClass = 51,
|
|
|
01/22/2014, 00:53
|
#9
|
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
|
Quote:
Originally Posted by teroareboss1
Ah, i'm not read right
in update packet is:
CurrentClass = 7,
FirstClass = 50,
SecoundClass = 51,
|
Omg! Thanks a lot!!!
Code:
CurrentClass = 7,
FirsRebornClass = 51,
SecondRebornClass = 50,
#Closed
|
|
|
|
Similar Threads
|
5722 Spawn packet.
05/04/2013 - CO2 Private Server - 7 Replies
Hey everyone.
Any one could help and give me the right spawn packets?
or just give me a good guide that could help me in figure out it my own
:handsdown::handsdown::handsdown:
to be sure of what i had done
|
Group Spawn Packet
02/11/2012 - SRO Coding Corner - 22 Replies
Well every now and then a packet isn't parsed correctly, sometimes character spawn data just simply ends after the character name causing me to read over other data while it tries to read guild name and stuff like that. Also some buffs related to clerics and bards seem to have an extra byte while parsing the character spawn packet, I'm not sure which buffs exactly so that's a problem too. It'd be great if someone could point out what I can do to correctly parse these group spawn packets. I've...
|
spawn name Packet 5520
08/21/2011 - CO2 Private Server - 11 Replies
hellos Evert Body
this pic http://img832.imageshack.us/img832/7425/44423762.j pg
that when i try to upgrade my sourse from 5375 to 5520 i upgrade the spawn to see the monsters and other chars but i can't see the names of them
and the char is visble??
so i need spawn packet make it fully working
|
[Help] Spawn Packet
08/20/2011 - CO2 Private Server - 6 Replies
Right, this is my entity.cs, Im guessing the spawnpacket is in here but I'm trying to update it to work in 5517. I tried changing the individual numbers to the ones found in Shisui's post but im guessing I did it wrong because now I just dc when I log in. Can someone explain what I'm meant to do please?
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Conquer_Online_Server.Network;
using Conquer_Online_Server.Network.GamePackets;
using...
|
All times are GMT +2. The time now is 12:33.
|
|