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

Lua TFS 1.2 10.98 infinite hp, nobody can kill me

nowitsky

Member
Joined
Jun 26, 2016
Messages
88
Solutions
2
Reaction score
13
hello, maybe somebody can help me with it?
nobody can't kill me.

i tried it on samples and normal character what was make with acc maker and nothing changed.
it's little bit interesting beacuse all of them have 0 cap. thay had a flag <flag hasinfinitecapacity="1" /> before but i delete it and it's still looks same.

players have group_id 1

my groups.xml
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
    <group id="1" name="player" access="0" maxdepotitems="5000" maxvipentries="50" />
    <group id="2" name="gamemaster" access="1" maxdepotitems="0" maxvipentries="200" >
        <flags>
            <flag cannotusecombat="1" />
            <flag cannotattackplayer="1" />
            <flag cannotattackmonster="1" />
            <flag cannotbeattacked="1" />
            <flag canconvinceall="1" />
            <flag cansummonall="1" />
            <flag canillusionall="1" />
            <flag cansenseinvisibility="1" />
            <flag ignoredbymonsters="1" />
            <flag notgaininfight="1" />
            <flag hasinfinitemana="1" />
            <flag hasinfinitesoul="1" />
            <flag hasnoexhaustion="1" />
            <flag cannotusespells="1" />
            <flag cannotpickupitem="1" />
            <flag canalwayslogin="1" />
            <flag canbroadcast="1" />
            <flag canedithouses="1" />
            <flag cannotbebanned="1" />
            <flag cannotbepushed="1" />
            <flag hasinfinitecapacity="1" />
            <flag cannotpushallcreatures="1" />
            <flag cantalkredprivate="1" />
            <flag cantalkredchannel="1" />
            <flag talkorangehelpchannel="1" />
            <flag notgainexperience="1" />
            <flag notgainmana="1" />
            <flag notgainhealth="1" />
            <flag notgainskill="1" />
            <flag setmaxspeed="1" />
            <flag specialvip="1" />
            <flag notgenerateloot="1" />
            <flag cantalkredchannelanonymous="1" />
            <flag ignoreprotectionzone="1" />
            <flag ignorespellcheck="1" />
            <flag ignoreweaponcheck="1" />
            <flag cannotbemuted="1" />
            <flag isalwayspremium="1" />
        </flags>
    </group>
    <group id="3" name="god" access="1" maxdepotitems="0" maxvipentries="200" >
        <flags>
            <flag cannotusecombat="0" />
            <flag cannotattackplayer="1" />
            <flag cannotattackmonster="0" />
            <flag cannotbeattacked="1" />
            <flag canconvinceall="1" />
            <flag cansummonall="1" />
            <flag canillusionall="1" />
            <flag cansenseinvisibility="1" />
            <flag ignoredbymonsters="1" />
            <flag notgaininfight="1" />
            <flag hasinfinitemana="1" />
            <flag hasinfinitesoul="1" />
            <flag hasnoexhaustion="1" />
            <flag cannotusespells="0" />
            <flag cannotpickupitem="0" />
            <flag canalwayslogin="1" />
            <flag canbroadcast="1" />
            <flag canedithouses="1" />
            <flag cannotbebanned="1" />
            <flag cannotbepushed="1" />
            <flag hasinfinitecapacity="1" />
            <flag cannotpushallcreatures="1" />
            <flag cantalkredprivate="1" />
            <flag cantalkredchannel="1" />
            <flag talkorangehelpchannel="1" />
            <flag notgainexperience="1" />
            <flag notgainmana="1" />
            <flag notgainhealth="1" />
            <flag notgainskill="1" />
            <flag setmaxspeed="1" />
            <flag specialvip="1" />
            <flag notgenerateloot="0" />
            <flag cantalkredchannelanonymous="1" />
            <flag ignoreprotectionzone="1" />
            <flag ignorespellcheck="1" />
            <flag ignoreweaponcheck="1" />
            <flag cannotbemuted="1" />
            <flag isalwayspremium="1" />
        </flags>
    </group>
</groups>

 
tfs 1.2 is almost 6 years old! use latest tfs instead, and this might be an issue with onDeath/onChangeHealth scripts, check them

i downloaded it with this topic ([10.98] Nightly packages of The Forgotten Server (official / master) (https://otland.net/threads/10-98-nightly-packages-of-the-forgotten-server-official-master.270332/)) and i have a problem.

tfs-windows-msvc-Release-luajit=on-7618ddbd43611bf84428ecf7ef1fde8aa72f891f

i extract everything, make clean config.ini and console switching off in less than 1 sec.
 
i extract everything, make clean config.ini and console switching off in less than 1 sec.
this might help them:
 
no time for read something :D

i think it's something with config.ini and that's why can't make connection with database.
(i create database like always by phpmyadmin and import schema.sql)
config.ini shoot be clear?

 
The post @Evil Puncker linked above explains how to read the console when it closes right away like yours. Run the server in a console and the output stays on the screen.

You need to copy/rename config.lua.dist to config.lua (not .ini). Then you need to enter your MySQL username, database and password. You do not have to change host, port or sock. And don't open port 3306 on your router.
Lua:
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "username"
mysqlPass = "password"
mysqlDatabase = "databaseName"
mysqlPort = 3306
mysqlSock = ""
 
i downloaded it with this topic ([10.98] Nightly packages of The Forgotten Server (official / master) (https://otland.net/threads/10-98-nightly-packages-of-the-forgotten-server-official-master.270332/)) and i have a problem.

tfs-windows-msvc-Release-luajit=on-7618ddbd43611bf84428ecf7ef1fde8aa72f891f

i extract everything, make clean config.ini and console switching off in less than 1 sec.
You might have the same issue that I had.
TFS 1.X+ - TFS crashes before opening? (Solved) | OTLand
 
Back
Top