This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download boost 1.49 | |
run bootstrap.bat | |
run command .\b2 --build-dir=bin toolset=msvc11 | |
modify user-config.jam | |
# using msvc : 11.0 : : <cxxflags>-D _SECURE_SCL=0 <cxxflags>-D _HAS_ITERATOR_DEBUGGING=0 ; | |
bjam debug release link=shared threading=multi runtime-link=shared define=_SECURE_SCL=0 define=_HAS_ITERATOR_DEBUGGING=0 toolset=msvc-11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this represents a simple Python Test Service | |
print('test service') | |
from py_swganh import BaseService | |
class TestService(BaseService): | |
def __init__(self, kernel_): | |
print('test service initialized') | |
BaseService.start() | |
def onStart(self): | |
print('on start do stuff') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake -G"Visual Studio 11" -DVENDOR_PREFIX=$PWD/../../vendor .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "command_filter.h" | |
#include "swganh/object/creature/creature.h" | |
#include "swganh/messages/controllers/command_queue_enqueue.h" | |
using namespace swganh::command; | |
using namespace swganh::object; | |
using namespace swganh::object::creature; | |
using namespace swganh::messages::controllers; | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: AbstractState | |
# Purpose: | |
# | |
# Author: Kyle | |
# | |
# Created: 23/01/2012 | |
# Copyright: (c) Kyle 2012 | |
# Licence: GPL2 ANHSTUDIOS | |
#------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: ActionStateData | |
# Purpose: | |
# | |
# Author: Kyle Craviotto | |
# | |
# Created: 23/01/2012 | |
# Copyright: (c) SWGANH 2012 | |
# Licence: GPL2 SWGANH | |
#------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All command scripts have a context that contains a reference to | |
# the object that initiated the command, the target of the command, | |
# a string containing any parameters, and finally a dictionary containing | |
# information about the command. | |
# | |
# anh.context.object | |
# anh.context.target | |
# anh.context.command_string | |
# anh.context.command_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TANO | |
BaselineDelta baseline_tano3; | |
baseline_tano3.name("TANO"); | |
baseline_tano3.number('3'); | |
baseline_map_.insert(&BaselineBuilder::SendCreateTANO3_, std::make_shared<BaselineDelta>(baseline_tano3)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php app/console doctrine:database:drop --force | |
php app/console doctrine:database:create | |
php app/console doctrine:schema:create | |
php app/console doctrine:fixtures:load --fixtures=vendor/bundles/Anh/SwgManagerBundle/DataFixtures/ORM --append | |
php app/console fos:user:create | |
php app/console swg:players:sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Represents an account session | |
* | |
* Copyright (c) 2011 Kyle Craviotto <kyle@anhstudios.com> | |
*/ | |
namespace Anh\GalaxyManagerBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; |
NewerOlder