Fixed a bug in source/cClientHandle.h

git-svn-id: http://mc-server.googlecode.com/svn/trunk@231 0a769ca7-a7f5-676a-18bf-c427514a06d6
master
admin@omencraft.com 2012-02-04 19:40:48 +00:00
parent c4abe1ed6a
commit debd0ea559
7 changed files with 30 additions and 14 deletions

Binary file not shown.

View File

@ -1,15 +1,32 @@
[Server] [Server]
Port=25565 Port=25565
MaxPlayers=10000 MaxPlayers=100
Description=MCServer - Slightly more custom! Description=OmenCraft.com, powered by MCServer!
[Worlds] [Worlds]
DefaultWorld=world DefaultWorld=world
;World=world_sexy World=onion
[Plugins] [Plugins]
NewPlugin=Core Squirrel=SquirrelChatLog
;Squirrel=SquirrelChatLog Plugin=Core
Plugin=blehu
Plugin=Fire
Plugin=Ventilator
Plugin=DevModeTest
Plugin=LuaRunFunction
Plugin=CuboidPlus
Plugin=BasicCmds
Plugin=BringPlugin
Plugin=AreaPlugin
Plugin=JumpTo
Plugin=AddToGroup
Plugin=adminchat
Plugin=SetGroupRank
Plugin=DungeonBuilder
Plugin=Griefer
Plugin=ChatColor
Plugin=Trace
[HelpPlugin] [HelpPlugin]
ShowPluginNames=1 ShowPluginNames=1
@ -25,4 +42,4 @@ Types=Spider,Chicken,Cow,Pig,Sheep,Squid,Enderman,Zombiepigman,Cavespider,Creepe
[Authentication] [Authentication]
Server=session.minecraft.net Server=session.minecraft.net
Address=/game/checkserver.jsp?user=%USERNAME%&serverId=%SERVERID% Address=/game/checkserver.jsp?user=%USERNAME%&serverId=%SERVERID%
Authenticate=0 Authenticate=0

View File

@ -3,8 +3,8 @@
#include "SquirrelBindings.h" #include "SquirrelBindings.h"
#if USE_SQUIRREL #if USE_SQUIRREL
#pragma warning(disable:4100) // Getting A LOT of these warnings from SqPlus //#pragma warning(disable:4100) // Getting A LOT of these warnings from SqPlus
#pragma warning(disable:4127) //#pragma warning(disable:4127)
#include <sqplus/sqplus.h> #include <sqplus/sqplus.h>
#include <sqplus/SquirrelObject.h> #include <sqplus/SquirrelObject.h>
@ -138,4 +138,4 @@ void SquirrelBindings::Bind( HSQUIRRELVM a_SquirrelVM )
} }
#endif #endif

View File

@ -12,4 +12,4 @@ public:
static bool IsBound; static bool IsBound;
}; };
#endif #endif

View File

@ -11,7 +11,7 @@
#ifndef CCLIENTHANDLE_H_INCLUDED #ifndef CCLIENTHANDLE_H_INCLUDED
#define CCLIENTHANDLE_H_INCLUDED #define CCLIENTHANDLE_H_INCLUDED
#include "Packets/cPacket.h" #include "packets/cPacket.h"
#include "Vector3d.h" #include "Vector3d.h"
#include "packets/cPacket_KeepAlive.h" #include "packets/cPacket_KeepAlive.h"

View File

@ -510,4 +510,4 @@ void cPluginManager::AddHook( cPlugin* a_Plugin, PluginHook a_Hook )
unsigned int cPluginManager::GetNumPlugins() unsigned int cPluginManager::GetNumPlugins()
{ {
return m_pState->Plugins.size(); return m_pState->Plugins.size();
} }

View File

@ -7,7 +7,7 @@ Groups=Admins
[Luthrandel] [Luthrandel]
Groups=Admins Groups=Admins
[Cruisecho] [cruisecho]
Groups=Admins Groups=Admins
[Kwen] [Kwen]
@ -18,4 +18,3 @@ Groups=Admins
[xoft] [xoft]
Groups=Admins Groups=Admins