it's a bugg in it i'm trying to find out what it is but well not found what it is yet..
mabe ppl think this is stupid but this works
or the stuff i have tried it hehehe
i added this too usp_Insert_Action_Log_E
Quote:
IF (@ActionType = 103)
begin
Update PS_Userdata.dbo.Users_Master SET Point = Point + 5 WHERE UserID = @UserID
END
|
this gives 5 points for each kill and yes i think you need to relogg to get your points
might be a bugg in this but for now i havent found it..
how do you find usp_Insert_Action_Log_E
open the database PS_GameLog. go to Stored Prosedures and open that
there you find usp_Insert_Action_Log_E right click on it and click modify
this will open it and before the :
Quote:
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)'
|
just put in
Quote:
IF (@ActionType = 103)
begin
Update PS_Userdata.dbo.Users_Master SET Point = Point + 5 WHERE UserID = @UserID
END
|
execute and it will give you 5 points for each kill
if this is wrong please tell me hahah i get the kills so should be ok. and as i know action 103 is kill and this is should work