|
You last visited: Today at 00:57
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.
11/12/2020, 15:57
|
#256
|
dotCom
elite*gold: 12400
Join Date: Mar 2009
Posts: 15,882
Received Thanks: 4,386
|
Quote:
Originally Posted by paul_0
same here
|
Quote:
Originally Posted by florian0
Check CIFMainPopup::OnClick_BtnQuest
|
.
|
|
|
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!
|
|
|
11/20/2020, 10:56
|
#258
|
elite*gold: 0
Join Date: Apr 2017
Posts: 987
Received Thanks: 456
|
Quote:
Originally Posted by hoangphan7
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)
|
|
|
11/20/2020, 17:42
|
#259
|
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
|
Quote:
Originally Posted by Zoro.Sro
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
|
|
|
11/24/2020, 14:57
|
#260
|
elite*gold: 0
Join Date: Mar 2010
Posts: 563
Received Thanks: 226
|
Quote:
Originally Posted by hoangphan7
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?
|
|
|
11/24/2020, 17:46
|
#261
|
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
|
Quote:
Originally Posted by khaleed2010
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
|
|
|
11/25/2020, 05:21
|
#262
|
elite*gold: 0
Join Date: Nov 2020
Posts: 155
Received Thanks: 53
|
how build it with cmake ? explan ..thanks
|
|
|
11/25/2020, 18:15
|
#263
|
elite*gold: 0
Join Date: Apr 2017
Posts: 987
Received Thanks: 456
|
Quote:
Originally Posted by LegendarySouL
how build it with cmake ? explan ..thanks
|
Did you even read the thread or just a spammer ?
|
|
|
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
|
|
|
12/05/2020, 10:36
|
#265
|
elite*gold: 0
Join Date: May 2013
Posts: 2,221
Received Thanks: 1,457
|
Quote:
Originally Posted by hoangphan7
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
|
|
|
12/09/2020, 01:01
|
#266
|
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);
|
|
|
|
12/09/2020, 04:33
|
#267
|
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 267
|
Quote:
Originally Posted by Mc-Diesel
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
|
|
|
12/09/2020, 13:48
|
#268
|
elite*gold: 80
Join Date: May 2015
Posts: 364
Received Thanks: 110
|
Quote:
Originally Posted by thaidu0ngpr0
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 ?
|
|
|
12/09/2020, 19:44
|
#269
|
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 267
|
Quote:
Originally Posted by Mc-Diesel
so everytime single player change color must send the packet to whole ppl ?
this won't affect performance ?
|
i don't know
|
|
|
12/14/2020, 22:12
|
#270
|
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 ...
|
|
|
|
|
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.
|
|