Hi,
How is the mapper implemented?
Afaik it does not use sqlite database for room information and it is not written in lua. Am i correct?
I started to write my own mapper for aardwolf using BFS algorithm, but it is very slow..
https://github.com/keevitaja/bfs-lua-te ... r/test.lua
Tanel
Search found 21 matches
- Thu Sep 10, 2015 7:59 am
- Forum: Mudlet Mapper
- Topic: How does mudlet mapper work?
- Replies: 1
- Views: 5142
- Wed Sep 09, 2015 10:50 am
- Forum: General Forum
- Topic: I give up!
- Replies: 8
- Views: 16460
Re: I give up!
OK, tnx guys. I think i am finally getting somewhere. But the link above does not explain much
- Sun Sep 06, 2015 9:28 pm
- Forum: Mudlet Development
- Topic: [ERROR:] object:<JSON decoder error:> function:<json_to_valu
- Replies: 1
- Views: 5652
[ERROR:] object:<JSON decoder error:> function:<json_to_valu
[ERROR:] object:<JSON decoder error:> function:<json_to_value> <Lua error:InvalidJSONInput: lexical error: invalid character inside string. { "num": 32460, "name": "[1;33mWelcome to Grandmarket (right here) ------^ at lua_yajl.c line 310> I think this error comes from the g...
- Fri Sep 04, 2015 1:50 pm
- Forum: General Forum
- Topic: I give up!
- Replies: 8
- Views: 16460
Re: I give up!
require is not working... not sure why but how can i start a module from scratch? like what is the file structure and how does it work? is module like collection of packages? what is the variable scope? and these exporters/generators seem to be useless. well at least for packages as i have no desire...
- Fri Sep 04, 2015 12:08 pm
- Forum: Scripts & Packages
- Topic: Creating chat window
- Replies: 2
- Views: 7010
Re: Creating chat window
Thank you! I think i got it. As Aardwolf is bit different, i would need to fork most packages and make them usable. And most of the times from scratch might be faster. I i only knew in the beginning how to write things! setBorderTop(100) commWindow = Geyser.MiniConsole:new({ name="commWindow&qu...
- Fri Sep 04, 2015 11:50 am
- Forum: Scripts & Packages
- Topic: How to copy minimap to MiniConsole window?
- Replies: 1
- Views: 4998
How to copy minimap to MiniConsole window?
Each time i move to a room, i get minimap
How do i display it in the miniconsole and i do not want to loose colors!
How do i display it in the miniconsole and i do not want to loose colors!
- Fri Sep 04, 2015 7:06 am
- Forum: General Forum
- Topic: I give up!
- Replies: 8
- Views: 16460
Re: I give up!
Yes, i have specific questions. How do i create a module? What is the file structure and variable scope? For instance i could not find any information what is the minimal xml for a package... <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE MudletPackage> <MudletPackage version=&...
- Fri Sep 04, 2015 6:23 am
- Forum: Scripts & Packages
- Topic: Creating chat window
- Replies: 2
- Views: 7010
Creating chat window
Hello, How can i create a window for chat messages? chat = Geyser.MiniConsole:new({ name="chat", x=0, y=0, width="1000", height=100 }) function printChat() selectCurrentLine() copy() appendBuffer("chat") return true end if test then killTrigger(test) end test = tempRege...
- Thu Sep 03, 2015 7:46 pm
- Forum: Scripts & Packages
- Topic: Minimal mapping script
- Replies: 2
- Views: 8474
Re: Minimal mapping script
what is IRE?
I am playing aardwolf... and gmcp variable is correct in my script!
I am playing aardwolf... and gmcp variable is correct in my script!
- Thu Sep 03, 2015 5:25 pm
- Forum: Scripts & Packages
- Topic: Minimal mapping script
- Replies: 2
- Views: 8474
Minimal mapping script
Hello! I am trying to create a mapping script, i think it throws lua error. mudlet = mudlet or {}; mudlet.mapper_script = true function readNewRoom() local info = gmcp.room.info addAreaName(info.zone) addRoom(info.num) setRoomCoordinates(info.num, info.coord.x, info.coord.y, info.coord.z) setRoomAre...