Custom MSG System!

04/09/2013 20:37 mayc0n#1
Good Day!

I wonder if it is possible to create a custom messaging system. Like the uniques kills.

E.g.

"Player1 successfully made ​​his Sword +10" -> Only Above +9

"Player1 got the PK status" -> anywhere

"Player1 is dominating in PVP" -> If kill 5 times + any player with pvp status on.

I believe that is not possible, but maybe with some procedure or trigger ... anyone have any ideas?

Regards ;)
04/09/2013 20:58 Haxor#2
I think you can make this just if you make your own emulator
04/09/2013 21:21 mayc0n#3
Quote:
Originally Posted by ™Haxor™ View Post
I think you can make this just if you make your own emulator
Hmm..So for vsro files its not possible..):
04/09/2013 21:50 Kape7#4
You can send messages through the triggers, but they can't contain variable data like numbers or character names, plus there are no conditions that check if a player plus something, so the only way would be hook the gameserver and inject code for do such a thing, which is kinda complicated.
04/09/2013 22:31 mayc0n#5
Quote:
Originally Posted by Synx7 View Post
You can send messages through the triggers, but they can't contain variable data like numbers or character names, plus there are no conditions that check if a player plus something, so the only way would be hook the gameserver and inject code for do such a thing, which is kinda complicated.
Thx for info synx =)
04/09/2013 22:49 IceAmStiel#6
It's possible to get such events from the Database, you'd only have to select the data from the database and send it as a notice to the client [Only registered and activated users can see links. Click Here To Register...]

(Kills in a row announcements will be abused by players)
04/10/2013 00:44 mayc0n#7
Quote:
Originally Posted by IceAmStiel View Post
It's possible to get such events from the Database, you'd only have to select the data from the database and send it as a notice to the client [Only registered and activated users can see links. Click Here To Register...]

(Kills in a row announcements will be abused by players)
Hmm..Cool! I dont haz much knowelge for it, but its cool :D thx
04/10/2013 01:03 Kape7#8
Quote:
Originally Posted by IceAmStiel View Post
It's possible to get such events from the Database, you'd only have to select the data from the database and send it as a notice to the client [Only registered and activated users can see links. Click Here To Register...]

(Kills in a row announcements will be abused by players)
That's another option, but still, requires an external program that interacts with the GS or the SMC for send the notice (or a clientless)
04/10/2013 10:54 Nezekan#9
Quote:
Originally Posted by Synx7 View Post
That's another option, but still, requires an external program that interacts with the GS or the SMC for send the notice (or a clientless)
That's really not as hard as it sounds, I think Caipi's approach would be quite simple and effective
04/10/2013 11:48 gigola123#10
Yup , I've seen it's possible to get the all alchemy made on the server , and like synx said , maybe put a clientless who make a notice or a global.
04/10/2013 12:41 IceAmStiel#11
Quote:
Originally Posted by gigola123 View Post
Yup , I've seen it's possible to get the all alchemy made on the server , and like synx said , maybe put a clientless who make a notice or a global.
Why not using the SMC Notice function instead?

[Only registered and activated users can see links. Click Here To Register...]



[Only registered and activated users can see links. Click Here To Register...]
04/10/2013 13:25 Kape7#12
Quote:
Originally Posted by IceAmStiel View Post
Why not using the SMC Notice function instead?

[IM*G]http://i.imgur.com/m6sHElo.png[/IMG]



[IM*G]http://i.imgur.com/A9fewJZ.png[/IMG]
Ingame notices doesn't support HTML tags.
04/10/2013 13:30 IceAmStiel#13
Quote:
Originally Posted by Synx7 View Post
Ingame notices doesn't support HTML tags.
Because it's supposed to be used at the website xD
04/11/2013 18:48 royalblade#14
To make it simple, you could attach a query to _addlogitem That logs the elixier alchemy elsewhere and make it easier for ya to get the data from it
like:
Quote:
If (@Operation=90)
begin
Insert _MyCoolTablename (CharID, ItemID, Dwdata,EventTime)
Values (@CharID,@ItemRefID,@dwData,GETDATE())
End
IF (@operation =91)
begin
delete from _MyCoolTableName where ItemID = @ItemRefID
End

Exec _StoredProcedure to check if there have been 5 successes consecutivly and then write a notice....
U might need to check it, hopefully i didnt misspell anything :D


You might need this:
65536*NextPlus+Startplus = dwdata from _LogEventItem, basically what SMC reads to tell you the elixier fuse logs.
Operation=90 = Success
Operation= 91= Failed
EDIT:
Actually, im going to use that for my server if u dont mind :D
Thanks for the idea ^^
Skype:akasch93 for further assistance