Skip to content

Instantly share code, notes, and snippets.

View krofna's full-sized avatar
💭
👨‍🎓

Mislav Blažević krofna

💭
👨‍🎓
View GitHub Profile
#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
#include <cppconn/prepared_statement.h>
#include <memory>
#include <fstream>
#include <vector>
#include <cstring>
#include <iostream>
#include <vector>
#include <queue>
#include <cstring>
#include <algorithm>
#include <functional>
#include <cmath>
using namespace std;
#define DEBUG
diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
index af5131a..3a350e7 100644
--- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
+++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
@@ -238,50 +238,48 @@ enum Texts
};
#define MAX_RANGE_HOVER_DISK_WAYPOINTS 18
-Position const FirstScionHoverDiskSpawnPos = { 773.3994f, 1281.108f, 285.0521f };
-Position const SecondScionHoverDiskSpawnPos = { 773.5685f, 1322.686f, 285.0522f };
#include <SFML/Network.hpp>
#include <iostream>
using namespace std;
sf::Uint8 RawPacket[] =
{
0x00, 0x00, 0x00, 0x00, 0x37, 0x50, 0x61, 0x63, 0x6b, 0x73, 0x56, 0x65, 0x65, 0x44, // ....7P acksVeeD
0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x74, 0x75, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x35, 0x33, // efaulttu torial53
0x32, 0x38, 0x36, 0x63, 0x35, 0x62, 0x61, 0x34, 0x39, 0x64, 0x61, 0x30, 0x62, 0x62, 0x66, 0x33, // 286c5ba4 9da0bbf3
0x61, 0x66, 0x39, 0x31, 0x32, 0x62, 0x39, 0x39, 0x39, 0x37, 0x31, 0x33, 0x65, 0x36, 0x00, 0x00, // af912b99 9713e6..
#include <SFML/Network.hpp>
#include <iostream>
using namespace std;
int main()
{
sf::TcpSocket Socket[50000];
for (int i = 0; i < 50000;)
{
if (Socket[i].connect("209.236.124.147", 27272) == sf::Socket::Done)
#include "precompiled.h"
/*
http://www.wowwiki.com/Wind_stone
smanjiti drop rate seta
despawn i respawn time ovisi gledaj wowwiki
5 sec delay (banish), auto taped, attack summoner, just summoned func u njihov AI?
UPDATE `gameobject_template` SET ScriptName="go_wind_stone" WHERE entry=180461;
UPDATE `gameobject_template` SET ScriptName="go_lesser_wind_stone" WHERE entry=180456;
UPDATE `gameobject_template` SET ScriptName="go_greater_wind_stone" WHERE entry=180466;
INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `lang3`, `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `lang4`, `prob4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_
#include <SFML/Graphics.hpp>
#include <iostream>
#include <cmath>
#define PI 3.14
#define RADTODEG(x) (x * 57.29578)
#define DEGTORAD(x) (x * (PI/180))
class Bolt
{
make[1]: Entering directory `/home/krofna/Development/mxe'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
rm -rf '/home/krofna/Development/mxe/tmp-gnutls'
mkdir -p '/home/krofna/Development/mxe/tmp-gnutls'
cd '/home/krofna/Development/mxe/tmp-gnutls' && xz -dc '/home/krofna/Development/mxe/pkg/gnutls-3.2.1.tar.xz' | tar xf -
cd '/home/krofna/Development/mxe/tmp-gnutls/gnutls-3.2.1'
(cd '/home/krofna/Development/mxe/tmp-gnutls/gnutls-3.2.1' && patch -p1 -u) < ./src/gnutls-1-fixes.patch
patching file configure.ac
patching file configure.ac
patching file lib/gnutls.pc.in
In file included from Client/BroadcastListener.cpp:3:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Client/Main.cpp:2:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Client/RAT.cpp:3:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type