Grube
Apprentice


Group: Members
Posts: 17
Joined: Nov 2, 2009
|
#1 id:37718 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
|
|
|
Mudder
Sorcerer


Group: Members
Posts: 272
Joined: Oct 17, 2009
|
#2 id:37722 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.
RaM Fire Development Team. ROM from C to C++
|
|
JohnnyStarr
Wizard


Group: Members
Posts: 822
Joined: Feb 14, 2009
|
#3 id:37725 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.
|
|
.........................
"It's not the daily increase but daily decrease. Hack away at the unessential." - Bruce Lee
|
|
Hanaisse
Apprentice

Group: Members
Posts: 39
Joined: Jun 16, 2007
|
#4 id:37731 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.
|
|
|
Grube
Apprentice


Group: Members
Posts: 17
Joined: Nov 2, 2009
|
#5 id:37752 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.
|
|
|
Hanaisse
Apprentice

Group: Members
Posts: 39
Joined: Jun 16, 2007
|
#6 id:37754 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.
|
|
|
|
|
Mudder
Sorcerer


Group: Members
Posts: 272
Joined: Oct 17, 2009
|
#8 id:37762 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.
RaM Fire Development Team. ROM from C to C++
Last edited Nov 18, 2009, 4:34 pm by Mudder
|
|
|
|
Grube
Apprentice


Group: Members
Posts: 17
Joined: Nov 2, 2009
|
#10 id:37778 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!
|
Last edited Nov 18, 2009, 7:26 pm by Grube
|
|
Davion
Idle Hand


Group: Administrators
Posts: 1,422
Joined: May 14, 2006
|
#11 id:38795 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.
|
......................... 
|
|
|
|
|
|