• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Storing variables permanently and time

Albanon

New Member
Joined
Mar 5, 2011
Messages
93
Reaction score
1
Here's my goal.

When you walk on a certain square, it somehow tracks, either in SQL or some other way that would work, that you have stepped on that square, and change it to 1.

as long as it is 1, lets say, every so many hours, you will be given an item or gold for "owning" it.

Your ownership lasts up until the point that you are killed, or 48 hours expire.

What's the best way to do this?

and is there any way to spawn creatures that are friendly towards one player, and not others with that playing having summoned them?
 
Back
Top