Saving map data?

Post Reply
User avatar
fstltna
Posts: 29
Joined: Tue Oct 07, 2014 7:19 am
Location: South San Francisco, CA
Discord: MarisaG#2083
Contact:

Saving map data?

Post by fstltna »

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

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Saving map data?

Post by Vadi »

Yep.

User avatar
fstltna
Posts: 29
Joined: Tue Oct 07, 2014 7:19 am
Location: South San Francisco, CA
Discord: MarisaG#2083
Contact:

Re: Saving map data?

Post by fstltna »

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

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Saving map data?

Post by Vadi »

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.

Post Reply