Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya
You last visited: Today at 15:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Shaiya Player Title?

Discussion on Shaiya Player Title? within the Shaiya forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2016
Posts: 141
Received Thanks: 75
Shaiya Player Title?

Hello, Epvpers may i know if it is possible to have player title here in shaiya? like other mmorpg games?



[GameAdvisor]Finn is offline  
Old 09/03/2018, 14:20   #2
 
elite*gold: 0
Join Date: Jul 2017
Posts: 38
Received Thanks: 1
some servers have it like EG shaiya, dont know how but seems intresting..


Ashura313 is offline  
Old 09/06/2018, 18:41   #3
 
elite*gold: 0
Join Date: Nov 2011
Posts: 329
Received Thanks: 379
Can you develop what do you mean exactly with some example or idk
JujiPoli is offline  
Thanks
1 User
Old 09/08/2018, 19:02   #4
 
elite*gold: 0
Join Date: Apr 2016
Posts: 225
Received Thanks: 126
Quote:
Originally Posted by JujiPoli View Post
Can you develop what do you mean exactly with some example or idk
I believe he wants to do something like this. The "Killer" title.

Source: Shaiya Asterios


[ADMIN]Phreak is offline  
Thanks
1 User
Old 09/09/2018, 00:42   #5
 
elite*gold: 0
Join Date: Sep 2016
Posts: 141
Received Thanks: 75
Quote:
Originally Posted by [ADMIN]Phreak View Post
I believe he wants to do something like this. The "Killer" title.

Source: Shaiya Asterios
Yeah exactly
[GameAdvisor]Finn is offline  
Old 09/20/2018, 09:32   #6
 
elite*gold: 0
Join Date: May 2014
Posts: 4
Received Thanks: 0
jackangel124 is offline  
Old 09/20/2018, 11:12   #7
 
elite*gold: 0
Join Date: Jul 2016
Posts: 205
Received Thanks: 283
Quote:
Originally Posted by jackangel124 View Post
this has nothing to do with this post?
that edits the character name, if you read the post he wants to add another title.
Velocity. is offline  
Thanks
1 User
Old 09/20/2018, 14:44   #8


 
elite*gold: 152
Join Date: Mar 2015
Posts: 117
Received Thanks: 1,092
It's an extra string present in the character details packet for Ep6+ clients, was first used for the "Champion of Shaiya" title in OS afaik.
Cups is offline  
Thanks
5 Users
Old 08/18/2019, 06:37   #9
 
elite*gold: 0
Join Date: Sep 2016
Posts: 141
Received Thanks: 75


i saw its possible on other episode.. like shaiya mystra
[GameAdvisor]Finn is offline  
Thanks
1 User
Old 08/21/2019, 15:18   #10


 
elite*gold: 152
Join Date: Mar 2015
Posts: 117
Received Thanks: 1,092
It's only possible on lower episodes as the feature has been ported over from higher episode clients. Here are my notes on the title packet present in Ep6+, for what it's worth:

Code:
#define NONE_FLAG               0
#define NAME_COLOUR_FLAG        2
#define TITLE_FLAG              4
#define OVERLAY_EFFECT_FLAG     8
#define UNDERLAY_EFFECT_FLAG    16

/**
 *  [MENTION=1332190]author[/MENTION] Triston Plummer ("Cups")
 *
 * Represents the outgoing character overlay packet.
 */
namespace Shaiya::Episodes::Outgoing {

	/**
	 * The character attributes structure
	 */
	struct CharacterOverlay {
		unsigned short opcode = 0x0240;
		unsigned int charId;
		bool visible;
		unsigned char flag = 0;
		unsigned int firstNameColour = 0;
		unsigned int secondNameColour = 0;
		unsigned int overlayEffect = 0;
		unsigned int underlayEffect = 0;
		char title[32] = { 0 };
	};
};

/**
 * Sends the player's overlay
 *
 *  [MENTION=1985011]param[/MENTION] user	The user instance
 */
void Ep8::sendOverlay(Shaiya::Models::CUser* user) {

	bool titleBool = true;
	bool nameColourBool = true;
	bool overlayEffectBool = true;

	int nameColour = 0xFF0000;
	const char* title = "The Vanquisher";
	int effect = 100;

	// The outgoing packet
	Shaiya::Episodes::Outgoing::CharacterOverlay overlay;
	overlay.charId = user->charId;
	overlay.visible = true;

	// The outgoing flag
	int flag = 0;
	if (titleBool) flag |= TITLE_FLAG;
	if (nameColourBool) flag |= NAME_COLOUR_FLAG;
	if (overlayEffectBool) flag |= OVERLAY_EFFECT_FLAG;
	overlay.flag = flag;

	// If the overlay is visibile
	if (overlay.visible) {
		overlay.firstNameColour = (flag & NAME_COLOUR_FLAG) ? nameColour : -1;
		overlay.secondNameColour = (flag & NAME_COLOUR_FLAG) ? nameColour : -1;
		overlay.underlayEffect = (flag & OVERLAY_EFFECT_FLAG) ? effect : -1;
		overlay.overlayEffect = (flag & OVERLAY_EFFECT_FLAG) ? effect : -1;

		if (flag & TITLE_FLAG) std::memcpy(&overlay.title, title, 32);
	}

	// Send the outgoing packet
	GameWorld::sendPacket(user, &overlay, sizeof(overlay));
}


Cups is offline  
Thanks
5 Users
Reply



« Help town skill | Shaiya OS TR/PL sets »

Similar Threads
[Selling] PGI Title Crate Code ( PGI TITLE SET SKIN )
07/25/2018 - PlayerUnknown's Battlegrounds Trading - 0 Replies
Hallo, ich verkaufe einen Key, der in PUBG im Shop aktiviert werden kann um eine PGI Title Crate freizuschalten. Diese Crate beinhaltet das gesamte Title Set. /1 Ich akzeptiere nur Paypal F&F und werde auch nicht first gehen, es sei denn ihr habt 350+/0/0 positive TBMs. Es wird nur über Epvp getraded, kein Skype, Discord usw. Zudem muss zuvor ein Trade eröffnet werden. Lest euch bitte vorher die Traderegeln von Epvp durch. Mit Abgabe eines Gebotes, stimmt ihr meinem /1 zu. Mfg
[WTS] Account including all 4 campaigns + Wisdom Title [3] + Treasure title [near 3]
09/06/2009 - Guild Wars Trading - 6 Replies
: Hi, I'm sellin an Account including all 3 campaigns & EOTN. It has no characters on it except an PvP Elementalist. There are some green items and materials on storage, and 11 golden rin relicts It's not plaync-bounded!! I'm open for offers. (ectos, zkeys, rare pets or rare items only) Contact: ..: 195759396
How edit topic title? New title.
09/01/2007 - Conquer Online 2 - 2 Replies
Since forum turned vbulletin, i cant edit topic title



All times are GMT +2. The time now is 15:19.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.