• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

vSro free to use PHP Scripts [UPDATED]

Status
Not open for further replies.
Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
#What we have for now
_Items table cleaner for better performance.
will be have more, that's why it's in development section.

#Warning#
Be sure about get backup before executing _Items cleaner!

#SVN URL# / need to be updated. \


#About _Items Cleaner#
Code:
[SIZE=1]Getting ItemID from _Items and start to checking tables for this item using or not, checking this tables:
_InvCos
_Inventory
_InventoryForAvatar
_InventoryForLinkedStorage
_Chest
_GuildChest
_OpenMarket
and if this id not used in this tables deleting from _Items table.[/SIZE]

# F.A.Q #
-How to use?
--Put cleanitems.php to your web root and edit config inside of it and execute _CheckItem.sql


And don't forget write results to here !
(it's not tested yet so results are important)
 

Attachments

You must be registered for see attachments list
Last edited:
In the Emperor name
Loyal Member
Joined
Jun 25, 2011
Messages
1,605
Reaction score
238
Re: [Release] vSro free to use PHP Scripts

cant test it, but good job, i love when people release things
 
Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
Re: [Release] vSro free to use PHP Scripts

cant test it, but good job, i love when people release things
thanks, feel free to suggest anything
 
Last edited:
Experienced Elementalist
Joined
Jan 27, 2012
Messages
231
Reaction score
29
Re: [Release] vSro free to use PHP Scripts

First of all , nice release
2nd , doesn't work- white screen :s
3rd , can be done from SQL... -better-

thanks anyway :D
 
Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
Re: [Release] vSro free to use PHP Scripts

First of all , nice release
2nd , doesn't work- white screen :s
3rd , can be done from SQL... -better-

thanks anyway :D
1; thanks
2; will check what is wrong
 
In the Emperor name
Loyal Member
Joined
Jun 25, 2011
Messages
1,605
Reaction score
238
Re: [Release] vSro free to use PHP Scripts

thanks, feel free to suggest anything

i fail at php.. and my server have sqldrv, dont works with the old mssql commands.
so cant test or event suggest anything Y_Y
 
Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
Re: [Release] vSro free to use PHP Scripts

Hello everyone !

If you guys still interested in this script i can make this script as a program so it won't return with timeout.

Thanks.
 
Junior Spellweaver
Joined
Oct 10, 2012
Messages
122
Reaction score
27
Re: [Release] vSro free to use PHP Scripts

On php is good , just you made the thing hard , there is simple way , I'll release an admin panel for Silkroad server ^^
 
Junior Spellweaver
Joined
Sep 21, 2011
Messages
194
Reaction score
35
Re: [Release] vSro free to use PHP Scripts

On php is good , just you made the thing hard , there is simple way , I'll release an admin panel for Silkroad server ^^

Php is giving error 'time out' or 'memory out' for big servers ^^
 
Joined
Jul 18, 2007
Messages
1,054
Reaction score
1,039
Re: [Release] vSro free to use PHP Scripts

Nice script! so many if statments :O but yeah, it is a good idea to destroy the connection after you are done :D

PHP:
mssql_close($baglan);


also a fix to the problems with connection timeouts "i think standard is 60-120 seconds per query" is to either increase the time in MSSQL "BAD IDEA DONT DO IT EVER! unless you know wtf you doing"

or

build a stored procedures and just execute the procedure threw php, instead of running the sql queries inside of php <-- "BEST SOLUTION" :D


good luck!
 
Initiate Mage
Joined
Jan 9, 2009
Messages
0
Reaction score
424
Re: [Release] vSro free to use PHP Scripts [UPDATED]

RevoLand - vSro free to use PHP Scripts [UPDATED] - RaGEZONE Forums


#Updated.
 
Newbie Spellweaver
Joined
Dec 2, 2012
Messages
43
Reaction score
0
Re: [Release] vSro free to use PHP Scripts [UPDATED]

ummm i understand this Thread Also i need it important for my server

i`am edited A Perfect DB I Worked on it for 1 month

but i`am afraid from makeing the website cuz of the F@king DDOS Attack

IF You can shows us what u mean i will be pleasure

(Sorry for my english)
 
Newbie Spellweaver
Joined
Sep 9, 2013
Messages
10
Reaction score
0
Re: [Release] vSro free to use PHP Scripts [UPDATED]

good jop
 
Status
Not open for further replies.
Back
Top