Can this script be used?

Content and general development discussion, including maps, quests, and server code from the development team.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Can this script be used?

Post by Crush » Fri Mar 14, 2008 10:56 pm

Interest rates for money stored in a bank would maybe be a bad idea economy-wise. Most MMORPGs have a problem with an ongoing inflantion because more and more money comes into the game. Any game mechanics which generate money from nothing would worsen this problem.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
lost_soul
Peon
Peon
Posts: 30
Joined: Mon Dec 03, 2007 11:10 pm

Re: Can this script be used?

Post by lost_soul » Fri Mar 14, 2008 11:21 pm

That thought did cross my mind. But I didn't really foresee it being too much of a problem, at least short term. In other MMPORG's there are many many more people that are actively participating. In TMW, I would have to say there is a mere fraction of the community compared to Second Life or Warcraft. There would have to be set market caps for the price of item's that drop from monsters, based upon the frequency that they drop, and the level of the monster that drops them. Rare items, as they do now, would have an open market, and would go to the highest bidder.
Interest earned in a Bank wouldn't be high .05-5% WPY, and safe guards would be in place, like withdrawal before maturity causing one to forfeit the interest. Also, account's left unattended for too long, would result all money being absorbed by the Bank. There would also be a minimal level that one would be able to open an account, preventing a flood of new players opening accounts, or people using multiple accounts to accrue more interest with inter-player money transfers. (A major problem I have noticed currently, multiple accounts for one person, so that they can acquire multiple items which they can normally only obtain once from quests or events). With those safe-guards in place, a player would have to be actively playing, and monitor their account. It wouldn't be fool proof, but I think that it would be good enough to implement, and wouldn't cause a sharp rise in inflation.
(It's not like players are required to eat food in this game in order to stay alive...I can see it being problematic in a system where the players depended upon a certain commodity in order to survive....with inflation causing a rise in the price of food, and subsequent troubles for new players and players alike, and the formation of groups controlling the supply and price and ultimately the entire economy!!.......that scenario sounds vaguely familiar to me, I wonder why.......? :wink: )

(forgot I was going to mention something else)
You could always add an income tax as well as a sales tax! Heh, but that may be a bit over-board for a game, but I think it would be quite interesting to gather statistics on it, I imagine you could write a thesis on TMW micro-economy, any CS grad students want to take on a project?? lol :lol:
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: Can this script be used?

Post by Jaxad0127 » Sat Mar 15, 2008 5:11 pm

Another option would be a bank fee instead (like 5% every day). To make players want to use the bank, death could take a chunk of the gold you have with you (or all of it) so using the bank would be in your interest. We could also add checkpoints on the map that take a certain percentage of the money you have with you to get through.
Image
User avatar
Sertraline
Novice
Novice
Posts: 128
Joined: Sun Dec 02, 2007 4:29 am
Location: Austin, TX, USA

Re: Can this script be used?

Post by Sertraline » Sun Mar 16, 2008 9:46 am

jaxad0127 wrote:Another option would be a bank fee instead (like 5% every day).
Man, if you're basing this idea off of real life exerience, you have got to get a new bank.
User avatar
Superkoop
Novice
Novice
Posts: 265
Joined: Mon Feb 11, 2008 1:09 am
Location: South Dakota in the US of A
Contact:

Re: Can this script be used?

Post by Superkoop » Sun Mar 16, 2008 7:53 pm

lost_soul wrote: (I have grandiose ideas for a TMW mini-economy and stock market based upon players trade, the Bank idea is only one of such ideas I have)
I gotta say, the idea of a stock market in the game, sounds pretty sweet.

Although the only way I can really see a bank being useful is if loans are implemented. And all the money that is earned via interest from investors, would then come form the people that need loans.
And the only way I can see loans having a purpose, is if really big expensive items are sold, ie horses, houses, or boats.
Otherwise I can't see a bank having a real purpose.

I think this economy business in the game is going to take a lot of thinking over to get it right. So we best not implement interest unless we come up with a way to take money out of the system.
In game I am Xaru
On forums I am Superkoop
IRL I am John
-View World map-
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

Re: Can this script be used?

Post by leeor_net » Mon Mar 17, 2008 11:40 pm

The idea of an economy is fabulous, actually. I can tell you this much, however -- it will require a lot of time and effort to program properly. It may also require database changes which could take some time (unless the quest table could be used but I can see that turning into a maintenance nightmare).

Also,
It is an eathena script, but the new game is not finished yet; why not enjoy something while it is there?
Why bother when the eAthena server is getting buried soon? Nothing that's developed for the eAthena server is going to be useful (in terms of scripts) so why not instead develop that script in Lua using the SVN versions of the Client/Server? If you need to, I can send you a complete binary of both the Client and Server so you can test the script as you work with it.
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
lost_soul
Peon
Peon
Posts: 30
Joined: Mon Dec 03, 2007 11:10 pm

Re: Can this script be used?

Post by lost_soul » Tue Mar 18, 2008 12:26 am

Yes, it certainly wouldn't be something that you could script in an afternoon, and would require careful planning and yeah you would have to have a database for all the data created.

I've been playing around with LUA, trying to learn it's secrets....found that it is quite different that python (the only other scripting language i have some knowledge of). It seems quite powerful, but tricky, much different that what I am accoustommed to.

Perhaps, those with LUA expertise can provide some good pointers, or lend assistance.
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

Re: Can this script be used?

Post by leeor_net » Tue Mar 18, 2008 12:51 am

I'm not a Lua expert but I can say this much: It's very much like both C and BASIC. It has C-like keywords but is typeless and follows a syntax similar to BASIC (e.g., If - Then - Elseif - End).
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
lost_soul
Peon
Peon
Posts: 30
Joined: Mon Dec 03, 2007 11:10 pm

Re: Can this script be used?

Post by lost_soul » Tue Mar 18, 2008 1:24 am

yeah, the typless thing is what I had to get used to, and the way that tables are used to represent most aggregate types, and white-space insensitivety etc...
> i = 7
> i, x = i+1, i
> print(i, x)
8 7
User avatar
leeor_net
Novice
Novice
Posts: 180
Joined: Sun Feb 03, 2008 10:17 am
Location: Ohio, USA
Contact:

Re: Can this script be used?

Post by leeor_net » Tue Mar 18, 2008 1:30 am

> i, x = i+1, i
That's the part that gets me every time. It can be completely confusing if one is not familiar with the language. At the same time, from a programmers' point of view, it's an extremely powerful way of assigning values without needing a rediculous number of assignment operations. For example, I use the following line of code in one of the scripts I've been working on:

Code: Select all

local fragRed, fragBlack, fragBlue, fragPurple, fragGreen, fragYellow, fragClear, fragGrey, fragWhite = tmw.chr_inv_count(ch, 15001, 15002, 15003, 15004, 15005, 15006, 15007, 15008, 15009)
Without that kind of functionality, I'd need at least 9 lines of code to get the same result. This is relatively clear and extremely consise/efficient. So thumbs up from me! :)
- Leeor

"Oh, no thanks. I ate a boulder on the way in." - Shrek
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Can this script be used?

Post by Crush » Tue Mar 18, 2008 1:47 pm

Functions returning more than one value is one thing I still have to get used to. I can't remember that I ever worked with a programming language which allowed this.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Saphy
Novice
Novice
Posts: 371
Joined: Thu Nov 09, 2006 7:32 pm

Re: Can this script be used?

Post by Saphy » Sat Mar 22, 2008 9:06 pm

Crush wrote:Interest rates for money stored in a bank would maybe be a bad idea economy-wise. Most MMORPGs have a problem with an ongoing inflantion because more and more money comes into the game. Any game mechanics which generate money from nothing would worsen this problem.
It is only a problem if the interest rate is high. We can have fixed term interest (cannot be withdraw until term is full) with rate inversely proportional to the gold deposited. For example, with 1000 gold, the interest rate is 8%, with 10,000 gold, the interest rate is 3%, 100,000 1%, 1,000,000 0.5%, 10M 0.2%... etc...

And gold can be used for many things beside buying food or equipments. Maybe we can have stats reset, more monster spawn, etc...
Blamoo
Peon
Peon
Posts: 98
Joined: Fri Feb 03, 2006 11:07 pm

Re: Can this script be used?

Post by Blamoo » Sun Mar 23, 2008 5:23 pm

The "input" function isnt implemented on tmw... the client crashes...

92
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Can this script be used?

Post by Crush » Mon Mar 24, 2008 6:06 pm

A feature which has to be adjusted so much that it has almost no effect on the gameplay is usually broken in the first place.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Re: Can this script be used?

Post by Rotonen » Wed Mar 26, 2008 11:28 pm

How about a fund out of which you cannot withdraw money, but you get the profits?

The profits should somehow be tied to the inflation rate. Defining the inflation rate could be a bit troublesome, though.
This message used to be meaningful.
Post Reply