fir3element / 3777 Goto Github PK
View Code? Open in Web Editor NEWThe Forgotten Server 0.4 (rev 3777) with several improvements and bugfixes
The Forgotten Server 0.4 (rev 3777) with several improvements and bugfixes
There is some issue with createitem.lua that made my server crash and shutdown. I'm not really sure what's the matter, but by disabling each parts of the script I came to a conclusion that it is one of those:
doCreateItemEx(id, amount)
doPlayerAddItemEx(cid, item, true)
This made the server crash if you typed /i itemName two times.
I was doing it with my custom item, but same happened with other items. I guess those functions are bugged, because doPlayerAddItem(cid, id, amount, false) is working.
This github is pretty dead, but hopefully someone still reads that. At the moment, this issue is not bothering me, since as I said, there is a way around, but I guess I will be looking into that in the future and potentially come back here with the solution.
Pretty rare, but can happen, especially if someone decide to attack you with 'check status DDoS'.
status->getStatusString
is executed in 'network thread':
https://github.com/Fir3element/3777/blob/main/src/status.cpp#L65
but it reads Player::autoList
which can be modified in 'dispatcher thread':
https://github.com/Fir3element/3777/blob/main/src/status.cpp#L147
In TFS 1.x function that reads players list:
https://github.com/otland/forgottenserver/blob/master/src/protocolstatus.cpp#L193
is executed in 'dispatcher thread':
https://github.com/otland/forgottenserver/blob/master/src/protocolstatus.cpp#L65-L68
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.