Register for your free account! | Forgot your password?

You last visited: Today at 14:03

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

Advertisement



[RELEASE]Offline Message System

Discussion on [RELEASE]Offline Message System within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 08/28/2013, 19:47   #46
 
fox834's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 101
Received Thanks: 17
elseif(search == 1) then
say("this person is now online. ")
say("are you kidding me? ")
say("Get out you b*st*rd!. ")
end

LOL

nice release
fox834 is offline  
Thanks
1 User
Old 08/28/2013, 20:40   #47
 
elite*gold: 0
Join Date: Sep 2011
Posts: 1
Received Thanks: 0
Wen haben wir hier
Grüße alitahadan
proXops is offline  
Old 08/30/2013, 22:14   #48
 
MrLibya's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 517
Received Thanks: 339
Really Nice, Good Work

Keep It Up
MrLibya is offline  
Thanks
1 User
Old 03/31/2016, 13:03   #49
 
elite*gold: 0
Join Date: Mar 2016
Posts: 1
Received Thanks: 0
Translate RO

--[[
-- HaveBeen TM
-- Offline Message & New Version
-- Version : 1.0 <3
]]--
quest offlinemessage begin
state start begin
when 9006.chat."Messages" begin
say_title(mob_name(npc.get_race())..":")
say("")
---
say("Salut !"..pc.name)
say("Ce vrei ? ")
say("")
local s = select("Inbox-ul meu","Scrie un mesaj","Iesi")
if(s == 1) then
say_title(mob_name(npc.get_race())..":")
say("")
---
local inbox = mysql_query("select * from player.inbox where id = '"..pc.get_player_id().."' ")
local inbox_table = {}
for i = 1,table.getn(inbox),1 do
table.insert(inbox_table,inbox.message[i])
end
table.insert(inbox_table,"Close")

if(table.getn(inbox) == 0) then
say("Momentan nu ai nici un mesaj. ")
say("Revin-o mai tarziu. ")
return
end

local m = select_table(inbox_table)
if(table.getn(inbox_table) == s) then
return
elseif(table.getn(inbox_table) >= s) then
say_title(inbox.sender[m]..": ")
say("")
---
say(inbox_table[m])
say("")
say_reward("Vrei sa stergi mesajul? ")
local q = select(locale.yes,locale.no)
if(q == 2) then
return
end
mysql_query("delete * from player.inbox where sender = '"..inbox.sender[m].."' ")
say_title(mob_name(npc.get_race())..":")
say("")
---
say("Mesajul a fost sters. ")
say("Ne mai vedem. ")
say("")
end
elseif(s == 2) then
say_title(mob_name(npc.get_race())..":")
say("")
---
say("Cui vrei sa ii trimiti mesajul? ")
say("scrie-i numele. ")
local sname = input()
local search = find_pc_by_name(sname)
say_title(mob_name(npc.get_race())..":")
say("")
---
if(tostring(sname) == nil or sname == "") then
say("Scrie un nume. ")
return
elseif(search == 1) then
say("persoana aceasta este online acum. ")
say("glumesti? ")
end
local sp = pc.select(sname)
local l = pc.get_player_id()
pc.select(sp)
say("Care este mesajul? ")
say("Scrie in casuta. ")
local message = input()
say_title(mob_name(npc.get_race())..":")
say("")
---
if(tostring(message) == nil or message == "") then
say("Scrie un mesaj. ")
return
end
mysql_query("insert into player.inbox values ('"..l.."','"..pc.name.."','"..message.."') ")
say("Mesajul a fost trimis cu succes. ")
say("Ne mai vedem.. ")
end
end
end
end
Valoare123456789 is offline  
Reply

Tags
message, offline


Similar Threads Similar Threads
[Release] Iphone-System (Offline Message System)
04/19/2013 - Metin2 PServer Guides & Strategies - 74 Replies
Da ich dafür kein nutzen mehr habe und dies nun alles per Python geregelt habe (ein Dankeschön an .Nova, der mir dabei geholfen hat). Release ich mein iPhone System. mit dem konnte man Nachrichten ingame an andere Spieler senden. Lief knapp halbes (server ist seit 2 monaten down) jahr und bisher tratt auch nie ein Fehler auf... Quest ist im Anhang sowie die Datenbank... Fuktionen:
[Release]Offline Messenger System [DF2]
03/04/2012 - Metin2 PServer Guides & Strategies - 13 Replies
Hey liebe Com, da manche meinten, meinen alten Offline Messenger weiter zu verkaufen, habe ich mich nun entschlossen, ihn pub. zu machen. Was er kann sollte eig. klar sein. Nachrichten an andere schreiben, auch wenn sie Offline sind. Was braucht ihr dafür? -Hanashi´s Mysql Schnitstelle : http://www.elitepvpers.com/forum/metin2-pserver-gu ides-strategies/1562959-release-mysql-schnittstell e-f-r-quests.html -Neue Mysqltabellen quest.offmessage && quest.offmessage_neu && offinfo
[Release] event handler / system message for 5165 source
05/01/2010 - CO2 PServer Guides & Releases - 10 Replies
i was partially made this and completed by pringle, i dont know if pringle is in here in this forum. but still credit to him. Go to Program.cs and find:public static Random Rnd = new Random(); Above this add:public static DateTime SystemMsgTime = new DateTime(); scroll down and you found this static void ServerStuff_Execute() { try { if (World.BroadCastCount > 0 && DateTime.Now > World.LastBroadCast.AddMinutes(1)) {



All times are GMT +2. The time now is 14:03.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.