Unbinding [GiftBox]

Breezer

Mr Mañana
Legendary
Jul 16, 2004
3,370
539
315
Just wondering if it would be possible to do exactly what euro mir did with the GiftBox's , which is when u unbind it, it gives you a random item

i was thinking somewhere on the lines of

Unbind List

112 DcStone(L)
112 McStone(L)
112 ScStone(L)

[ Opens 1 @ random ]
 

SoulSpirit

Dedicated Member
Dedicated Member
Dec 17, 2004
139
0
63
Ermm slightly pointless having only 3 things eh? lol, i'm not sure if you can though, might be able to :)
 
Upvote 0

Breezer

Mr Mañana
Legendary
Jul 16, 2004
3,370
539
315
i was going to add more , that was an example , it just seems like it has to work lol
 
Upvote 0

Danny-B-

LOMCN Veteran
Veteran
Sep 16, 2004
265
0
63
It would prob be easier to create an NPC to exchange the giftbox for a random item from a list.
 
Upvote 0

SoulSpirit

Dedicated Member
Dedicated Member
Dec 17, 2004
139
0
63
Danny-B- said:
It would prob be easier to create an NPC to exchange the giftbox for a random item from a list.
Yup, makes life easier for you. :htard:
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,191
30
2,796
540
it should b in there. most 1.9 features are in there somewhere. its just looking through everything.
 
Upvote 0

Mystikal

Dedicated Member
Dedicated Member
May 14, 2004
229
2
65
Just adding it to unbindlist would give you 6 of whichever item you chose when you opened the giftbox wouldn't it?
 
Upvote 0

Danny-B-

LOMCN Veteran
Veteran
Sep 16, 2004
265
0
63
It would just give you whatever ammount of the item you specify in the unbind list.

if there is an option for the giftbox in !setup.txt your better going with that option, otherwise just use an NPC script to randomly give an item from a specified list when the user hands in the giftbox.
 
Upvote 0

Breezer

Mr Mañana
Legendary
Jul 16, 2004
3,370
539
315
i aint got ingame to test it yet , using Tasha's Mirserver files (Gates dont open)
 
Upvote 0

Breezer

Mr Mañana
Legendary
Jul 16, 2004
3,370
539
315
Right tested it , i put 117 6 times with 6 different names , but just opened the first one :eh: oh well was a resonable idea that failed lol
 
Upvote 0

EvilEvil

LOMCN VIP
VIP
Mar 22, 2003
674
0
213
simple to do. in the qmanage.txt in mapquest folder add:
#IF
checkitem GiftBox 1
#ACT
take GiftBox 1
goto @random
break

[@random]
#IF
random 5
#ACT
give item1 1
break
#IF
random 5
give item2 1
break

then itll b done when the char logs out + in
 
Upvote 0

Mystikal

Dedicated Member
Dedicated Member
May 14, 2004
229
2
65
EvilEvil said:
simple to do. in the qmanage.txt in mapquest folder add:
#IF
checkitem GiftBox 1
#ACT
take GiftBox 1
goto @random
break

[@random]
#IF
random 5
#ACT
give item1 1
break
#IF
random 5
give item2 1
break

then itll b done when the char logs out + in
Didn't think of this. Nice Idea :) If you do it with UnbindList just make different types of GiftBox, GiftBox1 GiftBox2 for example and change them accordingly in Unbindlist.
 
Upvote 0

EvilEvil

LOMCN VIP
VIP
Mar 22, 2003
674
0
213
on request of matrix:

#IF
checkitem GiftBox 1
#ACT
take GiftBox 1
goto @random
break

[@random]
#IF
random 7
#ACT
give TaoStone(L) 1
break
#IF
random 7
#ACT
give DCStone(L) 1
break
#IF
random 7
#ACT
give HolyDCStone 1
break
#IF
random 7
#ACT
give HolyMCStone 1
break
#IF
random 7
#ACT
give HolySCStone 1
break
#IF
random 7
#ACT
give BenedictionOil 1
break
#IF
random 7
#ACT
give ExToken 1
break
 
Upvote 0

Breezer

Mr Mañana
Legendary
Jul 16, 2004
3,370
539
315
thannks :) , oooh is there a way that would check if you have double clicked on a item , so when u Open the GiftBox it was come up with Merry Christmas and give you the random item :eh: would be good , you could do a release for Seasonal events :D
 
Upvote 0