hello
is there a way i can add a command to mute a player?
maybe for a days, weeks or month?
07-06-17
seedmaker
Re: Source [MUEMU]
Guys any have a Source with limit of Wings i already did this #define MAX_CUSTOM_WING 70 But Still have an error When i warp Wings go invisible Thanks
08-06-17
0pTi
Re: Source [MUEMU]
Anyone have fixed Titan Editor or MUMaker for MuEMU Files S6 or S8?
Coz' my TitanEditor have a bug on socket editing.
This is preview on my Editor: http://imgur.com/a/tOWi1
And this what happen ingame: http://imgur.com/a/ZlyeU
also, anyone of you guys know where can I enable Yellow Option on Socketed Items ? I already explore all item configs and also on GameServerInfo - Common still I can't find :(
08-06-17
Ryuno
Re: Source [MUEMU]
Quote:
Originally Posted by MaxMuON
Hello,can you shares source for this cool release ? For people like me that added and moddified a lot of stuff like zen values, mix, commands, marry and events (like trivia event + bot buffer race and hide. )
I will start sharing too :P Mostly except marry system, i copied from scf s6.
------------------------------------------------
DataServerProtocol.cpp
------------------------------------------------
case 0x0F:
switch(((lpMsg[0]==0xC1)?lpMsg[3]:lpMsg[4]))
{
case 0x00:
gCommandManager.GDCommandResetRecv((SDHP_COMMAND_RESET_RECV*)lpMsg,index);
break;
case 0x01:
gCommandManager.GDCommandMasterResetRecv((SDHP_COMMAND_MASTER_RESET_RECV*)lpMsg,index);
break;
case 0x02:
gCommandManager.GDCommandMarryRecv((SDHP_COMMAND_MARRY_RECV*)lpMsg,index);
break;
}
+
case 0xF0:
GDMarryInfoSaveRecv((SDHP_MARRY_INFO_SAVE_RECV*)lpMsg);
break;
MSSQL
Code:
------------------------------------------------
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] @name varchar(10), @MarryCharacter varchar(10)
AS
BEGIN
DECLARE @nameGet1 varchar(10)
DECLARE @nameGet2 varchar(10)
/*DECLARE @marriedOn int*/
SELECT @countYou=Count(*) FROM [dbo].[Marry] WHERE Character @name OR MarryCharacter @name /*You are already married*/
SELECT @countHim=Count(*) FROM [dbo].[Marry] WHERE Character @MarryCharacter OR MarryCharacter @MarryCharacter /*He/She is already married*/
SELECT @nameGet1=MarryCharacter FROM [dbo].[Marry] WHERE Character @name
SELECT @nameGet2=Character FROM [dbo].[Marry] WHERE MarryCharacter @name
SELECT @marriedOnEnd=MarriedOn FROM [dbo].[Marry] WHERE Character @name OR MarryCharacter @name /*Married date*/
SELECT @marriedOn=DATEDIFF(SECOND, @Startdate, @marriedOnEnd)
SELECT @countYou AS CountYou @countHim AS CountHim @marriedOn AS MarriedOn @nameGet1 AS NameGet1 @nameGet2 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] @name varchar(10), @MarryCharacter varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
DELETE FROM [dbo].[Marry] where Character @name OR MarryCharacter @MarryCharacter
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] @name varchar(10), @MarryCharacter varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
INSERT INTO [dbo].[Marry] (Character, MarryCharacter) VALUES @name @MarryCharacter);
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
------------------------------------------------
GAMSERVER
Code:
------------------------------------------------
DSProtocol.cpp
------------------------------------------------
case 0x0F:
switch(((lpMsg[0]==0xC1)?lpMsg[3]:lpMsg[4]))
{
case 0x00:
gCommandManager.DGCommandResetRecv((SDHP_COMMAND_RESET_RECV*)lpMsg);
break;
case 0x01:
gCommandManager.DGCommandMasterResetRecv((SDHP_COMMAND_MASTER_RESET_RECV*)lpMsg);
break;
case 0x02:
gCommandManager.DGCommandMarryRecv((SDHP_COMMAND_MARRY_RECV*)lpMsg);
break;
}
break;
gLog.Output(LOG_COMMAND,"[CommandMarry][%s][%d][%d][%d][%s][%s][%s]",lpObj->Account,lpMsg->countyou,lpMsg->counthim,lpMsg->marriedon,lpMsg->marryname,lpMsg->NameGet1,lpMsg->NameGet2);
}
------------------------------------------------
ServerInfo.h
------------------------------------------------
int m_CommandMarrySwitch;
int m_CommandMarryLevel;
int m_CommandMarryCost;
int m_CommandMarryNoticeDelay;
int m_CommandMarryMinTime;
602 "You can not marry yourself 0,0!"
603 "You just got married to %s!"
604 "You are already married!"
605 "The other character is already married!"
606 "Usage: [/marry to name | /marry divorce | /marry track or trace]!"
607 "You can not divorce in the first week of being married!"
608 "You just got divorced!"
609 "You are not married!"
610 "You tracked!"
611 "You traced!"
612 "%s just married %s!"
613 "%s just divorced %s!"
614 "[Marry System]Congragulations,"
615 "between %s and %s!"
616 "[Marry System]No hommo allowed"
617 "You need at least %d level to use this command!"
618 "He/She needs at least %d level to use this command!"
619 "Marry system has been disabled!"
620 "You need at least %d zen to use this command!"
621 "You need to stand on the correct position in Devias2!"
622 "Your target need to stand on the correct position in Devias2!"
623 "Info: [Minimum Level : %d | Track&Trace Cost : %d zen]!"
624 "You cannot divorce while he/she is disconnected!"
625 "The other character is disconnected!"
626 "Skin %d applied to %d players!"
627 "/skinaround"
628 "/marry"
The system marry system works well but has a critical problem when marrying not updated the database, which is not registered that they are married
Spañish
el sistema marry system trabaja bien pero tiene un problema critico al casarse no updated la base de datos , el cual no queda registrado que quedan casados
http://i.imgur.com/ekZH1Xi.jpgNot being updated the marriage can not be used the commands marry track and there is no record of
marriage
Spanish
al no ser updateado el matrimonio no puede ser usado los comandos marry track y no queda registro del matrimonio
creo yo que es problema los store procedures aportados. I think it's a problem with the stored procedures.
@Luis_br
You solved this problem?
In the case that you are well you can contribute all the querrys referred to the marry sistem
en el caso que te ande bien tu puedes aportar todo las querrys referido al marry sistem
08-06-17
michael_admin
Re: Source [MUEMU]
Quote:
Originally Posted by Ryuno
The system marry system works well but has a critical problem when marrying not updated the database, which is not registered that they are married
Spañish
el sistema marry system trabaja bien pero tiene un problema critico al casarse no updated la base de datos , el cual no queda registrado que quedan casados
http://i.imgur.com/ekZH1Xi.jpgNot being updated the marriage can not be used the commands marry track and there is no record of
marriage
Spanish
al no ser updateado el matrimonio no puede ser usado los comandos marry track y no queda registro del matrimonio
creo yo que es problema los store procedures aportados. I think it's a problem with the stored procedures.
@Luis_br
You solved this problem?
In the case that you are well you can contribute all the querrys referred to the marry sistem
en el caso que te ande bien tu puedes aportar todo las querrys referido al marry sistem
need change source database por update save of marry in DB
Thx
08-06-17
Ryuno
Re: Source [MUEMU]
Quote:
Originally Posted by michael_admin
need change source database por update save of marry in DB
Thx
I know that I lack this pedaso I do not have many experiences in database statements, you could pass the update set and so put the code in the dataserver.Or if you have the best code xd
español
yo se que falta ese pedaso no tengo mucha experiencias en sentencias de base de datos , podrias pasarme la setencia update y asi armar el codigo en el dataserver.o si tenes el codigo mejor xd
Adding Finding and looking is a problem with the possessed stored
Agrego Averiguando y mirando es un problema con el poseso almacenado
The problem is that the stored process is not INSERT INTO to the database probe with UPDATE and neither Updatea, probe asi
UPDATE Marry SET Character = @ name AND MarryCharacter = @ MarryCharacter
I did not work, I add that I have no experience in this subject
Spanish
el problema esta que el proceso almacenado no esta INSERT INTO a la base de datos probe con UPDATE y tampoco Updatea, probe asi
UPDATE Marry SET Character @name AND MarryCharacter @MarryCharacter
no me funciono,agrego que no tengo experiencia en este temaAdding Finding and looking is a problem with the possessed storedAdding Finding and looking is a problem with the possessed stored
08-06-17
Ryuno
Re: Source [MUEMU]
Quote:
Originally Posted by michael_admin
Hola
No en las procedures pienso que el dataserver debes modificar las source para actualizar el marry
metele la mano al source
saludos
me referia a los procedures ya que fueron hechos para updatear la base de datos cuando se casen, su funcionamiento no es complicado asi que las rehize pero al igual sigen si funcar
Gracias por contestar tambien probe eso tambien ,
probe asi
gQueryManager.ExecQuery("UPDATE SET Marry Character='%s',MarryCharacter='%s' ",lpMsg->name,lpMsg->marryname); gQueryManager.Fetch(); gQueryManager.Close();
y probe tambien asi
gQueryManager.ExecQuery("INSERT INTO Marry (Character, MarryCharacter) VALUES ('%s', '%s')",lpMsg->name,lpMsg->marryname); gQueryManager.Fetch(); gQueryManager.Close();
y no update la base de datos
English
Thank you for replying also probe that too.Probe like this
GQueryManager.ExecQuery ("UPDATE SET Marry Character = '% s', MarryCharacter = '% s'", lpMsg-> name, lpMsg-> marryname);
GQueryManager.Fetch ();
GQueryManager.Close ();
And also probe like that
GQueryManager.ExecQuery ("INSERT INTO Marry (Character, MarryCharacter) VALUES ('% s', '% s')", lpMsg-> name, lpMsg-> marryname);
GQueryManager.Fetch ();
GQueryManager.Close ();
And do not update the database
11-06-17
michael_admin
Re: Source [MUEMU]
Quote:
Originally Posted by Ryuno
me referia a los procedures ya que fueron hechos para updatear la base de datos cuando se casen, su funcionamiento no es complicado asi que las rehize pero al igual sigen si funcar
Gracias por contestar tambien probe eso tambien ,
probe asi
gQueryManager.ExecQuery("UPDATE SET Marry Character='%s',MarryCharacter='%s' ",lpMsg->name,lpMsg->marryname); gQueryManager.Fetch(); gQueryManager.Close();
y probe tambien asi
gQueryManager.ExecQuery("INSERT INTO Marry (Character, MarryCharacter) VALUES ('%s', '%s')",lpMsg->name,lpMsg->marryname); gQueryManager.Fetch(); gQueryManager.Close();
y no update la base de datos
English
Thank you for replying also probe that too.Probe like this
GQueryManager.ExecQuery ("UPDATE SET Marry Character = '% s', MarryCharacter = '% s'", lpMsg-> name, lpMsg-> marryname);
GQueryManager.Fetch ();
GQueryManager.Close ();
And also probe like that
GQueryManager.ExecQuery ("INSERT INTO Marry (Character, MarryCharacter) VALUES ('% s', '% s')", lpMsg-> name, lpMsg-> marryname);
GQueryManager.Fetch ();
GQueryManager.Close ();
And do not update the database
puede probar asi creo
gQueryManager.ExecQuery("EXEC NOMBRE PROCEDURE ETC ETC ETC
Saludos
12-06-17
nood
Re: Source [MUEMU]
How to add a message to the player to mix wing level 3 successful
same
;==================================================;
Announce Chaos Mix Settings
;==================================================
AnnounceChaosMix = 0
AnnounceChaosMixText = %s put the item %s +15
19-06-17
darkjano
Re: Source [MUEMU]
How about people, someone managed to run the / offattack with the helper?