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

Script and tutorial to automate install of "Leaked" 7.70 server

Thanks @SilverFern , very cool and easy! Appreciate it.

Hey guys, does anyone know all the GM spells? I managed to find some here and there, but I don't think I have them all.

These are the ones I've found:
#bmensagem "message": says in red to whole world
#cmensagem "message": says in ted in specific channel
alito mas res: sd around the gm
Alito tera: clear the sqm in front
Omani "charname": teleport the player to it's hometown
Omana "charname": kick the player out
alani "city": teleport to city place
alani <"slow","normal","fast","fastest">: change your speed
alani hur <"up","down">: go up or down floor
alani sio "charname": teleport next to the player
alevo "itemname": conjure item
alevo cogni <number>: get number of exp
alevo cogni <skillindex> <number>: get number of points in the skill selected

Let me know if you guys know more spells, thanks.
 
@guizinpk2
Get Item - alevo para para
Get Item - alevo para
Move - alani para
Get Experience - alevo cogni para
Change Data - aleta para
Get Skill Experience - alevo cogni para para
Teleport to Friend - alani sio para
Retrieve Friend - alliber sio para
Summon Wild Creature - alevo res para
Banish Account - analiber para para para
Get Position - aliva tera
Temple Teleport - omani para
Delete Account - omana gran liber para para
Set Namerule - omamo para
Create Gold - alevo vis para
Change Profession or Sex - aleta vita para
Entry in Criminal Record - omisa para para
Namelock - omana hora para
Kick Player - omana para
Delete Character - omana gran res para para
Banish IP Address - omana vis para para
Banish Character - omana res para para para
Get Quest Value - aliva cogni para
Set Quest Value - aleta cogni para para
Desintegrate Spell - alito tera
Levitate Gamemaster - alani hur para
Clear Quest Values - alana cogni
Kill All Creatures - alito mas res
Start Monsterraid - alevo mas res para
 
changing items isn't too hard, it seems.

~/home/game/dat/objects.srv
find spear, line 15043, erase ThrowFragility=3, i also changed ThrowAttackValue=25 to 30, restart server.

works fine! snapshot made, just incase
Code:
TypeID      = 3277
Name        = "a spear"
Flags       = {Cumulative,Take,Throw}
Attributes  = {Weight=2000,ThrowRange=7,ThrowAttackValue=25,ThrowDefendValue=0,ThrowMissile=1,ThrowSpecialEffect=0,ThrowEffectStrength=0,ThrowFragility=3}

I'd be a lot happier if I could do something about spears and other ammunition breaking so fast, because training my dist to a decent level is almost impossible (the challenge is fun, but it's a bit extreme and I love high skills).

Where is that parcel room? I don't recall ever seeing that, and I've been exploring the map ever since Thais was the only city in the game xD

23:14 You see a blackboard.
You read: Maintenance Area!
Only Gods and Celestials!
Mortals keep out!
u cant get here through regular exploring, looks like private spawns area for cip members ;)
 
I just had a rare power outage that shut down my pc and consequently my server. I was mortified about losing my progress on my characters today, but when I started it back up I found that they were where I had left them. How on earth did this happen? Aren't characters only saved when you close the server terminals correctly? This could be very useful information to prevent losses in future server crashes.
 
Hey, I have problem with stuttering/lagging. Every 10+/- seconds I am bouncing off something, it's unplayable, wonder if someone is having same issue. Thanks.
 
I actually have a bit of that too. For me it's mainly the occasional bit of rubberbanding.
 
press turbo

Bot%C3%B3n-turbo-PC-viejo.jpg
 
Due to a sudden resurgence of people interested in hosting the leaked 7.7 server, I came up with a script to automate all the steps outlined in the excellent tutorial by @Crevasse, and also took the opportunity to make some improvements to work on a more recent version of Ubuntu.

All you need to do is to install Ubuntu in a VM, download the required files and run the scripts.

1. Install Ubuntu 22.04.2 LTS (64 bits) on a virtual machine with VirtualBox​

Simply follow this easy tutorial from Ubuntu, then configure your VM with the recommended settings below:
  • 8 GB of RAM
  • 2 CPU cores
  • 25 GB of disk space
  • Network settings should be configured to use Bridged Adapter, so the VM will get an IP similar to your host PC (e.g.: 192.168.x.x)
Once Ubuntu is up and running, you might want to give sudo permissions to your user, which can be done by running the commands below in a terminal:
Code:
su -
sudo adduser $(whoami) sudo
reboot

2. Download all required files

Go to Crevasse's post and download all attached files. You should have 6 mandatory files and 1 optional:
Also, download the "ot-scripts-xxx.zip" attached to my post and extract all scripts.

3. Install the server​

Make sure all files above are in the same folder on your VM. If you run ls -1, your directory should look like this:
Code:
dennis-libraries.rar
game
install.sh
otserv_schema_data.rar
realotsloginserver-master.zip
realots-query-manager-master.zip
realots-schema-inc-players.zip
start-game-server.sh
start-login-server.sh
start-query-manager.sh
tibia-game.tarball.tar.gz

Run the commands below, which is giving execution permission to all scripts and running the install script:
Code:
sudo chmod +x install.sh start-query-manager.sh start-game-server.sh start-login-server.sh
sudo ./install.sh
Note: the script will ask you to enter a password for the MySQL database user. You can also pass it as an argument to the script, e.g.: sudo ./install.sh mypassword

The installation will take about 5 minutes, depending on your resources and Internet connection.

4. Run all services​

I've included scripts to run the different services required.
Simply run the following commands (in that order) to start up all the services to serve the game, each one in its own terminal:
Code:
sudo ./start-query-manager.sh
sudo ./start-game-server.sh
sudo ./start-login-server.sh

5. Customise the 7.70 client​

In case you don't want to use an IP changer, you can edit the client to point to your VM server.
Code:
test.cipsoft.com
server.tibia.com
server2.tibia.com
tibia1.cipsoft.com
tibia2.cipsoft.com
Note: make sure you replace the remaining characters with 00 bytes. Check this post for more details: Configuration - [Tutorial] Make your custom Tibia Client. (https://otland.net/threads/tutorial-make-your-custom-tibia-client.65/)

6. Log in (and have fun)​

  • On your VM, open the browser and go to http://localhost/phpmyadmin
  • Sign in with the username "otserv" and the password you provided to this install script
  • Click on the "otserv" database, then the "users" table
  • You can use any "login" and "passwd" to log in to an account on the client

Future improvements​

Some ideas for the community to improve this even further:
  • Provide a docker with everything already set up
  • Provide the download link to a VM with everything pre-installed
  • Automate the step of editing the client hex
  • Document known issues
  • When installing packages, use static versions to avoid breaking changings when downloading recent libs
  • Improve security
  • Provide all files in a single zip
  • Automatically download files if they don't exist
  • Turn it into an installer
  • Include a GUI for creating accounts
  • Add instructions to securely set it up for others to join your server
Thanks for good job!
 
So I was playing for week and made 25 level and suddenly when i logged today I am in Rookgard, have 0 level, 0 skills, and 65535 Hp and Mana WTF? xD
By the wae, how to change player statistics? In phpmyadmin I can only change name and gender the other things won't change.
 
Last edited:
Due to a sudden resurgence of people interested in hosting the leaked 7.7 server, I came up with a script to automate all the steps outlined in the excellent tutorial by @Crevasse, and also took the opportunity to make some improvements to work on a more recent version of Ubuntu.

All you need to do is to install Ubuntu in a VM, download the required files and run the scripts.

1. Install Ubuntu 22.04.2 LTS (64 bits) on a virtual machine with VirtualBox​

Simply follow this easy tutorial from Ubuntu, then configure your VM with the recommended settings below:
  • 8 GB of RAM
  • 2 CPU cores
  • 25 GB of disk space
  • Network settings should be configured to use Bridged Adapter, so the VM will get an IP similar to your host PC (e.g.: 192.168.x.x)
Once Ubuntu is up and running, you might want to give sudo permissions to your user, which can be done by running the commands below in a terminal:
Code:
su -
sudo adduser $(whoami) sudo
reboot

2. Download all required files

Go to Crevasse's post and download all attached files. You should have 6 mandatory files and 1 optional:
Also, download the "ot-scripts-xxx.zip" attached to my post and extract all scripts.

3. Install the server​

Make sure all files above are in the same folder on your VM. If you run ls -1, your directory should look like this:
Code:
dennis-libraries.rar
game
install.sh
otserv_schema_data.rar
realotsloginserver-master.zip
realots-query-manager-master.zip
realots-schema-inc-players.zip
start-game-server.sh
start-login-server.sh
start-query-manager.sh
tibia-game.tarball.tar.gz

Run the commands below, which is giving execution permission to all scripts and running the install script:
Code:
sudo chmod +x install.sh start-query-manager.sh start-game-server.sh start-login-server.sh
sudo ./install.sh
Note: the script will ask you to enter a password for the MySQL database user. You can also pass it as an argument to the script, e.g.: sudo ./install.sh mypassword

The installation will take about 5 minutes, depending on your resources and Internet connection.

4. Run all services​

I've included scripts to run the different services required.
Simply run the following commands (in that order) to start up all the services to serve the game, each one in its own terminal:
Code:
sudo ./start-query-manager.sh
sudo ./start-game-server.sh
sudo ./start-login-server.sh

5. Customise the 7.70 client​

In case you don't want to use an IP changer, you can edit the client to point to your VM server.
Code:
test.cipsoft.com
server.tibia.com
server2.tibia.com
tibia1.cipsoft.com
tibia2.cipsoft.com
Note: make sure you replace the remaining characters with 00 bytes. Check this post for more details: Configuration - [Tutorial] Make your custom Tibia Client. (https://otland.net/threads/tutorial-make-your-custom-tibia-client.65/)

6. Log in (and have fun)​

  • On your VM, open the browser and go to http://localhost/phpmyadmin
  • Sign in with the username "otserv" and the password you provided to this install script
  • Click on the "otserv" database, then the "users" table
  • You can use any "login" and "passwd" to log in to an account on the client

Future improvements​

Some ideas for the community to improve this even further:
  • Provide a docker with everything already set up
  • Provide the download link to a VM with everything pre-installed
  • Automate the step of editing the client hex
  • Document known issues
  • When installing packages, use static versions to avoid breaking changings when downloading recent libs
  • Improve security
  • Provide all files in a single zip
  • Automatically download files if they don't exist
  • Turn it into an installer
  • Include a GUI for creating accounts
  • Add instructions to securely set it up for others to join your server And thanks for the great guidance. I appreciate such educational resources and often use the services of such online services as Maths Assignment Help Online by Experts - AssignmentBro (https://assignmentbro.com/ca/math-assignment-help) to improve my knowledge and order quality work from real professionals. It seems to me that in this way I can gain invaluable experience by analyzing the work of real specialists.
And thanks for tutorial!
 
So I was playing for week and made 25 level and suddenly when i logged today I am in Rookgard, have 0 level, 0 skills, and 65535 Hp and Mana WTF? xD
By the wae, how to change player statistics? In phpmyadmin I can only change name and gender the other things won't change.
this is best done in-game with god spell,
"get skill experience - alevo cogni para para"

each skill has a number you can add points to
alevo cogni "0 "1000 adds 1000 exp,
and the same thing goes for other skills

0 - Experience
1 - Magic Level
2 - Health
3 - Mana
4 - Move Speed
5 - Capacity
6 - Shielding
7 - Distance Fighting
8 - Sword Fighting
9 - Club Fighting
10 - Axe Fighting

also, you can also edit the user files directly,
computer/home/game/usr/
it's nice to learn spells and for refreshing inventory
 
Last edited:
Anyone had this problem? Can start everything except game.

"sudo ./start-game-server.sh" gives me "/home/game/bin/game no such file or directory"

The file is there. lib32z1 is installed.

I'm on Ubuntu 22.04.3
 
hi guys, whats'up? i tried 1/1 and 999/999 to log in GOD accounts but doesn't works for me..
someone have any idea?
 
hi guys, whats'up? i tried 1/1 and 999/999 to log in GOD accounts but doesn't works for me..
someone have any idea?
open http://localhost/phpmyadmin in browser and login otserv. change userlevel in folder: otserv/users, 0= player 100= gm, 255=god

im trying to open server for friends. login char list works but can't login game. port 7171 opens when i put login server online but 7172 stays closed. any ideas?

i edited client with public ip, opened ports in router and firewall, edited windows host file. i think maybe need to change something in vm network, or add public ip in files or open another port idk..
 
open http://localhost/phpmyadmin in browser and login otserv. change userlevel in folder: otserv/users, 0= player 100= gm, 255=god

im trying to open server for friends. login char list works but can't login game. port 7171 opens when i put login server online but 7172 stays closed. any ideas?

i edited client with public ip, opened ports in router and firewall, edited windows host file. i think maybe need to change something in vm network, or add public ip in files or open another port idk..
thank you bro, worked!! but, when i try to summon a creature or item with 2 names like (spike sword) or (orc shaman) the command doesn't works, do you have any idea to solve this?

about your questions, I think they need to be connected to your LAN via cable or WIFI, try using hamachi or another VPN
 
Back
Top