Skip to content

Instantly share code, notes, and snippets.

Core3[30900]>> (3440 s) [NonPlayerCreatureObject 0x1008bce] targetPosition: (x:0, y:0, z:0) in 0.
Core3[30900]>> (3440 s) [NonPlayerCreatureObject 0x1008bce] currentSpeed:6
Core3[30900]>> (3440 s) [NonPlayerCreatureObject 0x1008bce] findNextPosition(0.1, 1)
Core3[30900]>> (3440 s) [NonPlayerCreatureObject 0x1008bce] targetPosition: (x:0, y:0, z:0) in 0.
Core3[30900]>> (3440 s) [NonPlayerCreatureObject 0x1008bce] currentSpeed:6
Core3[30900]>> (3441 s) [NonPlayerCreatureObject 0x1008bce] findNextPosition(0.1, 1)
Core3[30900]>> (3441 s) [NonPlayerCreatureObject 0x1008bce] targetPosition: (x:0, y:0, z:0) in 0.
Core3[30900]>> (3441 s) [NonPlayerCreatureObject 0x1008bce] currentSpeed:6
Core3[30900]>> (3441 s) [NonPlayerCreatureObject 0x1008bce] findNextPosition(0.1, 1)
Core3[30900]>> (218 s) [Console] ERROR - Error running function setupJabbaPatrol scripts/screenplays/poi/tatooine_jabbas_palace_mobs.lua:220: attempt to call a nil value (method 'setAiTemplate')
Core3[30900]>> (218 s) [Console] ERROR - Error running function setupJabbaPatrol scripts/screenplays/poi/tatooine_jabbas_palace_mobs.lua:220: attempt to call a nil value (method 'setAiTemplate')
Core3[30900]>> (218 s) [Console] ERROR - Error running function setupJabbaPatrol scripts/screenplays/poi/tatooine_jabbas_palace_mobs.lua:220: attempt to call a nil value (method 'setAiTemplate')
Core3[30900]>> (218 s) [Console] ERROR - Error running function setupJabbaPatrol scripts/screenplays/poi/tatooine_jabbas_palace_mobs.lua:220: attempt to call a nil value (method 'setAiTemplate')
Core3[30900]>> (218 s) [Console] ERROR - Error running function setupJabbaPatrol scripts/screenplays/poi/tatooine_jabbas_palace_mobs.lua:220: attempt to call a nil value (method 'setAiTemplate')
Core3[30900]>> (218 s) [Console] ERROR - Error ru
eclipse -nosplash
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
-import {[uri:/]/path/to/project}
-importAll {[uri:/]/path/to/projectTreeURI} Import all projects under URI
-build {project_name | all}
-cleanBuild {project_name | all}
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)
** 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'
@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 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)
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
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
@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)