Register for your free account! | Forgot your password?

You last visited: Today at 07:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Lua World Chat fehler

Discussion on Lua World Chat fehler within the WoW Private Server forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 27
Received Thanks: 0
Exclamation Lua World Chat fehler

Hey
hab hier einen World Chat:


local ChatMsg = "/o"
-- local Space = " "


function ChatSystem (event, player, message, type, language)
if (message:find(ChatMsg.." ") == 1) then
local text = message:gsub(ChatMsg.." ", "")
local plrs = GetPlayersInWorld()
for k, v in pairs(plrs) do
if (player:GetTeam() == 0) then -- Alliance
local GMrank = player:GetGmRank()
if (GMrank == 'az') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffE70000"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip6 Tag

elseif (GMrank == 'a') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffE700B1"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- REGULAR GM Tag

elseif (GMrank == 'y') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFFFF00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip4 Tag
elseif (GMrank == 'x') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFFAE00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip3 Tag
elseif (GMrank == '2') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFF2A00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip2 Tag
elseif (GMrank == '1') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFF6B3E"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip1 Tag
else
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cff7DFF00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Player Tag
end
elseif (player:GetTeam() == 1) then -- Horde
local GMrank = player:GetGmRank()
if (GMrank == 'az') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffE700B1"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip6 Tag

elseif (GMrank == 'a') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffE700B1"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- REGULAR GM Tag

elseif (GMrank == 'y') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFFFF00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip4 Tag
elseif (GMrank == 'x') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFFAE00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip3 Tag
elseif (GMrank == '2') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFF2A00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip2 Tag
elseif (GMrank == '1') then
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cffFF6B3E"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Vip1 Tag
else
v:SendBroadcastMessage("|cff7DFF00[World Channel] [|cff7DFF00"..player:GetName().."|cff7DFF00]: |cff7DFF00"..text.."") -- Player Tag
end end
end
return 0
end

end

RegisterServerHook(16, "ChatSystem")



Aber ich hab arcemu und RegisterServerHook nimmt der net an.
es kommt immer ein fehler:

failed. <could not run>
scripts/chat.lua:54: attempt to call global 'RegisterServerHook'
<a nil value>


hoffe es kann mir jemand helfen..
schonmal danke für die antworten
mfg mike11995
mike11995 is offline  
Old 03/03/2011, 18:52   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 75
Received Thanks: 3
kleiner tipp: arcemu is der mit abstand schlechteste emu von allen. derzeit ist bei wrath of the lichking trinitycore der absolute anführer der top emus, die haben die icc fast fertig und bauen jezz schon an ulduar rum
Dreadii is offline  
Old 03/04/2011, 21:58   #3
 
elite*gold: 0
Join Date: Feb 2011
Posts: 27
Received Thanks: 0
Ja hab schon alles probiert aber leider net gefunkt..
(und ich hab 2.4.3)
aber weiß jemand was ich da machen könnte?
mike11995 is offline  
Reply


Similar Threads Similar Threads
World CHAT BUG EXPLOIT IT NOW
10/03/2009 - Conquer Online 2 - 24 Replies
if you type in \n it creates a new line if u constantly do \n \n \n \n \n \n \n \n \n \n \n \n \n like that (without spaces in between the \n) it wipes out world chat. you can make fun things such as the bunny bug \n (\_/) \n (='.'=) \n (")_(")
WRLDSpam - Spam world chat
08/15/2009 - Conquer Online 2 - 5 Replies
#Removed
Spam World chat?
08/15/2009 - Conquer Online 2 - 8 Replies
is there any hacks/edits so i can spam World chat with?
WoW World of Warcraft Voice Chat Contest
12/15/2007 - World of Warcraft - 10 Replies
Blizzard announced the following contest on the EU WoW site today: What's useful for generals to give orders to their troops in the heat of combat? To help a raid direct its force where it's most needed? Why, Voice Chat, of course! To celebrate the launch of the Voice Chat, as well as the Feast of Winter Veil, we're teaming up with Logitech to give out great loot. Read below to find out how you can qualify to win one of the fifty Logitech G51 5.1 Surround Sound Speaker sets, or the one...



All times are GMT +1. The time now is 07:23.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.