
newttster
Members-
Posts
513 -
Joined
-
Last visited
-
Days Won
14
Content Type
Profiles
Forums
Events
Everything posted by newttster
-
Hello world. What's your favorite way to use this forum?
newttster replied to snugglecactus's topic in Introductions
There is still a fairly dedicated base but I think most of us just hang in the background. If there's something that interests us or we have some knowledge, we post. My favourite part is just reading about things people are doing, want to do. Sometimes I check old files for something that might be relevant to what I'm working on or sometimes looking for ways to incorporate ideas with mine to make something new. I keep coming back to see what's new and ... because it's familar and comfortable for me. 🙂 -
I'm trying to dis you or anything like that but you've been having issues for a long time with your game. You've looked consistently for aid to try and help you fix things. It seems that you don't have much of a handle on php or even how to fix minor issues. You mentioned in your other post that you don't want to lose your players. Did you advise your players that they are in beta testing? Again, I'm not dissing you but not many people are going to buy a game that seems to have so many apparent issues and if they do, they aren't going to pay a substantial amount for it giving the issues you've had. Don't get me wrong ... we all have to start and learn somewhere, but a lot of the starting and learning should have taken place before you opened the game. This is just my opinion and I wish you good luck in selling what you've created. Edited to add: Domain is the name you've given your game. /deadlyelite.site/ is your domain
-
You might want to record the stats they have first. They aren't going to be happy that they lost all the time they put into earning them. Or at the very least, offer them some kind of donator item to make up for it. What I don't understand is why you would even open a game before you had everything in place, having done all the testing. etc. Did you warn these players that they are taking part in beta testing?
-
Open your cpanel, look for Files, then File Manager. Open File Manager and then look through all of your files. It's listed there.
-
Open your CPanel and look under Software for your php version
-
What php is your server on? On another thread someone already suggested to you to check your version of php. Depending on which version you are using, there is no reason for Dragon Blades code or Magictallguy's code to work.
-
Just follow the instructions from the beginning of this thread step by step. Or work from the last step to the first to see what you've missed.
-
One thing to look into is csrf - cross site request forgery and csrf tokens and how they work. Cleaning all player input should be looked at as well. You could also look at PDO - php data objects. This type of php coding cleans input for you automatically or semi-automatically depending on how you use it. This is something that I'm just learning how to do myself.
-
From what I've read and have been told, the GDPR refers to "personal data only". Other than a persons email address ... what personal data are you collecting? Most players use a gaming email address as opposed to their personal one anyway. You shouldn't be collecting anything personal about anyone. Period. As for personal data related to "donations" to your game, do so through paypal or some such entity. This way the personal data is available through a 3rd party, NOT you. You would have to provide that information through your paypal account that's linked to your game but it is not and should not be data collected from the game itself. Paypal and such entities handle credit card transactions as well. Using such an entity protects you as well as the player.
-
My first question to you is ... why would you even give your players the right to delete their accounts? If they don't wan't to play or whatever, then they don't have to log in. If through your own investigation that wrong doing is being done ... then lock lock the account yourself. As the owner of the game, you can do that, you know. My second question is ... why don't you have every single player transaction copied at the time of input? As Gamble said ... have an additional field called "deleted" or "duplicate", whatever. Or better yet, have a separate table that holds that data as well. Every time a player sells something, it's recorded on an admin only table. Every time a player mails another player, it's recorded on an admin only table. Same for comments, forums, events. Any damn thing that has a record of player doing any kind of input, regardless of how mundane or stupid you think it is ... copy it to an admin only table. Example: Player A mails player B, both player A and B can see it, of course. Player A realizes that mail violates a game rule and deletes the mail that they sent assuming it would be gone forever. Nope. Because being the smart admin that you are made sure to have the exact same mail sent to your "admincopyofplayersmails" or have a file listed under the players ID "playerID123all actions" which will include sender, receiver and the mail itself. There is no reason to ever look at these files unless you are investigating something ... player harassment, rule violation, whatever. The point I'm making is that this covers your ass and theirs as well. You also make it clear to your players that every action is recorded and that their full file can be made available to them, if it is warranted. Pretty simple, huh?
-
Br3ttb ... looks like a wonderful place to be. Enjoy!
- 1 reply
-
- 1
-
-
Lovely thing to say. Glad you're happy with the way your project is going. Good luck to you!
-
You talk about being respectful, yet you call me a kid. You have no idea who I am or what I am. God complex. No. What I typed is nothing more or less than what I would have said to you face to face. If I misinterpreted your comment about your register post, I apologize. From this side of the screen, right or wrong, it looked to me like you were pouting that I didn't acknowledge your input. As for being nice, respectful and having manners ... if you look around, you'll see that I am almost always so.
-
And? I simply stated that I agreed with Kyle and Ishraq. Are your feelings hurt because I didn't call out your name for the class. Sorry about that. Here's your pat on the head and a good boy too.
-
Have to agree with Kyle and Ishraq. The best way to go is the Register page.
-
I should have made it clearer. Call the information from the columns required from your db. In this case you would call item id 25 (I'm just using a random numer). In the same query you would be asking for the value of item id 25. I'm using 50 as the value pulled when you did the query. Therefore the if $itemid=25 then the value is 50. Leaving you with If ($itemid=Y) {$new=50}. Your query would look like somethig like this; $q=$db->query("SELECT `inv_qty` FROM `inventory` WHERE `inv_itemid`='25' AND `inv_userid`='{$ir['userid']}'"); $r=$db->fetch_row($q); If ($r[inv_qty'] <=0) {"You don't have any. Use another item"}; // Always verify if there is any in the inventory and always exit the page. exit($h->endpage()); If ($r['inv_itemid']=25) {$new=$r['value']} $new will be the value of whichever item you've chosen. In this example it would be 50. In the query inv_itemid would be the item from which you want to pull the value. I hope that helps make it clearer.
-
If ($itemid=Y) {$new=50} if ( $current == $max) {"You're wasting your time. You can't have more than the maximum"} if ( ($current + $new) > $max) {"The amount you're trying to add would carry you over the maximum, which is not allowed"} if ( ($current + $new) <= $max) {"You're good to go. You now have X amount of whatever"}
-
Cosmo Crafter: The Ultimate Spatial Strategy Browser Game
newttster replied to joaomorais's topic in Game Projects
Looking good! -
Looking good, Peter. Well done.
-
Cosmo Crafter: The Ultimate Spatial Strategy Browser Game
newttster replied to joaomorais's topic in Game Projects
Nicely done! -
I found for myself the best way to start reading and learning php was to start with anything that "echo"ed. You can see what's printed to the screen. Then expand out from the echo to learn what came before and after the echo. Start with one simple thing and expand outwards. I found it also helped to write out my own notes in my own personal style so that it would be easy for me to refer back to and writing things down always helps to retain what you've seen on screen.
-
Then i would use Notepad++. It's free and easy to learn. It highlights certain things for you. If you set your preferences right it will also set it so that you brackets {}[]() double quotes and single quotes open and close automatically. Oops. I see that Veramys also suggested you get Notepad++ as well. It's a good tool for a beginner.
-
For what it's worth, when I started out I went to namecheap and got myself a domain name, then got a cheap server which allowed for crons and the right db. I learn best by seeing the results of the things I was typing into the code. I tried using WAMPP or whatever the heck it is and I could never get it to work correctly, hence the online live choice. *shrugs* It depends on how you learn best.