
Dominion
Members-
Posts
2,447 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Events
Everything posted by Dominion
-
Use a query to add energy = max_energy (check the names, but both are in the users table) to whoever uses the item. Not many lines needed.
-
Player online attack limit once per 5 minutes
Dominion replied to Hendrickson's topic in Requests & In Production
Is there not already an "attacklog" table? So... just use a query to check if there has been a fight between the two players in the last 5 mins. -
accept goods sent instead of just auto accept
Dominion replied to marvin's topic in General Discussion
I looked at the comment that says you need to queries (decline() 2nd page), but anyway why don't your item functions work? -
accept goods sent instead of just auto accept
Dominion replied to marvin's topic in General Discussion
There are item_add(), and item_remove() functions for mccodes. Use them. ;) -
accept goods sent instead of just auto accept
Dominion replied to marvin's topic in General Discussion
Give it a go, and I am sure people will be more then willing to help with any errors. Here is a place to start -> basic new table to store the item sent, who is sending it, the amount, and the receiver. -> send event asking if they want the item. -> basic PHP page that adds item back into one of the two users inventory's. -
Sessions timeout after a set amount of time in PHP anyway. The chances are your laptop went into hibernation saving the browser stuff, but you were not gone long enough for the actual session to expire. If you want to change this it's a PHP setting not an in game file (although you can do it via the ini_set() function in a php file).
-
Yes, otherwise the amount owed is called on every page. That aside adding a "Tax" table would allow you to add the house tax, and any other tax you want to add later on without adding massive amounts of data to an already large user table. You say a tax for more expensive items so something like VAT? That would just come off when they buy it or do you plan on storing things like that for a later payment?
-
Blocking game features could annoy users. My suggestion would be only take the house when their debt is at 75% of the homes value; the 25% left goes back into the players bank. If they wish to keep their home, and maybe take out a loan in game they need to place items as payment (so they have a reason to want to pay it off). How often do you plan on calling the debt value up? If the amount owed is going to be called on every page load (so like a players money is in order to show it) the users table would be fine, otherwise if it's only called when they plan to pay it or in the cron it's own table would be a better call. You can also use it for any future tax records if you plan on adding more taxes (e.g. gun tax).
-
From SMF? It has changed a few times since then. :p
-
This thread may help a little - http://makewebgames.io/showthread.php/37332-JS-time
-
How does a blank echo (lines 17, 22, 27 etc...) help when you debug?
-
Try the Ezrpg official website. We lost a lot of attachments when we moved forum software, but they should still have them. http://www.ezrpgproject.com/
-
To really understand this you would need to read over the licence Ezrpg comes under, http://www.gnu.org/copyleft/gpl.html . This has come up before, and I don't really remember the answer. I do however know that a donation modification have been made by some people for this engine.
-
Check the class is being called or, since it's mccodes, it's more often then not your forgetting to global $db inside the function.
-
Why would this ever be posted in the "Free modifications" area? Thread moved.
-
It's maths. Have a play until you find the formula that is right for you...
-
We don't need posts like that...
-
Sure. SomeRandomBastard?
-
You talk to the players, get potential member feedback, check if there are any games like the one you're planning etc. It's the difference between those that do a lot of research (as my guess would be few people on here do), and those that can't/won't put the time in.
-
I guess. bluegman991?
-
If you're looking to use an access database on the web there are a few options. PHP can connect although not really the best option (http://www.w3schools.com/php/php_db_odbc.asp) as can a great many languages. So what are you comfortable working with? Do you have access to the server? Why did you post here rather then in your own thread? O.o
-
Nope. Djkanna?
-
Anyone who does it for the money would have done market research, and would not be going into it blind. If they do... they would be very lucky for it to go well. Now why do people go mafia? Because most of the people who start games have played a game before, and most of their ideas are based around other sites. This is not to say everyone, but I would say 70% of games like this are ran been teenagers. With most things based around a mafia style, mccodes making it easy to copy... it's laziness. No real research when all your doing it picking up something like mcc, and adding a few things to make it 'unique'. Going with a mafia style game can of course work, and I’m not saying everyone that goes that way are lazy, however if you're basing it around top game lists then most are mcc based, and probably clones of former played games. At least as far as I see it...
-
Please don't double post especially since the last post was a minute before. There is an edit button. Is all the work yours or do you just have the right to sell it? If it's your work are you only planning to sell one copy?