|
You last visited: Today at 18:42
Advertisement
$position command in NosTayle Emulator
Discussion on $position command in NosTayle Emulator within the Nostale forum part of the MMORPGs category.
11/29/2016, 15:30
|
#1
|
elite*gold: 0
Join Date: Jul 2016
Posts: 66
Received Thanks: 9
|
$position command in NosTayle Emulator
Easy command to know the position of any player of the server just put
$(command) (NICK)
Quote:
case X: //Pos command By HarD
{
try
{
if (sender.isGm)
{
Player player = GameServer.GetPlayersManager().GetPlayerByName(val ues[0]);
string message;
message = ("Map: " + player.map.mapId + " X: " + player.x.ToString() + " Y: " + player.y.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
}
}
catch { }
}
break;
|
|
|
|
11/29/2016, 16:43
|
#2
|
elite*gold: 0
Join Date: Dec 2012
Posts: 2,728
Received Thanks: 934
|
A better & fancier way, including
- Accountname
- Ip
- Level
- Gold
- Connected at (Timestamp)
- Map, X, Y
- Channel
Code:
case n:
{
try
{
if (sender.GetSession().GetAccount().isGm && values.Length == 1)
{
Player player = GameServer.GetPlayersManager().GetPlayerByName(values[0]);
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 10, "============================="));
string message;
message = ("Account name: " + player.GetSession().GetAccount().name + " Account ID: " + player.GetSession().GetAccount().id.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
message = ("IP: " + player.GetSession().GetAccount().ip.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
message = ("Level: " + player.level.ToString() + " JobLevel: " + player.jobLevel.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
message = ("Gold: " + player.gold.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
message = ("Connected At: " + player.connectedAt);
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
message = ("Map: " + player.map.mapId + " X: " + player.x.ToString() + " Y: " + player.y.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
message = ("Channel: " + player.GetSession().GetChannel().id.ToString());
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 6, message));
sender.SendPacket(GlobalMessage.MakeMessage(0, 0, 10, "============================="));
}
}
catch (Exception e)
{ Console.WriteLine("Error: " + e.Message }
}
break;
|
|
|
11/29/2016, 17:48
|
#3
|
elite*gold: 0
Join Date: Apr 2009
Posts: 2,766
Received Thanks: 1,776
|
If you plan on creating new threads for every single command, just make one for all commands, please.
|
|
|
11/29/2016, 18:08
|
#4
|
elite*gold: 0
Join Date: Jul 2016
Posts: 66
Received Thanks: 9
|
Quote:
Originally Posted by ゆうじ
If you plan on creating new threads for every single command, just make one for all commands, please.
|
No, i will not open more threads about
|
|
|
11/29/2016, 19:57
|
#5
|
elite*gold: 0
Join Date: Dec 2012
Posts: 2,728
Received Thanks: 934
|
Ich erwarte dann "deinen" Release x)
Gesendet von meinem SM-G935F mit Tapatalk
|
|
|
Similar Threads
|
[Selling] NosTayle Project / Emulator / CMS
02/17/2017 - Nostale Trading - 4 Replies
The old project:
http://www.elitepvpers.com/forum/nostale/4014595- pserver-nostayle-all-informations.html
I can sell this project to 1 people.
Price of nostayle project:
-Game Server without source : €30
-Game Server with source : €50
-Website (use the framework laravel) with multi language support : €15
-Login Server (but not stable) : with all game server.
|
[EMULATOR]NosTayle - Updated - Under License
06/25/2016 - Nostale - 25 Replies
http://www.zupimages.net/up/14/26/55ui.png
NosTayle Emulator it's my project and one person shared my source, it's not really a problem, with my source you can see the server is stable but maybe you can't or you have not the time for develop nostayle.
It's not a problem too.
The nostayle emulator under license is:
My Emulator *-* + this skills:
Raid -> OK
Talent arena -> Soon
Instant battle -> Soon
Quest -> Soon
|
All times are GMT +1. The time now is 18:46.
|
|