Register for your free account! | Forgot your password?

You last visited: Today at 02:29

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

Advertisement



Je Kill ein up

Discussion on Je Kill ein up within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 36
Received Thanks: 11
Je Kill ein up

Hi,

ich hatte da eine idee und wollte es so einstellen damit man auf einem highlvlserver pro kill ein up kriegt. Aber irgendwie hat es nicht geklappt. Vielleicht könnt ihr mir helfen. Würde mich auf eine Antwort freuen. Danke schonmal im vorraus.

PHP Code:
USE [PS_GameLog]
GO
/****** Object:  StoredProcedure [dbo].[usp_Insert_Action_Log_E]    Script Date: 10/14/2013 20:47:25 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE 
[dbo].[usp_Insert_Action_Log_E]
    @
UserID [varchar](18),
    @
UserUID [int],
    @
CharID [int],
    @
CharName [varchar](50),
    @
CharLevel [tinyint],
    @
CharExp [int],
    @
MapID [smallint],
    @
PosX [real],
    @
PosY [real],
    @
PosZ [real],
    @
ActionTimeZ [varchar](50),
    @
ActionType [tinyint],
    @
Value1 [bigint] = null,
    @
Value2 [int] = null,
    @
Value3 [int] = null,
    @
Value4 [bigint] = null,
    @
Value5 [int] = null,
    @
Value6 [int] = null,
    @
Value7 [int] = null,
    @
Value8 [int] = null,
    @
Value9 [int] = null,
    @
Value10 [int] = null,
    @
Text1 [varchar](100) = '',
    @
Text2 [varchar](100) = '',
    @
Text3 [varchar](100) = '',
    @
Text4 [varchar](100) = '',
    @
Sql [nvarchar](4000) = '',
    @
yyyy [varchar](4) = '',
    @
mm [varchar](2) = '',
    @
dd [varchar](2) = '',
    @
Bucket [smallint] = -1
WITH EXECUTE 
AS CALLER
AS
DECLARE @
ActionTime as datetime
SELECT 
@ActionTime CONVERT(datetime, @ActionTimeZ120)
SET @yyyy datepart(yyyy, @ActionTime)
SET @mm datepart(mm, @ActionTime)
SET @dd datepart(dd, @ActionTime)


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

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

IF (@ActionType 103)
begin
Update PS_GameData
.dbo.Chars SET @CharLevel  = @CharLevel  1 WHERE CharID = @CharID
END

SET 
@Sql N'
INSERT INTO PS_GameLog.dbo.ActionLog
(UserID, UserUID, CharID, CharName, CharLevel, CharExp, MapID,  PosX, PosY, PosZ, ActionTime, ActionType, 
Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8, Value9, Value10, Text1, Text2, Text3, Text4)
VALUES(@UserID, @UserUID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType, 
@Value1, @Value2, @Value3, @Value4, @Value5, @Value6, @Value7, @Value8, @Value9, @Value10, @Text1, @Text2, @Text3, @Text4)'

EXEC sp_executesql @Sql
N'@UserID varchar(18), @UserUID int, @CharID int, @CharName varchar(50), 
@CharLevel tinyint, @CharExp int, @MapID smallint, @PosX real, @PosY real, @PosZ real, @ActionTime datetime, @ActionType tinyint, 
@Value1 bigint, @Value2 int, @Value3 int, @Value4 bigint, @Value5 int, @Value6 int, @Value7 int, @Value8 int, 
@Value9 int, @Value10 int, @Text1 varchar(100), @Text2 varchar(100), @Text3 varchar(100), @Text4 varchar(100)'
,
@
UserID, @UserUID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType
@
Value1, @Value2, @Value3, @Value4, @Value5, @Value6, @Value7, @Value8, @Value9, @Value10, @Text1, @Text2, @Text3, @Text4 
riderz1 is offline  
Old 10/14/2013, 21:36   #2
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,455
The level of an online character is stored in the memory and no matter what you do in the database while the character is online, it won't change.
nubness is offline  
Thanks
1 User
Old 10/14/2013, 21:42   #3
 
elite*gold: 0
Join Date: Sep 2013
Posts: 36
Received Thanks: 11
and after the relogg?
riderz1 is offline  
Old 10/14/2013, 22:30   #4
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,455
If you change it when the player is offline, then it stays, of course.
nubness is offline  
Old 10/14/2013, 22:45   #5
 
elite*gold: 0
Join Date: Sep 2013
Posts: 36
Received Thanks: 11
do you have any idea how I can change it so that I get per kill after the relogg a level? or can you make me a script for level per minute pls?
riderz1 is offline  
Old 10/14/2013, 23:55   #6
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,455
I could, but the idea just seems to be too stupid, sorry.
nubness is offline  
Thanks
1 User
Old 10/16/2013, 03:12   #7
 
elite*gold: 0
Join Date: Jun 2013
Posts: 107
Received Thanks: 34
Quote:
Originally Posted by nubness View Post
the idea just seems to be too stupid, sorry.
This deserves a thanks!

Lol...
olinou2 is offline  
Reply


Similar Threads Similar Threads
[NAGC] Patcher Undetected 1hit kill/auto kill [After 23/12/09 Patch]
02/18/2010 - Grand Chase Hacks, Bots, Cheats & Exploits - 33 Replies
1.Download the trainer.Download S.Death trainer 23 - 12-09.rar from Sendspace.com - send big files the easy way 2.do the ads and click "Abir Script USA". click "Abir GC" now when the patcher finishes patching and just before patcher exits click "Parche All" 4. finish a dungeon and exit GC 5.now run MAIN bypass and finish a dungeon and exit



All times are GMT +1. The time now is 02:30.


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