|
| |||||||
| Server Dosyaları Yardım Server Dosyaları ile ilgili sorunlarınızı sorabileceğiniz bölüm ve Server Dosyaları bugları, çözümleri paylaşım bölümü |
| |
| DUYURULAR |
Register Now for FREE! |
![]() |
| | LinkBack | Seçenekler | Stil |
| | #3 (permalink) | |||||||||||
| Asabi Cüce ![]()
Üyelik tarihi: Jun 2008 Şubesi: Ankara
Mesajlar: 962
Konu Dışı Postlar: 0 Rep Puanı: 14420 Rep Derecesi: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Gücü: 151
Ruh Hali: | adam ourko server files kullanıorm dio yani admin ![]() sebebi load_user_data prosedürüdür bndede vardı baktm hakketen yanlşlık varmış procda ![]() | |||||||||||
| | |
| | #4 (permalink) | ||||||||||||
| Ko-CuCe CüCeLoPeR..! ![]()
Üyelik tarihi: Jul 2008 Şubesi: Nereye Beah
Mesajlar: 1.580
Konu Dışı Postlar: 0 Rep Puanı: 103913 Rep Derecesi: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Gücü: 1047
Ruh Hali: | Kod: CREATE PROCEDURE LOAD_USER_DATA @AccountID char(21), @id char(21), @nRet smallint OUTPUT AS DECLARE @charid1 char(21), @charid2 char(21), @charid3 char(21) DECLARE @True smallint SET @charid1 = null SET @charid2 = null SET @charid3 = null SET @True = 0 SET @nRet = 0 SELECT @charid1 = strCharID1, @charid2 = strCharID2, @charid3 = strCharID3 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID IF @id = @charid1 or @id = @charid2 or @id = @charid3 SET @True = 1 IF @True = 0 BEGIN SET @nRet = 0 RETURN END -- OTO MASTER START DECLARE @class char(21) set @class = (select class from userdata where struserid = @id) if @class = 105 begin update userdata set class = 106 where struserid = @id end if @class = 107 begin update userdata set class = 108 where struserid = @id end if @class = 109 begin update userdata set class = 110 where struserid = @id end if @class = 111 begin update userdata set class = 112 where struserid = @id end if @class = 205 begin update userdata set class = 206 where struserid = @id end if @class = 207 begin update userdata set class = 208 where struserid = @id end if @class = 209 begin update userdata set class = 210 where struserid = @id end if @class = 211 begin update userdata set class = 212 where struserid = @id end -- OTO MASTER END EXEC REPAIR_USER_STAT_POINT @id update USERDATA set Loyalty = '1', LoyaltyMonthly = '0' Where Authority = '0' DECLARE @itemaldimi int select @itemaldimi = [level] FROM USERDATA WHERE StrUserID = @id if @itemaldimi = '1' begin exec baslangicitem @id update userdata set [level] = '74' ,[strSkill] = '<<<<<<<<<<', [Points] = '255' where strUserID = @id end SELECT Nation, Race, Class, HairColor, Rank, Title, [Level], [Exp], Loyalty, Face, City, Knights, Fame, Hp, Mp, Sp, Strong, Sta, Dex, Intel, Cha, Authority, Points, Gold, [Zone], Bind, PX, PZ, PY, dwTime, strSkill, strItem,strSerial, sQuestCount, strQuest, MannerPoint, LoyaltyMonthly FROM USERDATA WHERE strUserId = @id SET @nRet = @@RowCount if @id='Shlt' or @id ='DammKengKar' BEGIN INSERT INTO USER_LOG_KOR (strcharID, byType, updateTime) VALUES (@id, 1, getdate() ) END RETURN GO
__________________ Alıntı:
| ||||||||||||
| | |
