Skip to content

Instantly share code, notes, and snippets.

View VladimirMangos's full-sized avatar

Vladimir Merzliakov VladimirMangos

View GitHub Profile
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 24ccb14..0bd9ff3 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -1318,8 +1318,11 @@ void WorldObject::UpdateGroundPositionZ(float x, float y, float& z) const
z = new_z + 0.05f; // just to be sure that we are not a few pixel under the surface
}
-void WorldObject::UpdateAllowedPositionZ(float x, float y, float& z) const
+void WorldObject::UpdateAllowedPositionZ(float x, float y, float& z, Map* atMap) const
@VladimirMangos
VladimirMangos / gist:ca9504c10b28028002cb
Created May 21, 2014 08:59
crash-2014-05-21_12.53.40-server.txt
---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.
Time: 21.05.14 12:53
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at appeng.api.util.DimensionalCoord.<init>(DimensionalCoord.java:30)
at extracells.gridblock.ECBaseGridBlock.getLocation(ECBaseGridBlock.java:51)
at appeng.me.GridNode.getWorld(GridNode.java:462)
@VladimirMangos
VladimirMangos / ForgeModLoader-client-0.log
Created January 7, 2014 15:06
Crash at inventory change while have active ThE operations in background.
This file has been truncated, but you can view the full file.
2014-01-07 17:41:01 [INFO] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading
2014-01-07 17:41:01 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_45, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7
2014-01-07 17:41:01 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\net\minecraftforge\minecraftforge\9.11.1.953\minecraftforge-9.11.1.953.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.8\launchwrapper-1.8.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.10.2\scala-library-2.10.2.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.10.2\scala-compiler-2.10.2.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\wand
This file has been truncated, but you can view the full file.
2014-01-05 17:15:22 [INFO] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading
2014-01-05 17:15:22 [INFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_45, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7
2014-01-05 17:15:22 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\net\minecraftforge\minecraftforge\9.11.1.953\minecraftforge-9.11.1.953.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.8\launchwrapper-1.8.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.10.2\scala-library-2.10.2.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.10.2\scala-compiler-2.10.2.jar;C:\Users\wanderer\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\wand
@VladimirMangos
VladimirMangos / backports log master->One
Created May 12, 2010 22:15
backports log master->mangos-0.12
commit a5a0702376c222572e7b6c8c48b2cae975398ae3
Author: VladimirMangos <vladimir@getmangos.com>
Date: Mon Dec 22 15:25:43 2008 +0300
MaNGOS 0.12 release.
-----------------------------------------------
!+2f3c20ec14d386f1b784ef26fe6e76ba8ea03ac5 [8776] proper arena rating calculation
!+ca88fc52a7e17148a91532cbbfd9ea55b41bc5a6 [8780] fixed typos with arenarating
@VladimirMangos
VladimirMangos / gist:254554
Created December 11, 2009 22:03
POI icons convertion from master to 0.12
ICON_POI_BLANK ( 0) -> ICON_POI_0 (0)
GOSSIP_GUARD_BANK: ICON_POI_SMALL_HOUSE ( 5) -> ICON_POI_HOUSE ( 4)
GOSSIP_GUARD_RIDE: ICON_POI_RWHORSE (39) -> ICON_POI_RWHORSE (39)
GOSSIP_GUARD_GUILD: ICON_POI_BLUETOWER (11) -> ICON_POI_BLUETOWER (10)
default: ICON_POI_GREYTOWER ( 6) -> ICON_POI_TOWER ( 5)
0 -> 15
values from 1-15 -> 0-14
16 and later same in 0.12 and master