Register for your free account! | Forgot your password?

You last visited: Today at 13:36

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

Advertisement



Discord Icon In sro_devkit

Discussion on Discord Icon In sro_devkit within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1



 
Goosxc's Avatar
 
elite*gold: 5
Join Date: Jan 2020
Posts: 314
Received Thanks: 323
Discord Icon In sro_devkit

I asked a lot of people, how to make this icon but no one help me only " florian0 " help me thanks , so i decide to release it here so people can do it , also you can added alot of icon just check my file and you will understand how to make another one :


First you will create new file name in " ClientLib " IFDiscordGuide.h in Header Files , and another one IFDiscordGuide.cpp in Source Files.

Icons.


Code in IFDiscordGuide.h


Code:
#pragma once
#include "IFDecoratedStatic.h"

#define GUIDE_FLORIAN2 13382

class CIFDiscordGuide : public CIFDecoratedStatic
{
	GFX_DECLARE_DYNCREATE(CIFDiscordGuide)

public:
	bool OnCreate(long ln) override;
	int OnMouseLeftUp(int a1, int x, int y) override;
	void OnCIFReady() override;
};
IFDiscordGuide.cpp . Code

Code:
#include "../../../DevKit_DLL/src/StdAfx.h"
#include "IFDiscordGuide.h"
#include "GEffSoundBody.h"
#include "GInterface.h"
#include <Windows.h>
#include <string>
#include <iostream>


GFX_IMPLEMENT_DYNCREATE(CIFDiscordGuide, CIFDecoratedStatic)

bool CIFDiscordGuide::OnCreate(long ln)
{
	printf("> " __FUNCTION__ "(%d)\n", ln);
	CIFDecoratedStatic::OnCreate(ln);

	TB_Func_13("icon\\etc\\discord_1.ddj", 0, 0);
	sub_634470("icon\\etc\\discord_2.ddj");
	
	set_N00009BD4(2);
	set_N00009BD3(500);

	CGEffSoundBody::get()->PlaySound(L"snd_quest");


	return true;
}

int CIFDiscordGuide::OnMouseLeftUp(int a1, int x, int y)
{
	printf("> " __FUNCTION__ "(%d, %d, %d)\n", a1, x, y);

	CGEffSoundBody::get()->PlaySound(L"snd_quest");
		ShellExecute(NULL, "open", "https://discordapp.com/invite/GOOSXC", NULL, NULL, SW_SHOWNORMAL);
	return 0;
}

void CIFDiscordGuide::OnCIFReady()
{
	printf("> " __FUNCTION__ "\n");

	CIFDecoratedStatic::OnCIFReady();
	sub_633990();

}

Next Step go to DevKit_DLL and open DllMain.cpp file then added this
include ,

Code:
#include "IFDiscordGuide.h""
then in // Inject all the new objects added this code


Code:
RegisterObject(&GFX_RUNTIME_CLASS(CIFDiscordGuide));
then go to AlramGuideMgrWnd.cpp in ClientLib , Source Files, added this #include

Code:
#include "IFDiscordGuide.h"
and this in same file

Code:
case GUIDE_FLORIAN2:
            pObj = CreateInstance(this, GFX_RUNTIME_CLASS(CIFDiscordGuide), rect, GUIDE_FLORIAN2, 0);
			break;
Last thing Ginterface.cpp in ClientLib , Source File

added this #include


Code:
#include "IFDiscordGuide.h"
and this code also


Code:
void CGInterface::CreateDiscordEvent() {
	CGWnd *guide = GetAlarmManager()->GetGuide(GUIDE_FLORIAN2);
}
also added this in AfterOnCreate




Code:
 CreateDiscordEvent();
also added this in GInterface.h in ClientLib



Code:
void CreateDiscordEvent();
Media.pk2 Edit .media\resinfo/ginterface.text added this code inside this text like screen


Code:
	GDR_FLORIAN0:CIFflorian0
	{
		ClientRect=RECT,"0,0,0,0"
		Color=COLOR,"255,8,214,78"
		DDJ=STRING,"interface\\frame\\mframe_wnd_"
		FontColor=COLOR,"255,255,255,255"
		FontIndex=INTEGER,"0"
		HAlign=INTEGER,"0"
		ID=INTEGER,"1338"
		Rect=RECT,"300,200,400,300"
		Style=INTEGER,"0"
		SubSection=STRING,""
		Text=STRING,"UIIT_PAG_FLORIAN0"
		UV_LB=POINT,"0,1"
		UV_LT=POINT,"0,0"
		UV_RB=POINT,"1,1"
		UV_RT=POINT,"1,0"
		VAlign=INTEGER,"0"
	}
Special thanks to: florian0
Goosxc is offline  
Thanks
36 Users
Old   #2

 
Worshiper's Avatar
 
elite*gold: 98
Join Date: May 2017
Posts: 1,238
Received Thanks: 282
Doing a great work thanks for helping that Will be helpful for alot of ppl
Worshiper is online now  
Thanks
1 User
Old   #3
 
pherona's Avatar
 
elite*gold: 480
Join Date: May 2020
Posts: 60
Received Thanks: 22
Good Job keep going , no one post about game links icons before
pherona is offline  
Thanks
1 User
Old   #4
 
C0smo's Avatar
 
elite*gold: 0
Join Date: Jun 2020
Posts: 41
Received Thanks: 30
Great job
C0smo is offline  
Thanks
1 User
Old   #5
 
WickedNite.'s Avatar
 
elite*gold: 15
Join Date: Jul 2014
Posts: 1,617
Received Thanks: 1,381
I'm confident that if floriano wanted it released he would've done it himself.
WickedNite. is offline  
Old   #6



 
Goosxc's Avatar
 
elite*gold: 5
Join Date: Jan 2020
Posts: 314
Received Thanks: 323
Quote:
Originally Posted by WickedNite. View Post
I'm confident that if floriano wanted it released he would've done it himself.
The problem was, I asked a lot of people, but nobody wanted to help me, everyone was ignoring me, and the other was blocking me. So I decided to release it to show these people that I did it without anyone's help only florian0 help me, just so that what happened with me does not happen with other people.

Goosxc is offline  
Thanks
3 Users
Old   #7
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
good job
mudik is offline  
Thanks
1 User
Old   #8

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 547
Received Thanks: 198
Good person for sharing this and explaining how it cost you to have that, thanks for shared
XxGhostSpiriTxX is offline  
Thanks
2 Users
Old   #9
 
N E X U S''s Avatar
 
elite*gold: 35
Join Date: Nov 2016
Posts: 24
Received Thanks: 48
Talented work, good job.
N E X U S' is offline  
Thanks
1 User
Old   #10
 
! Split's Avatar
 
elite*gold: 0
Join Date: Jun 2020
Posts: 111
Received Thanks: 44
thank you dud for sharing it , keep it up
! Split is offline  
Thanks
1 User
Old   #11

 
devdash's Avatar
 
elite*gold: 14
Join Date: Feb 2016
Posts: 1,607
Received Thanks: 448
Good releases started again

Welldone Goosxc, keep up the good work.
Waiting for the video ^^
devdash is offline  
Thanks
2 Users
Old   #12
 
Exner.'s Avatar
 
elite*gold: 5
Join Date: Jul 2020
Posts: 183
Received Thanks: 55
great thanks you
Exner. is offline  
Old   #13
 
elite*gold: 0
Join Date: May 2016
Posts: 129
Received Thanks: 9
thank you but van use it in csro ?
asda2story2 is offline  
Old   #14
Trade Restricted

 
elite*gold: LOCKED
Join Date: Feb 2020
Posts: 586
Received Thanks: 174
Thanks for sharing but any tutorial how to install this?
JoleChow* is offline  
Old   #15

 
elite*gold: 1724
Join Date: Feb 2017
Posts: 482
Received Thanks: 337
Cool feature, thanks for sharing. Good job!!
RanstaMonsta is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Buying] Buying Beta Tester Icon (Grandmaster Icon (Rammus Icon)
06/22/2016 - League of Legends Trading - 3 Replies
http://avatar.leagueoflegends.com/na/ELO%20PUPPET. png Buying an Account with Icon like This! I can pay up to 150€ Skype: chaoscomputerclub
[QUESTION]how to change shopping mall icon and vip icon?
08/25/2012 - EO PServer Hosting - 5 Replies
how to change this?http://www.elitepvpers.com/forum/attachment.ph p?attachmentid=59083&stc=1&d=1282324832
[S]Administrator Icon & User Icon
04/30/2011 - elite*gold Trading - 9 Replies
Hallo Leute, Ich suche ein Icon für Administrator und User! Für mein Forum! Hier so ungefähr sollte es aussehen! http://booktastic.org/forums/images/icon/crystal_ red/moderator.png
[FRAGE]icon.eix & icon.epx
07/09/2010 - Metin2 Private Server - 2 Replies
hallo liebe E*Pvpers Com, wollte ma fragen wie das geht, das ich 2 icon.eix zu einerm ache, weil ich bnrauch ja von allen neuen Waffen die Icons in einem Icon.eix Pls helft mir
[Frage] icon.eix icon.epk
04/22/2010 - Metin2 Private Server - 3 Replies
Hey wie packe und entpacke ich die dateien richtig? kann mir da jemand helfen? 2. frage ^^ was genau haben die dateien mit der item_list.txt zu tun? also ich habe jetzt in meinem client die drachengottitems eingebaut damit sie bildchen haben und meine GM-items haben jetzt keine bildchen mehr "sind verschiedene" würde gerne wissen wie genau ich die icon.eix und icon.epk so bearbeiten kann das die drachengottitems ihre bildchen haben und die GM-items ihre bildchen die gm items sind bei...



All times are GMT +1. The time now is 13:36.


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

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