Groups
Moderator: Team Members
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Groups
I was forced to do a complete rewrite of groups and just committed the start of it today. The reason for the rewrite is the group code required a client in the vast majority of the code, the issue with this is only players could be in the group, this was not going to work moving forward as we needed support for NPC's in groups (mercs). I tried to hack it in but how heavily the code relied on a client it wasn't going to work, that is why I was forced to do a rewrite.
It should work like it use to but I am sure there is bugs so please report them here. I also identified an element in the character sheet to identify the group leader, can only confirm it in the CoE client though. You can also invite any npc to your group currently, this was just for testing purposes though and will be removed in the future.
Now for the details on the code.
Group code was every where so I decided to add it into its own files, also moved some group code from the player class to the entity class so both players and npcs can be in the group. The major change I made was adding a manager for groups and no changes can be made to the actual group without going through the manager, this should help keep it thread safe. All group code should now be located in PlayerGroups.cpp/.h
It should work like it use to but I am sure there is bugs so please report them here. I also identified an element in the character sheet to identify the group leader, can only confirm it in the CoE client though. You can also invite any npc to your group currently, this was just for testing purposes though and will be removed in the future.
Now for the details on the code.
Group code was every where so I decided to add it into its own files, also moved some group code from the player class to the entity class so both players and npcs can be in the group. The major change I made was adding a manager for groups and no changes can be made to the actual group without going through the manager, this should help keep it thread safe. All group code should now be located in PlayerGroups.cpp/.h
- alfa
- Team Member
- Posts: 550
- Joined: Fri Jul 27, 2007 6:24 pm
- Location: France
- Contact:
Re: Groups
Nice Jab, thanks for the technical explanations
Fight with me... Or die, like the rest.
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."
-
DNC
- Posts: 6
- Joined: Sun Oct 25, 2015 8:07 pm
Re: Groups
Looks great Jabantiz and couldn't agree more that it needed to be done.
I own Terrors of Thulumbra.
No way to get a previous version patched properly in order to assist coding.
If someone is willing to update the login server to a current client, would be appreciated and I could assist on coding.
Have successfully coded swg, neverwinter, star trek, and many other games.
Xinux knows me well and told me to contact someone about updating client version.
PM's are best way to reach me.
I own Terrors of Thulumbra.
No way to get a previous version patched properly in order to assist coding.
If someone is willing to update the login server to a current client, would be appreciated and I could assist on coding.
Have successfully coded swg, neverwinter, star trek, and many other games.
Xinux knows me well and told me to contact someone about updating client version.
PM's are best way to reach me.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Groups
I can see about getting a live client connected but it might be a few days and it won't be perfect.
-
DNC
- Posts: 6
- Joined: Sun Oct 25, 2015 8:07 pm
Re: Groups
@Jabantiz
I totally understand where you're coming from and appreciate it.
I'll make another backup the moment you do.
:0)
I totally understand where you're coming from and appreciate it.
I'll make another backup the moment you do.
:0)
-
DNC
- Posts: 6
- Joined: Sun Oct 25, 2015 8:07 pm
Re: Groups
If you make a write-up or vid on the exact process required to update the login server, I'll more than happily work on keeping the login server up to date as well.
**Since I can't see my previously submitted msg, I cannot edit it. ;0)
**Since I can't see my previously submitted msg, I cannot edit it. ;0)
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: Groups
I looked into the opcodes today and if your current range is still at 60127-60129 then it just needs to be bumped up to 60127-60145. This is the latest client as of 10/29/2015. It does have some struct issues, but I was able to log in on my local server.Jabantiz wrote:I can see about getting a live client connected but it might be a few days and it won't be perfect.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
-
DNC
- Posts: 6
- Joined: Sun Oct 25, 2015 8:07 pm
Re: Groups
My current client version info:Cynnar wrote:I looked into the opcodes today and if your current range is still at 60127-60129 then it just needs to be bumped up to 60127-60145. This is the latest client as of 10/29/2015. It does have some struct issues, but I was able to log in on my local server.Jabantiz wrote:I can see about getting a live client connected but it might be a few days and it won't be perfect.
CL 653473 Build 12261L
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Groups
LoginServer is not open source, no one changes it but me or Jabantiz. The only thing Login needs are opcode bumps, and those rarely change. It's the WorldStructs that require the major changes for client compatibility.DNC wrote:If you make a write-up or vid on the exact process required to update the login server, I'll more than happily work on keeping the login server up to date as well.
Yes, I'm still around
-
DNC
- Posts: 6
- Joined: Sun Oct 25, 2015 8:07 pm
Re: Groups
John Adams wrote:LoginServer is not open source, no one changes it but me or Jabantiz. The only thing Login needs are opcode bumps, and those rarely change. It's the WorldStructs that require the major changes for client compatibility.DNC wrote:If you make a write-up or vid on the exact process required to update the login server, I'll more than happily work on keeping the login server up to date as well.
Yes, I'm still around
LOL
I know you're still around. Otherwise you wouldn't be moving those servers around. ;0)
I also know I still have files that I have never released and just thought I could be of assistance.
Past is the past.
Anyhow, glad to see you're still here and things are looking good.
Last edited by DNC on Thu Oct 29, 2015 10:01 pm, edited 1 time in total.
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: Groups
Yeah this is the current live client. So this will be a safe one to backup I think. The info about the opcode range was aimed at Jab, and I thought I had put that in the post. My bad.DNC wrote:My current client version info:
CL 653473 Build 12261L
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Groups
The version range Cynnar was referring to is the data version range, it is hidden in the packets and not displayed any where else but is essential. Also the version range bump that he suggested does work so the current live client will work soon, there was an error in the update process though that I need to talk to John about, as soon as that is resolved the client will work so feel free to make a backup of it.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: Groups
Give it another go.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Groups
Everything is now updated and the client can log in, currently sitting on the emu server with the live client.
Thanks Cynnar and John.
Thanks Cynnar and John.
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: Groups
No No! Thank you my good man.Jabantiz wrote:Everything is now updated and the client can log in, currently sitting on the emu server with the live client.
Thanks Cynnar and John.
I will let FB world know tomorrow.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Who is online
Users browsing this forum: No registered users and 0 guests