Stackable exchange bug

06/12/2014 00:22 stedabest321#1
Now i have a NPC from epvps from nekleus

to exchange 1k of each item (3 items)

now if you have 1k and 1k and none ofthe 3rd item it still takes the 2, an dosnt give you anything,

the type is 502, so it isnt checking for the correct amount of items before taking them, ive tyed 506 and 507, and it just keeps giving me the error as if i dont havee enough, when i have 65,000 in my bad any idea of what the problem could be ? i will put the sql up if need be or coppy it out of my db

Thanks in advance Grimm!

EDIT

This is the ID 1037200, 1037210, 1037220 ive tryed

Quote:
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 0 , 1037200 1037200 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 0 , 1037210 1037210 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 0 , 1037220 1037220 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 0 , 1037200 1037200 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 0 , 1037210 1037210 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 0 , 1037220 1037220 1000

And

XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 0 , 1037200 1000 1037200 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 0 , 1037210 1000 1037210 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 0 , 1037220 1000 1037220 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 0 , 1037200 1000 1037200 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 0 , 1037210 1000 1037210 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 0 , 1037220 1000 1037220 1000

And

XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 1037200 , 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 1037210 , 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 507, 1037220 , 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 1037200 , 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 1037210 , 1000
XXXXXXXX, XXXXXXX, XXXXXXXXXX, 506, 1037220 , 1000
Any ideas ?

It only seems to work when i remove the 507 and 506 and keep it at 502 to just remove them, but then it isnt checking to make sure there is enough
06/12/2014 02:54 cyberghoser1#2
Check my Tears Of Sorrow release, I had same problem in the Dodol quest, can't remember exactly how I fixed it, check cq_action with 'dodol' word you'll see, I changed either param or data can't remember right now.
06/12/2014 03:02 stedabest321#3
Are you able to rip it for me ? i am unable to test other databases out atm, since im swapping to a new laptop
06/12/2014 09:46 cyberghoser1#4
Here it is, since the item for exchange was not stackable, dunno why didnt look client side for it, I made the exchange like Joans NPC from market and used it in this matter.

Code:
76598000	76598001	0	101	0	%user_name,~Im~Your~Dodol~Exchanger
76598001	76598002	0	101	0	Make~Sure~You~Have~Enough~Item
76598002	76598003	0	102	0	Exchange~30~Dodol~To~1~Lemang 76598007
76598003	76598004	0	102	0	Exchange~15~Lemang~To~1~Bahulu 76598013
76598004	76598006	0	102	0	Exchange~5~Bahulu~To~1~Ketupat 76598019
76598006	4000027	0	102	0	Later!. 0
76598007	76598008	76598012	502	1015000	30
76598008	76598010	76598009	508	0	1 0 50
76598009	0	0	126	0	You~dont~have~enough~room~with~you!
76598010	76598011	0	501	1015010	1 500
76598011	0	0	126	0	You~Have~Got~LEMANG
76598012	0	0	126	0	IDIOT!~YOU~DONT~HAVE~ENOUGH~EVENT~iTEM!
76598013	76598014	76598018	502	1015010	15
76598014	76598016	76598015	508	0	1 0 50
76598015	0	0	126	0	You~dont~have~enough~room~with~you!
76598016	76598017	0	501	1015091	1 500
76598017	0	0	126	0	You~Have~Got~BAHULU
76598018	0	0	126	0	IDIOT!~YOU~DONT~HAVE~ENOUGH~EVENT~iTEM!
76598019	76598020	76598024	507	0	1015091 1015091 5
76598020	76598022	76598021	506	0	1015091 1015091 5
76598021	0	0	126	0	You~dont~have~enough~room~with~you!
76598022	76598023	0	501	1015030	1 500
76598023	0	0	126	0	You~Have~Got~KETUPAT
76598024	0	0	126	0	IDIOT!~YOU~DONT~HAVE~ENOUGH~EVENT~iTEM!
Look in lines 76598019 & 76598020 this is where I changed that. Dunno if its the same problem but hope it helps.
06/12/2014 21:38 stedabest321#5
I have tryed that one, its not working
06/12/2014 23:00 cyberghoser1#6
Well I dont know then, for me it worked just fine.
06/12/2014 23:23 no_1#7
I know the code have some issue i've solved it with this
in this example you need 500 of each item

Code:
10012	10013	10026	503	1037200	500
10013	10014	10026	503	1037210	500
10014	10035	10026	503	1037220	500
10026	0	0	126	0	You~Dont~have~enough~items
10027	0	0	126	0	Please~Make~1~place~in~your~bag
10035	10036	10027	508	0	1 0 50
10036	10037	0	502	1037200	500
10037	10038	0	502	1037210	500
10038	10039	0	502	1037220	500
10039	10040	0	501	742000
10040	0	0	126	0	Congratulations!~You~received~....
503 inspection of amount of 3 items
508 inspection of the invectory for room
502 taking 3 items
501 awarding the price
06/13/2014 05:10 stedabest321#8
Worked Thanks
10/06/2014 14:07 hades2013#9
Quote:
Originally Posted by cyberghoser1 View Post
Check my Tears Of Sorrow release, I had same problem in the Dodol quest, can't remember exactly how I fixed it, check cq_action with 'dodol' word you'll see, I changed either param or data can't remember right now.
I have you Tears of Sorrow running so far look fine and the problem in dodol is still there.

and type,data and param ar wrong