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

[8.6/12X] [TFS1.3] Global + Source + Web + tools + Quest Reward System

Hello guys,
when I want to do Blue Djinn Quest, and I spoke with Melchior and went to Umar then, He doesn't react for my Djanni'hah word, any ideas why? :(

BTW. Alkurius you did a great job, me with my friend have a lot of fun with this OTS :) Thanks bro!
 
Hello guys,
when I want to do Blue Djinn Quest, and I spoke with Melchior and went to Umar then, He doesn't react for my Djanni'hah word, any ideas why? :(

BTW. Alkurius you did a great job, me with my friend have a lot of fun with this OTS :) Thanks bro!

try say: "hi Djanni'hah"

hi + space + secret word...
 
I tried this with a lot of Windows clients, and when I open the mounts section in the store window, the client crash and the exe
 
Last edited:
so much errors while starting up
and scripts still have higher ids should be max 12k as its 8.6 client
you done it very fast you need to review for more better one


you are try to load the map 12x?

All the errors you mention is because you try to load monsters >8.6..

if you do all correctly and use all the data in alkurius86 you will no have errors.

1595113970977.png
 
no it run good when i use your compiled tfs and if i use my compiled tfs it get all the erros
i think you didnt remove bugs
you only stopped it to show in tfs console cuz monsters are there in monsters.xml but your tfs no show errors check video
 
no it run good when i use your compiled tfs and if i use my compiled tfs it get all the erros
i think you didnt remove bugs
you only stopped it to show in tfs console cuz monsters are there in monsters.xml but your tfs no show errors check video


i will fix it... the tfs.exe i use is a old version... (but don't send errors) y when you compil a new one show this errors..
--im testing in linux and i will upload again.. tnx.
 
Lua:
Lua Script Error: [Npc interface]
data/npc/scripts/addoner.lua:onCreatureSay
data/npc/scripts/addoner.lua:33: attempt to call global 'getItemNameById' (a nil value)
stack traceback:
        [C]: in function 'getItemNameById'
        data/npc/scripts/addoner.lua:33: in function 'callback'
        data/npc/lib/npcsystem/keywordhandler.lua:31: in function 'processMessage'
        data/npc/lib/npcsystem/keywordhandler.lua:186: in function 'processNodeMessage'
        data/npc/lib/npcsystem/keywordhandler.lua:161: in function 'processMessage'
        data/npc/lib/npcsystem/npchandler.lua:428: in function 'onCreatureSay'
        data/npc/scripts/addoner.lua:8: in function <data/npc/scripts/addoner.lua:8>

i got this error
 
how to compile on debian 8?

Because my errors

Code:
-- Build files have been written to: /home/OTServ/src
[  1%] Generating CXX prefix source cotire/tfs_CXX_prefix.cxx
[  2%] Generating CXX prefix header cotire/tfs_CXX_prefix.hxx
[  3%] Building CXX precompiled header cotire/tfs_CXX_prefix.hxx.gch
In file included from /home/OTServ/src/cotire/tfs_CXX_prefix.cxx:4:0,
                 from /home/OTServ/src/cotire/tfs_CXX_prefix.hxx:4:
/home/OTServ/src/otpch.h:54:27: fatal error: spdlog/spdlog.h: No such file or di           rectory
#include <spdlog/spdlog.h>
                           ^
compilation terminated.
CMake Error at cmake/FindCotire.cmake:1783 (message):
  cotire: error 1 precompiling /home/OTServ/src/cotire/tfs_CXX_prefix.hxx.
Call Stack (most recent call first):
  cmake/FindCotire.cmake:3332 (cotire_precompile_prefix_header)


CMakeFiles/tfs.dir/build.make:54: recipe for target 'cotire/tfs_CXX_prefix.hxx.g           ch' failed
make[2]: *** [cotire/tfs_CXX_prefix.hxx.gch] Error 1
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/tfs.dir/all' failed
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

I have the same error =/
 
no it run good when i use your compiled tfs and if i use my compiled tfs it get all the erros
i think you didnt remove bugs
you only stopped it to show in tfs console cuz monsters are there in monsters.xml but your tfs no show errors check video

hi i update a version compiled in Linux/Ubuntu... i think this version is more clean.

Post automatically merged:

Can somebody help me to put how many quest points have in the character info?

1596728063677.png


in htdocs\system\libs\pot\OTS_Player

change
private $data = array('sex' => 0, 'vocation' => 0, 'experience' => 0, 'level' => 1, 'maglevel' => 0, 'health' => 100, 'healthmax' => 100, 'mana' => 100, 'manamax' => 100, 'manaspent' => 0, 'soul' => 0, 'lookbody' => 10, 'lookfeet' => 10, 'lookhead' => 10, 'looklegs' => 10, 'looktype' => 136, 'lookaddons' => 0, 'posx' => 0, 'posy' => 0, 'posz' => 0, 'cap' => 0, 'lastlogin' => 0, 'lastip' => 0, 'save' => true, 'skulltime' => 0, 'skull' => 0, 'balance' => 0, 'lastlogout' => 0, 'blessings' => 0, 'stamina' => 0, 'online' => 0, 'comment' => '', 'created' => 0, 'hidden' => 0);


to

private $data = array('sex' => 0, 'vocation' => 0, 'experience' => 0, 'level' => 1, 'maglevel' => 0, 'health' => 100, 'healthmax' => 100, 'mana' => 100, 'manamax' => 100, 'manaspent' => 0, 'soul' => 0, 'lookbody' => 10, 'lookfeet' => 10, 'lookhead' => 10, 'looklegs' => 10, 'looktype' => 136, 'lookaddons' => 0, 'posx' => 0, 'posy' => 0, 'posz' => 0, 'cap' => 0, 'lastlogin' => 0, 'lastip' => 0, 'save' => true, 'skulltime' => 0, 'skull' => 0, 'balance' => 0, 'lastlogout' => 0, 'blessings' => 0, 'stamina' => 0, 'online' => 0, 'comment' => '', 'created' => 0, 'hidden' => 0, 'QuestPoints' => 0);


and

// SELECT query on database
$this->data = $this->db->query('SELECT id, name, account_id, group_id, sex, vocation, experience, level, maglevel, health, healthmax, mana, manamax, manaspent, soul, lookbody, lookfeet, lookhead, looklegs, looktype' . ($this->db->hasColumn('players', 'lookaddons') ? ', lookaddons' : '') . ', posx, posy, posz, cap, lastlogin, lastlogout, lastip, save, conditions, ' . $__load['skull_time'] . ' as skulltime, ' . $__load['skull_type'] . ' as skull' . $__load['guild_info'] . ', town_id' . $__load['loss_experience'] . $__load['loss_items'] . ', balance' . ($__load['blessings'] ? ', blessings' : '') . ($__load['direction'] ? ', direction' : '') . ($__load['stamina'] ? ', stamina' : '') . ($__load['world_id'] ? ', world_id' : '') . ($__load['online'] ? ', online' : '') . ', ' . ($__load['deletion'] ? 'deletion' : 'deleted') . '' . ($__load['promotion'] ? ', promotion' : '') . ($__load['marriage'] ? ', marriage' : '') . ', comment, created, hidden FROM players WHERE id = ' . (int)$id)->fetch();


to

// SELECT query on database
$this->data = $this->db->query('SELECT id, name, account_id, group_id, sex, vocation, experience, level, maglevel, health, healthmax, mana, manamax, manaspent, soul, lookbody, lookfeet, lookhead, looklegs, looktype' . ($this->db->hasColumn('players', 'lookaddons') ? ', lookaddons' : '') . ', posx, posy, posz, cap, lastlogin, lastlogout, lastip, save, conditions, ' . $__load['skull_time'] . ' as skulltime, ' . $__load['skull_type'] . ' as skull' . $__load['guild_info'] . ', town_id' . $__load['loss_experience'] . $__load['loss_items'] . ', balance' . ($__load['blessings'] ? ', blessings' : '') . ($__load['direction'] ? ', direction' : '') . ($__load['stamina'] ? ', stamina' : '') . ($__load['world_id'] ? ', world_id' : '') . ($__load['online'] ? ', online' : '') . ', ' . ($__load['deletion'] ? 'deletion' : 'deleted') . '' . ($__load['promotion'] ? ', promotion' : '') . ($__load['marriage'] ? ', marriage' : '') . ', comment, created, hidden, QuestPoints FROM players WHERE id = ' . (int)$id)->fetch();


and add this function in some place
public function getQuestPoints()
{
return $this->data['QuestPoints'];
}


in
htdocs\system\templates\characters.html

change (Add the bold text below Residence)

{% set rows = rows + 1 %}
<tr bgcolor="{{ getStyle(rows) }}">
<td>Residence:</td>
<td>{{ town }}</td>
</tr>

to

{% set rows = rows + 1 %}
<tr bgcolor="{{ getStyle(rows) }}">
<td>Residence:</td>
<td>{{ town }}</td>
</tr>

{% set rows = rows + 1 %}
<tr bgcolor="{{ getStyle(rows) }}">
<td>Quest Points:</td>
<td>{{ player.getquestpoints() }}</td>
</tr>
 
Last edited:
Foreign language outside native chatboards - This is an English community. We do however have a portuguese board where people may submit portuguese content.
tem que ser corrigido sistema de npcs por exemplo tu vai compra outras magias que tenha luz no nome ele so manda utevo lux

alguns outros bugs achei depois posto tudo tmj obr pelo projeto
 
Back
Top