View Full Version : 666 sample items in shop
Steve
November 23rd, 2011, 01:54
This is 100% correct for 666, idk about other revisions. Anyway here it is:
ActionSender.sendConfig(player, 1496, 23); //the 23 can change to like all kinds of crazy numbers
ActionSender.sendAMask(player, 0, 100, 620, 26, 0, 1150); //so can the 100, but dont go too low
ActionSender.sendItems(player, 23, freeItems, false);
iRepo
November 23rd, 2011, 01:55
First 666 Config released.
Impressed, I am.
Awesome, this is.
Vesta Main
November 23rd, 2011, 01:55
Nice o_O. Seen this on one server only I think.
Steve
November 23rd, 2011, 01:55
First 666 Config released.
Impressed, I am.
Awesome, this is.
It'll really only be useful for Emperor. Although this will work for 562 probably too.
iRepo
November 23rd, 2011, 01:58
It'll really only be useful for Emperor. Although this will work for 562 probably too.
Or Dragonkk.
Anyway, after studying it, I have realized...
It would work with 562 (assuming you'd have the methods in ActionSender)
Steve
November 23rd, 2011, 01:59
Or Dragonkk.
Anyway, after studying it, I have realized...
It would work with 562 (assuming you'd have the methods in ActionSender)
Well you could probably get it to compile, but i mean with the older revisions interfaces could've been different or different ids could be different.
iRepo
November 23rd, 2011, 02:00
Well you could probably get it to compile, but i mean with the older revisions interfaces could've been different or different ids could be different.
Ah, you're right.
I stand corrected.
Steve
November 23rd, 2011, 02:17
Another thing for anyone interested in making shops for their server...
when you receive the action button packet when you try to buy/take an item the slot is way off because the client multiplies it or something. So for the regular items, you would divide the slot by 6 and for the sample items you can multiply the slot by .25 to get the right slots :p.
SkrilleX
November 23rd, 2011, 02:39
player.getPackets().sendConfig(1496, -1); //sample slot
That's for 562 any way....
Steve
November 23rd, 2011, 03:49
player.getPackets().sendConfig(1496, -1); //sample slotThat's for 562 any way....That makes the sample items thing go away. It's for shops that's don't have sample items.
SkrilleX
November 23rd, 2011, 05:02
That makes the sample items thing go away. It's for shops that's don't have sample items.
We'll this isn't all i have there's more to it just showing that the id is the same.
Bloodah
November 23rd, 2011, 05:16
Thanks steve! I think you released this cuz u added this to xaeron eh?
dragonkk
December 3rd, 2011, 11:32
Or Dragonkk.
Anyway, after studying it, I have realized...
It would work with 562 (assuming you'd have the methods in ActionSender)
Ive done my shops long time ago. I know full use of those configs.
Wisdom
December 5th, 2011, 04:41
Only the registered members can see the link.
Works c;
Siles
December 5th, 2011, 04:53
Nice job, Steve.
Impressive.
titandino
January 3rd, 2012, 21:24
Only the registered members can see the link.
Works c;
Dragonkk's have the interface boxes around them :P
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.