Register for your free account! | Forgot your password?

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

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

Advertisement



[WIP] Get SRO Source Code - by re-writing it

Discussion on [WIP] Get SRO Source Code - by re-writing it within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 01/31/2020, 15:51   #106
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
Quote:
Originally Posted by concucu View Post
edit on resinfo -> your file

@
Can you make an example of a list in the UI?
We can
- Display a list
- Select an object from the list

thank you
And how about you? U planning to make anything?

This guy released years of work, and even after the release you still asking for more, c'mon...
#HB is offline  
Old 02/01/2020, 02:28   #107
 
concucu's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
Quote:
Originally Posted by #HB View Post
And how about you? U planning to make anything?

This guy released years of work, and even after the release you still asking for more, c'mon...
Look back at the articles you need help with. Those things I knew and I myself felt it was silly to ask such questions.
So, what you already know, maybe not others know. If you feel like it, reply.Dont like, skip it
concucu is offline  
Old 02/02/2020, 13:49   #108
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
Quote:
Originally Posted by concucu View Post
Look back at the articles you need help with. Those things I knew and I myself felt it was silly to ask such questions.
I do not ask for help with other releases. If I needed help in the past, it was most likely likely about something of my work. That doesn't mean you don't have the right not to ask, but do you realize what you're asking before asking? The guy released it so you can do your own windows & parse other windows, and now you're asking him to a parse window for you.

Pretty sure you still don't realize, because you just wanna get what you want.

Quote:
Originally Posted by concucu View Post
Dont like, skip it
I do not skip, but I am gonna skip because I don't wanna ruin his awesome release for such stupid arguments.
#HB is offline  
Old 02/02/2020, 14:45   #109
 
concucu's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
Quote:
Originally Posted by #HB View Post
I do not ask for help with other releases. If I needed help in the past, it was most likely likely about something of my work. That doesn't mean you don't have the right not to ask, but do you realize what you're asking before asking? The guy released it so you can do your own windows & parse other windows, and now you're asking him to a parse window for you.

Pretty sure you still don't realize, because you just wanna get what you want.



I do not skip, but I am gonna skip because I don't wanna ruin his awesome release for such stupid arguments.
You have knowledge, you are good. But others are not.
I just asked a few suggestions in this release, you know that and you don't share, it's good that you're smarter.

Nobody wants to ruin this great release, neither do I.

Why do you know other people don't use their brains and just come here to ask.
concucu is offline  
Old 02/19/2020, 22:49   #110
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
Quote:
Originally Posted by concucu View Post
Bro. How to fix the position, even if the screen size is changed?
Quote:
Originally Posted by #HB View Post
You shall trigger the function after changing resolution.
Lets solve this one first. There's one issue with positioning the icons by yourself. You need to stay away from the auto-positioning area or your icon will collide with another icon. As I said earlier, there's a function that positions the guide icons all on its own. It's actually a class.
I've now reversed the class so we can make use of the positioning and don't have to hook some reset stuff somewhere.



How to use CAlramMgrWnd? (typo intended)



1. Make your Guide Icon class (see CIFflorian0Guide as a reference).
1.1 Don't forget to register your class:
2. Add your class to CAlramMgrWnd like this:
3. Make a function in CGInterface that instanciates your guide icon using CAlramMgrWnd:
4. Call the function in CGInterface::AfterOnCreate to make the icon visible from the beginning:

DO NOT ADD YOUR GUIDE ICON TO GINTERFACE.TXT!
florian0 is offline  
Thanks
7 Users
Old 02/20/2020, 13:06   #111
 
elite*gold: 36
Join Date: Mar 2010
Posts: 561
Received Thanks: 225
Quote:
Originally Posted by florian0 View Post
Lets solve this one first. There's one issue with positioning the icons by yourself. You need to stay away from the auto-positioning area or your icon will collide with another icon. As I said earlier, there's a function that positions the guide icons all on its own. It's actually a class.
I've now reversed the class so we can make use of the positioning and don't have to hook some reset stuff somewhere.



How to use CAlramMgrWnd? (typo intended)



1. Make your Guide Icon class (see CIFflorian0Guide as a reference).
1.1 Don't forget to register your class:
2. Add your class to CAlramMgrWnd like this:
3. Make a function in CGInterface that instanciates your guide icon using CAlramMgrWnd:
4. Call the function in CGInterface::AfterOnCreate to make the icon visible from the beginning:

DO NOT ADD YOUR GUIDE ICON TO GINTERFACE.TXT!

Laag#82 is offline  
Thanks
1 User
Old 02/20/2020, 19:41   #112
 
concucu's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
thanks
concucu is offline  
Thanks
1 User
Old 02/21/2020, 20:37   #113
 
elite*gold: 0
Join Date: Feb 2013
Posts: 75
Received Thanks: 10
Quote:
Originally Posted by florian0 View Post
Lets solve this one first. There's one issue with positioning the icons by yourself. You need to stay away from the auto-positioning area or your icon will collide with another icon. As I said earlier, there's a function that positions the guide icons all on its own. It's actually a class.
I've now reversed the class so we can make use of the positioning and don't have to hook some reset stuff somewhere.



How to use CAlramMgrWnd? (typo intended)



1. Make your Guide Icon class (see CIFflorian0Guide as a reference).
1.1 Don't forget to register your class:
2. Add your class to CAlramMgrWnd like this:
3. Make a function in CGInterface that instanciates your guide icon using CAlramMgrWnd:
4. Call the function in CGInterface::AfterOnCreate to make the icon visible from the beginning:

DO NOT ADD YOUR GUIDE ICON TO GINTERFACE.TXT!
finally you could reverse that bloody class i really had bad times on that particular class, you know that i gave it up precisely

awesome like always florian :: the mighty master of sro reversing industry
ZeonNETWORK is offline  
Thanks
1 User
Old 02/21/2020, 21:48   #114
 
b0ykoe's Avatar
 
elite*gold: 72
Join Date: Sep 2011
Posts: 760
Received Thanks: 221


Well.. I did it.. Kinda?

Quote:
Originally Posted by concucu View Post
thanks
Out of curiosity how did you get the two icons in the next row?
b0ykoe is offline  
Old 02/22/2020, 00:18   #115
 
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,464
Can anyone confirm that the icons, by default, stack downwards (y axis) first, and after 4 icons a new row to the left is started?

I think my implementation somehow messed up X and Y since I've never seen 4 icons in one row in the official client ...
florian0 is offline  
Old 02/22/2020, 00:38   #116
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
It completes a full row of 4 icons first.

#HB is offline  
Thanks
2 Users
Old 02/22/2020, 03:55   #117
 
concucu's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
Quote:
Originally Posted by b0ykoe View Post


Well.. I did it.. Kinda?



Out of curiosity how did you get the two icons in the next row?
this customize position
concucu is offline  
Old 02/22/2020, 10:42   #118
 
b0ykoe's Avatar
 
elite*gold: 72
Join Date: Sep 2011
Posts: 760
Received Thanks: 221
Quote:
Originally Posted by concucu View Post
this customize position
Yeah but how did you do it? Did you do it over the ginterface? over some code in the devkit?
b0ykoe is offline  
Old 02/22/2020, 14:09   #119
 
concucu's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
Quote:
Originally Posted by b0ykoe View Post
Yeah but how did you do it? Did you do it over the ginterface? over some code in the devkit?
Yes. I add in ginterface
concucu is offline  
Old 02/22/2020, 19:50   #120
 
elite*gold: 36
Join Date: Mar 2010
Posts: 561
Received Thanks: 225
Quote:
Originally Posted by concucu View Post
thanks
Hello,

How to add a square in the second row
Laag#82 is offline  
Reply

Tags
ussless


Similar Threads Similar Threads
[Source] Fix the old exp bar - by writing code!
05/17/2020 - SRO PServer Guides & Releases - 18 Replies
Hello beloved, dead community, its time for another release. Its more of a proof of concept and I hope it might inspire people to continue working on it. You don't need the source to accomplish cool things. Just write your own source. http://i.epvpimg.com/d7hJbab.png Ye, its super ugly looking. I choose to be a coder, not a designer. I'd be happy, if someone supplies me a proper version of the 2dt and ddj files so I can update this embarrassing screenshot. Anyway. It allows you to...
[Release/WIP]EP6 Source code
04/15/2018 - Shaiya PServer Guides & Releases - 33 Replies
Hi guys, First of all, I want to say that this release is not recommended for public servers yet. Shortly ago I changed my server to ep6 using shen1l's pet.dll, the server crashed every day, after checking the dump files I discovered that the problem was in pet.dll, but without the source code it would be harder to find the cause of the problem. So I decided to start a project and release the source code for everyone, so that everyone can solve their problems more easily, and also so that...
[C++ Source] My Free Farm Bot [WIP]
06/28/2011 - Browsergames - 0 Replies
I decided to release this on here as i have no more use for it and no intention to continue the project. I am releasing 2 projects: One basic library for mff called libmff(although it is not really a library) there is an example on how to use it in the package. And a helper with a fancy gui. Note that there is almost no error checking on the helper and that it crashes if you for example forget to select a product. You need libcurl and boost for both and GWEN(the gui toolkit by garry) for...



All times are GMT +2. The time now is 03:57.


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.