geozop / furyband Goto Github PK
View Code? Open in Web Editor NEWThis is a game based on Tales of Middle Earth (version 2). Also contained is the Zop's Furyband mod.
This is a game based on Tales of Middle Earth (version 2). Also contained is the Zop's Furyband mod.
Thank you for making this available. So much wonderful nostalgia.
Saving the automatizer rules works, but app crashes after saving and exiting the screen you can save from.
Modifying any of the text files in lib/edit, even just whitespace, leads to the app crashing when attempting to load a module.
I tried to build myself on windows but get over a hundred errors. Most are
fatal error C1083: Cannot open include file: 'sys/param.h': No such file or directory
Unfortunately, my C++ skills are lacking.
Upon trying to play the game as a dark elf master
the game seems to throw a bunch of errors upon any action, which can be seen here
https://pomf2.lain.la/f/w7f2sxh1.png
(could not copy the text as curses wasn't found on my system).
I was able to fix the bug due to some checks, however I can't submit a patch due to it being in the lua.
Namely two values were null in get_level_school
__tmp_spells[s]
__spell_school[s]
I was able to fix it by turning the code into
-- Change this fct if I want to switch to learnable spells
function get_level_school(s, max, min)
local lvl, sch, index, num, bonus
local allow_spell_power = TRUE
lvl = 0
num = 0
bonus = 0
-- No max specified ? assume 50
if not max then
max = 50
end
if not min then
min = 1
end
-- Do we pass tests?
if __tmp_spells[s] then
if __tmp_spells[s].depend then
if __tmp_spells[s].depend() ~= TRUE then
return min, "n/a"
end
end
end
if (not __spell_school[s]) then
return min, "n/a"
end
for index, sch in __spell_school[s] do
local r, s, p, ok = 0, 0, 0, 0
the parts of the code that were called before this look like
function get_level(s, max, min)
if type(s) == "number" then
-- Ahah shall we use Magic device instead ?
if get_level_use_stick > -1 then
return get_level_device(s, max, min)
else
local lvl, na = get_level_school(s, max, min)
return lvl
end
else
return get_level_power(s, max, min)
end
end
-- Get the amount of mana(or power) needed
function get_mana(s)
return spell(s).mana + get_level(s, spell(s).mana_max - spell(s).mana, 0)
end
add_hooks
{
-- Reduce the mana by four times the cost of the spell
[HOOK_CALC_MANA] = function(msp)
if player.inertia_controlled_spell ~= -1 then
msp = msp - (get_mana(player.inertia_controlled_spell) * 4)
if msp < 0 then msp = 0 end
return TRUE, msp
Has this error occurred before? How best should I submit a patch for this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.