Saving map data?
- fstltna
- Posts: 29
- Joined: Tue Oct 07, 2014 7:19 am
- Location: South San Francisco, CA
- Discord: MarisaG#2083
- Contact:
Saving map data?
Im interested in using Mudlet as a smart client for my MMO strategy game but wanted to verify that it can parse output and store it in a grid/array. That is, when a player scans a sector via radar the client stores the sector types for later review when offline. Is this possible? Looks great so far!
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
- fstltna
- Posts: 29
- Joined: Tue Oct 07, 2014 7:19 am
- Location: South San Francisco, CA
- Discord: MarisaG#2083
- Contact:
Re: Saving map data?
Great! Any pointers to follow on doing something like this?
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
Re: Saving map data?
Hmm. Watch the Mudlet video on making basic triggers (http://mudlet.org/media), it shows you how to capture data from the game. Watch the Data Capture demo as well.
To store the data, you can just use a two-dimensional Lua table - you can google for pointers on using that - Lua is used for a lot of games programming so you'll find loads of examples.
To store the data, you can just use a two-dimensional Lua table - you can google for pointers on using that - Lua is used for a lot of games programming so you'll find loads of examples.