上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 飞狐魔兽代码//修改积分bool ChatHandler::HandleAddjifen(const char* args){ Player *chr = getSelectedPlayer(); if (chr == NULL) { SendSysMessage(L... 阅读全文
posted @ 2014-05-29 11:36 needly 阅读(335) 评论(0) 推荐(0)
摘要: --------SQL DEMO 01--------void LFGMgr::LoadRequiredLevels(){ uint32 oldMSTime = getMSTime(); m_RequiredIlvlMap.clear(); // ORDER BY is very ... 阅读全文
posted @ 2014-05-28 16:47 needly 阅读(503) 评论(0) 推荐(0)
摘要: 这个是一套T端的魔兽私服单机的脚本文件。首先你得学会如何在Trinity中加入脚本,这里就不细说了!脚本的大致功能是:在每PVP杀死 5, 10, 15, 20, 25, 30 个角色后,进行世界公告(你可以配置是否获得PVP的掉落!). 1、数据库部分,你要把下面的SQL代码导入到你的数据库中去 ... 阅读全文
posted @ 2014-05-26 16:32 needly 阅读(603) 评论(0) 推荐(0)
摘要: GetProto()->ItemLevel 判断装备等级 HandleBattleFieldPortOpcode 进入战场,。 bool ChatHandler::HandlegetHitemlvlCommand(const char* args){ Player* target; ... 阅读全文
posted @ 2014-05-26 15:23 needly 阅读(261) 评论(0) 推荐(0)
摘要: 一、攻击力(Attack Power,简称AP)Warrior/Paladin:AP=角色等级*3+力量*2-20 Hunter/Rogue:AP=角色等级*2+力量+敏捷-20 Shaman:AP=角色等级*2+力量*2-20 Druid:AP=力量*2-20 Mage/Priest/Warloc... 阅读全文
posted @ 2014-05-26 15:19 needly 阅读(1260) 评论(0) 推荐(0)
摘要: #include "ScriptPCH.h" class npc_teleport : public CreatureScript{ public: npc_teleport() : CreatureScript("npc_teleport") { } bool OnGossipHello(Play... 阅读全文
posted @ 2014-05-26 15:14 needly 阅读(541) 评论(0) 推荐(0)
摘要: commit 87f8ac21ca6d2d086984dfc39b1869dc51ecd36fAuthor: Vitasic Date: Tue Jun 26 15:43:38 2012 +0400 Add Fake Playersdiff --git a/src/server/game/... 阅读全文
posted @ 2014-05-26 15:07 needly 阅读(500) 评论(0) 推荐(0)
摘要: 这个是TRINTIY端的GM相关的代码。。可以作为参考使用,仅仅是一个载入命令 diff -r 3d55d9aa1fa9 -r 0dadcdc551ce src/server/game/Scripting/ScriptLoader.cpp --- a/src/server/game/Scriptin... 阅读全文
posted @ 2014-05-26 15:05 needly 阅读(480) 评论(0) 推荐(0)
摘要: 下面是一个我自己用的设置MYSQL的安全的魔兽世界私服的单机设置办法。这个是针对2-4G内存来设置的。提升MYSQL的吞吐量。实现MYSQL的稳定,让多人在游戏里面玩的时候不至于由于MYSQL而导致很卡 [client]port=3306[mysqld]port=3306old-passwords... 阅读全文
posted @ 2014-05-26 14:51 needly 阅读(337) 评论(0) 推荐(0)
摘要: 这里是一个简单实用的函数,主要是根据职业的不同,当你需要调用角色名字的时候,根据你的角色名字的不同,来显示各种不同的颜色的名字std::string m_ClassColor[12] = { //首先定义一个组,根据不同的职业类别 "", // 0 No... 阅读全文
posted @ 2014-05-26 14:49 needly 阅读(521) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页