====== Nilgiri IM Client ====== **NilgiriIM** is an app for iPhone, iPad (iOS/iPadOS 17 or later), and Android that lets you play Nilgiri from your phone like a chat app. {{:nilgiri:img_2726.png?400|}} ===== Features ===== * Log in with an existing character or create a new one. After you log in, the main menu offers **Enter the game**, **Change password**, and **Quit**. * Play in a scrolling transcript with ANSI colors. Type in the command bar and tap **Send**, or tap **Say** to speak what you typed. The field holds up to 512 characters. When you tap **Send**, a semicolon separates several commands, so ''n;n;open door'' walks north, walks north again, and opens the door; **Say** sends the semicolon as part of what you speak. * The bar at the top shows your character's name and your latest hit points, mana, and moves, plus **STUNNED**, **INCAPACITATED**, or **DEAD** in red when that happens to you. * Experience gains (for example ''+87 XP!'') and ''LEVEL!'' flash in the middle of the screen. * Park your character when you leave the app. * Swipe up on the command bar to show a row of direction buttons (N, S, W, E, U, D), and swipe down on it to hide the row and the keyboard. See [[#direction_buttons|Direction buttons]]. * Swipe in from the left edge for settings and from the right edge for action shortcuts and hot buttons (see [[#edge_menus|Edge menus]]). * Tap a word in the log to hilite it as the target for hot buttons and shortcuts (see [[#hilite_target|Hilite target]]). * Tap your character's name in the bar at the top to switch among characters, or to log in or create another one. See [[#playing_several_characters|Playing several characters]]. ===== Direction buttons ===== {{nilgiri:nilgiriim_direction_buttons.png?200|Nilgiri IM play screen with the N, S, W, and E direction buttons above the command bar, and hot buttons S, H, L, and F on the right}} Swipe up on the command bar to show one row of direction buttons: **N**, **S**, **W**, **E**, **U**, and **D**. Swipe up again, or swipe down, to hide it. Tap a letter to walk that way; the button lights up for a moment. Anything you had typed in the command field is kept. The row follows the exits of the room you are in. An open exit can be tapped, a closed door is shown in grey and does nothing, and a direction with no exit is left blank so the other letters don't move. In a dark room where the game marks an exit ''(too dark to tell)'', that button is drawn as an outline; you can still tap it to walk that way. In a pitch-black room, the buttons match the exits the game lists after the darkness message. When the game says ''Obvious exits: none.'', all six buttons are drawn as dark outlines, and you can still tap them. ===== Edge menus ===== ==== Left edge (settings) ==== {{nilgiri:nilgiriim_left_edge.png?200|Nilgiri IM left-edge settings card, with switches, Report issues, Newbie guide, and About Nilgiri IM links, and Unlink at the bottom}} Swipe rightward from the left edge of the screen to open a translucent dark-grey card. It has these switches, which are saved per character between launches: * **Hide keyboard in portrait mode** and **Hide keyboard in landscape mode**. When hide is off for the current orientation, the command keyboard stays up, including while you type and when you tap the log. When hide is on, a tap on the log can dismiss the keyboard. Either way, you can swipe down on the command bar to dismiss it. * **Matrix Mode** paints the log and the app's text in shades of green. Turn it off to get the normal colors back right away. * **Hide hot button labels** hides the letters on the direction buttons and hot buttons. The buttons stay in place and still work when tapped. * **Keep last command** (off by default) leaves the last command you sent as grey text in the command field. Press Return or tap **Send** on the empty field to send it again; start typing to replace it. Say commands and channel talk don't replace it, and neither do direction buttons or hot buttons. * **Show action help** (on by default) shows the "Double tap to edit" line under Actions on the right-edge card. Turn it off to hide that line. Below the switches are links that open in Safari: * [[https://github.com/nilgirian/Nilgiri-IM-Client/issues/new/choose|Report issues]] or take a screenshot and "Share Beta Feedback". The link opens the GitHub new-issue chooser for the IM client. * [[nilgiri:newbie-strategy|Newbie guide]] * [[nilgiri:im_client|About Nilgiri IM]] While you are in the game, **Unlink** sits at the bottom of this card and logs out only the character on screen. See [[#playing_several_characters|Playing several characters]]. ==== Right edge (actions and hot buttons) ==== {{nilgiri:nilgiriim_right_edge.png?200|Nilgiri IM right-edge card with the Actions list, yibble open in the double-tap editor with six color dots and a red trash button, and Hot Buttons below}} Swipe leftward from the right edge of the log to open a card in the same style as the left one. The swipe strip is only as tall as the log, so Say, Send, and the name bar still respond to taps. Opening this card puts the command keyboard away, and closing it brings the keyboard back when hide is off for that orientation. The card has two lists, **Actions** and **Hot Buttons**. Both are saved per character and sync through iCloud, so they follow you to your other devices signed in to the same Apple ID and come back after a reinstall. A character that already had lists on this device keeps them. A character you log in or create for the first time on this device starts with the defaults below. **Actions** holds up to 30 shortcuts. A new character starts with ''get all from corpse'', ''inventory'', ''drink water'', ''eat bread'', and ''yibble''. * Tap a shortcut to send it and close the card. * Double-tap a shortcut to edit it in place. The editor has a row of six colors (white, the default, then red, yellow, green, cyan, and magenta) that color the shortcut's text, and a red trash button at the right end of the field. If you clear its text, it becomes an empty row; if there is already an empty row, the cleared shortcut is removed instead. * Hold a shortcut and drag it up or down to reorder it. While you drag, a preview shows its text. To delete it, double-tap it and tap the red trash button, or hold it and drag it to the right. * Tap **+** beside Actions to add a shortcut. The same text can't be added twice. **Hot Buttons** holds up to six actions, and these become the buttons on the play screen, in the same order. A new character starts with **smile** (S), **hit** (H), **look** (L), and **flee** (F). * Tap a hot button in this list to send it and close the card, the same way a shortcut works. * Double-tap a hot button to edit its text in place. The same color row tints the button's plate; the letters stay white. The red trash button is in this editor, not in the icon editor. Deleting a hot button removes it without going back to Actions. * Drag an action from Actions into Hot Buttons to make it a hot button. It moves out of Actions. * Drag within Hot Buttons to reorder, or drag an entry out to move it back to Actions. While you drag, a preview shows the item's text. * Each entry shows its icon, which is what its button on the log shows. Tap the icon to change it to any one or two characters, or leave it empty for a plain button. A newly added hot button starts with the action's first letter. ===== Hot buttons ===== Your hot buttons are stacked on frosted plates on the right side of the log, just above the command bar (and above the direction row when it is showing). Tap one to send its action; it lights up for a moment. Anything you had typed in the command field is kept. ==== Hilite target ==== {{nilgiri:nilgiriim_hilite.png?400|NilgiriIM with Motorola hilited in the log, after tapping the smile hot button}} Tap a word in the log to hilite it (gold paint behind the letters). Only one word is hilited at a time. Tap the same word again to clear the hilite, or tap a different word to switch. The hilite stays as long as that word is still visible between the bars (and above the keyboard). When you tap a hot button or an action shortcut: * If a word is hilited, the word is added after the action, for example ''smile Motorola''. * If nothing is hilited, just the action is sent, for example ''smile''. ===== Playing several characters ===== Tap your character's name in the bar at the top to open the character list. Tap a character to switch to it, or choose **Log in another character** to log in or create another one. Up to six characters can be logged in at once on one device. With six logged in, the list has no option to add another. Characters you're not looking at stay logged in to the game. Their screens keep only the normal scrollback, so anything that scrolled off is gone. Push notifications come only for the character you were looking at when you left the app. Settings in both swipe menus are saved per character on this device. **Actions** and **Hot Buttons**, including their colors, are also saved per character and sync through iCloud. The character that was already on this device kept the settings it had; a character you log in or create after that starts with the default actions and hot buttons described under [[#edge_menus|Edge menus]]. **Unlink** on the left-edge card logs out only the character on screen. If others are still logged in, you get the character list, or go straight to the last one left; with none left, you're back at the login screen. ===== Parking and notifications ===== While your character is parked, you get push notifications for tells, whispers, prayers, the start of combat, death, and link loss. Each notification shows your character's name in its title. Other characters that are still logged in stay in the game, but they do not get those notifications. Every login stops at the main menu. Mortals can keep the app connected to the game indefinitely, without idling out, by sitting inside their rent room. ===== How it connects ===== The app doesn't use telnet. It connects over HTTPS to the Nilgiri IM server at https://nilgiri.net/im, which keeps your game session alive and sends the push notifications. ===== Getting the app ===== NilgiriIM is not on the App Store or Google Play yet. It's available as a TestFlight beta on iOS and an Android Closed Beta (see below). ===== iOS TestFlight Beta ===== [[https://testflight.apple.com/join/NvAbmJhJ|{{nilgiri:nilgiriim_testflight_v2.png?400|TestFlight join page for the Nilgiri IM beta}}]] To join the beta: - Install Apple's TestFlight app from the App Store (iPhone, iPad, or Mac). - Open the join link: [[https://testflight.apple.com/join/NvAbmJhJ|Join the Nilgiri IM beta on TestFlight]] Source code and issue reports: [[https://github.com/nilgirian/Nilgiri-IM-Client|Nilgiri-IM-Client on GitHub]]. If you're not sure whether a problem is in the app or the game itself, open an issue there anyway and it will get routed to the right place. ===== Android Closed Beta ===== To join the Android Closed Beta, email [[mailto:servant@nilgiri.net|servant@nilgiri.net]] with the Google account you want to test with, so it can be added to the tester list. Then: - Open the [[https://play.google.com/apps/testing/net.nilgiri.imclient|tester opt-in page]] and tap **Become a tester**. - Install NilgiriIM from its [[https://play.google.com/store/apps/details?id=net.nilgiri.imclient|Google Play listing]]. Both links only work when you're signed in to Google Play with the account that was added to the tester list. Source code and issue reports: [[https://github.com/nilgirian/Nilgiri-IM-Android|Nilgiri-IM-Android on GitHub]]. If you're not sure whether a problem is in the app or the game itself, open an issue there anyway and it will get routed to the right place. See also the [[nilgiri:newbie-strategy|Newbie guide]].