Code Monkey home page Code Monkey logo

otxserver's People

Contributors

aerwix avatar andrefaramir avatar brewsterl avatar danyelvarejao avatar gpedro avatar guirociozanini avatar iacubens avatar jlcvp avatar jndeus avatar jskalskisbg avatar lmiguelm26 avatar luanluciano93 avatar m4go avatar majestyotbr avatar malucooo avatar mattyx14 avatar nycholassousa avatar omarcopires avatar punkice3407 avatar reason184 avatar yurianiceto avatar znote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

otxserver's Issues

Armas encantadas

Cuando tienes un arma , war hammer y se termina el poder de encantar y vuelve ala normal, el npc no lo ve como un item normal [aunque el id si es el mismo] y puedes aplicar bugs con los npcs al venderlo.

7x debug ¿?

Tratare de explicar el error, con los monster especificos "Stalker, Warlock y Orc Warlord especificamente y por lo visto...
No se como ocurre pero de un momento a otro con estos monsters me da debug. La verdad no logro detallar que es, estoy pensando ya en el invis, pero no es 100% seguro, pero es constante, puedo entrar y al rato debug.. Aqui un cap del error.. y me ocurre con esos monsters luego de haber aplicado el commit al fix condition invis

Debug Assertion 7.72 Communication.cpp 1879
Sat May 14 19:08:24 2016
Windows Version: 6.2 build 9200 on 2
Graphic Engine: 1
Last Packet Types: 109 170 108 109 109 170 109 109 109 109
Last Packet: 012 000 109 111 126 230 125 007 002 111 126 229 125 007 051 051
Player Position: [32367,32231,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 109), reason:
Communication.cpp 1895: exception occurred, reason:
Communication.cpp 1879: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason:
 sx: 8 sy: 5 sz: 0
 Position: 2
 zx: 8 zy: 4 zz: 0
 dx: 0 dy: -1 dz: 0
 abs_sx: 32367 abs_sy: 32230 abs_sz: 7
 abs_zx: 32367 abs_zy: 32229 abs_zz: 7
 Start Cylinder (1):  (870,0) (4534,0)
 Start Cylinder (2):  (870,0) (4534,0)(-)(-)(-)(-)(-)(-)(-)(-)
 Destination Cylinder (1):  (870,0) (4534,0)
 Destination Cylinder (2):  (870,0) (4534,0)(-)(-)(-)(-)(-)(-)(-)(-)

Error en potions.lua

No esta definido el storage del achivement, solo es ponerlo con numeros

local cStorage = player:getStorageValue(50562)
if cStorage < 100000 then
player:setStorageValue(50562, math.max(1, cStorage) + 1)
elseif cStorage == 100000 then
player:addAchievement('Potion Addict')
player:setStorageValue(50562, 100001)
end

avalanche rune crash server Fix

all attack runes in spells.xml are:
<rune group="attack" spellid="115" name="Avalanche" id="2274" allowfaruse="1" charges="4" lvl="30" maglv="4" exhaustion="2000" groupcooldown="2000" script="attack/avalanche.lua"/>

is missing the flag blocktype="solid"... to fix the attack runes have put the flag after cooldown:

<rune group="attack" spellid="115" name="Avalanche" id="2274" allowfaruse="1" charges="4" lvl="30" maglv="4" exhaustion="2000" groupcooldown="2000" blocktype="solid" script="attack/avalanche.lua"/>

Expert PVP

I recently found in otland a guy who claims he almost complete expert pvp (90%)
There is just one crash bug, if you aim avalanche/thunderstorm at water, servers crash.
Mattyx, if you tried developing from 0, i guess this version will be a 10 min to complete job for you.
So, could you check?

https://github.com/slavidodo/forgottenserver/tree/Lastdeath

OTX cast

Hello please i want cast system for otx 8.6:(

Error Compiling in Ubuntu #4 (same?)

Just downloaded to try again and...... OTX3

[ 71%] Building CXX object CMakeFiles/tfs.dir/src/protocolgamebase.cpp.o
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGameBase::sendAddCreature(const Creature_, const Position&, int32_t, bool)’:
/home/ubuntu/otx/src/protocolgamebase.cpp:641:41: error: no matching function for call to ‘Game::updateSpectatorsPvp(Player_&, int)’
g_game.updateSpectatorsPvp(player, 520);
^
/home/ubuntu/otx/src/protocolgamebase.cpp:641:41: note: candidate is:
In file included from /home/ubuntu/otx/src/protocolgamebase.cpp:24:0:
/home/ubuntu/otx/src/game.h:502:8: note: void Game::updateSpectatorsPvp(Thing_)
void updateSpectatorsPvp(Thing_ thing);
^
/home/ubuntu/otx/src/game.h:502:8: note: candidate expects 1 argument, 2 provided
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGameBase::sendInventory()’:
/home/ubuntu/otx/src/protocolgamebase.cpp:665:47: error: ‘class Player’ has no member named ‘getAllItemsClientId’
std::map<uint16_t, uint16_t> items = player->getAllItemsClientId();
^
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGame::sendInventory()’:
/home/ubuntu/otx/src/protocolgamebase.cpp:684:47: error: ‘class Player’ has no member named ‘getAllItemsClientId’
std::map<uint16_t, uint16_t> items = player->getAllItemsClientId();
^
make[2]: *** [CMakeFiles/tfs.dir/src/protocolgamebase.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2

Errors

OTX 3 in Ubuntu, before your new update everything was fine. Now:

[Error - Monsters::deserializeSpell] - Gaz'haragoth - Unknown spell name: gaz'haragoth iceball
[Warning - Monsters::loadMonster] Cant load spell. data/monster/bosses/gaz'haragoth.xml
data/globalevents/scripts/startup.lua:1: attempt to index global 'GlobalStorage' (a nil value)
stack traceback:
[C]: in function '__index'
data/globalevents/scripts/startup.lua:1: in main chunk
in function 'createConditionObject'
data/creaturescripts/scripts/bosses/monster heal.lua:1: in main chunk
ata/spells/scripts/monster/white pale paralyze.lua:1: attempt to call global 'createCombatObject' (a nil value)
stack traceback:
[C]: in function 'createCombatObject'
data/movements/scripts/drowning.lua:7: attempt to call method 'getPlayer' (a nil value)
stack traceback:
[C]: in function 'getPlayer'
ata/npc/scripts/A Dead Bureaucrat1.lua:15: attempt to index global 'VoiceModule' (a nil value)
stack traceback:
[C]: in function '__index'
data/npc/scripts/A Dead Bureaucrat1.lua:15: in main chunk
ack traceback:
[C]: in function 'getItemName'
data/npc/lib/npcsystem/modules.lua:925: in function 'addSellableItem'
data/npc/lib/npcsystem/modules.lua:696: in function 'parseSellable'
data/npc/lib/npcsystem/modules.lua:590: in function 'parseParameters'
data/npc/lib/npcsystem/npcsystem.lua:173: in function 'parseParameters'
data/npc/scripts/Gnomerrow.lua:3: in main chunk

Just some of the errors.... Never saw this type of errors before, could you give some support?

No se puede entrar en 7.x

No puedo acceder al servidor usando 7.x al entrar al account manager se cierra el .exe usando otxserv2

Compiling Ubuntu Bug

In OTXSERV3, Path 10_9

[ 6%] Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
In file included from /home/ubuntu/otx/src/combat.h:27:0,
from /home/ubuntu/otx/src/game.h:24,
from /home/ubuntu/otx/src/actions.cpp:26:
/home/ubuntu/otx/src/player.h:600:8: error: ‘bool Player::isAttackable() const’ marked final, but is not virtual
bool isAttackable() const final;
^
In file included from /home/ubuntu/otx/src/combat.h:28:0,
from /home/ubuntu/otx/src/game.h:24,
from /home/ubuntu/otx/src/actions.cpp:26:
/home/ubuntu/otx/src/monster.h:103:8: error: ‘bool Monster::isAttackable() const’ marked final, but is not virtual
bool isAttackable() const final {
^
In file included from /home/ubuntu/otx/src/game.h:33:0,
from /home/ubuntu/otx/src/actions.cpp:26:
/home/ubuntu/otx/src/npc.h:208:8: error: ‘bool Npc::isAttackable() const’ marked final, but is not virtual
bool isAttackable() const final {
^
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2

And fails

Bug en linux

con este fix #79 Soluciono solo una parte, aun sigue este problema:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2d48700 (LWP 27415)]
0x000000000046ab57 in boost::shared_ptr::shared_ptr (this=0x7ffff2d477b0) at /usr/include/boost/smart_ptr/shared_ptr.hpp:323
323 template class shared_ptr
(gdb) bt

0 0x000000000046ab57 in boost::shared_ptr::shared_ptr (this=0x7ffff2d477b0) at /usr/include/boost/smart_ptr/shared_ptr.hpp:323

1 0x000000000065e079 in Protocol::getConnection (this=0x200000002) at protocol.h:54

2 0x000000000065dcae in Protocol::getIP (this=0x200000002) at protocol.cpp:214

3 0x0000000000654883 in Spectators::getIP (this=0x7fffe643fc70) at spectators.h:115

4 0x0000000000641d84 in Player::getIP (this=0x7fffe6440290) at player.cpp:2265

5 0x000000000065fd7e in ProtocolGame::login (this=0x7fffa0006fb0, name="Olddies", id=2, operatingSystem=CLIENTOS_WINDOWS, version=772, gamemaster=false)

at protocolgame.cpp:305

Debug

He compilado para la version 10.94 y al intentar entrar causa debug

Pz

in 8.6 otserver 2 when player atk mate in party he get pz ! how to remove this

Request: Feature: Item Abilities in Lua functions

I was looking in the source, and it doesn't seem like there needs to be anything altered to implement this, the only thing I think would be to add the functions in luascript

Item:hasAbility("ability", "sub-type") -- returns true or false
Item:getAbility("ability", "sub-type") -- returns value
Item:setAbility("ability", "sub-type", value) -- sets value for ability and specific sub-type.

ItemType:getAbility("ability", "sub-type")

Example use:

local fireAbsorption
if Item:hasAbility("absorb", "fire") then
fireAbsorption = Item:getAbility("absorb", "fire")
else
fireAbsorption = ItemType(Item:getId()):getAbility("absorb", "fire")
end

Could be used for skills, absorbpercent, fieldabsorbpercent, stats, statspercent, speed, health gain, mana gain, regeneration, anything you can already put in items.xml

Problemas en 7x

-Command /goto da debug al usarlo con invisible. (Este error solo es producido con Client Oficial, con OTClient no ocurre esto)
-La runa paralyze no funciona
-La runa wild growth no funciona (Nisiquiera crearla puedes)
-El bless no funciona pero ningun script extra ni nada. Y en ajustes esta activado.
-Exevo pan no funciona en pally y esta bien en spells.xml
-Las guildhouse al comprarlas dice que no estas invitado, a pesar que es el dueño y lider de la guild, solo puede pasar al un GM invitarlo (aleta grav,som, etc) y podra usar su casa sin problemas, el resto no.

Compiling Ubuntu Bug #5

[ 71%] Building CXX object CMakeFiles/tfs.dir/src/protocolgamebase.cpp.o
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGameBase::sendInventory()’:
/home/ubuntu/otx/src/protocolgamebase.cpp:660:47: error: ‘class Player’ has no member named ‘getAllItemsClientId’
std::map<uint16_t, uint16_t> items = player->getAllItemsClientId();
^
make[2]: *** [CMakeFiles/tfs.dir/src/protocolgamebase.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2

Parcel system. 7x

Al enviar un parcel en estas versiones el parcel lo envias pero.. nunca llega lol

Pvp bug?

Al matar a otro player el server pasa automaticamente de pvp a no-pvp. (?) Este problema me pasa en la version 8.6

Ubuntu Compiling error

Thx for all your support, could you check?
OTX 3, Path 10_90 on Ubuntu 14.04

[32%] Building CXX object CMakeFiles/tfs.dir/src/game.cpp.o
/home/ubuntu/otx/src/game.cpp: In member function ‘void Game::startDecay(Item_)’:
/home/ubuntu/otx/src/game.cpp:4260:27: error: no matching function for call to ‘Game::updateSpectatorsPvp(Item_&)’
updateSpectatorsPvp(item);
^
/home/ubuntu/otx/src/game.cpp:4260:27: note: candidate is:
In file included from /home/ubuntu/otx/src/game.cpp:28:0:
/home/ubuntu/otx/src/game.h:502:8: note: void Game::updateSpectatorsPvp(Thing_, uint32_t)
void updateSpectatorsPvp(Thing_ thing, uint32_t delay);
^
/home/ubuntu/otx/src/game.h:502:8: note: candidate expects 2 arguments, 1 provided
/home/ubuntu/otx/src/game.cpp: In member function ‘void Game::checkDecay()’:
/home/ubuntu/otx/src/game.cpp:4295:35: error: no matching function for call to ‘Game::updateSpectatorsPvp(Item_&)’
g_game.updateSpectatorsPvp(item);
^
/home/ubuntu/otx/src/game.cpp:4295:35: note: candidate is:
In file included from /home/ubuntu/otx/src/game.cpp:28:0:
/home/ubuntu/otx/src/game.h:502:8: note: void Game::updateSpectatorsPvp(Thing_, uint32_t)
void updateSpectatorsPvp(Thing* thing, uint32_t delay);
^
/home/ubuntu/otx/src/game.h:502:8: note: candidate expects 2 arguments, 1 provided
/home/ubuntu/otx/src/game.cpp: At global scope:
/home/ubuntu/otx/src/game.cpp:5586:6: error: prototype for ‘void Game::updateSpectatorsPvp(Thing_)’ does not match any in class ‘Game’
void Game::updateSpectatorsPvp(Thing_ thing)
^
In file included from /home/ubuntu/otx/src/game.cpp:28:0:
/home/ubuntu/otx/src/game.h:502:8: error: candidate is: void Game::updateSpectatorsPvp(Thing_, uint32_t)
void updateSpectatorsPvp(Thing_ thing, uint32_t delay);
^
make[2]: *** [CMakeFiles/tfs.dir/src/game.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2

Lure Infinit

How i can edit in source the possibility to the monster don't disappear in the lure?

Street Signs

Street signs ingame does not work. Id 1438-1439.

High cpu

Hello, i have ubuntu 14.04 with libboost 1.54 and still my cpu usage 50~60 with 100 players

how i fix pls?

Sd + Heal en 7x

Yo la verdad recomiendo agregar esto que ya quitaste antes.. 0cce867
Es solo un consejo, y configurar en config.lua colocar:

-- ConfigSpells

noAttackHealingSimultaneus = true
enableCooldowns = false

O simplemente agrgegar noAttackHealingSimultaneus, ya que eso no deberia ser asi, de atacar por ejemplo con sd y curarte al mismo tiempo.

Bugs actuales 7x & algunas soluciones

-Monster Doble ataque
Los monsters pueden atacar y usar varios ataques a la vez (por ejemplo un blue djinn puede hacer daño melee y energy o fire a la vez)
-Muchas de las spells de 7x estan bugs.. hasta recomiendo cambiarlas todas por othire o avesta y adaptarlas al gusto..
-Pz log out (old school)
Si lo se, es una mejora de tibias superiores.. la mejor solucion es quitar esta mejora y dejarlo a la vieja escuela x)
-Muchos monsters estan bugs, tambien recomiendo cojer de algun othire o avesta, se ahorran muchos dolores de cabeza..

HOW TO LOAD ITEMS.OTB on otx 7.6

Hello. When i am opening items otb from path_7x/items/76 and try to save it, it loses weight from 205kb to 130 kb and server dont want to open. Please help me.

Error al compilar en 7x

Error 1 error C2065: 'ITEMS_PATH' : undeclared identifier C:\Users\Leandro\Desktop\otxserver-otxserv2\otxserver-otxserv2\path_7_x\sources\otserv.cpp 674 1 TheOTXServer
Error 2 error C2065: 'ITEMS_PATH' : undeclared identifier C:\Users\Leandro\Desktop\otxserver-otxserv2\otxserver-otxserv2\path_7_x\sources\items.cpp 134 1 TheOTXServer
Error 3 error C2065: 'ITEMS_PATH' : undeclared identifier C:\Users\Leandro\Desktop\otxserver-otxserv2\otxserver-otxserv2\path_7_x\sources\items.cpp 389 1 TheOTXServer
Error 4 error C2065: 'ITEMS_PATH' : undeclared identifier C:\Users\Leandro\Desktop\otxserver-otxserv2\otxserver-otxserv2\path_7_x\sources\items.cpp 463 1 TheOTXServer
5 IntelliSense: identifier "ITEMS_PATH" is undefined c:\Users\Leandro\Desktop\otxserver-otxserv2\otxserver-otxserv2\path_7_x\sources\items.cpp 389 71 TheOTXServer

CombatCondition

Las funciones de:
doTargetCombatCondition(cid, target, condition, effect)
doAreaCombatCondition(cid, pos, area, condition, effect)

Hacen que el servidor se caiga (crash)

Database

Please, a updated database

[Error - mysql_store_result] Query: SELECT id, name, password, secret, type, premdays, lastday FROM accounts WHERE name = 'ava1'
Message: Unknown column 'secret' in 'field list'

No puedo compilar usando el pack de tfs y MVS15

me arroja este error

Severity Code Description Project File Line Suppression State Error C2338 You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later). (compiling source file ..\src\outputmessage.cpp) theforgottenserver C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic 661

compiling error

protocollogin.cpp
1>..\src\protocolgamebase.cpp(660): error C2039: 'getAllItemsClientId': is not a member of 'Player'
1> c:\users\reeke\downloads\otxserver-otxserv3\otxserver-otxserv3\path_10_9\src\npc.h(29): note: see declaration of 'Player'
1> protocolold.cpp
1> protocolspectator.cpp
1>..\src\protocollogin.cpp(47): warning C4100: 'version': unreferenced formal parameter
1> protocolstatus.cpp
1>..\src\protocolspectator.cpp(364): warning C4100: 'broadcast': unreferenced formal parameter
1> quests.cpp

Me sigue tirando error :<

Ey Gdb crash report help!

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./a'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000041884a in Item::getID (this=0x0) at item.h:184

184 item.h: No such file or directory.
(gdb) bt full
#0 0x000000000041884a in Item::getID (this=0x0) at item.h:184

No locals.
#1 0x000000000057f0f7 in LuaInterface::luaDoTransformItem (L=0x7f44a4b37070)

at luascript.cpp:3611
newId = 5745
env = 0xa1da40 LuaInterface::m_scriptEnv
func = "luaDoTransformItem"
newItem = 0x3
subType = -1
uid = 86059
item = 0x0
it = @0x7f4400000002: {_vptr.ItemType = 0x7f44a400, loaded = false,
stopTime = 12, showCount = 68, stackable = 127,
showDuration = false, showCharges = false, showAttributes = false,
dualWield = false, allowDistRead = false, canReadText = 4,
canWriteText = false, forceSerialize = false, isVertical = false,
isHorizontal = false, isHangable = false, usable = false,
movable = false, pickupable = 4, rotable = false,
replacable = false, lookThrough = false, walkStack = false,
hasHeight = false, blockSolid = false, blockPickupable = false,
blockProjectile = false, blockPathFind = false,
allowPickupable = false, alwaysOnTop = false, floorChange = {false,

117, false, false, false, false, false, false, false},

and another one happened today

(gdb) bt full
#0 0x000000000041884a in Item::getID (this=0x0) at item.h:184

No locals.
#1 0x000000000057f0f7 in LuaInterface::luaDoTransformItem (L=0x7f45fd6b1980)

at luascript.cpp:3611
    newId = 4294967292
    env = 0xa1da40 <LuaInterface::m_scriptEnv>
    __func__ = "luaDoTransformItem"
    newItem = 0x1
    subType = -1
    uid = 0
    item = 0x0
    it = @0x7f45abe3d470: {
      _vptr.ItemType = 0x6e16d0 <vtable for StaticTile+16>,
      loaded = false, stopTime = 95, showCount = 227, stackable = 171,
      showDuration = 69, showCharges = 127, showAttributes = false,
      dualWield = false, allowDistRead = 208, canReadText = 211,
      canWriteText = 227, forceSerialize = 171, isVertical = 69,
      isHorizontal = 127, isHangable = false, usable = false,
      movable = 156, pickupable = 128, rotable = 18, replacable = 122,
      lookThrough = 10, walkStack = false, hasHeight = false,
      blockSolid = false, blockPickupable = false,
      blockProjectile = false, blockPathFind = 128, allowPickupable = 2,
      alwaysOnTop = 2, floorChange = {false, false, false, 160, 211, 227,

any idea?

Bug Expert PVP

1# Dove Mode don't work properly.
Ex: Someone with yellow mode pass against someone with red mode = Work, red mode guy get pz but the yellow square appear in victim, not in attacker.....
Ex: Someone with red mode + hand closed pass against someone= Don't Work; Nothing happens
2# When you open skull, if you climb a ladder, after 1 min, the other player get yellow skull and you got no injust for killing he.
3# When you go down a ladder, if you are agressive against someone, the yellow square disappear and appear again.
4# When you open skull, the victim get pz lock too.
5# Yellow square leaves and appear in a random way sometimes, if you open skull.

Error compilar

Error al tratar de compilar

/root/otx/path_10_9/src/game.cpp: In member function ‘bool Game::combatChangeHealth(Creature_, Creature_, CombatDamage&)’:
/root/otx/path_10_9/src/game.cpp:3903:8: error: variable ‘critical’ set but not used [-Werror=unused-but-set-variable]
bool critical = true;

problema con servidor ya instalado

ya lo compile, quedo todo bien de echo me dice que ya esta en linea pero cuando le cambio la ip al cliente para conectarme no conecta ice que no esta enlinea, todo los puertos abiertos tanto en el firewall del dedicado donde esta el server como en mi pc

que estara pasando ?

Store bug

If your purchase history is large in game-store, character debugs every time you try to see.

You plan to introduce the integration with market, tibia coins?

Problemita con CastSystem

@mattyx14 Luego que logre adaptar el cast tengo dos problemas, a ver si me puedes ayudar

  1. Como publicaron en Blacktibia http://www.blacktibia.org/t40302p150-cast-otx-server-2-x-s-2-crying-damson#248330 que posibilidad hay de agregar un mensaje que diga:
    "Currently there are no casts available."

Es raro darle enter y que en el caso que no hay casts disponibles aparezca una cuenta en blanco, solo detalles xD, esto lo coloque arriba de la linea "// remove premium days":

if(account.name != "10" && !Player::autoList.size())
{
disconnectClient(0x0A, std::string("Currently there are no casts available.").c_str());
return;
}

El mensaje me aparece sin problemas, el problema sale es cuando cualquier jugador se conecta a su cuenta personal, el mensaje no aparece mas y vuelve a aparecer la cuenta de los casts vacios (En caso de que no hay casts disponibles) en lugar de aparecer el mensaje.

2)En el caso de 7x, no me he fijado la verdad en 8.6 jajaja, supone que al decir "/live on" deberian abrir un channel "Live Channel" pero esto no ocurre, y la unica forma que vi para que funcione el chat es simplemente abriendo un Chat Personal, es ahi donde los jugadores pueden hablar con el que hace el cast sin problemas y todo lo demas.

Error Compiling in Ubuntu #3

OTX 3, don't hate me pls

[71%] Building CXX object CMakeFiles/tfs.dir/src/protocolgamebase.cpp.o
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGameBase::sendAddCreature(const Creature_, const Position&, int32_t, bool)’:
/home/ubuntu/otx/src/protocolgamebase.cpp:637:25: error: ‘sendInventoryClientIds’ was not declared in this scope
sendInventoryClientIds();
^
/home/ubuntu/otx/src/protocolgamebase.cpp:641:41: error: no matching function for call to ‘Game::updateSpectatorsPvp(Player_&, int)’
g_game.updateSpectatorsPvp(player, 520);
^
/home/ubuntu/otx/src/protocolgamebase.cpp:641:41: note: candidate is:
In file included from /home/ubuntu/otx/src/protocolgamebase.cpp:24:0:
/home/ubuntu/otx/src/game.h:502:8: note: void Game::updateSpectatorsPvp(Thing_)
void updateSpectatorsPvp(Thing_ thing);
^
/home/ubuntu/otx/src/game.h:502:8: note: candidate expects 1 argument, 2 provided
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGameBase::sendInventory()’:
/home/ubuntu/otx/src/protocolgamebase.cpp:665:47: error: ‘class Player’ has no member named ‘getAllItemsClientId’
std::map<uint16_t, uint16_t> items = player->getAllItemsClientId();
^
/home/ubuntu/otx/src/protocolgamebase.cpp: In member function ‘void ProtocolGame::sendInventory()’:
/home/ubuntu/otx/src/protocolgamebase.cpp:684:47: error: ‘class Player’ has no member named ‘getAllItemsClientId’
std::map<uint16_t, uint16_t> items = player->getAllItemsClientId();
^
make[2]: *** [CMakeFiles/tfs.dir/src/protocolgamebase.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2

8.6 Client Crash OTX LORD ZEDD last

this is so annoying :/ players get random client crash aloooooooot

this is example of debug (am using latest 8.6 otx 2 LORD ZO~)

----- 13/5/2016 19:25:19 - Test (81.231.154.188) -----
Comment:
Graphic Engine: DirectX9 (2)
Operating System: Windows 7 Ultimate Edition 32 Bit in SWE
Processor: Dual Core AMD Athlon 64 X2 600
Video Card: ATI Radeon HD 4600 SERI
Last Packet Types: 109 109 101 109 109 104 109 109 101 109
Last Packet: 109 080 128 152 121 005 001 080 128 153 121 005 000 000 000 000
Player Position: [32852,31121,7]
Player Name: Test (thing)
Player Action: 049 052 057 046 053 054 046 054 057 046 049 054 056 058 055 049 055 050
Player.cpp 361: exception occurred, reason:
Network.cpp 946: exception occurred (ErrorCode = 0), reason:
Control.cpp 1331: exception occurred (Type = 109) (MainWindow = 29248904), reason:
Communication.cpp 2151: exception occurred, reason:
Communication.cpp 2142: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason:
sx: 2 sy: 11 sz: 2
Position: 1
zx: 2 zy: 12 zz: 2
dx: 0 dy: 1 dz: 0
abs_sx: 32848 abs_sy: 31128 abs_sz: 5
abs_zx: 32848 abs_zy: 31129 abs_zz: 5
Start Cylinder (1): (8230,0)
Start Cylinder (2): (8230,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Destination Cylinder (1): (423,0)
Destination Cylinder (2): (423,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Sat May 14 01:24:48 2016
Debug Assertion 8.60 Communication.cpp 2142

Different client debug assertion

----- 8/4/2014 21:15:24 - Robin Hood (.....) -----
Comment:
Windows Version: 6.1 build 7600 on 2
Graphic Engine: 2
Last Packet Types: 102 109 109 102 109 109 102 109 109 102
Last Packet: 104 000 109 126 126 161 125 007 002 127 126 161 125 007 109 125
Player Position: [32382,32162,7]
Player.cpp 383: exception occurred, reason:
Player.cpp 456: exception occurred, reason:
Control.cpp 1560: exception occurred (Type = 0), reason:
Control.cpp 366: unknown exception occurred (Force?1:0 = 0)
Tue Apr 08 20:44:59 2014
Debug Assertion 7.72 Control.cpp 366

----- 10/4/2014 0:35:48 - Monkey (.....) -----
Comment: sdfgsdg
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 030 160 160 160 104 109 104 109 104 109
Last Packet: 043 000 160 154 001 154 001 062 000 016 083 034 000 053 000 025
Player Position: [32322,32214,7]
Player.cpp 383: exception occurred, reason:
Player.cpp 456: exception occurred, reason:
Control.cpp 1560: exception occurred (Type = 0), reason:
Control.cpp 366: exception occurred (Force?1:0 = 0), reason:
MainWindow.cpp 127: exception occurred (Surface = 1), reason:
GUI.cpp 1408: exception occurred (Surface = 1), reason:
MapWindow.cpp 834: exception occurred (Surface = 1), reason:
MapWindow.cpp 527: unknown exception occurred (Obj = 1152)
Thu Apr 10 00:05:21 2014
Debug Assertion 7.72 MapWindow.cpp 527

----- 11/4/2014 11:41:10 - Azuriez (.....) -----
Comment:
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 162 143 160 160 030 160 180 180 180 131
Last Packet: 030 000 160 097 003 097 003 248 002 010 233 230 002 144 000 093
Player Position: [32396,32213,7]
Player.cpp 383: exception occurred, reason:
Player.cpp 456: exception occurred, reason:
Control.cpp 1560: exception occurred (Type = 0), reason:
Control.cpp 366: exception occurred (Force?1:0 = 0), reason:
MainWindow.cpp 127: exception occurred (Surface = 1), reason:
GUI.cpp 1408: exception occurred (Surface = 1), reason:
MapWindow.cpp 834: exception occurred (Surface = 1), reason:
MapWindow.cpp 527: unknown exception occurred (Obj = 1152)
Fri Apr 11 11:10:05 2014
Debug Assertion 7.72 MapWindow.cpp 527

----- 11/4/2014 12:13:44 - Coronel Green (.....) -----
Comment:
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 108 108 163 106 106 108 132 160 131 131
Last Packet: 007 000 108 122 129 154 123 013 001 051 051 051 051 051 051 051
Player Position: [33149,31643,13]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 108), reason:
Communication.cpp 1661: exception occurred (rx = 5) (ry = 5), reason:
Communication.cpp 1649: assertion failed (rx = 5) (ry = 5), reason:
FieldRefreshRequested(rx,ry,rz)
Fri Apr 11 13:13:29 2014
Debug Assertion 7.72 Communication.cpp 1649

----- 12/4/2014 21:16:23 - Monkey (.....) -----
Comment:
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 109 160 113 160 162 133 132 131 140 140
Last Packet: 162 001 140 173 017 000 064 000 140 173 017 000 064 000 131 048
Player Position: [33072,32695,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 109), reason:
Communication.cpp 1895: exception occurred, reason:
Communication.cpp 1879: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason:
sx: 8 sy: 5 sz: 0
Position: 1
zx: 8 zy: 4 zz: 0
dx: 0 dy: -1 dz: 0
abs_sx: 33072 abs_sy: 32694 abs_sz: 7
abs_zx: 33072 abs_zy: 32693 abs_zz: 7
Start Cylinder (1): (103,0)
Start Cylinder (2): (103,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Destination Cylinder (1): (103,0)
Destination Cylinder (2): (103,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Sat Apr 12 20:46:05 2014
Debug Assertion 7.72 Communication.cpp 1879

Open Server Ubuntu Error

Loading config (config.lua)
Opening logs
Loading Password encryption:

Using (SHA1) encryption ... (done).
Starting SQL connection
Running Database Manager
Optimizing table: account_viplist... [success]
Optimizing table: accounts... [success]
Optimizing table: bans... [success]
Optimizing table: environment_killers... [success]
Optimizing table: global_storage... [success]
Optimizing table: guild_invites... [success]
Optimizing table: guild_kills... [success]
Optimizing table: guild_ranks... [success]
Optimizing table: guild_wars... [success]
Optimizing table: guilds... [success]
Optimizing table: house_auctions... [success]
Optimizing table: house_data... [success]
Optimizing table: house_lists... [success]
Optimizing table: houses... [success]
Optimizing table: killers... [success]
Optimizing table: player_deaths... [success]
Optimizing table: player_depotitems... [success]
Optimizing table: player_items... [success]
Optimizing table: player_killers... [success]
Optimizing table: player_namelocks... [success]
Optimizing table: player_skills... [success]
Optimizing table: player_spells... [success]
Optimizing table: player_statements... [success]
Optimizing table: player_storage... [success]
Optimizing table: player_viplist... [success]
Optimizing table: players... [success]
Optimizing table: server_config... [success]
Optimizing table: server_motd... [success]
Optimizing table: server_record... [success]
Optimizing table: server_reports... [success]
Optimizing table: tile_items... [success]
Optimizing table: tile_store... [success]
Optimizing table: tiles... [success]
Checking for duplicated items
There wasn't duplicated items in the server.
Loading groups
Loading items (OTB)
Loading items (XML)
Loading outfits
Loading raids
Loading vocations
Loading chat channels
Loading experience stages
Loading mods:
Loading custom_commands.xml ... (done).
Loading events_mods.xml ... (done).
Loading firstitems_voc.xml ... (done).
Loading annihilator.xml ... (done).
Loading mod_cast.xml ... (done).
(0) mods were disabled.
Loading script systems:
>>> Loading weapons... Instrução ilegal

Error compilar

depotchest.cpp: In constructor ‘DepotChest::DepotChest(uint16_t, bool)’:
depotchest.cpp:33:12: error: statement has no effect [-Werror=unused-value]
pagination;

!frags no funciona.

Command !frags en la version 7.6 no funciona, no he testeado en la 7.7 y 7.4

Monsters ignore normal players

on path 8.6 monsters don't attack players, they just know if a player is near of them because they start to moving but no attack the players.
on Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.