Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 16:20

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

Advertisement



[Question] Plus notice only shows Weapons ?

Discussion on [Question] Plus notice only shows Weapons ? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Exclamation [Question] Plus notice only shows Weapons ?

hi there
i dunno whats happening but it works fine with any weapon/shield/accessories
but not working with armors (light-armor-clothes)
i think the problem is the item gender


my code is :

and it shows [Null] message in Notice Tab.:



P.S : i checked well the _itemname Tab.
i added the full item names

i dunno how to get rid of this issue

i dunno whats wrong
if someone could help me i will really appreciate your help

thanks.
multiuses is offline  
Old 04/11/2018, 04:24   #2
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 345
you do realize that this is nothing to go on ,right?
Isoline* is offline  
Old 04/11/2018, 13:32   #3
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Quote:
Originally Posted by eitai123 View Post
you do realize that this is nothing to go on ,right?
you mean that this is a useless method and ill wont find a fix , right ?
multiuses is offline  
Old 04/11/2018, 15:34   #4
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 345
execute it manually given an "armor set" type of parameters it has to be a sql issue while your inserting to the table, also you should not allow nulls on these columns, since you always gonna expect a result set.

or you can simple use my filter and discard all of that, simply use the autonotice feature
Isoline* is offline  
Old 04/11/2018, 17:17   #5
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
First of all, doing it in a filter is much better than SQL

Second, the problem is nearly in that 'strDesc' because it sometimes returns the plus value and sometimes it contains a string/varchar like:

That's an armor one:
Code:
strDesc=(1 [dec-dura 49%)
and that's a weapon:
Code:
strDesc=(1)
so the problem is basically at that 'strDesc'

What to do: I prefer declaring the item plus and item ID using Slot_From column, it will cause no problems if you want to use SQL at that point.

Quote:
Originally Posted by eitai123 View Post
execute it manually given an "armor set" type of parameters it has to be a sql issue while your inserting to the table, also you should not allow nulls on these columns, since you always gonna expect a result set.

or you can simple use my filter and discard all of that, simply use the autonotice feature
Also, you shouldn't tell people to use your own filter to solve a problem there's a lot of filters just tell 'em to use a filter, that's called "exploitation"
#HB is offline  
Old 04/11/2018, 17:33   #6
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 345
Quote:
Originally Posted by #HB View Post
First of all, doing it in a filter is much better than SQL

Second, the problem is nearly in that 'strDesc' because it sometimes returns the plus value and sometimes it contains a string/varchar like:

That's an armor one:
Code:
strDesc=(1 [dec-dura 49%)
and that's a weapon:
Code:
strDesc=(1)
so the problem is basically at that 'strDesc'

What to do: I prefer declaring the item plus and item ID using Slot_From column, it will cause no problems if you want to use SQL at that point.



Also, you shouldn't tell people to use your own filter to solve a problem there's a lot of filters just tell 'em to use a filter, that's called "exploitation"
it was merely a suggestion to solve an issue with a much simpler solution, i didnt force him to do anything lol
Isoline* is offline  
Old 04/11/2018, 18:14   #7
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
lol, and who said that you forced him
#HB is offline  
Old 04/11/2018, 22:07   #8
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Quote:
Originally Posted by #HB View Post
First of all, doing it in a filter is much better than SQL

Second, the problem is nearly in that 'strDesc' because it sometimes returns the plus value and sometimes it contains a string/varchar like:

That's an armor one:
Code:
strDesc=(1 [dec-dura 49%)
and that's a weapon:
Code:
strDesc=(1)
so the problem is basically at that 'strDesc'

What to do: I prefer declaring the item plus and item ID using Slot_From column, it will cause no problems if you want to use SQL at that point.



Also, you shouldn't tell people to use your own filter to solve a problem there's a lot of filters just tell 'em to use a filter, that's called "exploitation"
man i tried and without any success
can u share with me the correct script
i will really appreciate your help
multiuses is offline  
Old 04/11/2018, 23:12   #9
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
I don't want to share write a code for you and you just copypaste it.. but I guess will do it only one time..

All you have to do is to declare the ID64 of _Items table using _Invetory table and '@'Slot_From declaration and '@'CharID, so you got the ID64 now! so what are you waiting for, get the ******* optlevel and item ID!

Copypaste? Here you are:
#HB is offline  
Thanks
1 User
Old 04/12/2018, 02:58   #10
 
elite*gold: 0
Join Date: May 2008
Posts: 167
Received Thanks: 2
Quote:
Originally Posted by #HB View Post
I don't want to share write a code for you and you just copypaste it.. but I guess will do it only one time..

All you have to do is to declare the ID64 of _Items table using _Invetory table and @From declaration and @D, so you got the ID64 now! so what are you waiting for, get the ******* optlevel and item ID!

Copypaste? Here you are:

Man u saved my day
I really appreciate ur help
I was expecting that no one will help
u r the best and i really thank you
multiuses is offline  
Reply


Similar Threads Similar Threads
Another question about [Plus Notice]
11/14/2014 - SRO Private Server - 3 Replies
There is anyway to make the + notice for 14D-15D only ? Its works fine for all degrees. But i just need for 14D - 15D if possible Ty



All times are GMT +2. The time now is 16:20.


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.