epuncker / orts2 Goto Github PK
View Code? Open in Web Editor NEWORTS datapack working on latest TFS
License: GNU General Public License v3.0
ORTS datapack working on latest TFS
License: GNU General Public License v3.0
hi, good sunday! i've been testing poi, everything works well untill the 15 levers part then i got this console error when using the levers:
Lua Script Error: [Action Interface]
data/actions/scripts/quests/pits of inferno/levers.lua:onUse
data/actions/scripts/quests/pits of inferno/levers.lua:32: bad argument #2 to 'max' (number expected, got nil)
stack traceback:
[C]: at 0x7ff725936bf0
[C]: in function 'max'
data/actions/scripts/quests/pits of inferno/levers.lua:32: in function <data/actions/scripts/quests/pits of inferno/levers.lua:27>
blood beast(oramond) turns into cyclops corpse on death. loot messages and items seems to be fine.(i mean it doesn't drop glooth stuff but idk if this map have glooth)
13:16 You see a blood beast.
13:16 Loot of a blood beast: a strong health potion, 26 gold coins
13:17 You see a dead cyclops (Vol:30).
Hey guys! :) found some new stuff
-Dragon: While looking at a dragon corpse you get the wrong message, those that spwan dead and decayed on the map(yalahar elf), ingame id 4027, 18:51 You see a slain ghoul (Vol:24).
-Egg: not usable as food, ingame id 3606, "You cannot use this object."
-Very noble-looking watch: ingame id 6091, should show time and then decay after a while. "You cannot use this object."
"When you use it, you'll receive the following message informing the current time: The time is hh:mm.
After 24 hours, it will break and become a Broken Very Noble-Looking Watch."
-Thais hole: Item ID: 468 Position: 32359, 32282, 7. It opens with shovel but you can't go down. I'm not really sure about this one, I can't go on global to see if this one is like that and i don't really remember where it leads either, sry.
No errors, action scripts should work and NPCs/quests as well
This was tested using Ubuntu 20.04 and TFS 1.4 (branch on the official repo)
Plaguesmith dropping cornucopia id 3957 instead of war horn 2079
monsters/plaguesmith.xml edited line 79
<item id="2079" chance="100" /><!-- war horn -->
Migrate all quests to a single file (for each quest) in revscript
plagirath, monster\monsters\plagirath.xml line 80 add:
<item id="25418" chance="500" /><!-- maimer -->
mazoran, mosnter\monsters\mazoran.xml lina 79 add:
<item id="18409" chance="500" /><!-- wand of everblazing -->
10.98 + TFS1.4 + win64 + main and 12.86 + LatestTFS + win64 + upstream
(those are the ones i managed to find, i'll keep looking for more)
got this one while trying to use a pick on different tiles near venore
Lua Script Error: [Action Interface]
data/actions/scripts/tools/pick.lua:onUse
data/actions/lib/actions.lua:283: attempt to index a nil value (global 'tile')
stack traceback:
[C]: in metamethod 'index'
data/actions/lib/actions.lua:283: in function 'onUsePick'
(...tail calls...)
not sure if i'm missing a quest or something but i got this from Lorek in port hope when asking for passage to "mountain", "banuta" and "chor" ("west" and "center" are working without console errors):
Lua Script Error: [Npc interface]
data/npc/scripts/Lorek.lua:onCreatureSay
data/npc/scripts/Lorek.lua:12: attempt to index a nil value (local 'player')
stack traceback:
[C]: in metamethod 'index'
data/npc/scripts/Lorek.lua:12: in field 'condition'
data/npc/lib/npcsystem/keywordhandler.lua:61: in method 'checkMessage'
data/npc/lib/npcsystem/keywordhandler.lua:168: in method 'processNodeMessage'
data/npc/lib/npcsystem/keywordhandler.lua:147: in method 'processMessage'
data/npc/lib/npcsystem/npchandler.lua:427: in method 'onCreatureSay'
data/npc/scripts/Lorek.lua:7: in function <data/npc/scripts/Lorek.lua:7>
Hi, sorry for asking here but this thread seems to bo closed. Can I run this datapack on TFS 1.4?
I've tried by simply replacing the data folder, but when I run tfs locally on Windows it just exits at "Loading map". No idea why, TFS didn't generate any logs.
With the latest pull request map update (7cb099a) some non-existent monsters in the pack have been added, they are:
Console Erros:
[Warning - Spawns::startup] Couldn't spawn monster "High Voltage Elemental" on position: ( 33535 / 32054 / 013 ).
[Warning - Spawns::startup] Couldn't spawn monster "Clomp" on position: ( 33646 / 31652 / 007 ).
[Warning - Spawns::startup] Couldn't spawn monster "Clomp" on position: ( 33511 / 31607 / 007 ).
[!] -> Invalid achievement "Waverider".
got this one on the way to jaul, i think it's related to the swimming tiles at the entrance. it didn't show where the print was generated from but i found those:
data\lib\miscellaneous\achievements_lib.lua (5 hits)
Line 435: if not achievement then return print("[!] -> Invalid achievement "" .. ach .. "".") and false end
Line 447: if not achievement then return print("[!] -> Invalid achievement "" .. ach .. "".") and false end
Line 469: if not achievement then return print("[!] -> Invalid achievement "" .. ach .. "".") and false end
Line 487: if not achievement then return print("[!] -> Invalid achievement "" .. ach .. "".") and false end
Line 548: print('[!] -> Invalid achievement "' .. ach .. '".')
The bug isn't environment specific. For what it's worth, I'm running TFS+ORTS2 on an ARM64 Raspberry Pi under Docker Compose. My setup is version controlled and (partially!) documented here: https://github.com/silic0nalph4/nova-secura-10
ca3faa0 renames a set of door variables in data/global.lua
. These are referred to in data/scripts/actions/others/doors.lua
.
When the server starts it throws the following error:
Lua Script Error: [Scripts Interface]
server_1 | /srv/data/scripts/actions/others/doors.lua
server_1 | /srv/data/scripts/actions/others/doors.lua:123: bad argument #1 to 'ipairs' (table expected, got nil)
server_1 | stack traceback:
server_1 | [C]: at 0xaaaae7bea468
server_1 | [C]: in function 'ipairs'
server_1 | /srv/data/scripts/actions/others/doors.lua:123: in main chunk
server_1 | > doors.lua [error]
As no doors are registered in the engine, they are rendered non-interactive in game.
I'll submit a PR in a few minutes.
to "fix" mechanical fishing rod
added to data/actions/actions.xml on line 362
<action itemid="10223" script="tools/fishing.lua" allowfaruse="1" />
i have a separated script for it to be able to fish mechanical fish with nails too but it won't work as intended due to yalahar sewers having normal water tiles instead of the green ones. could edit it for swamp id tiles or something but idk it doesn't rlly matter
hey torresmon here. turns out the flag thing was still bugged, i found the commit that fixes it: otland/forgottenserver@f7c3c1f
obs: i think spells, luascript.cpp and luascript.h are updated already no need to change
sry for not resquest pulling it, i'm not confident using git still.
Note 1: For the advancement of the project it is necessary to make some additions, such as the new monsters that were added to the game. The forgotten server was paralyzed for a long time in version 10.98 and got a sudden jump to version 12.87, with that many new monsters were added to Tibia, but they weren't added to TFS. This list brings some of the missing updates.
This task list is linked to otland/forgottenserver#3871
The following repositories can be used for creating and modifying monsters:
https://github.com/soul4soul/ot-monster-converter
https://github.com/soul4soul/converted-tibiawiki-monster-data
got nil while trying to play a lyre:
data/actions/scripts/other/music.lua:39: attempt to call a nil value (global 'isInRange')
fixed it by adding to global.lua:
function isInRange(pos, fromPos, toPos)
return pos.x >= fromPos.x and pos.y >= fromPos.y and pos.z >= fromPos.z and pos.x <= toPos.x and pos.y <= toPos.y and pos.z <= toPos.z
end
stackable violet gem id:2153, yellow gem id:2154, green gem id:2155, red gem id:2156 and blue gem id:2158
spending half an hour organizing backpacks :(
Lua Script Error: [Event Interface]
data/events/scripts/player.lua:Player@onLookInShop
data/events/scripts/player.lua:26: attempt to concatenate a nil value (global 'description')
stack traceback:
[C]: in metamethod 'concat'
data/events/scripts/player.lua:26: in function <data/events/scripts/player.lua:25>
not sure how to fix it
I'm getting an error when using Spellwand and Hive Insectoid Cell(gray island hive), from PlayerStorageKeys call. Found 6 files with this call. Tested 2 of them and got similar issues. It could be me being a noob or something else... help ๐
uniserverz myacc winx64
Lua Script Error: [Scripts Interface]
C:\Users\369\Documents\OTSERV\forgottenserver-master\data\scripts\actions\others\spellwand.lua:callback
...nserver-master\data\scripts\actions\others\spellwand.lua:17: attempt to index global 'PlayerStorageKeys' (a nil value)
stack traceback:
[C]: in function '__index'
...nserver-master\data\scripts\actions\others\spellwand.lua:17: in function <...nserver-master\data\scripts\actions\others\spellwand.lua:5>
Lua Script Error: [Scripts Interface]
C:\Users\369\Documents\OTSERV\forgottenserver-master\data\scripts\actions\others\insectoid_cell.lua:callback
...er-master\data\scripts\actions\others\insectoid_cell.lua:4: attempt to index global 'PlayerStorageKeys' (a nil value)
stack traceback:
[C]: in function '__index'
...er-master\data\scripts\actions\others\insectoid_cell.lua:4: in function <...er-master\data\scripts\actions\others\insectoid_cell.lua:3>
Position: 33322, 31579, 14 - demon helm missing roof
Position: 33464, 31303, 6 - parcel ID: 9081(no volume), should be ID: 2595
Position: 33511, 31187, 11 - double stairs deeplings
Position: 33502, 31283, 10 - double stairs deeplings 2
i could pr the fixes...but i'm afraid to break something editing map stuff ๐จ
New Locations
New Raids
New Quests
New Achievements
New Items
New NPCs
New Creatures
New Bosses
Random server and client crashes when using 10.98 client
#41 caused/uncovered a ton of console issues here, is it only on my end? Most of them point to lib foder interactions, only 2 from outside files from what i remember. Sry for not being more specific, when i have some spare time i can post a detailed list of the console errors.
The way to merge all the commits of a pull request is to accept them with the squash option, I recommend disabling the other options in the project settings.
Gitter is a chat and network platform that helps manage repositories, works in a way like a discord, where you can exchange messages in real time with developers.
The orts itself used the service, as it is free I imagine it would be a good implementation in this repository.
Missing locations:
Others:
text window oppening and showing written text
nothing happens
Log warnings about missing monsters should not be thrown.
Warnings are thrown stating that the game cannot spawn the following monsters:
server_1 | [Warning - Spawn::addMonster] Can not find Cult Believer
server_1 | [Warning - Spawn::addMonster] Can not find Cult Enforcer
server_1 | [Warning - Spawn::addMonster] Can not find Cult Scholar
server_1 | [Warning - Spawn::addMonster] Can not find Ghost Wolf
server_1 | [Warning - Spawn::addMonster] Can not find Gloom Wolf
server_1 | [Warning - Spawn::addMonster] Can not find Renegade Knight
server_1 | [Warning - Spawn::addMonster] Can not find Vicious Squire
server_1 | [Warning - Spawn::addMonster] Can not find Vile Grandmaster
server_1 | [Warning - Spawn::addMonster] Can not find Werebadger
These monsters are referred to in data/world/map-spawn.xml
but no corresponding files exist in data/monster/monsters
.
I don't think this issue is environment specific.
I've reproduced this with TFS v1.4 + ORTS2 2c00e4a and also TFS master
+ ORTS2 main
.
The exact environment I'm running is version controlled here: https://github.com/silic0nalph4/nova-secura-10
I'd be very surprised if you couldn't reproduce this as it seems to just be a case of missing files, but will happily provide more details if it's more complicated than that.
Here's the full server startup log for additional details: 2021-09-30_tfs_orts2_startup.log
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.