Ir para conteúdo

Source DarkXPoke e PDA


Posts Recomendados

Em 27/04/2017 at 10:09, Wend II disse:

Parabéns por seu trabalho Kyogron! No momento não estou mexendo com nenhum servidor, mas estarei baixando essa source para testes em algumas bases. Poderia falar quais as funções que você adicionou na source?

 

att. Wend

Obrigado amigo, Bom estou colocando as próprias funções da dxp, Embora essa source esteja funcionando o account manager entre outras funções, Há muitas coisas ainda para serem colocadas pelo meu ponto de vista.

Link para o comentário
Compartilhar em outros sites

Olá, nem tinha postado aqui pq achei q ia ser mais um dos q nao postam nada nem ajudam com o DxP, eu sou um dos mais velhos q ta com o server... queria te pedir umas coisinhas q tao faltando neles e acho q é nas sources.

1º seria o contador pra as tasks do clan pois os pokes q voce mata nao contam no DxP ai nao tem como fazer tasks de clan

2º seria arrumar os npc de batalha (gym etc) 

 

tenho certeza q essas coisas sao feitas na source...

Link para o comentário
Compartilhar em outros sites

Em 02/05/2017 at 12:13, Josegvb disse:

Olá, nem tinha postado aqui pq achei q ia ser mais um dos q nao postam nada nem ajudam com o DxP, eu sou um dos mais velhos q ta com o server... queria te pedir umas coisinhas q tao faltando neles e acho q é nas sources.

1º seria o contador pra as tasks do clan pois os pokes q voce mata nao contam no DxP ai nao tem como fazer tasks de clan

2º seria arrumar os npc de batalha (gym etc) 

 

tenho certeza q essas coisas sao feitas na source...

Irei ver se consigo ajeitar essas funções futuramente, Atualmente estou meio parado pois estou trabalhando em um OpenSource do meu servidor.. Com isso estou meio sem tempo, Mas assim que possível será postada uma atualização.

Link para o comentário
Compartilhar em outros sites

  • 2 months later...

Esperando ansiosamente pela V3 com conserto do bug do GYM.

Por acaso saberia dizer qual parte da source devo tentar consertar o Gym system enquanto não sai a V3. Se eu conseguir consertar posto aqui pra galera.

Link para o comentário
Compartilhar em outros sites

Olá! To tendo alguns problemas quando tento compilar em Ubuntu 14.04, alguém pode me orientar?

 

Spoiler
make  all-ammake[1]: Entering directory `/home/otserv/alaskaotp'g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cppg++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o allocator.cppg++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cppg++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT beds.o -MD -MP -MF .deps/beds.Tpo -c -o beds.o beds.cppmv -f .deps/allocator.Tpo .deps/allocator.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cppchat.cpp: In member function 'ChatChannel* Chat::createChannel(Player*, uint16_t)':chat.cpp:381:14: warning: variable 'flags' set but not used [-Wunused-but-set-variable]     uint16_t flags = 0;              ^chat.cpp: In member function 'ChatChannel* Chat::getChannel(Player*, uint16_t)':chat.cpp:1121:10: warning: converting 'false' to pointer type 'ChatChannel*' [-Wconversion-null]   return false;          ^mv -f .deps/baseevents.Tpo .deps/baseevents.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cppmv -f .deps/beds.Tpo .deps/beds.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT condition.o -MD -MP -MF .deps/condition.Tpo -c -o condition.o condition.cppmv -f .deps/actions.Tpo .deps/actions.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT configmanager.o -MD -MP -MF .deps/configmanager.Tpo -c -o configmanager.o configmanager.cppmv -f .deps/chat.Tpo .deps/chat.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.cppmv -f .deps/combat.Tpo .deps/combat.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cppmv -f .deps/condition.Tpo .deps/condition.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT creature.o -MD -MP -MF .deps/creature.Tpo -c -o creature.o creature.cppmv -f .deps/configmanager.Tpo .deps/configmanager.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT creatureevent.o -MD -MP -MF .deps/creatureevent.Tpo -c -o creatureevent.o creatureevent.cppmv -f .deps/connection.Tpo .deps/connection.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT cylinder.o -MD -MP -MF .deps/cylinder.Tpo -c -o cylinder.o cylinder.cppcreature.cpp: In member function 'int32_t Creature::getStepDuration(Direction) const':creature.cpp:1509:1: warning: control reaches end of non-void function [-Wreturn-type] } ^mv -f .deps/cylinder.Tpo .deps/cylinder.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT database.o -MD -MP -MF .deps/database.Tpo -c -o database.o database.cppmv -f .deps/container.Tpo .deps/container.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT databasemanager.o -MD -MP -MF .deps/databasemanager.Tpo -c -o databasemanager.o databasemanager.cppmv -f .deps/creatureevent.Tpo .deps/creatureevent.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT databasemysql.o -MD -MP -MF .deps/databasemysql.Tpo -c -o databasemysql.o databasemysql.cppmv -f .deps/creature.Tpo .deps/creature.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT depot.o -MD -MP -MF .deps/depot.Tpo -c -o depot.o depot.cppmv -f .deps/databasemysql.Tpo .deps/databasemysql.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT exception.o -MD -MP -MF .deps/exception.Tpo -c -o exception.o exception.cppmv -f .deps/exception.Tpo .deps/exception.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT fileloader.o -MD -MP -MF .deps/fileloader.Tpo -c -o fileloader.o fileloader.cppmv -f .deps/database.Tpo .deps/database.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cppmv -f .deps/databasemanager.Tpo .deps/databasemanager.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT globalevent.o -MD -MP -MF .deps/globalevent.Tpo -c -o globalevent.o globalevent.cppmv -f .deps/depot.Tpo .deps/depot.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT group.o -MD -MP -MF .deps/group.Tpo -c -o group.o group.cppgame.cpp: In member function 'Item* Game::findItemOfType(Cylinder*, uint16_t, bool, int32_t)':game.cpp:1704:10: warning: converting 'false' to pointer type 'Item*' [-Wconversion-null]   return false;          ^mv -f .deps/fileloader.Tpo .deps/fileloader.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.cppmv -f .deps/gui.Tpo .deps/gui.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT house.o -MD -MP -MF .deps/house.Tpo -c -o house.o house.cppmv -f .deps/group.Tpo .deps/group.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT housetile.o -MD -MP -MF .deps/housetile.Tpo -c -o housetile.o housetile.cppmv -f .deps/globalevent.Tpo .deps/globalevent.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT inputbox.o -MD -MP -MF .deps/inputbox.Tpo -c -o inputbox.o inputbox.cppmv -f .deps/housetile.Tpo .deps/housetile.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT ioban.o -MD -MP -MF .deps/ioban.Tpo -c -o ioban.o ioban.cppmv -f .deps/inputbox.Tpo .deps/inputbox.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT ioguild.o -MD -MP -MF .deps/ioguild.Tpo -c -o ioguild.o ioguild.cppmv -f .deps/game.Tpo .deps/game.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT iologindata.o -MD -MP -MF .deps/iologindata.Tpo -c -o iologindata.o iologindata.cppmv -f .deps/house.Tpo .deps/house.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT iomap.o -MD -MP -MF .deps/iomap.Tpo -c -o iomap.o iomap.cppmv -f .deps/ioban.Tpo .deps/ioban.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT iomapserialize.o -MD -MP -MF .deps/iomapserialize.Tpo -c -o iomapserialize.o iomapserialize.cppmv -f .deps/ioguild.Tpo .deps/ioguild.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT item.o -MD -MP -MF .deps/item.Tpo -c -o item.o item.cppmv -f .deps/iomap.Tpo .deps/iomap.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT itemattributes.o -MD -MP -MF .deps/itemattributes.Tpo -c -o itemattributes.o itemattributes.cppmv -f .deps/iologindata.Tpo .deps/iologindata.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT items.o -MD -MP -MF .deps/items.Tpo -c -o items.o items.cppmv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cppmv -f .deps/itemattributes.Tpo .deps/itemattributes.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT mailbox.o -MD -MP -MF .deps/mailbox.Tpo -c -o mailbox.o mailbox.cppmv -f .deps/item.Tpo .deps/item.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.cppluascript.cpp: In member function 'bool LuaScriptInterface::loadDirectory(const string&, Npc*)':luascript.cpp:719:23: error: 'class boost::filesystem::directory_entry' has no member named 'leaf'   std::string s = it->leaf();                       ^mv -f .deps/items.Tpo .deps/items.Pog++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cppmake[1]: *** [luascript.o] Error 1make[1]: *** Waiting for unfinished jobs....mv -f .deps/mailbox.Tpo .deps/mailbox.Pomv -f .deps/md5.Tpo .deps/md5.Pomv -f .deps/map.Tpo .deps/map.Pomake[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

Link para o comentário
Compartilhar em outros sites

kyogron poderia me dar uma forcinha ?? tipo quando você tem 6 pokémons na bag e capitura um ele nao vai para o depot se eu nao me engano esta faltando a função carry ou cap sla mais em fim sera que poderia arrumar isso ?? eu nom sou progamador senao estaria ajudando tambem parabens pela atitude vlw <3 

Link para o comentário
Compartilhar em outros sites

  • 1 month later...
Em 02/05/2017 at 12:13, Josegvb disse:

Olá, nem tinha postado aqui pq achei q ia ser mais um dos q nao postam nada nem ajudam com o DxP, eu sou um dos mais velhos q ta com o server... queria te pedir umas coisinhas q tao faltando neles e acho q é nas sources.

1º seria o contador pra as tasks do clan pois os pokes q voce mata nao contam no DxP ai nao tem como fazer tasks de clan

2º seria arrumar os npc de batalha (gym etc) 

 

tenho certeza q essas coisas sao feitas na source...

task seria em .lua e gym na source.

Link para o comentário
Compartilhar em outros sites

  • 9 months later...
×
×
  • Criar Novo...