Register for your free account! | Forgot your password?

You last visited: Today at 14:50

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

Advertisement



vSRO-ServerAddon (C++/DLL)

Discussion on vSRO-ServerAddon (C++/DLL) within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old 07/27/2021, 01:59   #76
 
elite*gold: 0
Join Date: Oct 2019
Posts: 47
Received Thanks: 4
yes please add
Please add
- Split exp / sp rate
- SOX Drop rate
sasa5214 is offline  
Old 07/27/2021, 02:36   #77
 
gigola123's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 718
Received Thanks: 378
Awesome project !

If you want to add "Astral failback" to + 4, here opcode:

Quote:
Originally Posted by gigola123 View Post
on your gameserver just change those:

00506D92 CMP EBX,4
00506DD2 MOV CL,4

Just change 4 by the new "+" you want after astral does effect.
Make sure to change both ! Because the first line (CMP EBX,4) check if the item "+" is greater or equal to 4, if it stay at "CMP EBX,4", people who will put astral from +4 to +5 which fail, will go directly to the value that you put on CL.
gigola123 is offline  
Thanks
2 Users
Old 07/27/2021, 23:09   #78
 
elite*gold: 0
Join Date: May 2020
Posts: 8
Received Thanks: 1
Quote:
Originally Posted by WolfgangNeverDie View Post
Please add
- Split exp / sp rate
- SOX Drop rate
cc
truongdz7777 is offline  
Old 07/28/2021, 13:20   #79
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
In case anyone might need it, here's beginner marker option level limit:

Code:
00518B99 | 8078 66 13                  | cmp byte ptr ds:[eax+66],13                                   | Beginner Marker Level Limit
(edit: never mind, seems like you already have it)
#HB is offline  
Thanks
2 Users
Old 07/28/2021, 14:05   #80
 
elite*gold: 0
Join Date: Jul 2013
Posts: 481
Received Thanks: 317
Quote:
Originally Posted by JellyBitz View Post
Hello there!

Customize Silkroad Online server files (v1.188) behavior through DLL injection.

Features:
  • Patch values from memory directly
  • Define all options from the respective config file
  • Easy to inject using STUD_PE
  • Execute actions from Gameserver (the first gameserver running will execute these actions)

Preview:

Gameserver Action (Example):


Full info on GitHub:





Latest version:


Dude we need all this in your project


therock2007e is offline  
Old 07/30/2021, 11:11   #81
 
elite*gold: 0
Join Date: Sep 2016
Posts: 31
Received Thanks: 0
thank You
MinaThabit is offline  
Old 08/10/2021, 11:23   #82
 
elite*gold: 0
Join Date: Jul 2013
Posts: 481
Received Thanks: 317
Quote:
Originally Posted by therock2007e View Post
Dude we need all this in your project


Dude need this offest

MISC_MAX_LEVEL_FOR_RESSURECT_AT_SAME_POS_OFFSET 0x00510180

And

Pet
#define GRAB_PET_INVENTORY_SIZE_OFFSET 0x004D6F9F
#define GRAB_PET_PAGE_FIX_OFFSET 0x004FBD8A
therock2007e is offline  
Old 08/10/2021, 18:51   #83
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 344
Received Thanks: 770
v1.0.3.0 has been released yesterday.

Quote:
Originally Posted by therock2007e View Post
#define GRAB_PET_INVENTORY_SIZE_OFFSET 0x004D6F9F
#define GRAB_PET_PAGE_FIX_OFFSET 0x004FBD8A
Please, make sure the patch is working before requesting.
I know what's the issue about grab pet inventory and I'm pretty sure a jmp instruction will not fix it.
JellyBitz is offline  
Thanks
1 User
Old 08/10/2021, 20:09   #84

 
SubZero**'s Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 987
Received Thanks: 456
Quote:
Originally Posted by JellyBitz View Post
v1.0.3.0 has been released yesterday.



Please, make sure the patch is working before requesting.
I know what's the issue about grab pet inventory and I'm pretty sure a jmp instruction will not fix it.
If you use jmp some scrolls ill give a disconnect. (pet scrolls)
SubZero** is offline  
Thanks
1 User
Old 08/11/2021, 05:49   #85

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,752
I don't think it's been posted, but if it has, please ignore.

I recently wanted to make a full party with all level 1 characters. The following GameServer logic can be modified to change the minimal level required for creating a party from 5 to whatever.

I've been doing a lot of testing on the EU side of things, and the level 1 mobs there do still swarm the party, so it's not completely useless.

Code:
00513FEA | FFD0 | call eax
00513FEC | 3C 05 | cmp al, 0x5 | can increase/decrease this level for a speciality server
00513FEE | 73 06 | jae 0x513FF6 | or could just force jmp to allow parties from every level, but less flexible
00513FF0 | 66:B8 0A2C | mov ax, 0x2C0A | error code for character level too low to make a party   
00513FF4 | 59 | pop ecx
00513FF5 | C3 | ret
pushedx is offline  
Thanks
7 Users
Old 08/23/2021, 04:27   #86
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 344
Received Thanks: 770
v1.0.4.0 has been released. Everything is on Github as usual.
JellyBitz is offline  
Thanks
6 Users
Old 08/30/2021, 11:11   #87
 
elite*gold: 0
Join Date: Sep 2011
Posts: 117
Received Thanks: 29
Question

Hi! First of all, thank you for this!

How could we use it with multiple gameservers? It seems that only one gameserver is executing actions. Maybe I am doing something wrong...

Thank you in advance and keep up!
thehaifisch is offline  
Old 08/31/2021, 20:45   #88
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 344
Received Thanks: 770
Quote:
Originally Posted by thehaifisch View Post
How could we use it with multiple gameservers? It seems that only one gameserver is executing actions.
I never tried actually. So I'm not aware about the issues can be over there.
JellyBitz is offline  
Old 08/31/2021, 22:40   #89
 
elite*gold: 0
Join Date: Sep 2011
Posts: 117
Received Thanks: 29
Quote:
Originally Posted by JellyBitz View Post
I never tried actually. So I'm not aware about the issues can be over there.
Forgot to add that all 3 gameservers read the ini correctly and also write into the LOG DB. But only one of them is putting out in these 3 lines in the debug console:

Code:
* Initializing database fetch to execute actions...
 - Waiting 1min before start fetching...
 - Fetching started!
Every time the server modules are started it is completely random which of the gameservers will execute functions.
Maybe some of you already tried it and have some experience running with multiple GS?

Edit: I realized it is by design

Code:
CreateMutexA(0, FALSE, "JellyBitz/vSRO-GameServer");
	if (GetLastError() == ERROR_ALREADY_EXISTS)
	{
		// Avoid create fetch connection
		return;
	}
Without this part, all GS could process the records from _ExeGameServer but we would have to solve the second problem where only the first GS to grab any record would actually process it because it would no longer have the Action_Result UNKNOWN by the time the other gameservers get to it.

It might be a dumb idea but do gameservers have IDs? If yes, we could have as many tables as there are gameservers all named for example _ExeGameServer_ID and would insert desired actions into all such tables. I think it wouldn't hurt as all GS would process their respective tables but only one gameserver would return SUCCESS and execute the action because the others would return CHARNAME_NOT_FOUND.

Of course this is just an idea and there are probably better ways to solve this. I am nowhere near that level to evaluate that.
thehaifisch is offline  
Old 09/01/2021, 03:06   #90
 
JellyBitz's Avatar
 
elite*gold: 0
Join Date: Sep 2018
Posts: 344
Received Thanks: 770
Quote:
Originally Posted by thehaifisch View Post
... we could have as many tables as there are gameservers ...

Of course this is just an idea and there are probably better ways to solve this.
I had some ideas but as I said, I never tried since I don't have this setup at the moment.

Synchronize a process in the same machine it's easy actually but it gets complicated when we are talking about a process between multiples machines. At this case, yes, creating another table will avoid desyncronization but as result you'll have to deal with "CHARNAME_NOT_FOUND" by checking all tables before take some conclusion.

Just hit me up on Discord if you want to try the latest changes.
JellyBitz is offline  
Reply

Tags
addon, dll, jellybitz, server, silkroad


Similar Threads Similar Threads
[INFO]About missing msvcr100.dll / msvcp100.dll and other missing dll files
08/22/2017 - S4 League Hacks, Bots, Cheats & Exploits - 106 Replies
English Maybe if you wanna start a hack from Elitepvpers you will get this Error: or a similar message This dll files are for programs written in C/C++ with Visual Studio To fix this problem you need to download the Microsoft Visual C++ 2010 Redistributable Package (x86) from here: Download Microsoft Visual C++ 2010 Redistributable Package (x86) from Official Microsoft Download Center If you have a 64-Bit System you also need the Microsoft Visual C++ 2010 Redistributable Package...
[HOW TO] MSVCR110.dll fehlt BEHEBEN | [MSVCR120.dll MSVCP110.dll MSVCP100.dll etc]
03/25/2014 - Tutorials - 2 Replies
Hier ist ein Youtube Video: MSVCR100.dll feht BEHEBEN / MSVCR110.dll fehlt MSVCR120.dll MSVCP110.dll MSVCP100.dll MSVCP120.dll - YouTube Aber den ganzen Kram könnt ihr auch als Text haben: Viele von euch kennen bestimmt das Problem das ne dll auf dem PC fehlt und das Programme dann nicht laufen. Hier ist die Lösung: Schaut erstmal nach, welche Microsoft Redistributables auf eurem PC installiert sind. Geht hierzu auf Start > Sytemsteuerung > Programme > Programme und Funktionen und...
[DLL]How to change injector if i want inject granny22.dll not python22.dll ?
10/07/2012 - Metin2 Private Server - 0 Replies
Hello i have a laucher protected and can not run launcher if i modify granny22.dll in python22.dll I want inject hack intro granny22.dll What can i do ? I give you thaks for good answer.
[Dll] For persons who have problem with mcvr100.dll, mscvrp100.dll and others
11/19/2011 - S4 League Hacks, Bots, Cheats & Exploits - 0 Replies
Hi :) I post for persons who have problem with mcvr100.dll, mscvrp100.dll and other dll. -Go here -Download you(s) DLL(s) -Put on C:\Windows\System32 and C:\Program Files\alaplaya\S4League Bye ...



All times are GMT +2. The time now is 14:50.


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.