Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Una pequeña duda.. CustomNPCquest  (Visto 975 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline kingexilio Posteado: August 20, 2020, 12:20:21 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 36
  • Gracias recibida: 0
  • ao
Hola gente cómo va? soy dueño del MuATR, lo publiqué hace poco tiempo acá en el foro, si les pinta probarlo yo encantado.. Estoy probando poner npc custom con npc qué ya existen ingame.. tipo el "baul" Pude hacer la misión, pude hacer qué pida items, qué sea por level y rr.. el tema es qué la puedo hacer la cantidad de veces qué yo quiera. acá les dejo cómo lo tengo yo configurado, supongo está bien.. alguien me da una mano?

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Sistema de Quests by louis
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// MaxQuest - Max Number of quests that can be performed (0 = unlimited)
// OpenNpc  - Open the normal Npc (Shop, CustomNpcMove, CustomNpcCommand, etc)
//  -> 0 = Disable
//  -> 1 = Enable
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
0
//Quest   NpcIndex  NpcMap  NpcX  NpcY  MaxQuest  OpenNpc  ///EN MAX QUEST PROBE PONER -1,2,3,0, Y nada funciona, el -1 me dice que ya complete.
3            240             0                126  146            1           0
end


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Require Character Stats
// Max 1 line per quest
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1
//Quest Level Reset MReset Zen WC WP GP VipLvl RankUser Kills
3 400 25 *    250000000 0 0 0 * * *


Offline Ifreat #1 Posteado: August 20, 2020, 12:40:40 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 731
  • Gracias recibida: 5067
  • gb
ALTER TABLE CustomNpcQuest ADD MonsterCount int NOT NULL DEFAULT (0)

GO

make a query and execute this script.

Error . . . . . .

Offline kingexilio #2 Posteado: August 20, 2020, 12:51:25 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 36
  • Gracias recibida: 0
  • ao
ALTER TABLE CustomNpcQuest ADD MonsterCount int NOT NULL DEFAULT (0)

GO

make a query and execute this script.
Hi bro, ty for u help:
PD:

Mens. 4902, Nivel 16, Estado 1, Línea 1

No se encuentra el objeto "CustomNpcQuest" porque no existe o no tiene permisos.


Offline Ifreat #3 Posteado: August 20, 2020, 10:19:59 PM | Modificado: August 20, 2020, 10:22:20 PM by baphomet

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 731
  • Gracias recibida: 5067
  • gb
ALTER TABLE CustomNpcQuest ADD MonsterCount int NOT NULL DEFAULT (0)

GO

 make a query and execute this script.
Hi bro, ty for u help:
PS:

Mens. 4902, Level 16, State 1, Line 1

The object "CustomNpcQuest" cannot be found because it does not exist or you do not have permissions.


did you use MuOnline to execute the query? 

Error . . . . . .

Offline kingexilio #4 Posteado: August 21, 2020, 10:03:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 36
  • Gracias recibida: 0
  • ao
ALTER TABLE CustomNpcQuest ADD MonsterCount int NOT NULL DEFAULT (0)

GO

 make a query and execute this script.
Hi bro, ty for u help:
PS:

Mens. 4902, Level 16, State 1, Line 1

The object "CustomNpcQuest" cannot be found because it does not exist or you do not have permissions.


did you use MuOnline to execute the query?
Yep.. and show this error:


Mens. 4902, Nivel 16, Estado 1, Línea 1

No se encuentra el objeto "CustomNpcQuest" porque no existe o no tiene permisos.


Offline kingexilio #5 Posteado: August 22, 2020, 12:16:46 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 36
  • Gracias recibida: 0
  • ao
YA LO SOLUCIONE! pueden cerrarlo


Offline -Rastaa.TSM☢ #6 Posteado: August 22, 2020, 02:46:45 PM

  • MAESTRO

  • US. DE HONOR

  • Super moderador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 883
  • Gracias recibida: 24977
  • ve
YA LO SOLUCIONE! pueden cerrarlo
Cual fue la solución del problema, puedes dejar la solución acá para que le sirva a futuros usuarios que tengan ese mismo problema/duda, asi doy por cerrado  y solucionado el tema.


Offline kingexilio #7 Posteado: August 22, 2020, 06:19:21 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 36
  • Gracias recibida: 0
  • ao
me faltaba toda la tabla entera de CustomNPCQUEST


CREATE TABLE [dbo].[CustomNpcQuest](
[Name] [varchar](10) NOT NULL,
[Quest] [int] NOT NULL,
[Count] [int] NOT NULL,
[MonsterCount] [int] NOT NULL,
CONSTRAINT [PK_CustomNpcQuest] PRIMARY KEY CLUSTERED
(
[Name] ASC,
[Quest] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[CustomNpcQuest]  WITH CHECK ADD  CONSTRAINT [FK_CustomNpcQuest_Character] FOREIGN KEY([Name])
REFERENCES [dbo].[Character] ([Name])
ON UPDATE CASCADE
ON DELETE CASCADE
GO

ALTER TABLE [dbo].[CustomNpcQuest] CHECK CONSTRAINT [FK_CustomNpcQuest_Character]
GO

ALTER TABLE [dbo].[CustomNpcQuest] ADD  CONSTRAINT [DF_CustomNpcQuest_Quest]  DEFAULT ((0)) FOR [Quest]
GO

ALTER TABLE [dbo].[CustomNpcQuest] ADD  CONSTRAINT [DF_CustomNpcQuest_Count]  DEFAULT ((0)) FOR [Count]
GO

ALTER TABLE [dbo].[CustomNpcQuest] ADD  CONSTRAINT [DF_CustomNpcQuest_MonsterQtd]  DEFAULT ((0)) FOR [MonsterCount]
GO





Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
15 Replies
5286 Views
Last post March 18, 2022, 09:07:31 AM
by fran45
2 Replies
984 Views
Last post December 26, 2019, 10:20:26 PM
by Kroud
0 Replies
626 Views
Last post October 31, 2019, 10:21:31 PM
by adryan
0 Replies
700 Views
Last post September 24, 2022, 07:02:05 PM
by ziza
1 Replies
176 Views
Last post October 16, 2023, 09:13:16 AM
by ShinedowN