الموقع العربي الاول للعبة Silkroad Online

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم الشروحات و البرامج المستخدمة في عمل السيرفرات الخاصة (https://silkroad4arab.com/vb/forumdisplay.php?f=289)
-   -   Query To Delete chars [Deleted=1]:NEW (https://silkroad4arab.com/vb/showthread.php?t=600802)

JanGanSRO 11-04-2016 10:32 PM

Query To Delete chars [Deleted=1]:NEW
 
حاجة بسيطة كدة

فى قاعده البيانات الخاصه بيك

اكيد حتلاقى كاركترات كتير عند خانه Deleted = 1
فى جدول _char

لو حابب تتخلص من كل الكاركترات دى بضغطه واحدة علشان لو عندك كاركترات كتير ممسوحه

الامر دة حينفذ المطلوب

حتنفذ الامر دة الاول علشاع تعرف عدد الجداول و الخانات Check & make Bacup if you will have any problem after deleted

كود PHP:

use sro_vt_shard 
select 
from _StaticAvatar where CharID in (select CharID from _Char where Deleted =1)
select from _TimedJob where CharID in (select CharID from _Char where Deleted =1)
select from _CharSkill  where CharID in (select CharID from _Char where Deleted =1)
select from _CharSkillMastery   where CharID in (select CharID from _Char where Deleted =1)
select from _Inventory    where CharID in (select CharID from _Char where Deleted =1)
select from _Friend    where CharID in (select CharID from _Char where Deleted =1)
select from _Friend    where FriendCharID in (select CharID from _Char where Deleted =1)
select from _Memo    where CharID  in (select CharID from _Char where Deleted =1)
select from _Char where Deleted =



بعد ما تاخود باك اب علشان لو حصل معاك مشكله بعد المسح مع العلم ان بازن الله مفيش اى مشاكل و مجربه عندى


حتنفذ الامر دة و هو دة الامر الخاص بالمسح
كود PHP:

use sro_vt_shard 
delete from _StaticAvatar where CharID in 
(select CharID from _Char where Deleted =1)
delete from _TimedJob where CharID in (select CharID from _Char where Deleted =1)
delete  from _CharSkill  where CharID in (select CharID from _Char where Deleted =1)
delete  from _CharSkillMastery   where CharID in (select CharID from _Char where Deleted =1)
delete  from _Inventory    where CharID in (select CharID from _Char where Deleted =1)
delete  from _Friend    where CharID in (select CharID from _Char where Deleted =1)
delete  from _Friend    where FriendCharID in (select CharID from _Char where Deleted =1)
delete  from _Memo    where CharID  in (select CharID from _Char where Deleted =1)
delete  from _Char where Deleted =


تحياتى للجميع

Hamza FiGo 11-04-2016 11:19 PM

رد: Query To Delete chars [Deleted=1]:NEW
 
تمت الموافقة وتم التعديل علي الاسم ^^

تسلم ايدك

M.HADAD 12-04-2016 12:32 AM

رد: Query To Delete chars [Deleted=1]:NEW
 
حلو الشغل دا تسلم ايدك

Dev.BigBear 12-04-2016 07:26 AM

رد: Query To Delete chars [Deleted=1]:NEW
 
تسلم ايدك
:clapping:

Draz 12-04-2016 10:53 AM

رد: Query To Delete chars [Deleted=1]:NEW
 
تسلم :thumb_yello:

roske 30-04-2016 11:37 AM

رد: Query To Delete chars [Deleted=1]:NEW
 
تمام بس برضو عندي Chars قاعده ولو عملتلها دليت بعد سبع تيام مش بتتمسح برضو .

Black Shield 30-04-2016 04:41 PM

رد: Query To Delete chars [Deleted=1]:NEW
 
تسلم يا بومبو

bahaa122 15-05-2016 01:20 PM

رد: Query To Delete chars [Deleted=1]:NEW
 
يا شباب انا كل محط query plus للاكسيسورى يجى للشير d.c وميدخلش تانى
ايه الحل ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟:111 (7)::111 (7)::111 (7):


الساعة الآن 11:00 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.