Skip to content

Instantly share code, notes, and snippets.

ActivateQuestCommand.h
("SYNTAX: /activateQuest <quest>");
AdjustLotCountCommand.h
("SYNTAX: /adjustLotCount <lots>");
BroadcastAreaCommand.h (2 matches)
("Syntax: /broadcastArea [range] [-event | -rebel | -imperial] <message>");
("Syntax: /broadcastArea [range] [-event | -imperial | -rebel] <message>");
***lua -v***
Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio
***ldd core3***
linux-vdso.so.1 (0x00007ffc106ec000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0d8da02000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0d8d7fe000)
libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 (0x00007f0d8d2bc000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0d8d0a1000)
libdb-5.0.so => /usr/local/BerkeleyDB.5.0/lib/libdb-5.0.so (0x00007f0d8cd16000)
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f0d8cab6000)
@Scurby
Scurby / Version.md
Created January 19, 2016 15:00
devenv --versions

java

java version "1.7.0_91" OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-1~deb8u1) OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

LUA

Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio

ack-grep --version

ack 2.14 Running under Perl 5.20.2 at /usr/bin/perl

@Scurby
Scurby / lua53t
Created January 19, 2016 16:16
ldd -v core3
# ldd core3
linux-vdso.so.1 (0x00007ffeac76c000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f13ca2db000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f13ca0d7000)
libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 (0x00007f13c9b95000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f13c997a000)
libdb-5.0.so => /usr/local/BerkeleyDB.5.0/lib/libdb-5.0.so (0x00007f13c95ef000)
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f13c938f000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f13c8f94000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f13c8c89000)
mv -f $depbase.Tpo $depbase.Po
depbase=`echo zone/objects/player/PlayerObject.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../../src/client -I/usr/local/include -I/usr/local/include/mysql -I../../../../../MMOEngine/include -I../../../../../MMOEngine/src -I/usr/include/lua5.1 -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.0/include -I../../../../utils -ggdb -Wall -Wextra -Wno-unused -Wno-sign-compare -Wno-unused-parameter -MT zone/objects/player/PlayerObject.o -MD -MP -MF $depbase.Tpo -c -o zone/objects/player/PlayerObject.o ../../../../src/client/zone/objects/player/PlayerObject.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo zone/objects/player/PlayerCreature.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../../src/client -I/usr/local/include -I/usr/local/include/mysql -I../../../../../MMOEngine/include -I../../../../../MMOEngine/src -I/usr/include/lua5.1 -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.0/include -I../../../../utils -ggdb -Wall -W
vagrant@swgemudev:~$ sudo find / -name liblua*.a
/usr/local/lib/liblua.a
/home/vagrant/src/ngx_openresty-1.9.7.1/build/luajit-root/home/vagrant/server/openresty/luajit/lib/libluajit-5.1.a
/home/vagrant/src/ngx_openresty-1.9.7.1/build/LuaJIT-2.1-20151219/src/libluajit.a
/home/vagrant/Downloads/lua-5.3.2/src/liblua.a
/home/vagrant/server/openresty/luajit/lib/libluajit-5.1.a
Running unit tests...
[==========] Running 42 tests from 11 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from CircularAreaShapeTest
[ RUN ] CircularAreaShapeTest.CircularAreaShapeHasItsCenterAtZeroZeroZeroAfterCreation
[ OK ] CircularAreaShapeTest.CircularAreaShapeHasItsCenterAtZeroZeroZeroAfterCreation (0 ms)
[ RUN ] CircularAreaShapeTest.CircularAreaShapeHasRadiusEqualToZeroAfterCreation
[ OK ] CircularAreaShapeTest.CircularAreaShapeHasRadiusEqualToZeroAfterCreation (0 ms)
[ RUN ] CircularAreaShapeTest.CircularAreaShapeHasRadiusSquareEqualToZeroAfterCreation
[ OK ] CircularAreaShapeTest.CircularAreaShapeHasRadiusSquareEqualToZeroAfterCreation (0 ms)
@Scurby
Scurby / lua53.sh
Last active January 25, 2016 20:48
#!/bin/bash
#
# lua53 - Upgrade lua to 5.3.2 (latest)
#
# Author: Scurby <[email protected]>
#
# Created: 1/22/2016
logger -t options "** OPTIONS **"
** running under gdb **
** send 'save' command to server **
/usr/local/bin/lua: /home/vagrant/bin/sentinel:12: module 'socket' not found:
no field package.preload['socket']
no file '/usr/local/share/lua/5.3/socket.lua'
no file '/usr/local/share/lua/5.3/socket/init.lua'
no file '/usr/local/lib/lua/5.3/socket.lua'
no file '/usr/local/lib/lua/5.3/socket/init.lua'
no file './socket.lua'
no file './socket/init.lua'
In Eclipse Project, right click on MMOCoreORB
Team
Commit...
Commit Changes to Git Repository
Enter a Commit message and Select Change ID
Select Files to commit
Click 'Commit'
Right click on MMOCoreORB (again)