Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Guides & Templates
You last visited: Today at 07:04

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

Advertisement



[Guide] Creating your own ingame Silkroad GUI

Discussion on [Guide] Creating your own ingame Silkroad GUI within the SRO Guides & Templates forum part of the Silkroad Online category.

Reply
 
Old 01/21/2010, 14:00   #16
 
elite*gold: 0
Join Date: Aug 2008
Posts: 6
Received Thanks: 0
@maxbot

Thanks for your reply. I will try this hook on some other game, and honestly, I don't doubt it'll work perfect on other games I belive it's GameGuard interfering with my hook in some way, but I can't figure out why.

I'll repost some results from other games.

Edit:

Can it be caused by having the cUI.Draw(); in other hooked functions? I've seen some hooks using it in the Present() function, while otherin EndScene() ? I use it in EndScene myself, mainly because I cannot seem to hook Present(). Once again, I belive it's GG stopping me.
p0ke is offline  
Old 01/21/2010, 22:16   #17
 
elite*gold: 0
Join Date: Jun 2008
Posts: 188
Received Thanks: 104
I'm no D3D genius, but I believe that calling cUI.Draw() in Present() might slow down the application.
maxbot is offline  
Old 01/22/2010, 11:08   #18
 
elite*gold: 0
Join Date: Aug 2008
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by maxbot View Post
I'm no D3D genius, but I believe that calling cUI.Draw() in Present() might slow down the application.
Hi again maxbox.

Then I guess drawing my code in EndScene() is the better choice
I havn't been able to test the Hook.dll with any other game yet, just arrived at a friends house. But I will reply with some information regarding that soon.

I understand that you might not have the answer I seek, I just thought
it could be worth trying to ask

I don't belive it's your UI source (well, my translated version of it) that causes this. It's a good share of source, and I'll let you see the final version of my hook once it's done

Now, time to try to figure out why my UI turnes grayscale D;
p0ke is offline  
Old 01/24/2010, 10:05   #19
 
elite*gold: 0
Join Date: Jun 2008
Posts: 188
Received Thanks: 104
Quote:
Originally Posted by p0ke View Post
Hi again maxbox.

Then I guess drawing my code in EndScene() is the better choice
I havn't been able to test the Hook.dll with any other game yet, just arrived at a friends house. But I will reply with some information regarding that soon.

I understand that you might not have the answer I seek, I just thought
it could be worth trying to ask

I don't belive it's your UI source (well, my translated version of it) that causes this. It's a good share of source, and I'll let you see the final version of my hook once it's done

Now, time to try to figure out why my UI turnes grayscale D;
Let me know if you got it working
maxbot is offline  
Old 01/31/2010, 15:49   #20
 
elite*gold: 0
Join Date: Aug 2008
Posts: 6
Received Thanks: 0
Hello again maxbot.

I found out something strange. Depending on where I am in the gameworld, the UI changes color :P If I'm in town, it turns brown, but outside it fades over to gray/blue.

No idea what makes this, but it feels like it has something to do with some kind of colortable or something. D:

EDIT:
I also managed to hook the Present function, but ofcourse that didn't do any change at all. My UI still change color all randomly D;
p0ke is offline  
Old 01/31/2010, 20:02   #21
 
elite*gold: 0
Join Date: Apr 2007
Posts: 53
Received Thanks: 5
tahnks it helps me
Gayma is offline  
Old 01/31/2010, 21:08   #22
 
elite*gold: 0
Join Date: Jan 2008
Posts: 41
Received Thanks: 2
very impresive guide! :P
blondutzu1992 is offline  
Old 03/01/2010, 02:49   #23
 
Yamachi's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 149
Received Thanks: 138
I'm definitely no DirectX expert, but that sounds like it might be due to the current device states. Try setting RenderState and TextureStageState to default values before you draw your UI.

Quote:
Originally Posted by p0ke View Post
Hello again maxbot.

I found out something strange. Depending on where I am in the gameworld, the UI changes color :P If I'm in town, it turns brown, but outside it fades over to gray/blue.

No idea what makes this, but it feels like it has something to do with some kind of colortable or something. D:

EDIT:
I also managed to hook the Present function, but ofcourse that didn't do any change at all. My UI still change color all randomly D;
Yamachi is offline  
Old 03/03/2010, 11:32   #24
 
hambal's Avatar
 
elite*gold: 20
Join Date: Apr 2008
Posts: 1,840
Received Thanks: 366
nice btw like it but not gonna use it
hambal is offline  
Old 07/29/2018, 01:00   #25
 
elite*gold: 56
Join Date: Jul 2013
Posts: 433
Received Thanks: 103
nice it helping me alot
XerK.. is offline  
Old 10/25/2018, 14:42   #26
 
elite*gold: 56
Join Date: Jul 2013
Posts: 433
Received Thanks: 103
can you re upload the link please
XerK.. is offline  
Old 04/25/2019, 01:52   #27
 
topaz..'s Avatar
 
elite*gold: 10
Join Date: Nov 2018
Posts: 172
Received Thanks: 46
re upload link please
topaz.. is offline  
Reply


Similar Threads Similar Threads
[Guide] Creating a Simple Loader with Injected DLL for Silkroad
02/02/2016 - SRO Coding Corner - 37 Replies
This next article in my series is a very important one for anyone wanting to get started with client modifications or understanding the client itself. This is the base article that will be used for all my future articles that explain various Silkroad development concepts. Like my previous article, there is nothing terribly exciting with this one as we have to get through the necessary boring stuff first before we can have any real fun. Unfortunately, this article is very heavy text wise and...
[GUIDE].c3 files creating
07/10/2011 - CO2 Weapon, Armor, Effects & Interface edits - 85 Replies
As I've promised, I'm releasing .c3 files CREATING guide. Even thought nearly whole guide on creating them was around E*PvPers for years most of it's members never got to find it out... Tbh, I wouldn't get to find it out without other people's support but... Credits below. I'll eventually add "How to properly texture new weapons" guide somewhat in future either here on different thread, anywho... NOTE: This is not modelling tutorial.. My modelling ability is rather... none, so if you want...
[GUIDE] Zygor's Ingame Level Guide [2.0.1196 (29.06.10)]
08/10/2010 - WoW Guides & Templates - 20 Replies
Zygor's Ingame Level Guide 2.0.1196 (June 29th, 2010) (aktuellste Version) (Beinhaltet/Includes: Guide, Dailies, Events, Bonus PDF Guides) RapidShare.com uploaded.to PW: 4ePvPers ------------------------------------------------- -------------------------------------------------- ------------------
How creating items in Silkroad Online.
03/07/2007 - Silkroad Online - 1 Replies
Hello folks ! I heard from several people that it's possible to create object in silkroad with a hack. And I saw several low levels with alot of SOS in their stall in the new server Alexander. Do you know something about that ? Thanks !



All times are GMT +1. The time now is 07:04.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.