Comments (4)
The worlds table IP is set by the server on startup to the value in config.lua. If the value in config.lua is "auto", it will do a reverse ip lookup and use that value.
The words table is intended to be read by login servers only to get the location & ports of different gameservers.
from server.
Just in case it wasn't obvious... 0x100007F which the server always binds to regardless of what you specify in config.lua is the little-endian host byte order of localhost: 1.0.0.127.
I'm curious about the idea behind updating the IP in the worlds table each time the server starts up. If the IP the server binds to is gathered from config.lua anyway, what is the rationale behind storing it and keeping it updated in the worlds table as well? Future plans of multi-homed hosting?
from server.
Found the issue after poking around in the source code: configmanager.cpp looks for parameter "server_ip", while the stock config.lua defines the parameter as just "ip".
from server.
Setting the property as "server_ip" solves the issue?
from server.
Related Issues (20)
- Make player_depotitems binary(faster saves)
- Login problems HOT 1
- About revscriptsys HOT 6
- Gesior for otserv in official OT repo HOT 1
- Use item legacy debug HOT 6
- Does not build on Linux HOT 6
- Wiki
- (msvc64 error) File Loader fix
- Question about luajit + legacy bugs HOT 3
- how to compile HOT 16
- Desintegrate rune creates a problem with packetlimit per second HOT 7
- Behaviour of monsters(Like in real Tibia) HOT 7
- Core dump (gdb)at /shutdown HOT 12
- Problem with summons exp stages HOT 10
- Compiling on Windows 7 64-Bit Visual C++ 2010 Express
- Problems with uh paralyze HOT 2
- Speedhack HOT 2
- trade window subtype HOT 2
- Guild War HOT 1
- Items/Houses/Depot items/Storage can DISAPPEAR!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.