|
You last visited: Today at 16:01
Advertisement
Custom MSG System!
Discussion on Custom MSG System! within the SRO Private Server forum part of the Silkroad Online category.
04/09/2013, 20:37
|
#1
|
elite*gold: 0
Join Date: Apr 2007
Posts: 165
Received Thanks: 4
|
Custom MSG System!
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
|
#2
|
elite*gold: 0
Join Date: Feb 2008
Posts: 3,777
Received Thanks: 1,455
|
I think you can make this just if you make your own emulator
|
|
|
04/09/2013, 21:21
|
#3
|
elite*gold: 0
Join Date: Apr 2007
Posts: 165
Received Thanks: 4
|
Quote:
Originally Posted by ™Haxor™
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
|
#4
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,301
|
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
|
#5
|
elite*gold: 0
Join Date: Apr 2007
Posts: 165
Received Thanks: 4
|
Quote:
Originally Posted by Synx7
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
|
#6
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
|
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
(Kills in a row announcements will be abused by players)
|
|
|
04/10/2013, 00:44
|
#7
|
elite*gold: 0
Join Date: Apr 2007
Posts: 165
Received Thanks: 4
|
Quote:
Originally Posted by IceAmStiel
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
(Kills in a row announcements will be abused by players)
|
Hmm..Cool! I dont haz much knowelge for it, but its cool  thx
|
|
|
04/10/2013, 01:03
|
#8
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,301
|
Quote:
Originally Posted by IceAmStiel
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
(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
|
#9
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
Quote:
Originally Posted by Synx7
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
|
#10
|
elite*gold: 0
Join Date: Jun 2007
Posts: 722
Received Thanks: 390
|
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
|
#11
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
|
Quote:
Originally Posted by gigola123
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?
|
|
|
04/10/2013, 13:25
|
#12
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,301
|
Quote:
Originally Posted by IceAmStiel
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
|
#13
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
|
Quote:
Originally Posted by Synx7
Ingame notices doesn't support HTML tags.
|
Because it's supposed to be used at the website xD
|
|
|
04/11/2013, 18:48
|
#14
|
elite*gold: 0
Join Date: Mar 2007
Posts: 849
Received Thanks: 668
|
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
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 
Thanks for the idea ^^
Skype:akasch93 for further assistance
|
|
|
All times are GMT +1. The time now is 16:01.
|
|