Skip to content

Instantly share code, notes, and snippets.

elecyb

  • Argentina
Block or report user

Report or block elecyb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@elecyb
elecyb / Chrome.diff
Created Dec 13, 2018
Solucion para la impresion de NE desde el chrome
View Chrome.diff
diff --git a/Default.html b/Default.html
index b1a9003..1b486f6 100644
--- a/Default.html
+++ b/Default.html
@@ -31,14 +31,20 @@
// ventimp.close();
//}
function imprimirDiv(nombre) {
+ var altoVentana = 1;
+ var anchoVentana = 1;
@elecyb
elecyb / SoothsayingForDummys.patch
Created Jan 10, 2016
Core/Script: Implemented Book "Soothsaying for dummies", change of engineering and leatherworking specs
View SoothsayingForDummys.patch
From d964454c2f349a7847237bcf615ff539ec2ee4a4 Mon Sep 17 00:00:00 2001
From: elecyb <elecyb@hotmail.com>
Date: Sun, 10 Jan 2016 02:35:19 -0300
Subject: [PATCH] Core/Script: Implemented Book "Soothsaying for dummies",
change of engineering and leatherworking specs possible!
Authors: @elecyb, @ariel-
---
sql/updates/world/2016_MM_DD_NN_world.sql | 194 +++++++++++++++++++++++++++
src/server/scripts/World/npc_professions.cpp | 100 +++++++++++++-
@elecyb
elecyb / removeSpec.diff
Created Jan 4, 2016
Fix removing profession specialization.
View removeSpec.diff
From eea7ba33d1823b922611085c4d237756cbc47c87 Mon Sep 17 00:00:00 2001
From: elecyb <elecyb@hotmail.com>
Date: Mon, 12 Aug 2013 17:36:56 -0300
Subject: [PATCH 006/402] (wa0003) Drop deprecated code and fix bug where a
player can have more than one profession specialization.
Signed-off-by: elecyb <elecyb@hotmail.com>
---
src/server/game/Entities/Player/Player.cpp | 38 ++++--------------------------
1 file changed, 4 insertions(+), 34 deletions(-)
View gist:5086202
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
index 8660b04..b7c00d5 100755
--- a/src/server/game/Entities/Player/Player.cpp
+++ b/src/server/game/Entities/Player/Player.cpp
@@ -22354,47 +22354,16 @@ void Player::learnQuestRewardedSpells(Quest const* quest)
if (!found)
return;
- // prevent learn non first rank unknown profession and second specialization for same profession)
uint32 learned_0 = spellInfo->Effects[0].TriggerSpell;
View gist:2641087
bool __thiscall ProcCheckReal(ProcCheckInfo *this)
{
int procAddress; // eax@1
unsigned int v2; // ecx@1
ProcCheckInfo *v3; // ebx@1
signed int v5; // eax@6
int v6; // edx@6
char *v7; // ecx@6
int v8; // esi@6
int v9; // esi@10
View gist:2641077
char __thiscall HandleDriverCheck(int this, LPCSTR lpDeviceName, char *hash, int seed)
{
int v5; // eax@4
char v6; // cl@5
signed int v7; // eax@6
int v8; // edx@6
char *v9; // ecx@6
int v10; // esi@10
int v11; // eax@11
int v12; // edx@11
View gist:1334865
using System;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace shacalc
{
class Program
{
View gist:1333872
diff --git a/src/server/game/Warden/WardenWin.cpp b/src/server/game/Warden/WardenWin.cpp
index 2eec20a..dadc08b 100644
--- a/src/server/game/Warden/WardenWin.cpp
+++ b/src/server/game/Warden/WardenWin.cpp
@@ -431,7 +431,10 @@ void WardenWin::HandleData(ByteBuffer &buff)
if (memcmp(buff.contents() + buff.rpos(), rs->Result.AsByteArray(0, false), rd->Length) != 0)
{
- sLog->outWarden("RESULT MEM_CHECK fail CheckId %u account Id %u", *itr, _session->GetAccountId());
+ std::string sClientRes;
You can’t perform that action at this time.