- Mar 04, 2021
-
-
Deucе authored
- Fix update_space() to move to correct location every tim Resulted in "ghost" player character after using smackrod - Load the map and set lastx/lasty when loading an existing player record. Undefined lastx/lasty would crash the game, and using the smackrod on joining allowed that.
-
Deucе authored
Should eliminate ghost "busy" status.
-
Deucе authored
-
Deucе authored
-
Deucе authored
Should fix the issue with rape.
-
Deucе authored
-
Deucе authored
Arr.
-
Deucе authored
1) Call update_update() more often when player data changes. Should hopefully solve issue with players staying red after a battle on other people's screens. 2) When erasing other players, also erase ones that have moved off your map.
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
As of this commit, LORD2 keeps track of the last time a key was pressed, and a timeout occurs five minutes after that if it's waiting for a key. This has issues as the getstr() timeout does not behave in this manner. However, if the timeout callback style works, getstr() and the other dk functions can grow callback support pretty easily, and this seems like it may be the best way forward. Further, disconnect handling should be tied up in this, and dorkit does not have very robust features for this. In most cases, a disconnect will be treated the same as a timeout, so the same solution should likely be usable by both. The biggest challenge is preventing the need for all the code to have exceptional condition handling, which can be quite tricky as battles can end by running a REF file (For example, the training centre). This would mean all code paths reachable via REF calls would need to fail nicely in the face of a connection loss/timeout.
-
Rob Swindell authored
-
Deucе authored
While we're looking at the exit behaviour, use the recfile close method now instead of f.file.close().
-
- Mar 03, 2021
-
-
Deucе authored
About the only thing still missing is the ALLOFF utility which is simple enough, but various other bits really need to be fixed before that is done.
-
Deucе authored
A couple minor TODOs (can't launch REF editor for example)
-
Deucе authored
-
Deucе authored
-
Deucе authored
Also, keep the cursor at the player position a bit better.
-
Deucе authored
-
- Mar 02, 2021
-
-
Deucе authored
Beginnings of the map editor created, common functions from lord2.js moved into l2lib.js for sharing.
-
- Mar 01, 2021
- Feb 28, 2021
-
-
Deucе authored
- When a player number is passed in an IF, subtract one to get the index - Normalize @begin handling for all @if lines.
-
Rob Swindell authored
This is a full-screen game, so don't let this ctrl-key handlers mess up the game/map display.
-
Deucе authored
- saybar needs to leave cursor at 78,20 for BETTER.REF and TALQUIZ.REF - buymanager and sellmanager start on the current line, not a hard-coded one - buymanager and sellmanager need to clean their area on return - handle do handlers in if before checking for begin (assuming do). Fixes issue in GIVE.REF where "then goto begin" was interpreted as "then do begin". - "Fix" more prompt in @key to not center and always display " <MORE>" as the prompt. A number of things use @key after @saybar
-
Deucе authored
- Trim bar to 76 characters (triggered by MORTAL.REF) - If the player initial map can't be loaded, move to 0,0,0 - draw_map() can't auto-load the players map (ORACLE2.REF loads a map without the player on it) - When we draw a new map, set last_draw to undefined - If you move off the edge of a map into an undefined map, simply don't move (triggered by GLENDALE.REF) - Move play on map *after* a REF is ran (and you're potentially moved back)
-
Deucе authored
Fixes the new issue where you would see the player move when x and y are changed, but should still leave the smackrod happy.
-
Deucе authored
Fixes CNW "Vehicles & People" some more.
-
Deucе authored
Fixes CNW "Vehicles & People" people list.
-
Deucе authored
-
Deucе authored
This provides a way to create muscle memory for random fights... HOME will always take you to 'Attack' and END will always take you to 'Run Away' now. Two birds with one stone, yay!
-
Deucе authored
Previously, it did a case sensitive match against names that started with what you typed including LORD codes. Now it strips codes from both and does a case-insentive substring match.
-
- Feb 27, 2021
- Feb 26, 2021