Nobility Impulse 5165

09/01/2012 07:25 ~Crystaline#1
I started working on Impulse 5165, first thing I did was to add Nobility, but the icon won't appear in the screen. The table was loaded, and I'm calling ( don't know, what term shall I use -.-) the nobility during log in. What I am missing?


Edit: I was checking on my previous threads, and I have decided to update it to remind myself of what I accomplished 2 years ago. I have fixed the Nobility, it was just an offset that needed to be corrected.
09/01/2012 07:30 EpicNinjaKick#2
Quote:
Does the Nobility on higher version work on 5165?
No,don't try it might crash your source

Did u add Nobility.dat.svn-base
09/01/2012 07:52 ~Crystaline#3
Quote:
Originally Posted by EpicNinjaKick View Post
No,don't try it might crash your source

Did u add Nobility.dat.svn-base
Nobility.dat.svn-base? Pardon me, what is that?
09/01/2012 22:26 -impulse-#4
The nobility icon did not appear because you didn't send the packet you should have.

Basic knowledge

NB: There are lots of sources nowadays that have nobility added including the leaked trinity source for version 5335. You can get it from there.

Packet (for Impulse(and/or Trinity) like sources)

Pseudo-tutorial

As of 'Nobility.dat.svn-base', nevermind that. It wouldn't work for a source that didn't use a SVN software while it was developed.


Regards.
09/02/2012 15:24 ~Crystaline#5
Quote:
Originally Posted by -impulse- View Post
The nobility icon did not appear because you didn't send the packet you should have.

Basic knowledge

NB: There are lots of sources nowadays that have nobility added including the leaked trinity source for version 5335. You can get it from there.

Packet (for Impulse(and/or Trinity) like sources)

Pseudo-tutorial

As of 'Nobility.dat.svn-base', nevermind that. It wouldn't work for a source that didn't use a SVN software while it was developed.


Regards.
Glad to hear them from the maker of the source, but I am using the one used in other leaked sources of yours, and it didn't seem to work.
09/02/2012 17:33 I don't have a username#6
Impulse... StringBuilder :)
09/02/2012 18:53 -impulse-#7
Quote:
Originally Posted by I don't have a username View Post
Impulse... StringBuilder :)
The difference could be close to nothing in this case. Anyway, somethings are just not meant to be built with StringBuilder... (not really, but eh, w/e).
09/03/2012 10:13 I don't have a username#8
The small difference are important when working on client/server stuff.
09/07/2012 18:53 ~Crystaline#9
#Bump...

Its kinda weird why the Nobility Icon won't show up in the screen.

Character 1 [Donater]
Character 2 [Observer]
ICON

Since, the icon is not visible I manually added Character1 on the nobility.
09/07/2012 23:48 -impulse-#10
My quick response to you is: the observer can see the nobility because it's part of another packet.

Question: You said my code didn't quite work. Exactly what did you mean by that? How much effort did you actually put in?
Do this: create a file (if doesn't already exist) and put the packet in it (Solution explorer\Conquer_Online_Server\Network\GamePackets \).
Then, send the basic stuff (already showed you how to create the icon packet).

Let me know what doesn't work right.
09/08/2012 18:02 ~Crystaline#11
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
    at Conquer_Online_Server.Network.PacketHandler.LoginMessagers<GameState client> in
E:\..........Conquer_Online_Server\Network\PacketHandler.cs:line 3594
    at Conquer_Online_Server.Network.PacketHandler.SetLocation<GeneralData generalData, GameState client>
 in E:\......PacketHandler.cs:line 3529
    at Conquer_Online_Server\Network.PacketHandler.HandlePacket<Byte[] packet, GameState client>
in E:\.........PacketHandler.cs:line 131
Where line 3594 is:

line 3529 is:

line 131 is:
09/09/2012 11:21 -impulse-#12
Quote:
Where line 3594 is:
before that line do this:

client.NobilityInformation = new NobilityInformation();
client.NobilityInformation.Name = client.Entity.Name;
client.NobilityInformation.EntityUID = client.Entity.UID;
client.NobilityInformation.Mesh = client.Entity.Mesh;

It will work afterwards. That is because you don't load any info for nobility yet.
09/09/2012 15:29 ~Crystaline#13
Still, the icon is not showing in the screen. And I checked if its client side but the texture for the icon is there.

Does my concern has something to do with the CharacterInfo too?
09/11/2012 07:08 -Sensei-#14
#Bump

it has to do with spawnpacket?
09/11/2012 12:12 -impulse-#15
No, it does not.

If you send the packet it should show the icon. :S