Most visitors online was 1443 , on 24 May 2023
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!// user.h
struct OBJECTSTRUCT
{
// some code
float Life;
float MaxLife;
float ScriptMaxLife;
float Mana;
float MaxMana;
// some code
}
struct PMSG_CHARACTER_INFO_SEND
{
// some code
WORD Life;
WORD MaxLife;
WORD Mana;
WORD MaxMana;
// some code
}
As you said; its c++ limitation; you need to change that unsigned short to something that supports bigger values. Both sides, meaning changing it server side completely; and load it properly on client side. I dont have it but many people here does.good luck.
Enviado desde mi SM-G531M mediante Tapatalk
you should first research this source or zteam source before asking about another main in a specific files thread, both of those sources increased the hp and mp limit.Maybe someone know how to increase maximum life/mana limits in client/server side for s6e3 sources?
I try to look on server side and found same structs:and packet side:Code:// user.h struct OBJECTSTRUCT { // some code float Life; float MaxLife; float ScriptMaxLife; float Mana; float MaxMana; // some code }
WORD defined as unsigned short, so that means to max value 65556 (as i remember c++ limits). As i understand client accept packets and it protocol structure require hp/life max value 65555. But i sow few servers without this limitation.Code:struct PMSG_CHARACTER_INFO_SEND { // some code WORD Life; WORD MaxLife; WORD Mana; WORD MaxMana; // some code }
So, my questions is how can i kick off this limit? Probably dll hook required for client side, maybe someone got it and can provide link (i use gmo 1.04d client with some extensions).
View attachment 160319
you should first research this source or zteam source before asking about another main in a specific files thread, both of those sources increased the hp and mp limit.
Someone got idea how successfull hide Main.dll into Main.exe?
I used The Enigma Protector but now Main can't run. (Process is in task but not run - like antyhack checked file wrong - CRC)
You dont need to hide it.
Simple just use a CRC / MD5 protection on it.
------------------------------------------------
USE [MuOnline]
GO
/****** Object: Table [dbo].[Marry] Script Date: 11/16/2016 20:27:26 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Marry](
[Character] [varchar](15) NOT NULL,
[MarryCharacter] [varchar](15) NOT NULL,
[MarriedOn] [datetime] NOT NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[Marry] ADD CONSTRAINT [DF_Marry_MarriedOn] DEFAULT (getdate()) FOR [MarriedOn]
GO
GO
/****** Object: StoredProcedure [dbo].[WZ_GetMarryInfo] Script Date: 11/16/2016 20:27:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_GetMarryInfo] @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] varchar(10), @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
DECLARE @[I][B][URL="http://forum.ragezone.com/members/138004.html"]count[/URL]You int
DECLARE @[I][B][URL="http://forum.ragezone.com/members/138004.html"]count[/URL]Him int
DECLARE @[I][B][URL="http://forum.ragezone.com/members/829527.html"]Start[/URL]date datetime2 = '2016-01-01 00:00:00.0000000';
DECLARE @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOnEnd datetime2
DECLARE @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOn int
DECLARE @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]Get1 varchar(10)
DECLARE @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]Get2 varchar(10)
/*DECLARE @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOn int*/
SELECT @[I][B][URL="http://forum.ragezone.com/members/138004.html"]count[/URL]You=Count(*) FROM [dbo].[Marry] WHERE Character @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] OR MarryCharacter @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] /*You are already married*/
SELECT @[I][B][URL="http://forum.ragezone.com/members/138004.html"]count[/URL]Him=Count(*) FROM [dbo].[Marry] WHERE Character @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character OR MarryCharacter @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character /*He/She is already married*/
SELECT @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]Get1=MarryCharacter FROM [dbo].[Marry] WHERE Character @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]
SELECT @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]Get2=Character FROM [dbo].[Marry] WHERE MarryCharacter @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]
SELECT @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOnEnd=MarriedOn FROM [dbo].[Marry] WHERE Character @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] OR MarryCharacter @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] /*Married date*/
SELECT @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOn=DATEDIFF(SECOND, @[I][B][URL="http://forum.ragezone.com/members/829527.html"]Start[/URL]date, @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOnEnd)
SELECT @[I][B][URL="http://forum.ragezone.com/members/138004.html"]count[/URL]You AS CountYou @[I][B][URL="http://forum.ragezone.com/members/138004.html"]count[/URL]Him AS CountHim @[I][B][URL="http://forum.ragezone.com/members/283349.html"]mar[/URL]riedOn AS MarriedOn @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]Get1 AS NameGet1 @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL]Get2 AS NameGet2
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
GO
/****** Object: StoredProcedure [dbo].[WZ_SetDivorceInfo] Script Date: 11/16/2016 20:28:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_SetDivorceInfo] @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] varchar(10), @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
DELETE FROM [dbo].[Marry] where Character @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] OR MarryCharacter @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
GO
/****** Object: StoredProcedure [dbo].[WZ_SetMarryInfo] Script Date: 11/16/2016 20:28:52 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_SetMarryInfo] @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] varchar(10), @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
INSERT INTO [dbo].[Marry] (Character, MarryCharacter) VALUES @[I][B][URL="http://forum.ragezone.com/members/1333344765.html"]name[/URL] @[I][B][URL="http://forum.ragezone.com/members/2000111361.html"]Marry[/URL]Character);
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
------------------------------------------------[/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I][/B][/I]
Msg 102, Level 15, State 1, Procedure WZ_GetMarryInfo, Line 24
Incorrect syntax near '@name'.
Msg 102, Level 15, State 1, Procedure WZ_GetMarryInfo, Line 25
Incorrect syntax near '@MarryCharacter'.
Msg 102, Level 15, State 1, Procedure WZ_GetMarryInfo, Line 26
Incorrect syntax near '@name'.
Msg 102, Level 15, State 1, Procedure WZ_GetMarryInfo, Line 27
Incorrect syntax near '@name'.
Msg 102, Level 15, State 1, Procedure WZ_GetMarryInfo, Line 30
Incorrect syntax near '@name'.
Msg 102, Level 15, State 1, Procedure WZ_GetMarryInfo, Line 34
Incorrect syntax near '@countHim'.
Msg 102, Level 15, State 1, Procedure WZ_SetDivorceInfo, Line 12
Incorrect syntax near '@name'.
Msg 102, Level 15, State 1, Procedure WZ_SetMarryInfo, Line 12
Incorrect syntax near '@name'.
Create Procedure [dbo].[WZ_GetMarryInfo] [USER=1333344765]name[/USER] varchar(10), [USER=2000111361]Marry[/USER]Character varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
DECLARE [USER=138004]count[/USER]You int
DECLARE [USER=138004]count[/USER]Him int
DECLARE [USER=829527]Start[/USER]date datetime2 = '2016-01-01 00:00:00.0000000';
DECLARE [USER=283349]mar[/USER]riedOnEnd datetime2
DECLARE [USER=283349]mar[/USER]riedOn int
DECLARE [USER=1333344765]name[/USER]Get1 varchar(10)
DECLARE [USER=1333344765]name[/USER]Get2 varchar(10)
/*DECLARE [USER=283349]mar[/USER]riedOn int*/
SELECT [USER=138004]count[/USER]You=Count(*) FROM [dbo].[Marry] WHERE Character = [USER=1333344765]name[/USER] OR MarryCharacter = [USER=1333344765]name[/USER] /*You are already married*/
SELECT [USER=138004]count[/USER]Him=Count(*) FROM [dbo].[Marry] WHERE Character = [USER=2000111361]Marry[/USER]Character OR MarryCharacter = [USER=2000111361]Marry[/USER]Character /*He/She is already married*/
SELECT [USER=1333344765]name[/USER]Get1=MarryCharacter FROM [dbo].[Marry] WHERE Character = [USER=1333344765]name[/USER]
SELECT [USER=1333344765]name[/USER]Get2=Character FROM [dbo].[Marry] WHERE MarryCharacter = [USER=1333344765]name[/USER]
SELECT [USER=283349]mar[/USER]riedOnEnd=MarriedOn FROM [dbo].[Marry] WHERE Character = [USER=1333344765]name[/USER] OR MarryCharacter = [USER=1333344765]name[/USER] /*Married date*/
SELECT [USER=283349]mar[/USER]riedOn=DATEDIFF(SECOND, [USER=829527]Start[/USER]date, [USER=283349]mar[/USER]riedOnEnd)
SELECT [USER=138004]count[/USER]You AS CountYou, [USER=138004]count[/USER]Him AS CountHim, [USER=283349]mar[/USER]riedOn AS MarriedOn, [USER=1333344765]name[/USER]Get1 AS NameGet1, [USER=1333344765]name[/USER]Get2 AS NameGet2
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
Can someone help me with this?
I can compile everything but the command does not work
.h
#define MAX_COMMAND 32
COMMAND_MARRY = 32,
.cpp
this->Add(gMessage.GetMessage(628),COMMAND_MARRY);