Epic Meiya!
Epic Meiya!
Last edited by Tobii; 10-11-2010 at 02:09 AM.
This is pretty neat.. good job..
+Rep
Thanks for the rep people
"After looking at alot of scripts, from people like Stoneharry, Dynashock and several more, i figured i wanted to become one of these people that are known" u wanna be known ?! okay very nice lua script continue supriceing us with new custom usefull scripts =] +rep from me
"Nice does it also work on retail? " actually i dont think so blizzard is not useing those scripts they are very customized retail is just real game not this... but i think customizing is better so good luck with next scripts!
Thanks but i believe people with rep below 5 can't give reputation, not sure though.
now before you rage remember this question is coming from a noob.
How do i get the website to show up when i type in the address.
I am trying to test it out on my local machine so how do i actually get it to work?
Was so bored, decided to help you. I'm not sure if the above function works but it should be something like that.Code:local ChatMsg = "#getreport" function CheckReports(msg, plr) if not plr:IsGm() == true then return end if(message:lower():find(ChatMsg.." ") == 1) then local gametime = GetGameTime() local q = SELECT `Reported_Name`, `Report_Type`, `Reporter_Name` FROM `player_reports` WHERE `Time_Stamp` => '"..gametime.."'") local ReportedName = q:GetColumn(0):GetString() local ReportType = q:GetColumn(1):GetString() local Reporter = q:GetColumn(2):GetString() plr:SendBroadcastMessage("[Ticket System]: "..ReportedName.." has been reported for "..ReportType.." by "..Reporter.."") return 0 end end RegisterServerHook(16, "CheckReports")
thanks to P1raten
Where exactly does this send the reports too?
It looks like it adds a row in a DB table, containing the different info :P
@OnTopic: Nice one Meiya(Even though I've pretty much left ArcEmu. xP Too buggy Lua engine. I mean, not even player:Resurrect() or stuff like that works >.<)
Thanks
Newtech
LuaHypArc Lua scripter - 3.3.5a World Builder.
In my opinion a better option would be to make a ingame command with predefined report templates, somewhat like this:
.report flyhack|speedhack|teleport|anydamnhack <PLAYERNAME>
Then you collect all that data into a database table looking somewhat like this:
id (auto increasing value for indexing) reporterguid hackerguid reporttype
so basically just insert a new row for each report, then make a command like
.report check (gm needed) then show all reports (i cant get the correct query in my head right now but basically check how many rows "hackerguid" has and then list it up i could probably manage to do that with some thinking)
but yeah your idea is good atleast![]()
Violence doesn't solve shit, but everything else.