[ques.] market shops in lotf

10/23/2009 14:26 .Guru#16
well i'm not hating, because coemu -- whoever coded it is alot better than me no doubt.
10/23/2009 14:32 Fish*#17
Quote:
Originally Posted by Prot0type View Post
well i'm not hating, because coemu -- whoever coded it is alot better than me no doubt.
Yea MagicMan XD
He is a pro coder XD
First coded server, but i have an idea how to add, but dont know if it is possible like that.

1:
Quote:
Make a package with what happen when click on the shopflag
Package example:
Quote:
TextBox with 2choices and a question:
Are you sure you want to set up booth here?
Yes No

Then the shop window
1 for the seller, where it says remove, when item is there
1 for the buyer, where it says buy, when item is there

When buy for CP's it says:
Are you sure you want to pay "CP's amount"
Yes No

Then it sends system message
You have successfull bought "itemname" for "price"
2:
Quote:
Then make shopflags like NPC's, so it get package when click on NPC
Dont know if it is possible like that, but it is a way to do it.
If it can work, then it could be cool.
10/24/2009 02:44 .Guru#18
you mean... packet? not package?
10/24/2009 02:52 Fish*#19
Quote:
Originally Posted by Prot0type View Post
you mean... packet? not package?
Yeah whatever, who cares:)
10/24/2009 02:54 .Guru#20
well for one, if it was that easy, someone would have already done it. vending is not one packet, but several, and the NPCs work like a ETCPacket, when you click, it brings up a button from the client, not a NPC choice/dialog. Pressing ok, would let you set up shop/sell but, noone has created a perfect script of that quite yet, i don't think.
10/24/2009 02:57 Fish*#21
Quote:
Originally Posted by Prot0type View Post
well for one, if it was that easy, someone would have already done it. vending is not one packet, but several, and the NPCs work like a ETCPacket, when you click, it brings up a button from the client, not a NPC choice/dialog. Pressing ok, would let you set up shop/sell but, noone has created a perfect script of that quite yet, i don't think.
Yeah, I didnt mean NPC dialog, but the ETCPacket.
But you have to make one for each spot?
Or only 1 is needed?
10/24/2009 03:00 .Guru#22
every NPC would have one. vending (no idea what the packet(s) is/are), i imagine several packets, would have it's own packet(s).
10/24/2009 03:06 Fish*#23
i think peoples self have to code the packet XD
10/24/2009 04:13 TaiZer#24
Send me a PM and tell me what you need exactly. I Will help you, I have it working perfectly on my server.
10/24/2009 04:31 .Guru#25
yours is lotf?