Two quick questions

10/11/2012 18:37 pretzel666#1
Ok my first question would be i have an item in my server that teleports you to a map with a boss , but when i right mouse click the item , it doesnt disappear , how can i make the item disapear?
my second question is , i used the element gears in lottery thats posted in all things guide , but now when i go to use the instant lottery , the chests just disapear and doesnt give a prize , id greatly appreciate it if someone knew the answers to there :P
10/11/2012 18:42 Soul[PM]#2
Quote:
Originally Posted by pretzel666 View Post
Ok my first question would be i have an item in my server that teleports you to a map with a boss , but when i right mouse click the item , it doesnt disappear , how can i make the item disapear?
my second question is , i used the element gears in lottery thats posted in all things guide , but now when i go to use the instant lottery , the chests just disapear and doesnt give a prize , id greatly appreciate it if someone knew the answers to there :P
This My Answer For your First Questions only :


Code:
85498420	85498421	0	502	1020208	0
85498421	85498422	0	1003	0	5000 200 300     <<<<in here you put the Coordinates you get from cq_generator
85498422	85498423	0	126	0	What~Every~You~Want~Here~
85498423	0	0	1085	0	gmlog/action_log 380,%user_name[%user_id],0,0,0,2700,0,1020208,0,0
10/11/2012 19:39 pretzel666#3
85498420 85498421 0 502 1020208 0
85498421 85498422 0 1003 0 5000 200 300 <<<<in here you put the Coordinates you get from cq_generator <-- why do i need coords?
85498422 85498423 0 126 0 What~Every~You~Want~Here~ <- and what should i put here?
10/11/2012 20:34 Soul[PM]#4
Quote:
Originally Posted by pretzel666 View Post
85498420 85498421 0 502 1020208 0
85498421 85498422 0 1003 0 5000 200 300 <<<<in here you put the Coordinates you get from cq_generator <-- why do i need coords?
85498422 85498423 0 126 0 What~Every~You~Want~Here~ <- and what should i put here?
you will need the Coords to Select place of the boss

after he Tele to boss he will say to him search here boss are something like that
10/11/2012 22:48 pretzel666#5
no no i have the params already added the item takes you there just it doesnt disappear
10/11/2012 23:03 Gekru#6
Perhaps if you posted the rows that are effected, we could tell you where you went wrong. We can't read minds.
10/11/2012 23:17 pretzel666#7
Its part of the diablo quest so im not quite sure what it is the ID of my item is 9000011 and the params are
200028 200029 0 502 9000007
200029 200031 0 502 1037240 500
200031 0 0 501 9000011
200032 200033 200034 503 9000011
200033 200036 200035 503 1037250
200034 0 0 126 0 Please~go~see~Kane~in~gobi
200035 0 0 126 0 Use~diablos~stone~to~go~kill~diablo!
200036 200037 0 101 0 Thank~you~now~here’s~a~great~reward~Diablos~sword!
200037 4000000 0 102 0 Thank~you 200038
200038 200039 0 502 9000011
200039 200040 0 502 1037250
200040 0 0 501 410104
200041 0 0 1003 0 10002 123 164 1
200042 200043 200044 1001 0 Level < 250
200043 0 0 126 0 Sorry~you~must~be~level~250+~to~enter!
200044 0 0 1003 0 10001 564 235 1
200045 0 0 1003 0 1000 295 428 1
200099 200105 200100 503 1037230 250
200100 200101 0 101 0 Would~you~please~help~me?
200101 200102 0 102 0 Yeah~Sure 200103
200102 4000000 0 102 0 No~thanks 0
200103 200104 0 101 0 Can~you~get~me~250~Minion~hearts?
200104 4000000 0 102 0 Okay! 0
200105 200106 0 101 0 Thank~you~so~much~heres~a~small~reward!
200106 4000000 0 102 0 Thank~you 200107
200107 200108 0 1001 0 e_money += 2500000
200108 200131 0 126 0 Bring~me~another~250~Minion~hearts~for~another~2.5 milEps
10/11/2012 23:39 Gekru#8
What's your row from cq_itemtype? So I can cross examine the action there to the ones you posted.
10/12/2012 00:39 pretzel666#9
9000011 DiablosStone 0 0 0 0 0 0 0 0 28 0 0 200041 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10/12/2012 00:52 Gekru#10
Ok your issue is that with the action associated to the item (200041), all you have it doing is sending the person to the map. You need to add in the 502 type to delete the item, either before the teleport or after.

Example would be

PHP Code:
200041    200042    0    1003    0    10002 123 164 1
200042    0    0    0    502    9000011 
In this example the player right clicks the item, it teleports them to the map 10002 and then deletes the item (9000011).
10/12/2012 01:14 pretzel666#11
ok so how would i add that to my params? ;o
10/12/2012 01:21 Gekru#12
I've pretty much given you the answer in my last post, now all you have to do is modify your actions to fit in the changes. I have no idea what else to tell you, if you're running a server, it's one of the first things you should have learned to do.
10/12/2012 01:22 pretzel666#13
oh wait no i read the #'s wrong XD lol ty bro for helping :D fixed it ^_^

now about the element gear in the lottery, its not working you click the chest and it just disappears withough awarding anything