You will be able to list mobs who are dropping the wished item. The goal is to avoid to update your droplist webpage on your website at each time you change a single drop.
Now? All you have to do is make an iframe to this script.
So wich are the new features?
100% ODBC made, no need special php drivers
New modern design
Added automatic item selection (no need to type item name)
Decent anti-injection security (using odbc_prepare, you can now use this script on your public website)
Mob ele icons, mob map
EP4, EP5 & EP6 map display
Here is a screenshoot:
Credits:
GM.Triest who gave me the idea of mob ele
Lube for replying my questions (the team is definitely a very great idea)
Online Demo:
Here:
How to setup:
Run the DropFinder.sql file (no needed if you were using my old release)
Put the php files on your webserver, and don't forget to edit odbcConnect.php with your db id & password
USE PS_GameDefs
SELECT dbo.Mobs.MobID, dbo.Mobs.MobName, dbo.Mobs.HP, dbo.Mobs.Level, dbo.Mobs.Attrib, dbo.MobItems.DropRate, dbo.MobItems.ItemOrder, dbo.MapNames.MapName
FROM dbo.MobItems
INNER JOIN Mobs ON dbo.Mobs.MobID = dbo.MobItems.MobID
JOIN MapNames ON dbo.Mobs.MapID = dbo.MapNames.MapID
WHERE Grade = (SELECT TOP 1 Grade FROM PS_GameDefs.dbo.Items WHERE ItemID = 1001) ORDER BY dbo.MobItems.DropRate DESC
In SQL, then we'll see if your SQL version is a problem, or not
USE PS_GameDefs
SELECT dbo.Mobs.MobID, dbo.Mobs.MobName, dbo.Mobs.HP, dbo.Mobs.Level, dbo.Mobs.Attrib, dbo.MobItems.DropRate, dbo.MobItems.ItemOrder, dbo.MapNames.MapName
FROM dbo.MobItems
INNER JOIN Mobs ON dbo.Mobs.MobID = dbo.MobItems.MobID
JOIN MapNames ON dbo.Mobs.MapID = dbo.MapNames.MapID
WHERE Grade = (SELECT TOP 1 Grade FROM PS_GameDefs.dbo.Items WHERE ItemID = 1001) ORDER BY dbo.MobItems.DropRate DESC
In SQL, then we'll see if your SQL version is a problem, or not
Your select "Var1" field, fills up with almost all valid items in the DB, so you could end with hundreds of names there. May be it was better just to type the partial item name.
You could add ' AND Grade > 0' to avoid items that doesn't have a drop.
You could round the mob HP (remove the decimals) for a better look.
I was testing it in my local machine, i ran your script, tried it on browser, works fine and its a great release, but once i edited my monster.sdata and ran it on SQL it pops up some errors saying the supplied files doesnt match tables definitions and deletes all mobs on database, any tip on what to use or something would be handy.
You have to drop & create the table without the MapID column, then you can run the monster.sql file that ShStudio will give you. Re-Run the dropfinder.sql to bring back map id column and their values
You have to drop & create the table without the MapID column, then you can run the monster.sql file that ShStudio will give you. Re-Run the dropfinder.sql to bring back map id column and their values
Would be a good idea to add it into your tread information to avoid future questions like this type ^^
SELECT m.MobID, m.MobName, m.HP, m.Level, m.Attrib, mi.DropRate, mi.ItemOrder,mn.MapName FROM PS_GameDefs.dbo.MobItems AS mi INNER JOIN PS_GameDefs.dbo.Mobs AS m ON m.MobID = mi.MobID JOIN PS_GameDefs.dbo.MapNames AS mn ON m.MapID = mn.MapID WHERE mi.Grade = (SELECT TOP 1 Grade FROM PS_GameDefs.dbo.Items WHERE ItemID = ?) ORDER BY mi.DropRate DESC
When using SQL in php its best to use the 3 part Database.schema.Table setup to avoid possible errors such as this.
HELP Dropfinder 06/02/2016 - Shaiya PServer Development - 2 Replies Hello ePvP.
I downloaded this file : http://www.elitepvpers.com/forum/shaiya-pserver-gu ides-releases/3783514-release-php-drop-finder-who- diplay-map-name-ect.html
I executed the DropFinder.sql, but when I'm using the the drop finder, its show me :
Warning: odbc_exec() : SQL error: Invalid object name 'dbo.Items'., SQL state S0002 in SQLExecDirect in C:\wamp\www\dropfinder\proc.php on line 40
Warning: odbc_num_rows(): supplied argument is not a valid ODBC result resource in...
[Release] Dropfinder in .NET 01/14/2016 - Shaiya PServer Guides & Releases - 0 Replies Hello EPvP!
Today i release my programm coded in .NET.
It's based on Trayne01 php script, i offer this script on .NET aplication.
http://img15.hostingpics.net/pics/225326Sanstitre .png
Require : .NET Framework 4.0
VirusTotal Scan