Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
I’d check what’s the size limit of one NetworkMessage in ur distro. Output json might be long with as many offers. There were already some implementations that splits offer json into chunks and sends multiple msg’s...
First of all what distro? Maybe something like that (not tested):
item:removeAttribute(ITEM_ATTRIBUTE_DURATION)
or
item:removeAttribute(ITEM_ATTRIBUTE_DECAYSTATE)
It's added but also removed due to that:
https://github.com/otland/forgottenserver/blob/master/src/combat.cpp#L1387
If it's PvP world try with ITEM_MAGICWALL_NOPVP or put no pvp zone there
If it's dockerized you need to rebuild your docker image too. (Assuming Dockerfile builds the server binary) or utilize volumes to replace container binary. Btw Docker is good as develpoment enviroment but I wouldn't recommend it for production (check license agreement)
Process that wants to write to some directory also needs to have permission to write into this directory. Either create some group or change owner of the directory to the user the process is being started from.
Commands:
chgrp
chown
Acording to error it seems like there's an issue with blessings column.
Check type of the column in DB and how it's saved on your distro.
`blessings` tinyint NOT NULL DEFAULT '0'
Most important, what's the distro you're using? TFS 0.x/1.x? Canary?
Once you modify vcpkg.json remember to remove vcpkg_installed directory so it could re-create it based on new config.
For windows build this should actually do the trick:
https://github.com/otland/forgottenserver/pull/4487/files
Is there some logic onDeath that updates broadcasting in players table or some logic that restarts player storage back?
As it's simply because of this condition:
if getPlayerStorageValue(cid, 45503) <= 0 then
You'd need to rework how offers are initialized, as from the init code there's no player instance. I'd try maybe with doing like:
function init(player)
local sex = player:getSex()
local category3 = addCategory({
type = "outfit",
name = " News Outfits ",
sex = sex...
I belive it’s related to the way how it converts arrays to json and how it count elements (#array) so try define it like:
category3.addOutfit(9, {
mount = 0,
feet = 114,
legs = 114,
body = 116,
type = 1490,
lookType = { 1490, 1489 },
auxType = 0,
addons = 0...
You could also define things like:
category3.addOutfit(9, {
mount = 0,
feet = 114,
legs = 114,
body = 116,
type = 1490, -- ID Outfit- FEMALE
lookType = {
[PLAYERSEX_FEMALE] = 1490,
[PLAYERSEX_MALE] = 1489
},
auxType = 0,
addons = 0,
head =...
What's the result then, does it give any error? Is the storage being set but no outfit is given? More details you give the better hints I can give.
Try with changing storage criteria to (as for some distros it's -1 by default and I keep forgetting that it's not JS):
if...
First of all clear storage of your character as your code was always using single storage value: 535925 (from config) but outfit was correctly taken from the selected offer config