PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
StartingGold=100
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Fri Mar 10, 2006 12:05 pm    Post subject: StartingGold=100 Reply with quote

In the past couple years working with pol. I've never found this line or anything that I can set the amount of gold when a new char is created.

Could do a search for gold when the players created, destroy it and create the amount that I want. But that's a little bit unnecessary...

maybe a new line in servspecopt.cfg; StartingGold=100?

Author Message
Firedancer



Joined: 03 Feb 2006
Posts: 104
Location: Austria

PostPosted: Fri Mar 10, 2006 1:40 pm    Post subject: Re: StartingGold=100 Reply with quote

Unreal wrote:
In the past couple years working with pol. I've never found this line or anything that I can set the amount of gold when a new char is created.

Could do a search for gold when the players created, destroy it and create the amount that I want. But that's a little bit unnecessary...

maybe a new line in servspecopt.cfg; StartingGold=100?


yikes please don't.... such stuff in the server config would be really weird, this isn't a sphere shard, is it?
but uhm, I could swear there's a script that defines what new chars get and which you can customize - maybe it's in the oncreate script already?
http://poldoc.fem.tu-ilmenau.de/scripttypes.php#oncreate.ecl

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Fri Mar 10, 2006 3:41 pm    Post subject: Reply with quote

What does sphere have to do with this? lol.

It's not in;
starteqp.cfg - nothing
oncreate.src - nothing
starteqp.inc - nothing
POL Docs - nothing

I've checked 100 times.

I'd rather it be editable so I can turn it off or set the amount and not have the core handle it. And if the core handles it, why? core doesn't handle creating starting equipment.

And another thing, dunno if this is possible. What about right after creating a char, the cloths they're wearing, dagger, short pants, shirt. anyway to change that without having to make a script destroy, create and equip new cloths? nvm there's not. Laughing

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 523

PostPosted: Fri Mar 10, 2006 8:02 pm    Post subject: Reply with quote

Starting money?
I have never been bothered that the core doesn't override the starting gold. For years I have had a few lines in oncreate.src that immediately spends that gold and replaces it with the amount I want.

Quote:

// get rid of their newbie gold replace with 500gp
character.spendgold(100);
CreateItemInBackpack(character, UOBJ_GOLD_COIN, 500);

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Fri Mar 10, 2006 8:05 pm    Post subject: Re: StartingGold=100 Reply with quote

Unreal wrote:
Could do a search for gold when the players created, destroy it and create the amount that I want. But that's a little bit unnecessary...


yeah I know... it's one of those things that should not be handled by the core.

Author Message
melanius
Site Admin


Joined: 28 Jan 2006
Posts: 37
Location: Greece

PostPosted: Fri Mar 10, 2006 9:20 pm    Post subject: Reply with quote

I agree that this should be removed and pass the handling on onCreate script.

Can't think of any reason it should.

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Sat Mar 11, 2006 12:20 am    Post subject: Reply with quote

I'll be very happy if this happends.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sun Mar 12, 2006 6:47 pm    Post subject: Reply with quote

Well, let's look at this.

Could be done a few ways. Do away with gold/clothes/dagger totally, OR a config entry somewhere to set the amount of Gold.

Let's hear a LOT of feedback, I want to know what a lot of people have to say about this. Pros and Cons both. Maybe even a flag to enable/disable it (enabled by default). Let us know ppl.

Author Message
nevalon



Joined: 07 Mar 2006
Posts: 39
Location: Poland

PostPosted: Sun Mar 12, 2006 7:22 pm    Post subject: Reply with quote

IMO everything controlled by oncreate srcipt is the best option.

Author Message
Beaud



Joined: 14 Feb 2006
Posts: 41
Location: Québec, Canada

PostPosted: Sun Mar 12, 2006 7:36 pm    Post subject: Reply with quote

It shouldnt be specified anywhere anyway, there is no need for flags or options, lets just say, delete it from the core. Its not very hard to edit starteqp.inc. Add it in the distro but nothing more.

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Sun Mar 12, 2006 8:35 pm    Post subject: Reply with quote

I think there should be a type of CFG file for this, atleast for the cloths. Reason for this is because we'd have to create the item in the backpack, or elsewhere and then equiped it, while the core could create them already equiped like it does now. So the cloths on the character don't just randomly appear. Or the player sees them created in their backpack then equiped.

I agree with you guys too. So, as long as I have control over it. I'm all for it.

Author Message
Tritan



Joined: 04 Feb 2006
Posts: 136
Location: Illinois, USA

PostPosted: Sun Mar 12, 2006 9:18 pm    Post subject: Reply with quote

I would like to see the starting gold only removed from the core. The rest I sort of handle through scripts anyway, at least most of it. I do not see the problem with the clothes though. Leave that alone if possible.

Author Message
Danielle



Joined: 07 Feb 2006
Posts: 97
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Mar 13, 2006 6:34 pm    Post subject: Reply with quote

All removed and controlled through oncreate

Author Message
melanius
Site Admin


Joined: 28 Jan 2006
Posts: 37
Location: Greece

PostPosted: Tue Mar 14, 2006 12:53 pm    Post subject: Reply with quote

Scott,

maybe at a flag option to let the core handle is 1/0,

If its set to 0, let the user do whatever he wants, onCreate script.

Maybe users could define the equipment in an array and iterate through it to control the "dressing" sequence.

Author Message
Zacharias



Joined: 08 Mar 2006
Posts: 16

PostPosted: Tue Mar 14, 2006 1:07 pm    Post subject: Reply with quote

If it's possible to create chars by webinterface in pol96 or further versions, there should be an option to deactivate clothing, because it would be nice to script a complete own system.

otherwise deleting all items by script is better, because many people want to keep the osi-style creation system. Don't know how this would be possible (packet-hook?), if the core doesn't handle it anymore...

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096 All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty