MudBytes
» MUDBytes Community » Codebase Specific » DikuMUD » SMAUG » PShops {FotE 2.1.4}
Pages: << prev 1 next >>
PShops {FotE 2.1.4}, Mah?
Grube
Fledgling






Group: Members
Posts: 6
Joined: Nov 2, 2009

Go to the bottom of the page Go to the top of the page
* #1 Posted Nov 17, 2009, 3:29 pm

Ok, I am looking for a pshop code that'd work with FotE 2.1.4. I have seen a few, but their creators aren't the sharing kind, lol. Understandably, especially since its a lot of hard work. Since we're currently looking for a full time coder, Galactic Horizons is suffering a little in the code development area, hehe. I have searched here, mudconnect, topmudsites and the swfote site. Nothin!

Any help would be nice!

Grube,
Owner, SW:Galactic Horizons
frostmud.com:8105
galactichorizons.freeforums.org
.........................
Grube,
Owner, SW:Galactic Horizon
frostmud.com:8105
galactichorizon.freeforums.org

Mudder
Conjurer






Group: Members
Posts: 196
Joined: Oct 17, 2009

Go to the bottom of the page Go to the top of the page
#2 Posted Nov 17, 2009, 4:47 pm

I don't know anything about FotE but it couldn't be too difficult to take existing pet shop code from a similar base and convert it to work, using regular shops as an example.

Might take a lot of tweaking and experimenting, but I did similar without any formal coding knowledge.
.........................
A wise man once said:
Never underestimate a newbie coder and the sheer amount of spare time they may accumulate.


JohnnyStarr
Wizard






Group: Members
Posts: 550
Joined: Feb 14, 2009

Go to the bottom of the page Go to the top of the page
#3 Posted Nov 17, 2009, 6:52 pm

I might be able to lend a hand for the heck of it, PM me and I'll take a look.
.........................
Current Development: Lunacy (a Lua powered Merc project)

Hanaisse
Apprentice




Group: Members
Posts: 39
Joined: Jun 16, 2007

Go to the bottom of the page Go to the top of the page
#4 Posted Nov 17, 2009, 8:51 pm

Looking at the SW:FotE 2.1.4 in the code repository here, the shops.c file already has pshop code.
.........................
aka: Hana
Owner in training of:  Fury of the Gods

Grube
Fledgling






Group: Members
Posts: 6
Joined: Nov 2, 2009

Go to the bottom of the page Go to the top of the page
#5 Posted Nov 18, 2009, 1:13 pm

{NOTE: I am not a coder, hehe}

I saw the pshop lines in shops.c, but there are no shop commands in game. and no do_ANYTHING for shops. Like I said, I'm not a coder (mine was fired, long story) so it's like speaking chineese at me, heh. JohnnyStarr said he'd help me and give it a look, tho! I'm going to try connecting with him. Thanks, guys! I'll keep posting here so the community at large will know what's up.
.........................
Grube,
Owner, SW:Galactic Horizon
frostmud.com:8105
galactichorizon.freeforums.org

Hanaisse
Apprentice




Group: Members
Posts: 39
Joined: Jun 16, 2007

Go to the bottom of the page Go to the top of the page
#6 Posted Nov 18, 2009, 2:05 pm

You don't need to be a coder (I'm far from one myself). You just need to know basic building.

The following are instructions for Smaug but should work for FotE.

CREATE A PET SHOP
---------------------

- Create a room using GOTO.
- Use REDIT to set all the normal parameters, and set with a ROOMFLAG of PETSHOP.
- Create a mob to act as shopkeeper setting all the normal parameters. There are no special flags required, typically just set as sentinel, pacifist.
- GOTO the next vnum to create the 'stable' where the pets are kept. (The stable MUST be the next vnum from the petshop) This room should be flagged with NOMOB SOLITARY NOSUMMON NOASTRAL and PRIVATE with no exits.
- Create animal mobs you want as pets. They should be set with ACT FLAGS PET. Load into the stable.
.........................
aka: Hana
Owner in training of:  Fury of the Gods

Grube
Fledgling






Group: Members
Posts: 6
Joined: Nov 2, 2009

Go to the bottom of the page Go to the top of the page
#7 Posted Nov 18, 2009, 3:32 pm

OH! I meant PLAYER shops, hehe. Ya, we has pet shops. My bad, universal term for pshop must be mixed
.........................
Grube,
Owner, SW:Galactic Horizon
frostmud.com:8105
galactichorizon.freeforums.org

Mudder
Conjurer






Group: Members
Posts: 196
Joined: Oct 17, 2009

Go to the bottom of the page Go to the top of the page
#8 Posted Nov 18, 2009, 4:33 pm

Player shops meaning regular shops where players can buy eq, OR shops where players themselves are the shopkeep?

EDIT:
You don't need to be a coder to code. Just a high tolerance/patience for mistakes and a will to learn. I learned more from toying around with MUD code and a buddy to guide me in the right direction in the beginning than I learned from reading a C++ book. The book became mostly for review purposes and to fill the occasional gap.

...Now I just need to get an intermediate book.
.........................
A wise man once said:
Never underestimate a newbie coder and the sheer amount of spare time they may accumulate.


Last edited Nov 18, 2009, 4:34 pm by Mudder
Skol
Sorcerer






Group: Members
Posts: 465
Joined: May 17, 2006

Go to the bottom of the page Go to the top of the page
#9 Posted Nov 18, 2009, 5:56 pm

Mudder, I'm guessing he means shop owned by player, since the other kind is stock in any Diku-deriv.
.........................
-=-=-=-=-=-=-=-
Skol/Dave/Zivilyn

http://www.ansalonmud.com/images/ansalon_banner_2008.jpg
www.AnsalonMUD.com

Ansalon & Rom Builders Guide
Rom Area Sanctuary

Grube
Fledgling






Group: Members
Posts: 6
Joined: Nov 2, 2009

Go to the bottom of the page Go to the top of the page
#10 Posted Nov 18, 2009, 7:26 pm

Yes, where players buy a mob for shopkeeper, and can sell their crafter or scavenged goods. There are a couple of snippets out there, but the creators aren't sharing =(

And that's what I want, is a buddy to guide me the right way, but no one wants to help me there, heh. Oh well. I'm taking C/C++ this spring.

EDIT:
And thanks for all the replies and help!
.........................
Grube,
Owner, SW:Galactic Horizon
frostmud.com:8105
galactichorizon.freeforums.org

Last edited Nov 18, 2009, 7:26 pm by Grube
Davion
Idle Hand




Group: Administrators
Posts: 1,188
Joined: May 14, 2006

Go to the bottom of the page Go to the top of the page
#11 Posted Dec 7, 2009, 9:27 am


Grube said:
Yes, where players buy a mob for shopkeeper, and can sell their crafter or scavenged goods. There are a couple of snippets out there, but the creators aren't sharing =(

And that's what I want, is a buddy to guide me the right way, but no one wants to help me there, heh. Oh well. I'm taking C/C++ this spring.

EDIT:
And thanks for all the replies and help!


Ya know, for a shop like that, where it's just a mob, all you have to do is have an immortal set it up. Shouldn't take more then a few minutes, and you can always make sure to regulate things that way, instead of having someone take advantage over an automated system.
.........................
http://mudbytes.net/mudbytessignature-davion2.png

Kayle
Wizard






Group: Members
Posts: 979
Joined: Nov 27, 2006

Go to the bottom of the page Go to the top of the page
#12 Posted Dec 7, 2009, 11:35 am

The point is to be automated, so that the staff can continue to focus on getting new content out.

I had a copy of the system Grube is looking for at some point, I'll have to poke around and see if I can find it again.
.........................
Owner/Coder                                                            Coder
Malevolent Whispers                                                  Star Wars: The Sith Wars
{Development Phase - Not accepting players}            Open Alpha - Players Welcome - Full System Re-writes Imminent.
IMC2 Contact: Kayle@MW                                       

FUSS Project Team Lead
SmaugMuds.Org - The Smaug MUDs Community Center

Skol
Sorcerer






Group: Members
Posts: 465
Joined: May 17, 2006

Go to the bottom of the page Go to the top of the page
#13 Posted Dec 7, 2009, 2:41 pm

One thing when it does go in, make sure to disallow stocking of items that are no-remove, keys, those kinds of things (perhaps items with timers etc). I've ran into that in my own game and had to make exceptions.
.........................
-=-=-=-=-=-=-=-
Skol/Dave/Zivilyn

http://www.ansalonmud.com/images/ansalon_banner_2008.jpg
www.AnsalonMUD.com

Ansalon & Rom Builders Guide
Rom Area Sanctuary

Pages:<< prev 1 next >>

Valid XHTML 1.1! Valid CSS!