This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: cpp | |
compiler: gcc | |
before_install: | |
- sudo apt-get update -qq | |
- sudo apt-get install -y libmysqlclient-dev libperl-dev libboost-dev liblua5.1-0-dev zlib1g-dev | |
script: | |
- cmake -G "Unix Makefiles" -DEQEMU_BUILD_TESTS=ON -DEQEMU_ENABLE_BOTS=ON | |
- make | |
- ./bin/tests | |
branches: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
#include <cstdint> | |
int Get2hDB(int level, int delay); | |
int main(int argc, char *argv[]) | |
{ | |
int table[88][101]; | |
for (int level = 1; level < 88; level++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/mike/projects/EQEmuServer/luabind/src/class.cpp:261:8: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] | |
std::auto_ptr<registration> ptr(member); | |
^ | |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/backward/auto_ptr.h:87:11: note: 'auto_ptr' declared here | |
class auto_ptr | |
^ | |
/home/mike/projects/EQEmuServer/luabind/src/class.cpp:267:8: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] | |
std::auto_ptr<registration> ptr(member); | |
^ | |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/backward/auto_ptr.h:87:11: note: 'auto_ptr' declared here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[common/BasePacket.cpp:65]: (warning) Assignment of function parameter has no effect outside the function. | |
[common/BasePacket.h:64]: (warning) Casting between integer* and float* which have an incompatible binary data representation. | |
[common/BasePacket.h:65]: (warning) Casting between integer* and double* which have an incompatible binary data representation. | |
[common/BasePacket.h:35]: (style) 'class BasePacket' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory. | |
[common/Condition.cpp:1]: (information) Skipping configuration 'WORLD' since the value of 'WORLD' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. | |
[common/Condition.cpp:1]: (information) Skipping configuration 'ZONE' since the value of 'ZONE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. | |
[common/BasePacket.cpp:1]: (information) Skipping configuration 'WORLD' since the value of 'WORLD' is unknown. Use -D if you want to check it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[common/SocketLib/File.h:62]: (warning) Member variable 'File::m_fil' is not assigned a value in 'File::operator='. | |
[common/SocketLib/File.cpp:1]: (information) Skipping configuration 'SOCKETS_NAMESPACE' since the value of 'SOCKETS_NAMESPACE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. | |
[common/SocketLib/Base64.cpp:1]: (information) Skipping configuration 'SOCKETS_NAMESPACE' since the value of 'SOCKETS_NAMESPACE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. | |
[common/SocketLib/HTTPSocket.cpp:249]: (performance) Possible inefficient checking for 'm_response_header' emptiness. | |
[common/SocketLib/HTTPSocket.cpp:189]: (performance) Prefer prefix ++/-- operators for non-primitive types. | |
[common/SocketLib/HTTPSocket.cpp:221]: (performance) Prefer prefix ++/-- operators for non-primitive types. | |
[common/SocketLib/HttpdCookies.cpp:72]: (performance) Prefer prefix ++/-- operators for non-primitive types. | |
[common/SocketLib/HttpdCookies.cpp:81]: (perf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/eq_packet_structs.h b/common/eq_packet_structs.h | |
index d2fbcbb..d2893ae 100644 | |
--- a/common/eq_packet_structs.h | |
+++ b/common/eq_packet_structs.h | |
@@ -759,14 +759,62 @@ struct MovePotionToBelt_Struct { | |
static const uint32 MAX_GROUP_LEADERSHIP_AA_ARRAY = 16; | |
static const uint32 MAX_RAID_LEADERSHIP_AA_ARRAY = 16; | |
static const uint32 MAX_LEADERSHIP_AA_ARRAY = (MAX_GROUP_LEADERSHIP_AA_ARRAY+MAX_RAID_LEADERSHIP_AA_ARRAY); | |
-struct LeadershipAA_Struct { | |
- uint32 ranks[MAX_LEADERSHIP_AA_ARRAY]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2014 Michael Cook <mcook@mackal.net> | |
# | |
# Distributed under terms of the MIT license. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/servertalk.h b/common/servertalk.h | |
index 5337b6b..03771ee 100644 | |
--- a/common/servertalk.h | |
+++ b/common/servertalk.h | |
@@ -83,6 +83,7 @@ | |
#define ServerOP_QGlobalUpdate 0x0063 | |
#define ServerOP_QGlobalDelete 0x0064 | |
#define ServerOP_DepopPlayerCorpse 0x0065 | |
+#define ServerOP_RequestTellQueue 0x0066 // client asks for it's tell queues | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/servertalk.h b/common/servertalk.h | |
index 5337b6b..03771ee 100644 | |
--- a/common/servertalk.h | |
+++ b/common/servertalk.h | |
@@ -83,6 +83,7 @@ | |
#define ServerOP_QGlobalUpdate 0x0063 | |
#define ServerOP_QGlobalDelete 0x0064 | |
#define ServerOP_DepopPlayerCorpse 0x0065 | |
+#define ServerOP_RequestTellQueue 0x0066 // client asks for it's tell queues | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/item.cpp b/common/item.cpp | |
index cfa52e0..f6d059f 100644 | |
--- a/common/item.cpp | |
+++ b/common/item.cpp | |
@@ -1412,6 +1412,7 @@ ItemInst::ItemInst(const Item_Struct* item, int16 charges) { | |
m_scaledItem = nullptr; | |
m_evolveInfo = nullptr; | |
m_scaling = false; | |
+ m_timestamp = 0; | |
} |