|
You last visited: Today at 04:53
Advertisement
[Release] Nexus filter - source (free, outdated)
Discussion on [Release] Nexus filter - source (free, outdated) within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
03/23/2017, 16:34
|
#1
|
elite*gold: 62
Join Date: Mar 2011
Posts: 602
Received Thanks: 2,955
|
[Release] Nexus filter - source (free, outdated)
Title says it all. Here is source code of Nexus free version.
What is this ? Basically, another silkroad online packet filter with multiple improvements. As it is a free version, it is NOT supported (althrough, I may answer some questions about it). It can (and does) contain bugs.
I wont describe most of internal features, but provide configuration file:
Code:
//Nexus configuration file
//........................
//........................
general
{
//----------------------------------------
window_name= Test gw
bind_port= 5000
dest_ip= 123.123.123.123
dest_port= 5000
sql_host= .\SQLEXPRESS
sql_user= sa
sql_pass= 1234
sql_shard= SRO_VT_SHARD
//----------------------------------------
//DownloadServer
//GatewayServer
//AgentServer
serv_type= GatewayServer
max_conn_server= 10000
max_conn_ip= 100
module_conn_timeout= 10000
sess_activity_timeout= 10000
sess_proc_threads= 1
listener_backlog= 50
session_buffer_count= 10
//----------------------------------------
log_folder= log
//Count of hours after new log file will be created
log_time= 2
log_notify_color= Green
log_warning_color= Yellow
log_error_color= Red
con_bg_color= Black
//----------------------------------------
redirect_count=0
}
redirect_rule_1
{
src_ip= 123.123.123.123
src_port= 5005
dest_ip= 127.0.0.1
dest_port= 2002
}
game
{
disable_captcha=True
disable_captcha_value=0
//In seconds
exchange_delay=10
exchange_delay_msg=You can't exchange so often
stall_delay=10
stall_delay_msg=You can't stall so often
logout_delay=10
logout_delay_msg=You can't logout so often
plus_limit=5
plus_limit_msg=Plus Limit (%plus_limit% No Adv) Exceeded!
guild_limit=10
guild_limit_msg=You Can't Invite Any More Players Guild Limit(%guild_limit%) Exceeded!
union_limit=1
union_limit_msg=You Can't Invite Any More Guilds to The Union. Limit (%union_limit%) Exceeded!
//0 = no limit
ctf_registration_min_lvl=0
ctf_registration_min_lvl_msg=Your level is too low for ctf
ctf_registration_max_lvl=100
ctf_registration_max_lvl_msg=Your level is too high for ctf
//0 = no limit
arena_registration_min_lvl=0
arena_registration_min_lvl_msg=Your level is too low for arena
//0 = no limit
arena_registration_max_lvl=0
arena_registration_max_lvl_msg=100
disable_academy_invite=True
disable_academy_invite_msg=You can't add members to academy
}
SS:
/getlast command will give you last n packet dumps before your module crashed, so, fixing exploits is easy as never before
There are not that many features in this version, but still...
Link:
Those who already bought this - feel free to PM me to get all the newest stuff.
Also, I'm searching for some ideas for projects (or team to join)
As always, I'm sorry for English, syka blatj.
Credits: Chernobyl (skype: live:cherno0x2f), B1QB0SS (skype: gold.fish530)
|
|
|
03/23/2017, 16:44
|
#2
|
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
|
i thought this account has been banned before x?D!
|
|
|
03/23/2017, 16:48
|
#3
|
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,188
|
new SQL Extensions class (async)
comment the Console.WriteLine(ex.ToString()); lines
Code:
using Nexus.Database;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Nexus
{
public static class SQLExt
{
/// <summary>
/// hey i just locked you, and this is crazy, but here's my object. so lock me maybe
/// </summary>
public static object squirrellock = new object();
#region We Believe in Extensions
/// <summary>
/// We Count Rows
/// </summary>
/// <param name="query">i'm the Query</param>
/// <param name="args">and i'm the optional Parameters hh</param>
/// <returns>i'm a fetched row!!!!!!</returns>
public static async Task<int> numRows(this SQL sql, string query, params SqlParameter[] op)
{
int returnval = 0;
try
{
if (!sql.IsOpen)
sql.Open(sql.Host, sql.User, sql.Pass, sql.Database, sql.MARS, sql.Timeout);
if (sql.IsOpen)
{
using (SqlCommand cmd = new SqlCommand(query, sql.Connection))
{
if (op != null)
{
cmd.Parameters.AddRange(op);
}
using (SqlDataReader reader = await cmd.ExecuteReaderAsync())
{
returnval = reader.Cast<object>().Count();
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
//throw new CoreException("[SQL] numRows -> Couldn't fetch Number of Rows!");
}
return returnval;
}
/// <summary>
/// We Execute Queries
/// </summary>
/// <param name="query">i'm the Query</param>
/// <param name="args">and i'm the optional Parameters hh</param>
public static async Task<bool> query(this SQL sql, string query, params SqlParameter[] op)
{
bool returnval = false;
try
{
using (SqlCommand cmd = new SqlCommand(query, sql.Connection))
{
if (op != null)
{
cmd.Parameters.AddRange(op);
}
int q = await cmd.ExecuteNonQueryAsync();
if (q > 0)
{
returnval = true;
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] QUERY -> Couldn't Execute query");
}
return returnval;
}
/// <summary>
/// i Return Strings!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="index">Column index</param>
/// <param name="column">Column Name</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static async Task<string> getString(this SQL sql, string query, params SqlParameter[] op)
{
string returnval = "";
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = await cmd.ExecuteReaderAsync())
{
if (reader.Read())
{
returnval = reader.GetString(0);
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getString -> Couldn't get String value");
}
return returnval;
}
/// <summary>
/// i Return Strings!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="index">Column index</param>
/// <param name="column">Column Name</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static async Task<string> getString(this SQL sql, string query, int index, params SqlParameter[] op)
{
string returnval = "";
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = await cmd.ExecuteReaderAsync())
{
if (reader.Read())
{
returnval = reader.GetString(index);
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getString -> Couldn't get String value");
}
return returnval;
}
/// <summary>
/// i Return Strings!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="column">Column Name</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static async Task<string> getString(this SQL sql, string query, string column, params SqlParameter[] op)
{
string returnval = "";
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
if (op != null)
cmd.Parameters.AddRange(op);
using (SqlDataReader reader = await cmd.ExecuteReaderAsync())
{
if (reader.Read())
{
returnval = reader[column].ToString();
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getString -> Couldn't get String value");
}
return returnval;
}
/// <summary>
/// i Return String Arrays!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="column">Column Name</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static async Task<string[]> getStringArray(this SQL sql, string query, string column, params SqlParameter[] op)
{
string[] returnval;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = await cmd.ExecuteReaderAsync())
{
int i = 0;
returnval = new string[reader.FieldCount];
while (await reader.ReadAsync())
{
returnval[i] = reader[column].ToString();
i++;
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getStringArray -> Couldn't get String Array");
}
return returnval;
}
/// <summary>
/// i Return String Arrays!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="index">Column index</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static async Task<string[]> getStringArray(this SQL sql, string query, int index, params SqlParameter[] op)
{
string[] returnval;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = await cmd.ExecuteReaderAsync())
{
int i = 0;
returnval = new string[reader.FieldCount];
while (await reader.ReadAsync())
{
returnval[i] = reader[index].ToString();
i++;
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getStringArray -> Couldn't get String Array");
}
return returnval;
}
/// <summary>
/// i Return Ints!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="op">i swear i'm the optional Parameters</param>
/// <returns>i'm the Returned INT :@</returns>
public static int getInt(this SQL sql, string query, params SqlParameter[] op)
{
lock (squirrellock)
{
int returnval = 0;
try
{
using (SqlCommand cmd = new SqlCommand(query, sql.Connection))
{
if (op != null)
{
cmd.Parameters.AddRange(op);
}
using (SqlDataReader reader = cmd.ExecuteReader())
{
if (reader.Read())
{
if (reader.HasRows)
returnval = Convert.ToInt32(reader.GetValue(0));
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] getInt -> Couldn't get Int Value");
}
return returnval;
}
}
/// <summary>
/// i Return Ints!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="index">Column index</param>
/// <param name="op">i swear i'm the optional Parameters</param>
/// <returns>i'm the Returned INT :@</returns>
public static int getInt(this SQL sql, string query, int index, params SqlParameter[] op)
{
lock (squirrellock)
{
int returnval = 0;
try
{
using (SqlCommand cmd = new SqlCommand(query, sql.Connection))
{
if (op != null)
{
cmd.Parameters.AddRange(op);
}
using (SqlDataReader reader = cmd.ExecuteReader())
{
if (reader.Read())
{
returnval = reader.GetInt32(index);
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
//throw new CoreException("[SQL] getInt -> Couldn't get Int Value");
}
return returnval;
}
}
/// <summary>
/// i Return Ints!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="column">Column Name</param>
/// <param name="op">i swear i'm the optional Parameters</param>
/// <returns>i'm the Returned INT :@</returns>
public static int getInt(this SQL sql, string query, string column, params SqlParameter[] op)
{
lock (squirrellock)
{
int returnval = 0;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
if (op != null)
{
cmd.Parameters.AddRange(op);
}
using (SqlDataReader reader = cmd.ExecuteReader())
{
if (reader.Read())
{
returnval = Convert.ToInt32(reader[column]);
}
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] getInt -> Couldn't get Int Value");
}
return returnval;
}
}
/// <summary>
/// i Return Int Arrays!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="column">Column Name</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static int[] getIntArray(this SQL sql, string query, string column, params SqlParameter[] op)
{
lock (squirrellock)
{
int[] returnval;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = cmd.ExecuteReader())
{
int i = 0;
returnval = new int[reader.FieldCount];
while (reader.Read())
{
returnval[i] = Convert.ToInt32(reader[column]);
i++;
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getIntArray -> Couldn't get Int Array");
}
return returnval;
}
}
/// <summary>
/// i Return Int Arrays!!!!!!!!
/// </summary>
/// <param name="query">i'm the Query hh</param>
/// <param name="index">Column index</param>
/// <param name="op">and i'm the optional Parameters :@</param>
/// <returns>i'm the return value h</returns>
public static int[] getIntArray(this SQL sql, string query, int index, params SqlParameter[] op)
{
lock (squirrellock)
{
int[] returnval;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = cmd.ExecuteReader())
{
int i = 0;
returnval = new int[reader.FieldCount];
while (reader.Read())
{
returnval[i] = Convert.ToInt32(reader[index]);
i++;
}
}
}
}
}
catch
{
throw new CoreException("[SQL] getIntArray -> Couldn't get Int Array");
}
return returnval;
}
}
#endregion
#region Database Helper Functions
public static Dictionary<string, string> GuildByCharName(this SQL sql, string charname, params SqlParameter[] op)
{
lock (squirrellock)
{
Dictionary<string, string> returnval;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
string query = Queries.GuildArrayQuery + "'" + charname + "'";
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = cmd.ExecuteReader())
{
int i = 0;
returnval = new Dictionary<string, string>();
while (reader.Read())
{
returnval.Add(reader.GetName(i), reader.GetValue(i).ToString());
i++;
}
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] GuildIDByCharName -> Couldn't get GuildID");
}
return returnval;
}
}
public static int GetMemberCountByCharname(this SQL sql, string charname, params SqlParameter[] op)
{
lock (squirrellock)
{
int returnval = 0;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
string query = Queries.MembersCountQuery + "'" + charname + "'";
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = cmd.ExecuteReader())
{
if (reader.Read())
{
returnval = Convert.ToInt32(reader["MembersCount"]);
}
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] MemberCountByCharname -> Couldn't get Members Count");
}
return returnval;
}
}
public static int GetUnionCountByCharname(this SQL sql, string charname, params SqlParameter[] op)
{
lock (squirrellock)
{
int returnval = 0;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
string query = Queries.GuildArrayQuery + "'" + charname + "'";
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = cmd.ExecuteReader())
{
if (reader.Read())
{
int[] allies = new int[8];
for (int i = 1; i < 8; i++)
{
allies[i] = sql.getInt("select Ally" + i + " from _AlliedClans where ID='" + reader["Alliance"] + "'", "Ally" + i);
}
foreach (int z in allies)
{
if (z != 0)
returnval++;
}
}
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] GetUnionCountByCharname -> Couldn't get Union Count");
}
return returnval;
}
}
public static int GetPlus(this SQL sql, string charname, int slot, params SqlParameter[] op)
{
lock (squirrellock)
{
int returnval = 0;
try
{
using (SqlConnection con = new SqlConnection(sql.ConnString))
{
if (con.State != ConnectionState.Open)
con.Open();
string query = Queries.OptLevelQuery(charname, slot);
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataReader reader = cmd.ExecuteReader())
{
if (reader.Read())
{
returnval = Convert.ToByte(reader["OptLevel"]);
}
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw new CoreException("[SQL] GetPlus -> Couldn't get Item Plus");
}
return returnval;
}
}
#endregion
}
}
|
|
|
03/23/2017, 17:12
|
#4
|
elite*gold: 0
Join Date: Oct 2013
Posts: 663
Received Thanks: 209
|
nice release
|
|
|
03/23/2017, 20:00
|
#5
|
elite*gold: 0
Join Date: May 2010
Posts: 579
Received Thanks: 166
|
Welcome Back (heidy)
|
|
|
03/23/2017, 23:11
|
#6
|
elite*gold: 26
Join Date: Jan 2009
Posts: 843
Received Thanks: 1,251
|
Really nice job, keep it up.
|
|
|
03/24/2017, 12:35
|
#7
|
elite*gold: 0
Join Date: Mar 2013
Posts: 57
Received Thanks: 4
|
Nice Job
|
|
|
03/24/2017, 17:35
|
#8
|
elite*gold: 0
Join Date: Feb 2017
Posts: 26
Received Thanks: 9
|
Welcome back Dude i actually missed you;
BTW i think you missed the client library or you deleted before re-uploading? DK
anyway keep being around
|
|
|
 |
Similar Threads
|
[Release] [E-SRO] Pet Filter [Open source]
12/03/2023 - SRO PServer Guides & Releases - 141 Replies
Hello.
Today I want to release my esro pet filter.
Screen:
http://i53.tinypic.com/21cuq8g.jpg
Known Bugs:
- Not working with quests (in progress)
- Doesn't detect when inv full (N/A)
|
[Release] NexusTools (Nexus Exploit Filter) HWID DLL (Incomplete) SRC
09/14/2016 - SRO PServer Guides & Releases - 11 Replies
Nexus release will not be completed until you get the HWID DLL
it's not complete only HWID generation left (as far as i remember)
Download: Mega.nz
If you are willing to donate / buy support and some more stuff - feel free to PM me on skype: [email protected]
Anyhow, I will leave my bitcoin address: 6ASDGO2134123FCKURSELF12381923
|
[Release] Nexus (exploit filter) source code
09/09/2016 - SRO PServer Guides & Releases - 8 Replies
Title says it all. Here is source code of Nexus free version.
What is this ? Basically, another silkroad online packet filter with multiple improvements. As it is a free version, it is NOT supported (althrough, I may answer some questions about it). It can (and does) contain bugs.
I wont describe most of internal features, but provide configuration file:
//Nexus configuration file
//........................
//........................
|
[Release] Elamidas Agent Filter Source
01/05/2016 - SRO PServer Guides & Releases - 6 Replies
while ago i released the exe itself and it was not working ,today i releasing the .exe Source Code Need some Noob Fixes like Translate , Connection
anyways its useless to Rebuild it just learn something from it..
Download in attachs
Happy New Year
|
[Source Release]Pet Filter
02/28/2011 - Flyff PServer Guides & Releases - 29 Replies
Heyho,
Da mir momentan sowieso nichtmehr nach Flyff zumute ist und mein letztes Projekt mich nichtmehr interessiert release ich den Pet Filter.
Petfilter-Download
Die Zahlen in den Klammern sind die Zeilen, in denen die Snippets eingefügt werden müssen
Viel Spaß
IceCreamPepper
|
All times are GMT +1. The time now is 04:53.
|
|