Register for your free account! | Forgot your password?

You last visited: Today at 03:37

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

Advertisement



searching chat table

Discussion on searching chat table within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 461
Received Thanks: 561
searching chat table

I'm searching the sql tables for the chat log from the game.
I'm using a ep 4 DB and the original don't work;
i'm running a sql 2008 so i can't open files from newest sql.

Actualy i get this error in the PS_GAMELOG:
Quote:
Could not find stored procedure 'usp_Insert_Chat_Log_E'.

thanks in advanced if anyone can help me about.
beetols is offline  
Old 09/21/2014, 14:25   #2
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
Code:
USE [PS_Chatlog]
GO
/****** Object:  StoredProcedure [dbo].[usp_Insert_Chat_Log_E]    Script Date: 2014-09-21 14:23:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

/****** Object:  Stored Procedure dbo.usp_Insert_Chat_Log_E    Script Date: 2008-6-7 18:30:55 ******/
ALTER     Proc [dbo].[usp_Insert_Chat_Log_E]

/* 
Created by humanws, 2005-10-14
채팅 로그 남기기
 */

@UserUID int,
@CharID int,
@ChatType tinyint,		-- 일반1, 귓말2, 길드3, 파티4, 거래5
@TargetName varchar(30),
@ChatData varchar(128),
@MapID smallint,
@ChatTime datetime

AS

DECLARE @Sql nvarchar(4000)
DECLARE @yyyy varchar(4)
DECLARE @mm varchar(2)
DECLARE @dd varchar(2)

SET @yyyy = DATEPART(yyyy, @ChatTime)
SET @mm = DATEPART(mm, @ChatTime)
SET @dd = DATEPART(dd, @ChatTime)


IF( LEN(@mm) = 1 )
BEGIN
	SET @mm = '0' + @mm
END

IF( LEN(@dd) = 1 )
BEGIN
	SET @dd = '0' + @dd
END

SET @Sql = N'
INSERT INTO PS_ChatLog.dbo.ChatLog
(UserUID, CharID, ChatType, TargetName, ChatData, MapID, ChatTime)
VALUES(@UserUID, @CharID, @ChatType, @TargetName, @ChatData, @MapID, @ChatTime)'

EXEC sp_executesql @Sql, 
N'@UserUID int, @CharID int, @ChatType tinyint, @TargetName varchar(30), @ChatData varchar(128),@MapID smallint, @ChatTime datetime',
@UserUID, @CharID, @ChatType, @TargetName, @ChatData, @MapID, @ChatTime
SnickQ is offline  
Thanks
1 User
Old 09/21/2014, 15:45   #3
 
elite*gold: 0
Join Date: Jan 2013
Posts: 461
Received Thanks: 561
its the same one that i have (i tried to copy), but don't work, continue to give me this error:
Quote:
2014-09-20 17:37:07 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]

Could not find stored procedure 'usp_Insert_Chat_Log_E'., SQL STATE: 42000, NATIVE ERROR: 2812 (0xAFC)2014-09-20 17:37:07 DBWrite::LogChat: err=-1, query=EXEC usp_Insert_Chat_Log_E userUID,CharID,4,NULL,'Chat Text',0,'2014-09-20 17:37:07'
2014-09-20 17:37:07 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure 'usp_Insert_Chat_Log_E'., SQL STATE: 42000, NATIVE ERROR: 2812
(0xAFC)
my idea was to try to completely replace the PS_ChatLog, but i don't want to download every database that i found for test it.
beetols is offline  
Old 09/21/2014, 15:52   #4
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,455
Do you have the PS_ChatLog.dbo.ChatLog table ?
nubness is offline  
Thanks
1 User
Old 09/21/2014, 16:48   #5
 
elite*gold: 0
Join Date: Jan 2013
Posts: 461
Received Thanks: 561
solved, thanks nubness

The issue is in the table that have wrong DataType, checking the 'usp_Insert_Chat_Log_E' you can see the right values and edit them by ChatLog (rightclick) design.

if anyone find it helpful thanks Nubness above!!
beetols is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Table
04/03/2014 - Facebook - 1 Replies
Sorry , only a mistake , delete this thread
Table of EXP
03/19/2011 - WarRock - 7 Replies
i need the table of how much need to up level and 1% plz who can give me?
[Searching]Hi people i'm searching media.pk2 for 2.019 english (SWSRO)
07/21/2009 - SRO Private Server - 4 Replies
TItile it's exist a media.pk2 in english? of SWSRO version 2.019...
Artmoney tabelle gesucht//searching artmoney table
04/03/2008 - General Coding - 0 Replies
moin leute ich suchene artmoney tabelle für dekaron(2moons) habe jemanden bei 2moons gesehen der es geschafft hat bin aber selber zu faul mireine zu erstellen postet eine wenn ihr ahbt pls ------------------------------------------------- ------------------------- Moin people I suchene artmoney table for dekaron (2moons) had seen someone at 2moons has managed itself but am too lazy to draw me one pls post one when you have pls mfg, hans (bond)007



All times are GMT +1. The time now is 03:39.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.