
newttster
Members-
Posts
513 -
Joined
-
Last visited
-
Days Won
14
Content Type
Profiles
Forums
Events
Everything posted by newttster
-
Looks great, Dustin! For what it's worth, because McCodes is used for a lot of text based games, maybe think about changing the names of your stats. For example, instead of strength - go with brawn. That kind of thing. Same thing with crystals ... maybe try shard or pebble or something along those lines. Use an online thesaurus for synonyms.
-
I'm not being nit picky ... I just want to make this clearer, because this was something I kept screwing up when I first started learning how to use the McCodes files. You want to make sure that when you are adding in the new amount that you state it in your code as SET RM days = RM days + amount. If you do it just as SET RM days + amount your total would end up being just the + amount.
-
What point are you trying to make?
-
Find this in attackbeat; print "You beat {$r['username']}!!<br /> You beat {$r['username']} severely on the ground. When there is lots of blood showing, you head up to the nearest 10-story building's roof and drop him over the edge. You run home silently and carefully.";<br /> Below that add <ahref='userlist.php'>UserList</a> In the same file, find this; print "<br />You earnt 3 respect for your gang!";<br /> below that add <ahref='userlist.php'>UserList</a> Find this in attackwon; print "You beat {$r['username']}!!<br /> You knock {$r['username']} on the floor a few times to make sure he is unconscious, then open his wallet, snatch \$$stole, and run home happily.";<br /> below that add <ahref='userlist.php'>UserList</a> In the same file, find this; print "<br />You earnt 2 respect for your gang!";<br /> below that add <ahref='userlist.php'>UserList</a> In the attacktake file, find this; print "and gained $expperc% EXP!<br /> You hide your weapons and drop {$r['username']} off outside the hospital entrance. Feeling satisfied, you walk home.";<br /> below that add <ahref='userlist.php'>UserList</a> In the same file, find this; print "<br />You earnt 1 respect for your gang!";<br /> below that add <ahref='userlist.php'>UserList</a> That covers all three files where you win an attack. Done.
-
It might something to do with your php. The mysql_fetch_array was depreciated in php 5.5.0 and was removed altogether in 7.0.0. So it could have something to do with your servers php. Use either mysqi_fetch_array or pdo. I don't know if that's the case here or not, but it's worth looking into.
-
Did you get any errorr messages? Anything? Any information that happened when you tried to activate the action is necessary for others to help you solve it.
-
Dustin ... you can create your own formula for how much exp you want for each time a crime is successful. For example you could base it on 15% of the players level, 2% of their current exp * 2. The forumula creation is up to you; it's limitless. Or you could just add a new field to your "Crimes" table and set a percentage there and then use that as a basis for your formula.
-
Thank you for your input.
-
If you wanted to control the econimcs in your game for selling "donator items", would you as a player be happy with a minimum and maximum selling price? Say the Donated currency is tokens. You've purchased them through paypal for advantages in the game but you need the in game currency to purchase something. The Token worth, per the game is 25,000 gold. You can sell it for a minimum of 25,000 gold, a mximum of 2,500,000 gold or anywhere in between. Would you be happy as a player with those numbers? Once you as a player where to purchase a Token off of the player market, it becomes a personal item and can't be resold. Would you be happy with that? If gifting Tokens to another player is not allowed, would you be happy with that? If you wanted to gift Tokens to another player, would you be happy with a system that allows you to buy directly (by entering the giftees ID) for them? Would you be happy with being able to sell in game items that has no minimum or maximum? Or should they have minimum and maximum prices as well? We all know that players can be very, very lazy. Would you set up shops where they can purchase items that they are too lazy to find or craft on their own? If so, would 3x the items worth be a reasonable cost to you for being lazy? Looking forward to your responses, arguements for or against, and any suggestions otherwise. Thanks!
-
I agree 100% with that, MTG. And have done so in the past. I just didn't want to confuse Oracle any further on how to do that as she seems a little confused on how to just insert the field and images into the db.
-
I've never found a chat that works well enough to stop the players from bitchin' about they can't do specific colours, they can't do this emoji or that. Bah! Too much extra work for little return. I find what usually sends the game economy way out of control is the Donator items that players want to sell. I think the easiest way to curb it is to hard code a minimum selling price to avoid player funding and a maximum selling price (usually 10x the minimum) to avoid forced inflation by the players. Do some bitch about it, yeah, they do ... but for the most part players are happy with it because they can still help their buddies selling cheap to them and they also know what the most is they can get for their item. I find it also opens mini price wars between players. Silly crap like selling it for a buck or coin less than someone else. Kind of fun to watch what they do sometimes.
-
Nice. Just for curiousity's sake ... would you be willing to share which AI system you're using. I was not even aware that such a thing is availiable. Not that I ever researched it but still. 😛 I'd like to look at it to see what it does and how different it is from what I do. Thanks.
-
The staff.php page as written, as I recall, does not allow you to put images into your items db. If I'm using images, I do it directly through the db. There is no specific code that I use for that. When accessing my db I don't use any specific "code" I just use names, etc. that make sense for that particular table/item, etc..
-
I agree. At least with Discord, it's off your site and needs less managing. From what I've seen most players these days open their own discord for the games they play and invite feloow players to join them there. I do think that having at least the forums is needed and possibly a forum designed for role players as well. Sucks, but there it is.
-
Go to your database, open the "items" table, click on the "structure" tab, under the table you will see where you can "Add column(s)". Enter 1, choose where in the table you want to place the new column and click on the "Go". When that opens up, type the name (I would use "itemimg", if you really NEED to have the phrase img) of your column under "Name", in the drop down in the next field choose text, then click save. And voila ... "img" field is now added to your items table.
-
It's a huge pain in the ass, but a lot of the successful games I've seen, have a huge role play/chat/forums community. I personally have an intense dislike for role playing. Chat is a pain in the ass. And forums are a necessary evil. That being said ... more players than not seem to enjoy all 3.
-
The itembuy.php file gives you the option of buying any number of a said item, as long as the currency is available. Try working from that file. Should be a fairly easy conversion to do what you want it to do.
-
Good grief. Did you put on your asshole hat today? It didn't seem to me that he was looking for validation. Lots of the older members of this site do not necessarily know it's open again, under new management. And the ones that do, are doing as they've always done; submitting content ... for free, I might add. Given how active the site used to be, it's not surprising that some will wonder if it's worth posting content or not, given how few visit here anymore. That is no ones fault, by any means. And I can certainly understand why someone would question if it's worth posting any helpers or not. And yes ... I put on my asshole hat. There was a nicer way you could have said what you did ... or better yet, since it didn't help or contribute to his helper module you could have just said nothing at all. And, again, yes ... I understand the irony of my own post.
-
I'm wondering if it might have something to do with the csrf functions found in the global_func file???
-
CSRF is not a built in of McCodes. The long number after string 32 is part of your config file. You might want to hide that number, it's your security code (best way that I can describe it) for your cron jobs. It's basically a key code.
-
Depending on where you live, it's a requirement (law) when dealing with people, especially when you are selling something. It not only protects the purchaser or in this case the players but also the seller or you as a game owner. And yes ... it protects you and the player, which is the whole point. I think that regardless of your games point of origin, we should all follow this policy. Just my opinion. Better to have your ass covered than not.
-
Lacuna ... I agree with what you've said about interest and fees. Easy solutions. 1) Charge quarterly banking fees. e.g. $50,000 every quarter. 2) Cap the amount on which the interest is applied e.g. 2% on the first $10,000,000 and nothing more. 3) Set up specialized investment accounts. Possible donator item. Orsino ... I haven't gone to your site to check it out yet, but I will say that just from your screen shots, it looks very busy. I would think that as a new player those examples you have posted would be very intimidating. Just my first impression.
-
Just because something is similar to MCCodes, does not necessarily lead to the fact that it is bad. Sometimes having something familiar to players makes them feel more comfortable with the game.
-
Nah. You transposed the numbers. You're 15! 😛