|
You last visited: Today at 20:21
Advertisement
[Release] Custom label above head. #DEVKIT
Discussion on [Release] Custom label above head. #DEVKIT within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
04/13/2021, 02:13
|
#1
|
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
|
[Release] Custom label above head. #DEVKIT
----REMOVED-----
#request close
|
|
|
04/13/2021, 02:29
|
#2
|
elite*gold: 53
Join Date: Jul 2012
Posts: 542
Received Thanks: 191
|
Nice bro thanks for shared
|
|
|
04/13/2021, 02:34
|
#3
|
elite*gold: 0
Join Date: Jan 2011
Posts: 396
Received Thanks: 87
|
Soares dll
|
|
|
04/13/2021, 04:05
|
#4
|
elite*gold: 28
Join Date: Mar 2021
Posts: 150
Received Thanks: 196
|
Keep going.
|
|
|
04/13/2021, 11:22
|
#5
|
elite*gold: 0
Join Date: Apr 2012
Posts: 264
Received Thanks: 271
|
Quote:
Originally Posted by #KB
Heyo everyone, so i was boring and doing nothing, i just came with this idea and wanted to share it with you
its all about printing a cool quote above your head.
i used onupdate void for infinite update, because showmessageaboveentity function has a limited time then the label gets disappear, so just put the following code under an OnUpdate void in any form
ClientLib->Source Files->IFFlorian0Guide.h
Code:
void OnUpdate() override;
static struct CharNameList
{
std::n_wstring quote;
D3DCOLOR color;
std::n_wstring charname;
};
static std::vector<CharNameList> charnameList;
ClientLib->Source Files ->IFFlorian0Guide.cpp
Under CIFFlorian0Guide::OnCreate
Code:
CIFflorian0Guide::CharNameList newchar = CIFflorian0Guide::CharNameList();
newchar.quote = L"Miserable life :(";
newchar.color = 0xff00ff00;
newchar.charname = L"paulwalker_";
CIFflorian0Guide::charnameList.push_back(newchar);
newchar.quote = L"[Moderator]";
newchar.color = 0xffFF0000;
newchar.charname = L"botter2";
CIFflorian0Guide::charnameList.push_back(newchar);
Put the following void in the end of the class
Code:
void CIFflorian0Guide::OnUpdate()
{
for (std::vector<CIFflorian0Guide::CharNameList>::iterator it = CIFflorian0Guide::charnameList.begin(); it != CIFflorian0Guide::charnameList.end(); ++it)
{
CICharactor* Char = 0;
CLASSLINK_LOOP_BEGIN(CICharactor)
if (obj->GetName() == (*it).charname.c_str()) {
Char = obj;
}
CLASSLINK_LOOP_END(CICharactor)
if (Char != 0) {
Char->ShowMessageAboveEntity((*it).quote.c_str(), (*it).color);
}
}
}
Special thanks to florian0
|
you can share and change char icon
|
|
|
04/13/2021, 11:28
|
#6
|
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
|
Quote:
Originally Posted by thaidu0ngpr0
you can share and change char icon
|
sorry but i don't know a simple letter for such function, but i believe this function is client sided only.
|
|
|
04/13/2021, 22:06
|
#7
|
elite*gold: 393
Join Date: Feb 2009
Posts: 694
Received Thanks: 414
|
Quote:
Originally Posted by thaidu0ngpr0
you can share and change char icon
|
its client side :
Media\icon\etc\icon_rudiment.ddj
design it with photoshop and import it again ..
|
|
|
04/14/2021, 00:36
|
#8
|
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
|
Quote:
Originally Posted by nemo08
its client side :
Media\icon\etc\icon_rudiment.ddj
design it with photoshop and import it again ..
|
He is talking about custom one not the original ddj
|
|
|
04/14/2021, 00:48
|
#9
|
elite*gold: 393
Join Date: Feb 2009
Posts: 694
Received Thanks: 414
|
Quote:
Originally Posted by #KB
He is talking about custom one not the original ddj 
|
aha , I thought he need the newbie one .. anyway some PPL can be benefit from this one ..
|
|
|
04/14/2021, 12:54
|
#10
|
elite*gold: 0
Join Date: Oct 2020
Posts: 104
Received Thanks: 19
|
What Removed ?
|
|
|
04/14/2021, 15:28
|
#11
|
elite*gold: 0
Join Date: Sep 2020
Posts: 122
Received Thanks: 64
|
Quote:
Originally Posted by Rixy*
What Removed ?
|
If you look at message #5, you can see what was deleted. Actually, it's a trivial thing.
|
|
|
 |
Similar Threads
|
[Release] Colored global,notices source code via DevKit
04/06/2021 - SRO PServer Guides & Releases - 11 Replies
Heyo everyone, its a very very simple release and i am sure it'll going to help too much people who is coding in the DevKit Project,
ClientLib->SourceFiles->unsorted.cpp Under ( case CHAT_Notice: { ) put the following code
if (strMessageCopy == '~') {
strMessageCopy.erase(0, 1);
g_pCGInterface->ShowMessage_Notice(strMessageCo py);
local_64 = L"(";
local_64 += TSM_GETTEXTPTR("UIIT_MSG_NOTIFY");
local_64 += L"):";
|
[Release] Merging HB's Code into the devkit
11/20/2020 - SRO PServer Guides & Releases - 7 Replies
Whatsup everyone around here? this is my first release, i am merging @HB's client notification handler into the devkit , so you should be able to create new types of server notification aka 0x300C as HB mentioned.
You can find CPSMisson.cpp, .h Here
Code in .cpp
#define UNIQUE_SPAWN 0x0C05
#define UNIQUE_DIE 0x0C06
#define MOB_CH_TIGERWOMAN 1954
|
(S) Label Design & Label Covers etc.
02/11/2015 - Artist Trading - 6 Replies
German:
Hallo Liebe Community,
ich bin DJ/Producer & besitze ein eigenes Label.
Momentan suchen wir Designer damit wir schöne Cover
für Alben haben etc.
Diese Cover werden in diesen Stores erscheinen: iTunes,Beatport,Amazon Mp3, Shazam,Spotify,dj tunes, & viele andere Stores!
|
B> Nin 130(or above)-war 130 (or above)- fire 130 (or above) (Server: leo)
12/27/2009 - Conquer Online 2 Trading - 0 Replies
I'm looking for a nin-war-fire (full 130 or above) with +8 (or above) 2socket and blessed on the server leo!
price: we gotta talk about that ;-)
|
All times are GMT +1. The time now is 20:21.
|
|