Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 11:57

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

Advertisement



Sro_Devkit New Window problem

Discussion on Sro_Devkit New Window problem within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 03/13/2021, 10:38   #16
 
elite*gold: 0
Join Date: Aug 2019
Posts: 55
Received Thanks: 10
Quote:
Originally Posted by LegendarySouL View Post
wrong anyway i dont care about you think -> kasper wla ba2dons


i never see some one joke on his name
omar125 is offline  
Old 03/13/2021, 14:09   #17
 
elite*gold: 0
Join Date: Nov 2010
Posts: 132
Received Thanks: 10
Quote:
Originally Posted by omar125 View Post
the 5004 is for id of Ginterface file like
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"
}
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);
5004 is the id of ginterface file

you can see florian Creating windows and he created guide in the devkit
i added but get crash -.-"
kanka5252 is offline  
Old 03/13/2021, 17:20   #18

 
SubZero**'s Avatar
 
elite*gold: 70
Join Date: Apr 2017
Posts: 1,024
Received Thanks: 511
Quote:
Originally Posted by omar125 View Post
the 5004 is for id of Ginterface file like
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"
}
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);
5004 is the id of ginterface file

you can see florian Creating windows and he created guide in the devkit

Quote:
Originally Posted by kanka5252 View Post
i added but get crash -.-"
You must use unique ID so if ginterface form id =1338
how you will use it?

You can do it like
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);

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,"5004"
    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"
}
.
SubZero** is offline  
Old 03/13/2021, 18:38   #19
 
elite*gold: 0
Join Date: Aug 2019
Posts: 55
Received Thanks: 10
Quote:
Originally Posted by Zoro.Sro View Post
You must use unique ID so if ginterface form id =1338
how you will use it?

You can do it like
Code:
g_pCGInterface->m_IRM.GetResObj(5004, 1)->ShowGWnd(true);

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,"5004"
    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"
}
.
yeah he know that its just example.
omar125 is offline  
Old 03/13/2021, 19:10   #20

 
SubZero**'s Avatar
 
elite*gold: 70
Join Date: Apr 2017
Posts: 1,024
Received Thanks: 511
Quote:
Originally Posted by omar125 View Post
yeah he know that its just example.
Maybe he just copy&paste the code
SubZero** is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Discord Icon In sro_devkit
03/28/2021 - SRO PServer Guides & Releases - 111 Replies
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. http://i.epvpimg.com/46Atdab.pnghttp://i.epvpimg. com/sbdscab.png Code in...
SRO_DevKit Problem
10/21/2020 - SRO PServer Questions & Answers - 2 Replies
Applied same https://www.elitepvpers.com/forum/sro-pserver-guid es-releases/4791278-discord-icon-sro_devkit.html topic but icon hide ? and project hide in the folder florian0 help ? https://i.imgur.com/bxdako0.png
[Request] Sro_DevKit Build On Visual 14-16
07/30/2020 - SRO Coding Corner - 7 Replies
I tried every visual version from 10-16 It only works on visual 2005 and clion, visual 2005 library is outdated, many functions don't support. Can anyone upload a project build on visual 14-16 to help me. thanks for watching https://www.upsieutoc.com/images/2020/07/30/loi.p ng



All times are GMT +1. The time now is 11:58.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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