• 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!

how to create website like otservlist

Mesut Ozil

New Member
Joined
Jul 8, 2016
Messages
27
Reaction score
0
hello otland community i have only knowledge about html language i don't have any knowledge about another language and i want to make website like otservlist , any help? any tutorial /?
 
about learning php , python , i think if i learned thoes languauges i won't know how to make otservlist because of i didn't do it befor

i this links if i want to upload this files use filezilla?
 
otlist are bit harder to begin with since you need to send some packets to tfs to gather the desired information... there are lots of examples regarding php on this forum
 
There is no tutorial "how to do a otserverlist". Select a language, PHP, Python, Go, whatever and learn it.
There is some open source otlists you can use as a base, study, or whatever:

https://otland.net/threads/open-tibia-list-topots.238681/
https://otland.net/threads/really-open-tibia-server-list.242617/
Why not Lua? https://luvit.io/

:|

@thread

Code:
local socket = require "socket"
local tcp = socket.tcp()
tcp:connect("underwar.org", 7171)
tcp:send(string.char(6, 0, 255, 255, 105, 110, 102, 111, 10))
while true do
    local msg, stat = tcp:receive()
    if stat == "closed" then
        break
    end
    print(msg)
end
tcp:close()

You just have to cache the information and renew it every once in a while.
 
Why not Lua? https://luvit.io/

:|

@thread

Code:
local socket = require "socket"
local tcp = socket.tcp()
tcp:connect("underwar.org", 7171)
tcp:send(string.char(6, 0, 255, 255, 105, 110, 102, 111, 10))
while true do
    local msg, stat = tcp:receive()
    if stat == "closed" then
        break
    end
    print(msg)
end
tcp:close()

You just have to cache the information and renew it every once in a while.

Select a language, PHP, Python, Go, whatever and learn it.

Tried Luvit once, did work pretty good actually.
 
Why not Lua? https://luvit.io/

:|

@thread

Code:
local socket = require "socket"
local tcp = socket.tcp()
tcp:connect("underwar.org", 7171)
tcp:send(string.char(6, 0, 255, 255, 105, 110, 102, 111, 10))
while true do
    local msg, stat = tcp:receive()
    if stat == "closed" then
        break
    end
    print(msg)
end
tcp:close()

You just have to cache the information and renew it every once in a while.
what is this brother?
 
what is this brother?
The basics to get the server information (name, players online, record etc etc...)
This returns this:
Code:
<?xml version="1.0"?>
<tsqp version="1.0"><serverinfo uptime="15500" ip="158.69.23.129" servername="UnderWar" port="7171" location="Brazil" url="http://underwar.org" server="UnderWar~W.G" version="0.5.0" client="8.60"/><owner name="TGC" email="[email protected]"/><players online="819" max="1500" peak="843"/><monsters total="48008"/><map name="" author="" width="65000" height="65000"/><rates experience="1" magic="1" skill="1" loot="1" spawn="2"/><motd>Welcome to the UnderWar Server! TeamSpeak 3: ts3.underwar.org</motd></tsqp>
 
The basics to get the server information (name, players online, record etc etc...)
This returns this:
Code:
<?xml version="1.0"?>
<tsqp version="1.0"><serverinfo uptime="15500" ip="158.69.23.129" servername="UnderWar" port="7171" location="Brazil" url="http://underwar.org" server="UnderWar~W.G" version="0.5.0" client="8.60"/><owner name="TGC" email="[email protected]"/><players online="819" max="1500" peak="843"/><monsters total="48008"/><map name="" author="" width="65000" height="65000"/><rates experience="1" magic="1" skill="1" loot="1" spawn="2"/><motd>Welcome to the UnderWar Server! TeamSpeak 3: ts3.underwar.org</motd></tsqp>
i don't have knowledge about programming languages only html and not very good :D
 
Back
Top