Jump to content
MakeWebGames

Recommended Posts

Posted

I have a few questions regarding possible security/development tactics.

In a game what should be logged?

Should just "money making" pages such as the casino be logged or all pages, or for that matter none?

Im just wondering seeing as logs can help improve the game by taking out unused pages and also improve security by seeing what the users do on each page.

Posted

I currently have a setup that logs all player transfers. I am expanding my anti cheat system by logging more of the pages the user visits, the time they visit and a few other variables. Coupled together with an algorithm it can find and detect potential cheats. A lot of things are "flagged" so to say, any high money transfers, any mass transfers within a given time are also flagged for inspection.

Posted
I assume he is getting at the storage that would be required.

Around $80 for a 1TB HDD, 1000GB, 1 million mb. That is a lot of storage for a very cheap price, and it's only going to get cheaper ^_^

Posted

I don't mean storage space lol.

Logging every action a user makes is a big task, but is it really needed?

Maybe you don't need to log every bit of info, eg: you only really need the file the user was in and how long they stayed (time).

No need to log who the user was really?

Posted
I don't mean storage space lol.

Logging every action a user makes is a big task, but is it really needed?

Maybe you don't need to log every bit of info, eg: you only really need the file the user was in and how long they stayed (time).

No need to log who the user was really?

Knowing the user(id/name) is pretty critical in banning cheaters don't you think?

Posted
The ID is needed but other info doesn't need to be stored

Or maybe flush it after x days?

id is fine, not sure why you would need the other info about the username sorry ^_^.

You should never need to delete information, if it was flushed after x days then long term patterns from players cannot be anazyled, slightly vering away from actual security and cheating, but finding patterns in peoples play could determine if they have been hacked.

I am currently working on a trail system in which you can track each transaction, then "tag" it so to say, then work out where the money ends up, generally in gaming if you hack an account and send an amount to 1 person your stupid, you want to send it to several accounts, including legit people to put the staff off the scent.

Posted

Another quick question for you guys.

How do you/would you guys ideally store the logs?

Would you append to a text file or would you go all out with database table and all?

Posted
Another quick question for you guys.

How do you/would you guys ideally store the logs?

Would you append to a text file or would you go all out with database table and all?

Possibly store it in the database for x days then backup to a text file

Or just go with appending to a txt file. Would be much simpler

Posted (edited)
The Best anti cheats are in house, private development, otherwise cheats can just read your code, and use techniques that specifically avoid what the "bot" looks for.

Quite right! Though, a collab for idea sharing might not be a bad idea ;)

Skype's on my profile :)

 

Possibly store it in the database for x days then backup to a text file

Or just go with appending to a txt file. Would be much simpler

You'll be storing a lot of information. Why not use the database for what it was intended? Information storage!

My transaction log uses 1 table, is currently full of around 64,000 rows and working through it to get the information I need is 1 quick query.

Using a txt file isn't, in my opinion, a route *anyone* should take if they have database capabilities

Edited by Magictallguy
Posted
Quite right! Though, a collab for idea sharing might not be a bad idea ;)

Skype's on my profile :)

 

You'll be storing a lot of information. Why not use the database for what it was intended? Information storage!

My transaction log uses 1 table, is currently full of around 64,000 rows and working through it to get the information I need is 1 quick query.

Using a txt file isn't, in my opinion, a route *anyone* should take if they have database capabilities

Last time I had you added you just removed me, no idea why haha.

Agree on the last point for sure. However if you do a have a limit like some hosts do on the max size of a table/database then text files is always a good fallback

Posted (edited)
Last time I had you added you just removed me, no idea why haha.

Agree on the last point for sure. However if you do a have a limit like some hosts do on the max size of a table/database then text files is always a good fallback

If it's max table size then .. get a better host!

If that's not an option, then write a backup query that handles overspill from the original table and creates/inserts into the new table automatically.

If it's database size, then create another database designed specifically for handling the player transaction logs!

If it's both, then combine the methods

Edited by Magictallguy
Added "If it's both [...]"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...