Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Guides & Releases
You last visited: Today at 06:09

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

Advertisement



[Release] Safe-Zone Killing Detection

Discussion on [Release] Safe-Zone Killing Detection within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old 09/15/2014, 06:25   #31
 
elite*gold: 0
Join Date: Jan 2011
Posts: 8
Received Thanks: 1
help erro

Quote:
Msg 137, Level 15, State 2, Line 1
Must declare the scalar variable "@ActionType".
Msg 137, Level 15, State 2, Line 3
Must declare the scalar variable "@MapID".
Msg 137, Level 15, State 2, Line 10
Must declare the scalar variable "@MapID".
Msg 137, Level 15, State 2, Line 12
Must declare the scalar variable "@Value1".
Msg 137, Level 15, State 2, Line 14
Must declare the scalar variable "@UserUID".
Msg 137, Level 15, State 2, Line 17
Must declare the scalar variable "@MapID".
dieguinhojeito is offline  
Old 09/15/2014, 12:13   #32
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 359
Quote:
Originally Posted by dieguinhojeito View Post
help erro
Msg 137, Level 15, State 2, Line 1
Must declare the scalar variable "@ActionType".
Msg 137, Level 15, State 2, Line 3
Must declare the scalar variable "@MapID".
Msg 137, Level 15, State 2, Line 10
Must declare the scalar variable "@MapID".
Msg 137, Level 15, State 2, Line 12
Must declare the scalar variable "@Value1".
Msg 137, Level 15, State 2, Line 14
Must declare the scalar variable "@UserUID".
Msg 137, Level 15, State 2, Line 17
Must declare the scalar variable "@MapID".
Read first post:
Quote:
Originally Posted by nubness View Post
All you need to do is insert the following lines in PS_GameLog.dbo.usp_Insert_Action_Log_E :
SnickQ is offline  
Old 12/21/2014, 22:31   #33
 
elite*gold: 0
Join Date: Jun 2012
Posts: 3
Received Thanks: 5
Quote:
Originally Posted by nubness View Post
Yes, it is fairly easy to show the SafeZoneKillLog table on a website with PHP.

About jailing that person, you need a GM character online to summon the rule breaker to jail, not worth the waste of time.

I'll include the part that removes kills a little bit later, too busy with other things at the moment.
Error in line:

'SET @DeadFaction = (SELECT Country FROM PS_GameData.dbo.UserMaxGrow WHERE UserUID = @UserUID)'
Attached Images
File Type: jpg warning.jpg (209.3 KB, 44 views)
Wandyies2012 is offline  
Old 12/22/2014, 00:51   #34
 
wallerus's Avatar
 
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 472
It says "Insert Error" which most likely means your "SafeZoneKillLog" table doesn't have the proper columns needed for the insert too work. If the table is clean, which it most likely is just delete and remake the table again:

Quote:
Originally Posted by nubness View Post

Code:
USE [PS_GameLog]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[SafeZoneKillLog](
	[RowID] [tinyint] IDENTITY(1,1) NOT NULL,
	[Map] [tinyint] NOT NULL,
	[PosX] [real] NOT NULL,
	[PosZ] [real] NOT NULL,
	[KillerUserUID] [int] NOT NULL,
	[KillerCharName] [varchar](20) NOT NULL,
	[KillerCharID] [int] NOT NULL,
	[DeadCharName] [varchar](20) NOT NULL,
	[DeadCharID] [varchar](20) NOT NULL,
	[ActionTime] [datetime] NULL,
	[Punished] [bit] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
Make sure [Punished] column allows NULL values, if that doesn't work try to use this instead:
Code:
INSERT INTO SafeZoneKillLog VALUES (@MapID, @PosX, @PosY, @Text1, @Value1, @CharName, @CharID, @ActionTime, NULL)
My knowledge is very basic, but I've seen that error a few times personally and it's just the insert part of the script and the columns from the table it's using don't match.
wallerus is offline  
Thanks
1 User
Old 01/09/2015, 20:13   #35
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
what is x1,z1,x2,z2 in the Database script? please no stupid answer please
Cansas59 is offline  
Old 01/09/2015, 20:56   #36
 
wallerus's Avatar
 
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 472
Quote:
Originally Posted by Cansas59 View Post
what is x1,z1,x2,z2 in the Database script? please no stupid answer please
x are letters, 1 & 2 are numbers. No stupid questions please.
wallerus is offline  
Old 01/09/2015, 21:58   #37
 
elite*gold: 0
Join Date: Jan 2012
Posts: 428
Received Thanks: 33
i mean this is the coordinations? or what is it, what must i put in Db, this is new for me im sorry
Cansas59 is offline  
Old 01/09/2015, 23:04   #38
 
wallerus's Avatar
 
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 472
Quote:
Originally Posted by Cansas59 View Post
i mean this is the coordinations? or what is it, what must i put in Db, this is new for me im sorry
Read the first post, it literally explains everything you need to know.
wallerus is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
No safe-zone?
01/02/2013 - Metin2 - 3 Replies
Is there any working no safe-zone hack for DE (gameforge)? Like the one from m2bob? If yes, please, post it here :)
[Req] No safe zone
07/26/2012 - Metin2 - 5 Replies
Is any hack with no savezone?
Safe Zone
05/31/2010 - Metin2 Private Server - 0 Replies
hi weis einer wie ich in einer map eine safe Zone einbaue thx im voraus mfg Pelda
Safe Met Zone
07/25/2005 - Conquer Online 2 - 11 Replies
:cool: I Please Bug our program for leave met zone ;;;; :?



All times are GMT +2. The time now is 06:09.


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.