Stefan A. Brannfjell
Stefan A. Brannfjell
Is there a way to identify and distinguish otservBR from TFS 1.3 using Lua functions? I suppose I can try to do a function exist and overload method, just thinking...
This can be used as a reference, spells.xml parser: https://github.com/Znote/ZnoteAAC/blob/master/spells.php
Add to container.lua: https://github.com/otland/forgottenserver/blob/master/data/lib/core/container.lua ```lua function Container.AddItemBulk(itemid, quantity, maxItemStack) local remainingQuantity = quantity while remainingQuantity > maxItemStack then self:addItem(itemid, maxItemStack) remainingQuantity = remainingQuantity - maxItemStack end if remainingQuantity > 0...
@ranisalt bcrypt is supported as of PHP 5.5 by default, would this suffice? http://php.net/manual/en/function.password-hash.php These are the 2 algorytms to choose from: > PASSWORD_BCRYPT - Use the **CRYPT_BLOWFISH** algorithm to...
> When cipbia updates their houses they tend to send house owner items back to the depot and in more extreme cases they clear the house owner. Sending items backs...
Did you post an issue about it on the TFS repo? Hardcoded itemids in C++ is bad. It should at least be from a configurable lua or xml file. What...
@marksamman @djarek Not sure whats going on with the bountysource integration, but I chipped in some extra bucks raising this from $170 to $205.
@ranisalt I edited that myself manually, the title still says $170 and it appears I cannot change that. @gugahoa There is a pull request by djarek, but it hasn't been...
@djarek https://github.com/otland/forgottenserver/pull/994#issuecomment-263083940 > I'll resubmit a new pull request when I rebase. This PR has way too many spam messages. Could you give a status on this?
Interesting scenario, aside from the easy solution which is to add a limit to reasonable numbers, perhaps there also are other optimizations we could do related to item storage? From...