ID:180072
 
Hi everybody i have a stuipd newbie problem i need a shop keeper code ive tryed the Shopkeeping demo but it dosnt show the code can any one help me?
IronAlien wrote:
Hi everybody i have a stuipd newbie problem i need a shop keeper code ive tryed the Shopkeeping demo but it dosnt show the code can any one help me?

Goto your BYOND folder, look at users, whatever folders there, under that, lib i think, or myhub and the demos should be in there

Alathon
IronAlien wrote:
Hi everybody i have a stuipd newbie problem i need a shop keeper code ive tryed the Shopkeeping demo but it dosnt show the code can any one help me?

A shopkeeper code? Ok..

mob/shopkeeper
name = "Shopkeeper"


Please be a little more specific when you're asking <s>how to do things</s> for code fed to you.
In response to Alathon
Alathon wrote:
Goto your BYOND folder, look at users, whatever folders there, under that, lib i think, or myhub and the demos should be in there

Alathon

Its not there
In response to IronAlien
IronAlien wrote:
Alathon wrote:
Goto your BYOND folder, look at users, whatever folders there, under that, lib i think, or myhub and the demos should be in there

Alathon

Its not there

What directory did you try?

\BYOND\users\[you]\MyHub\[author]\[demoname]
In response to Vortezz
Vortezz wrote:
IronAlien wrote:
Alathon wrote:
Goto your BYOND folder, look at users, whatever folders there, under that, lib i think, or myhub and the demos should be in there

Alathon

Its not there

What directory did you try?

\BYOND\users\[you]\MyHub\[author]\[demoname]
this is what i did i opend DreamMaker went down to the lib flie opend it went down to spuzzum and all that was there were the s_admin(s) and the s_bubble
In response to IronAlien
IronAlien wrote:
Vortezz wrote:
IronAlien wrote:
Alathon wrote:
Goto your BYOND folder, look at users, whatever folders there, under that, lib i think, or myhub and the demos should be in there

Alathon

Its not there

What directory did you try?

\BYOND\users\[you]\MyHub\[author]\[demoname]
this is what i did i opend DreamMaker went down to the lib flie opend it went down to spuzzum and all that was there were the s_admin(s) and the s_bubble

That's not what we said to do. We told you to use Explorer, or whatever you use, and go to..

\BYOND\users\[you]\MyHub\[author]\[demoname]
In response to Vortezz
I got the coding in just fine, and i changed it to the way i wanted it, and i put my shopkeepers on the map, and when i go up to them and try to buy stuff, the give me their out of stock message.How do i give them the items i want them to sell?
In response to Robo Cop
Robo Cop wrote:
I got the coding in just fine, and i changed it to the way i wanted it, and i put my shopkeepers on the map, and when i go up to them and try to buy stuff, the give me their out of stock message.How do i give them the items i want them to sell?

Look at the included map.
In response to Spuzzum
Spuzzum wrote:
Robo Cop wrote:
I got the coding in just fine, and i changed it to the way i wanted it, and i put my shopkeepers on the map, and when i go up to them and try to buy stuff, the give me their out of stock message.How do i give them the items i want them to sell?

Look at the included map.

Included map?????
In response to Robo Cop
Robo Cop wrote:
Spuzzum wrote:
Robo Cop wrote:
I got the coding in just fine, and i changed it to the way i wanted it, and i put my shopkeepers on the map, and when i go up to them and try to buy stuff, the give me their out of stock message.How do i give them the items i want them to sell?

Look at the included map.

Included map?????

The Alternate Shopkeeper Demo is a demo, not a library. It has a map with it. On that map, is a very good example of how the shopkeepers get their stock.

(I could just tell you, but that wouldn't be as fun, now, would it? )
In response to Spuzzum
Spuzzum wrote:
Robo Cop wrote:
Spuzzum wrote:
Robo Cop wrote:
I got the coding in just fine, and i changed it to the way i wanted it, and i put my shopkeepers on the map, and when i go up to them and try to buy stuff, the give me their out of stock message.How do i give them the items i want them to sell?

Look at the included map.

Included map?????

The Alternate Shopkeeper Demo is a demo, not a library. It has a map with it. On that map, is a very good example of how the shopkeepers get their stock.

(I could just tell you, but that wouldn't be as fun, now, would it? )

Im glad you didnt tell me man, but i dont get what im supposed to look at on the map, am i supposed to select the shop keeper and go to edit and put in the items that they have? I tried, but it didnt work. Actualy, i got it to work once, it was weird, i have the GM coding stuff in my game, and i "eradicated" my shop keeper, and made another one, then it would let me buy stuff! i dont understand why it did that, but it did. Could yo ugive me an idea plz on what to look at on the map? thanx
In response to Robo Cop
Robo Cop wrote:
Spuzzum wrote:
Robo Cop wrote:
Spuzzum wrote:
Robo Cop wrote:
I got the coding in just fine, and i changed it to the way i wanted it, and i put my shopkeepers on the map, and when i go up to them and try to buy stuff, the give me their out of stock message.How do i give them the items i want them to sell?

Look at the included map.

Included map?????

The Alternate Shopkeeper Demo is a demo, not a library. It has a map with it. On that map, is a very good example of how the shopkeepers get their stock.

(I could just tell you, but that wouldn't be as fun, now, would it? )

Im glad you didnt tell me man, but i dont get what im supposed to look at on the map, am i supposed to select the shop keeper and go to edit and put in the items that they have? I tried, but it didnt work. Actualy, i got it to work once, it was weird, i have the GM coding stuff in my game, and i "eradicated" my shop keeper, and made another one, then it would let me buy stuff! i dont understand why it did that, but it did. Could yo ugive me an idea plz on what to look at on the map? thanx

From the readme (a link to which pops up when you run his demo, I don't know how you could be so stupid as to miss this, but apparently, you are. Maybe you could get money to go on one of those "World Record" shows and amaze the audience by being too stupid to carry on the processes of life at a cellular level):

To set up your shopkeeper, copy over the shopkeeper.dm
file into your game project's folder. Then, create a
shopkeeper type (like the examples given in the
examples.dm file) and then put all of the objects that
you want to be able to buy from that shopkeeper at the
shopkeeper's feet in the map editor (see demo.dmp).

You can't get much simpler than that!


In response to LexyBitch
Damn, lexy, youre a bitch. What the hell is your problem, did you think that thing you said about goin on T.V was funny? i'd think someone as smart as you would come up with something better than that. ANd when i run the demo, i still dont see a readme link thats supposed to pop up. So, i guess i must be blind, and stupid huh?
By the way, thanx for the help.
In response to Robo Cop
Robo Cop wrote:
Damn, lexy, youre a bitch. What the hell is your problem, did you think that thing you said about goin on T.V was funny? i'd think someone as smart as you would come up with something better than that. ANd when i run the demo, i still dont see a readme link thats supposed to pop up. So, i guess i must be blind, and stupid huh?
By the way, thanx for the help.

I have a very strange sense of humor. I think the automaton/difference engine section of the GURPS Steampunk worldbook is hilarious (it's the standard GURPS robot and computer rules, adapted for clockwork and steam power) is hilarious. I didn't think the comment about going on TV was funny, though. I just thought it was appropriate. Even if you didn't get the link when you ran the demo, the first thing you should look for when you download anything is a file labelled "readme."

You didn't read the instructions. When Spuzzum suggested you looked at the map, you did... but you didn't look very hard. As far as Spuzzum being more specific... specifically, you were supposed to look at the shopkeeper. It's a shopkeeper demo. What did you think you were supposed to look at?

Your conclusion was that you have to add the items to the shopkeeper with the instance editor... if you had actually looked at the shopkeeper on the sample map, you would've seen that he has no items in his instance. You also would've noticed the pile of goods at his feet. (Note: I'm guessing about both of these things, since I haven't actually examined the map. But I consider it an educated guess.)

Given that there's no items in his inventory/stock in the instance editor, and a pile of items at his feet, how exactly did looking at the map lead you to reach the conclusion that you're supposed to write the items in?
In response to LexyBitch
LexyBitch wrote:
Robo Cop wrote:
Damn, lexy, youre a bitch. What the hell is your problem, did you think that thing you said about goin on T.V was funny? i'd think someone as smart as you would come up with something better than that. ANd when i run the demo, i still dont see a readme link thats supposed to pop up. So, i guess i must be blind, and stupid huh?
By the way, thanx for the help.

I have a very strange sense of humor. I think the automaton/difference engine section of the GURPS Steampunk worldbook is hilarious (it's the standard GURPS robot and computer rules, adapted for clockwork and steam power) is hilarious. I didn't think the comment about going on TV was funny, though. I just thought it was appropriate. Even if you didn't get the link when you ran the demo, the first thing you should look for when you download anything is a file labelled "readme."

You didn't read the instructions. When Spuzzum suggested you looked at the map, you did... but you didn't look very hard. As far as Spuzzum being more specific... specifically, you were supposed to look at the shopkeeper. It's a shopkeeper demo. What did you think you were supposed to look at?

Your conclusion was that you have to add the items to the shopkeeper with the instance editor... if you had actually looked at the shopkeeper on the sample map, you would've seen that he has no items in his instance. You also would've noticed the pile of goods at his feet. (Note: I'm guessing about both of these things, since I haven't actually examined the map. But I consider it an educated guess.)

Given that there's no items in his inventory/stock in the instance editor, and a pile of items at his feet, how exactly did looking at the map lead you to reach the conclusion that you're supposed to write the items in?

You assume too much lexy, i actualy DID see the pile of goods on the map in the shopkeeper demo, but i didnt really think anything of it, i just thoguth that some other kid put it there. I thought it would a lot harder to put an item in a shopkeepers inven. than to just put it under him/her's feet. Yeah, it was kinda stupid of me not to try it, but i thought it would be stupid of me TO try it.
In response to Robo Cop
When i put in the shopkeeper coding, an inventory panel takes over my stat panel, and i cant get both of them up there at the same time, i tried putting this everywhere under the stats;
set category = ("Stats")
but it didnt work. How do i get both up there at the sametime?
In response to Robo Cop
Robo Cop wrote:
When i put in the shopkeeper coding, an inventory panel takes over my stat panel, and i cant get both of them up there at the same time, i tried putting this everywhere under the stats;
set category = ("Stats")
but it didnt work. How do i get both up there at the sametime?

This normally doesnt happen, basically your setting it up wrong. Your either declaring Stat() twice, or something else. The category is what the statpanel is (like)

statpanel("Score")
stat("Str", str)
stat("Dex", dex)

until a new statpanel is defined, everything under statpanel("Score") belongs to it.

Alathon
In response to Robo Cop
You assume too much lexy, i actualy DID see the pile of goods on the map in the shopkeeper demo, but i didnt really think anything of it, i just thoguth that some other kid put it there. I thought it would a lot harder to put an item in a shopkeepers inven. than to just put it under him/her's feet. Yeah, it was kinda stupid of me not to try it, but i thought it would be stupid of me TO try it.

You're right, I did assume too much. I assumed you were a little smarter than you actually are.

Let me explain it to you, in very simple terms. That map is the map that Spuzzum made, to demonstrate how his shopkeeper code works (for people to stupid to read the file clearly labelled "readme", or for people who simply need a visual demonstration.) There is nothing on that map, except for things that Spuzzum put there. Spuzzum made the map, and uploaded it on the hub. He didn't make the map, pass it around and let other people add in random things, then upload it. He just uploaded it.

Spuzzum told you to look at the map, that it would show you were to put the items. There were no items in the shopkeeper's inventory. There were no items anywhere, except on the floor. How did you look at that map and conclude that you needed to do anything but put items on the floor? What exactly was your thought process?

And for the record, yes, adding items to a shopkeeper's inventory is harder than that. Spuzzum wrote this code in order to make things simple. Why did you expect a hard solution when you were downloading a tool designed to make it simple?

If I haven't told you this before, I'm telling you now, emphatically. Stop what you're doing. Stop working on whatever game you're making. Do some of the simpler tutorials. Read all of the reference material available. Learn what you're doing. Learn how the system works. Until then, you'll never get anything but a crappy, second-rate, buggy game that doesn't work all the time and you'll never understand why.

I'm not being mean. I am being nice. Mean would be if I just ignored you and let you suffer in your own ignorance and frustration. I'm telling you how you can end the frustration, and find answers to all of your questions at once, instead of just solutions you don't understand to problems you don't understand.
In response to Alathon
mob//This is the player//
var//this will start a var list//
Health=100//This Shows that the var health has a value of 100//
Level=1//this shows that the var Level has a value of one//
Statup=0//This Shows that the Statup var has a value of Zero//
Exp=0//This Shows that the var Exp has a value of Zero//
MaxHealth=100//This Makes a Max Health var witch Will be used later//
MaxExp=100//This Makes a Max Exp var which will be used later//
//You can make as many vars as you want using this method//
Ki=50

//Now to make a stat panel so the player can see What there Level and Exp//
Stat()//This shows that you are starting a stat panel//
statpanel("Stats")//This Names the statpanel Stats//
stat("Health","[usr.Health]/[usr.MaxHealth]")//This Names the First thing on the Statpanel Health and makes it show the users Health and Max Health on the same line which looks like this 100/100//
stat("Level",Level)//This Names the Second stat on the panel Level and the , then the word Level show you are using the var Level//
stat("Experience","[usr.Exp]/[usr.MaxExp]")

THeres the coding im using, i dont think i have Stats defined twice, can you see a problem in it?
Page: 1 2