DLL gamemode core
#1

Hello,
I am pretty new in SA-MP servers creating and pawn programming, I am planning to create gamemode with something like real economy, where there is allways same amount of money in system. So nothing is created out of air. I'm not bad in C++ programming, and I know that plugins are written in C or C++ (because of .dll extension, am I wrong?). So I am thinking about writing my gamemode logics in C++ and create dynamic library something like framework for pawn and then a simple and short script would be enough for my gamemode (because 50k+ lines of code for me is too complicated for fast orientating in script). Also it should work faster (if code is written optimized of course) that's why server should carry more players. So is it possible and is worth?
Sorry for my bad English it's not my native language And thank's for answers in advance.
Reply
#2

That's not to a bad idea, the constant economy money effort. I might try writing that later, would be complicated giving the government X starting money but giving X to each new player, not to mention tax refunds/paydays.etc and the worry of not enough money returning to the bank, and then having to work out interest and where that money would come from, then there's the problem of account farmers and the users that quit right away, then there's that "rich guy" who never spends a dime and holds most of the servers economic power, not to mention what you do once the government goes bankrupt, you'd have to have some sort of tax failsafe to bail the server out, and cut off the paydays for a while, you know what. I think I might hold off on this until I can scribble all the ideas down onto a notepad.
Reply
#3

Yeah, it's possible with SA-MP Game Development Kit. I am also re-writing my godfather script on sa-mp gdk which will be released soon as the template of roleplay for sa-mp gdk.
Reply
#4

I have something like plan, there will be taxes for your owned property, cars and bank money, the more you have the higher taxes needs to be paid. About inactive players, they also needs to pay taxes thats why some day they wont have any money. When inactives has no money there isn't such a problem. And also if central bank would be about bankrupting super admin can raise taxes for several weeks to raise central bank's treasury (or some other ways to get back to normal economy)
Reply
#5

Quote:
Originally Posted by insaneHDD
View Post
I have something like plan, there will be taxes for your owned property, cars and bank money, the more you have the higher taxes needs to be paid. About inactive players, they also needs to pay taxes thats why some day they wont have any money. When inactives has no money there isn't such a problem. And also if central bank would be about bankrupting super admin can raise taxes for several weeks to raise central bank's treasury (or some other ways to get back to normal economy)
Actually, it's better to keep your ideas with yourself. What C++ can do, PAWN can do it. TBH, PAWN can also be made Object-Oriented which I think Y_Less is doing. Anyways it's up to you to decide.
Reply
#6

I don't see that very appealing from a players point of view, going on two weeks vacation and coming back to find I have lost a nice chunk of money.

EDIT: If your going to be giving money from the bank, as well as taxing the money, Unless your taxes are higher than your paycheck, your going to need a way to bring in money to keep the economy flourishing but not so much as to inflate it.
Reply
#7

Quote:
Originally Posted by T0pAz
View Post
Actually, it's better to keep your ideas with yourself. What C++ can do, PAWN can do it. TBH, PAWN can also be made Object-Oriented which I think Y_Less is doing. Anyways it's up to you to decide.
I'm studying programming and these projects for me is only for fun so I'm not going to make some money from it. Therefore if someone will use my idea it's fine because more different servers, more interesting game becomes
Reply
#8

Quote:
Originally Posted by insaneHDD
View Post
I'm studying programming and these projects for me is only for fun so I'm not going to make some money from it. Therefore if someone will use my idea it's fine because more different servers, more interesting game becomes
Then I would say go for C++. Do some courses and stuffs. There are some interesting books on Ebay which may interest you in further programming world. Good Luck!
Reply
#9

Quote:
Originally Posted by T0pAz
View Post
What C++ can do, PAWN can do it.
Oh? How so?
Reply
#10

Quote:
Originally Posted by Gh05t_
View Post
Oh? How so?
I think he ment whant pawn can do c++ also can because pawn is based on C(C++/C# i don't know exactly) language.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)