Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 00: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 11/12/2020, 15:57   #256
dotCom
 
Devsome's Avatar
 
elite*gold: 12400
The Black Market: 104/0/0
Join Date: Mar 2009
Posts: 15,882
Received Thanks: 4,386
Quote:
Originally Posted by paul_0 View Post
same here
Quote:
Originally Posted by florian0 View Post
Check CIFMainPopup::OnClick_BtnQuest
.
Devsome is offline  
Thanks
1 User
Old 11/20/2020, 08:01   #257
 
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
Hi @!

Why i can't add new variable into ICPlayer.h
How can i add newone.
Thank's you!

hoangphan7 is offline  
Old 11/20/2020, 10:56   #258

 
SubZero**'s Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 987
Received Thanks: 456
Quote:
Originally Posted by hoangphan7 View Post
Hi @!

Why i can't add new variable into ICPlayer.h
How can i add newone.
Thank's you!

comment thoes
Code:
    //BEGIN_FIXTURE()
    //    ENSURE_SIZE(0x2118)

    //    ENSURE_OFFSET(m_charname, 0x084C)
    //    ENSURE_OFFSET(m_level, 0x0868)
    //    ENSURE_OFFSET(m_exp_current, 0x0870)
    //    ENSURE_OFFSET(m_skillpoint_progress, 0x0878)
    //    ENSURE_OFFSET(m_str_stat, 0x087C)
    //    ENSURE_OFFSET(m_int_stat, 0x087E)
    //    ENSURE_OFFSET(m_skillpoint, 0x0880)
    //    ENSURE_OFFSET(m_statpoint_available, 0x0884)

    //END_FIXTURE()

    //RUN_FIXTURE(CICPlayer)
SubZero** is offline  
Old 11/20/2020, 17:42   #259
 
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
Quote:
Originally Posted by Zoro.Sro View Post
comment thoes
Code:
    //BEGIN_FIXTURE()
    //    ENSURE_SIZE(0x2118)

    //    ENSURE_OFFSET(m_charname, 0x084C)
    //    ENSURE_OFFSET(m_level, 0x0868)
    //    ENSURE_OFFSET(m_exp_current, 0x0870)
    //    ENSURE_OFFSET(m_skillpoint_progress, 0x0878)
    //    ENSURE_OFFSET(m_str_stat, 0x087C)
    //    ENSURE_OFFSET(m_int_stat, 0x087E)
    //    ENSURE_OFFSET(m_skillpoint, 0x0880)
    //    ENSURE_OFFSET(m_statpoint_available, 0x0884)

    //END_FIXTURE()

    //RUN_FIXTURE(CICPlayer)
No no Bro. I need use ENSURE_OFFSET to define new variance. Like current hp mp, skill slotbar. etc...
----------
Solved. Thank's
hoangphan7 is offline  
Old 11/24/2020, 14:57   #260
 
elite*gold: 0
Join Date: Mar 2010
Posts: 563
Received Thanks: 226
Quote:
Originally Posted by hoangphan7 View Post
Hi @!

Why i can't add new variable into ICPlayer.h
How can i add newone.
Thank's you!

Hello,


Why do we add a variable in?
Laag#82 is offline  
Old 11/24/2020, 17:46   #261
 
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
Quote:
Originally Posted by khaleed2010 View Post
Hello,


Why do we add a variable in?
We will define new offset.
We can reading skill ID in skill slotbar, search ItemID in inventory etc
hoangphan7 is offline  
Old 11/25/2020, 05:21   #262
 
LegendarySouL's Avatar
 
elite*gold: 0
Join Date: Nov 2020
Posts: 155
Received Thanks: 53
how build it with cmake ? explan ..thanks
LegendarySouL is offline  
Old 11/25/2020, 18:15   #263

 
SubZero**'s Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 987
Received Thanks: 456
Quote:
Originally Posted by LegendarySouL View Post
how build it with cmake ? explan ..thanks
Did you even read the thread or just a spammer ?

SubZero** is offline  
Old 12/05/2020, 10:03   #264
 
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
Hi!
How to move Dev_Kit src to new directory. I can't re-build it after move to new directory or rename directory contain src
hoangphan7 is offline  
Old 12/05/2020, 10:36   #265
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
Quote:
Originally Posted by hoangphan7 View Post
Hi!
How to move Dev_Kit src to new directory. I can't re-build it after move to new directory or rename directory contain src
copy paste the files
remove inside folder [helpers] all files [not the .bat files]
edit CMakeLists.txt and add your header & Source files into source\DevKit_DLL and in source\libs\ClientLib
go back to folder helpers and use make_project_vs2010.bat done
NorseGodTyr is offline  
Thanks
1 User
Old 12/09/2020, 01:01   #266
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
Im Trying to change title color by filter and im using this method it works for single char but others still see the original title any hint from where i can do that
here is the code

Quote:
void CICPlayer::OnRender()
{
std::map<std::wstring, int>TitleColors;
std::map<std::wstring, int>::iterator it;
TitleColors.insert(std:: pair<std::wstring, int>(g_pCICPlayer->m_charname.c_str(), 0xff004b));
CLASSLINK_LOOP_BEGIN(CICharactor)
it = TitleColors.find(obj->GetName().c_str());
if (it != TitleColors.end())
obj->UpdateTitleColor(it->second);
printf("Rendering CICPlayer with UniqueID (0x%04X), Name (%s), Pointer (0x%08X).\n", this->UniqueID, std::string(g_pCICPlayer->m_charname.begin(), g_pCICPlayer->m_charname.end()).c_str(), this);
Mc-Diesel is online now  
Old 12/09/2020, 04:33   #267
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 267
Quote:
Originally Posted by Mc-Diesel View Post
Im Trying to change title color by filter and im using this method it works for single char but others still see the original title any hint from where i can do that
here is the code
you have to send this color to all char in server like global chat
thaidu0ngpr0 is offline  
Old 12/09/2020, 13:48   #268
 
Mc-Diesel's Avatar
 
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
Quote:
Originally Posted by thaidu0ngpr0 View Post
you have to send this color to all char in server like global chat
so everytime single player change color must send the packet to whole ppl ?
this won't affect performance ?
Mc-Diesel is online now  
Old 12/09/2020, 19:44   #269
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 267
Quote:
Originally Posted by Mc-Diesel View Post
so everytime single player change color must send the packet to whole ppl ?
this won't affect performance ?
i don't know
thaidu0ngpr0 is offline  
Old 12/14/2020, 22:12   #270
 
LegendarySouL's Avatar
 
elite*gold: 0
Join Date: Nov 2020
Posts: 155
Received Thanks: 53
How to move Dev_Kit src to new directory. I can't re-build it after move to new directory or rename directory contain ...
LegendarySouL 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 00: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.