Register for your free account! | Forgot your password?

You last visited: Today at 23:18

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

Advertisement



PSERVERCMS

Discussion on PSERVERCMS within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
PSERVERCMS

Hello i have one problem i testing my PSERVERCMS and all times its stack in ranking with same names same points. anyone know how i can fix it?


Thats my procedure

declare @killer varchar(max) = (select CharName from SRO_VT_ACCOUNT..srZor_uniques where id=(select max (id) from SRO_VT_ACCOUNT..srZor_uniques))
declare @ed varchar(max) = (select mobname from SRO_VT_ACCOUNT..srZor_uniques where id=(select max (id) from SRO_VT_ACCOUNT..srZor_uniques))
declare @arid int = (select charid from SRO_VT_SHARD.._char where charname16=@killer)
declare @id int = (select id from SRO_VT_SHARD.._refobjcommon where codename128 = @ed and service =1 )
DECLARE @int int =(Select points From SRO_VT_SHARD.dbo._UniqueRanking Where CharID = @arid )
DECLARE @ldid int =(Select GuildID From SRO_VT_SHARD.._char Where CharID = @arid )
DECLARE @ldname varchar(max) =(Select Name From SRO_VT_SHARD.dbo._Guild Where ID = @ldid )

if @eventid in (4,6,9,11,10) AND (select count(*)from SRO_VT_ACCOUNT..srZor_uniques ) > 0
begin
declare @Point int = 0
-- this is unique points logger for pservercms by mixawy
if @id = 14936 begin-- lvy ----normal uniques
SET @Point = 5 END
if @id = 1954 begin --tiger
SET @Point = 5 END
if @id = 5871 begin --kerberos
SET @Point = 5 END
if @id = 2002 begin --isyutaru
SET @Point = 5 END
if @id = 1982 begin --uruchi
SET @Point = 6 END
if @id = 3875 begin --demon
SET @Point = 10 END
if @id = 3810 begin --lord
SET @Point = 8 END
if @id = 14995 begin-- snake
SET @Point = 10 END
if @id = 22891 begin --medusa --big uniques
SET @Point = 20 END
if @id = 3877 begin --roc
SET @Point = 100 END

/* insert */
if @Point >0 and @ldid >0 and (not exists (select charid from SRO_VT_SHARD.._UniqueRanking where CharID = @arid) ) begin
insert into SRO_VT_SHARD.._UniqueRanking (CharID,CodeName128,points) values @arid @ldname @Point)
end
else if @Point >0 and @ldid =0 and (not exists (select charid from SRO_VT_SHARD.._UniqueRanking where CharID = @arid) ) begin
insert into SRO_VT_SHARD.._UniqueRanking (CharID,CodeName128,points) values @arid,0 @Point)
end

/* update */
else if @ldid >0 and (exists (select charid from SRO_VT_SHARD.._UniqueRanking where CharID = @arid)) begin
UPDATE SRO_VT_SHARD.dbo._UniqueRanking SET CodeName128 = @ldname Where CharID = @arid
end
else if @Point >0 and (exists (select charid from SRO_VT_SHARD.._UniqueRanking where CharID = @arid)) begin
UPDATE SRO_VT_SHARD.dbo._UniqueRanking SET points = @int @Point Where CharID = @arid
end

/* uniquekilllist & clean */
insert into SRO_VT_SHARD.._UniqueKillList (CharID,CodeName128,time) VALUES @arid @ed,Getdate())
delete from SRO_VT_ACCOUNT..srZor_uniques where id=(select max (id) from SRO_VT_ACCOUNT..srZor_uniques)
END
mudik is offline  
Reply


Similar Threads Similar Threads
[Release] PServerCMS a Website for your PServer
09/30/2019 - SRO PServer Guides & Releases - 467 Replies
FEATURES: News (modification in admin-panel) ServerInfo (modification in admin-panel) include PlayerOnline ServerTimes (modification in config) Download (modification in admin-panel) Ranking (TopGuild|TopPlayer) with detail pages Char search ServerInfoPages (modification in admin-panel, possible to add more dynamic)
Install PServerCMS
03/02/2019 - SRO Private Server - 2 Replies
Someone can install me PServerCMS on my server? Pls pm me!
Problem with PserverCMS
12/27/2016 - SRO Private Server - 3 Replies
Hello, I have problem with Web PserverCMS, i finish setup and there's no wrong but, i get error when i open http://i.epvpimg.com/QMgwe.png i think this error from Config this is my config i sure there's wrong but i don't know him <?php return , 'toolbar' => , ],



All times are GMT +1. The time now is 23:18.


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.