Albetron source

03/20/2015 21:13 jschellekens#1
I'm using this source right now and i saw it has severel steeds.
but my question is, does it also have +3/+4/+5 etc and also mount things like tigers? or scorpion?
Does it also has riding skill?
If the answers to my questions are no, how could i add em?
thanks
03/20/2015 22:01 pintinho12#2
You can add them easily, but i think they're already implemented. It's item part, probably it is already done, the max you gonna do is make the item on the inventory and equip. To add new itens, just go to the database and add it there, also on the client.

Off-topic: Came to see the topic because of the "Albetron" looks funny, sounds like a Conquer w/ Tron using Albetros.
03/20/2015 22:13 jschellekens#3
Haha well, i found a normal steed in the source but nothing like +6 or +7,
also no mount armor. Found the riding skill but not sure if it works..
03/20/2015 22:27 pintinho12#4
I checked Albetros already, the mount skill works.
I didn't bother checking the mount armors, but i guess they work too. Just get the commands and make it.
I am at work now, i can't help :x
03/20/2015 22:36 jschellekens#5
I can't find the names/id's to spawn em.
When u are done at work, could u help me?
would really appreciate that :D

thanks
03/20/2015 23:05 pro4never#6
Pretty sure you need sub classes working in order to use mount armors although I've never done anything with them.

You may need to do a bit more work to get them working properly....

PS: Albetros is a pretty trashy source. I dumped it for a reason.
03/20/2015 23:53 jschellekens#7
Well actually i got it to work. but the mount armor is for wrangler lv 6
Does wrangler work?
03/21/2015 19:10 pintinho12#8
He just started the Subclasses work, didn't finish.
If you want to see a working (Shitty) Sub-class system for 5517, take a look at my thread
[Only registered and activated users can see links. Click Here To Register...]
It does have the Subclass system. I will be improving in later versions.
03/22/2015 03:36 _DreadNought_#9
Quote:
Originally Posted by pro4never View Post
Pretty sure you need sub classes working in order to use mount armors although I've never done anything with them.

You may need to do a bit more work to get them working properly....

PS: Albetros is a pretty trashy source. I dumped it for a reason.
don't even need to implement them if you just want armours just send the packet saying they're the subclass x at level x

@OP:
from acidcov3
Code:
using System.IO;

namespace COPS2012.Network.Packets
{
    public class SubClassShowPacket
    {
        public ushort ID;
        public byte Class;
        public byte Phase;

        public SubClassShowPacket() { }

        public byte[] BuildPacket()
        {
            var strm = new BinaryWriter(new MemoryStream());
            strm.WritePacketType((PacketType)2320);
            strm.WriteUInt16(ID);
            strm.WriteByte(Class);
            strm.WriteByte(Phase);
            return strm.Finalize();
        }
    }
}
onlogin
Code:
client.Send(new SubClassShowPacket {Class = 9, ID = 4, Phase = 9}.BuildPacket());
client.Send(new SubClassShowPacket {Class = 9, ID = 5, Phase = 9}.BuildPacket());
this is all you need to be able to wear the armours @op

oh and as for getting the actual armors;
Code:
case "@tigers":
                    {
                        uint start = 200000;
                        for (byte i = 0; i < 11; i++)
                        {
                            start += 1;
                            Client.Inventory.AddItem(new Item((int)start, 12))
                        }
                        break;
                    }
                case "@deers":
                    {
                        uint start = 200100;
                        for (byte i = 0; i < 10; i++)
                        {
                            start += 1;
                            Client.Inventory.AddItem(new Item((int)start, 12));
                        }
                        break;
                    }
ps; not going to defend the command code; this was back in 2012
03/22/2015 05:08 pintinho12#10
Quote:
Originally Posted by _DreadNought_ View Post
Code:
client.Send(new SubClassShowPacket {Class = 9, ID = 4, Phase = 9}.BuildPacket());
client.Send(new SubClassShowPacket {Class = 9, ID = 5, Phase = 9}.BuildPacket());
So this is how you send the subclasses?
And i was doing some shit... fuck... Thats fucking easy
Damn... i will try it xD
03/22/2015 15:05 _DreadNought_#11
Quote:
Originally Posted by pintinho12 View Post
So this is how you send the subclasses?
And i was doing some shit... fuck... Thats fucking easy
Damn... i will try it xD
Yea.. I just pulled the code out of the acidcov3 src

how were you doing it? o.o
03/23/2015 21:42 pintinho12#12
Quote:
Originally Posted by _DreadNought_ View Post
Yea.. I just pulled the code out of the acidcov3 src

how were you doing it? o.o
I checked now that i did it right.
My first try with Subclasses i was learning the SC and then Upleveling it.

Something like.
Code:
while(actualLevel < Level){
SendUplev();
}
Until i find out that i could sent the 9 levels in 1 packet xD