Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 18:42

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

Advertisement



Search by string in DB

Discussion on Search by string in DB within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 410
Received Thanks: 33
Search by string in DB

ok i forgot the function to search the DB in sql by the scrips name to find items any help would be nice tyvm
mlejnek2 is offline  
Old 10/18/2012, 21:57   #2
 
elite*gold: 0
Join Date: Jun 2011
Posts: 20
Received Thanks: 25
Where name like '%name item%'
Albedaia is offline  
Old 10/19/2012, 11:59   #3
 
c1ph3r's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
A little info^^ Your string resource should be in the correct language As far as i know the released dbs contain only one almost complete arabic stringresource.

You need to dump the string resource from your client first.

Step 2:

Code:
SELECT * FROM dbo.ItemResource ITEM, dbo.StringResource STRING
where STRING.code=ITEM.name_id and STRING.value like '%searchterm%'
You can replace the ItemResource with every other table. You only have to change the table and the sometimes the field with the name_id is called text_id that's all.
c1ph3r is offline  
Old 10/20/2012, 00:38   #4
 
Makai_King_Zero's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 60
Received Thanks: 12
Another way to list is:
SELECT ITEM.id, item.name_id, STRING.value
FROM Arcadia.dbo.ItemResource ITEM, Arcadia.dbo.StringResource STRING
WHERE item.name_id = string.code
ORDER BY id ASC

I actually posted these queries like half a year ago....
Makai_King_Zero is offline  
Old 10/20/2012, 01:25   #5

 
Musta²'s Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 542
Received Thanks: 421
Quote:
Originally Posted by Makai_King_Zero View Post
Another way to list is:
SELECT ITEM.id, item.name_id, STRING.value
FROM Arcadia.dbo.ItemResource ITEM, Arcadia.dbo.StringResource STRING
WHERE item.name_id = string.code
ORDER BY id ASC

I actually posted these queries like half a year ago....

Join Date: Sep 2012 --> Yeah, half year ago.

This query was pasted by HeavenOnlyWishes in an index in Arcadia-Dev forums.

(You must have leeched it from Raskim's index -Page 5-).
Musta² is offline  
Old 10/20/2012, 06:32   #6
 
Makai_King_Zero's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 60
Received Thanks: 12
Actually I AM HeavenOnlyWishes.... This is my alt account for newer dev groups....

I know I've stated that before... Keep up Musta
Makai_King_Zero is offline  
Old 10/20/2012, 06:36   #7
 
HeavenOnlyWishes's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 236
Received Thanks: 74
See it's Makai King.... I can talk to myself, kool huh Musta XP
HeavenOnlyWishes is offline  
Old 10/20/2012, 09:21   #8

 
Musta²'s Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 542
Received Thanks: 421
My bad
Musta² is offline  
Old 10/20/2012, 11:56   #9
 
c1ph3r's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,606
Received Thanks: 1,210
Quote:
Originally Posted by Makai_King_Zero View Post
Another way to list is:
SELECT ITEM.id, item.name_id, STRING.value
FROM Arcadia.dbo.ItemResource ITEM, Arcadia.dbo.StringResource STRING
WHERE item.name_id = string.code
ORDER BY id ASC

I actually posted these queries like half a year ago....
But with this method you have to go through about 20000 items and search for the correct one

But hey everyone can decide on his own how to search for items^^ or something like this.
c1ph3r is offline  
Old 10/20/2012, 16:10   #10
 
Makai_King_Zero's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 60
Received Thanks: 12
Actually if you add:
Quote:
AND value LIKE '%something%'
just below the WHERE statement, then you can search for specific item names....

Common c1ph3r... we can't give them everything...... Well we could, but then they'd learn nothing.... lol

I just didn't add this because this was discussed in another post.... It's not like this is rocket science, I wouldn't even bother explaining that... The post would be waaaayyyyyyyyyyyy too long......
Makai_King_Zero is offline  
Old 10/21/2012, 13:53   #11
 
elite*gold: 0
Join Date: Apr 2012
Posts: 463
Received Thanks: 837
everything about the select statement is here:
Or maybe this community wants all sql reference here for rappelz dbs :x
glandu2 is offline  
Reply


Similar Threads Similar Threads
[Visual Basic] [Problem] String auslesen/String zufällig wählen
05/06/2012 - General Coding - 4 Replies
Code: #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Name Generator", 236, 299, 815, 246) $Input1 = GUICtrlCreateInput("Username", 24, 72, 185, 21) $Input2 = GUICtrlCreateInput("Username", 24, 104, 185, 21) $Input3 = GUICtrlCreateInput("Username", 24, 136, 185, 21) $Input4 = GUICtrlCreateInput("Username", 24, 168, 185, 21) $Input5 = GUICtrlCreateInput("Username", 24, 200, 185, 21)
[VB08]String in String mit mehreren Funden
08/08/2011 - .NET Languages - 6 Replies
Hey, bin gerade auf ein Problem gestoßen, an dem ich mir seit 3 Stunden die Zähne ausbeiße. Ich will eine Funktion schreiben, die der _StringBetween Funktion von AutoIt gleich ist. _StringBetween gibt in einem Array alle Strings zwischen zwei SubStrings und dem ganzen String aus. Die Ausgabe bei _StringBetween("<h1>test1</h1>&l t;h1>test2</h1>", "<h1>", "</h1>") wäre also idealer Weiße ein Array (x = "test1", x = "test2")... da man in VB08 kein Array returnen kann, komme ich aber einfach...
[C++] string zwischen string
11/11/2010 - C/C++ - 6 Replies
tag gibts direkt ne funktion, mit der man einen passenden string zwischen dem string suchen kann? also meine net .find() sondern sowas ähnliches, die in diesem beispiel "mein string sucht" Bsp: "<span id=\"lalala\">"+string mein_string+"</span>" understanden? :-)
[Search]Guide To make Edits With PhotoShop cs4 with Photos [Search]
08/25/2009 - CO2 Guides & Templates - 0 Replies
Hello i founded this Post http://www.elitepvpers.com/forum/co2-guides-templa tes/155997-ultimate-guide-how-make-conquer-edits.h tml But its for cs2 and i have cs4 and im searching a guide With photos with cs4 any1 have ?:handsdown:



All times are GMT +2. The time now is 18:42.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.