|
You last visited: Today at 03:39
Advertisement
[Release]MySock - Adminpage helper tool + Adminpage disable dif
Discussion on [Release]MySock - Adminpage helper tool + Adminpage disable dif within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
07/08/2012, 21:08
|
#1
|
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
|
[Release]MySock - Adminpage helper tool + Adminpage disable dif
New pyversion ! (pysock)
Intro:
MySock is a simple helper program (for freebsd) to send various queries to adminpage from your own server.
Screen:
How to use:
It's simple: - -h //to show the manual
- -m <par.> //to send commands from arguments (don't type :; in your commands!)
Code:
./mysock -m "host:port;@SHOWMETHEMONEY\n@yourcommand\n@etc etc\n"
- -f <file> //to send commands from file
Code:
./mysock -f "myfile.txt"
File formatting:
Code:
ip
port
@SHOWMETHEMONEY
@command
@command
\n
I remind you these simple things: - The port to use is declared into CONFIG with the tag "PORT:" and not "P2P_PORT:".
- To set your adminpage details into CONFIG try this:
Code:
adminpage_ip1: your_ip
adminpage_password: your_password
- If you want to connect in localhost you cannot use "localhost|127.0.0.1" but you must type you real ip server!
In the archive you'll find also the dif file "adminpage_disable.dif".
This dif disable the adminpage! (api tool immunized!)
A simple lua function for this tool:
Code:
function game.send_cmd(host,port,key,cmd)
if(key==nil)then
key="SHOWMETHEMONEY"
end
if(host==nil)or(port==nil)or(cmd==nil)then
return false
end
if(type(cmd)=="table")then
cmd=join("\n@",cmd) --[[require declare join function]]
end
os.execute([[/root/mysock -m "]]..host..[[:]]..port..[[;@]]..key..[[\n@]]..cmd..[[\n"]])
end
--to use
game.send_cmd("123.123.123.123","13003",nil,"EVENT xmas_sock 1")
--or
game.send_cmd("123.123.123.123","13003",nil,{"NOTICE Yeah!","EVENT xmas_sock 1", "EVENT xmas_tree 4", etc, etc})
|
|
|
07/08/2012, 21:34
|
#2
|
elite*gold: 1862
Join Date: Jan 2009
Posts: 3,725
Received Thanks: 7,671
|
Nice try, but a new quest function is much better.
|
|
|
07/08/2012, 22:23
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 95
Received Thanks: 95
|
@Igor
What do you mean an new quest function?
@top
Nice
|
|
|
07/08/2012, 22:27
|
#4
|
elite*gold: 0
Join Date: Sep 2010
Posts: 61
Received Thanks: 3
|
Quote:
Originally Posted by IgorGlock
Nice try, but a new quest function is much better.
|
which function ?
|
|
|
07/09/2012, 00:43
|
#5
|
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
|
Quote:
Originally Posted by IgorGlock
Nice try, but a new quest function is much better.
|
There aren't functions about socket connection in the game. (only if you create a extended lua library in c++)
This simple tool can be used at any time. (from shell, from lua using os.execute, etc, etc)
Umh... a nice lua function with this tool... (it works)
Code:
function game.send_cmd(host,port,key,cmd)
if(key==nil)then
key="SHOWMETHEMONEY"
end
if(host==nil)or(port==nil)or(cmd==nil)then
return false
end
if(type(cmd)=="table")then
cmd=join("\n@",cmd) --[[require declare join function]]
end
os.execute([[/root/mysock -m "]]..host..[[:]]..port..[[;@]]..key..[[\n@]]..cmd..[[\n"]])
end
--to use
game.send_cmd("123.123.123.123","13003",nil,"EVENT xmas_sock 1")
--or
game.send_cmd("123.123.123.123","13003",nil,{"NOTICE Yeah!","EVENT xmas_sock 1", "EVENT xmas_tree 4", etc, etc})
|
|
|
07/09/2012, 09:37
|
#6
|
elite*gold: 0
Join Date: Feb 2011
Posts: 109
Received Thanks: 162
|
Quote:
@SHOWMETHEMONEY
@NOTICE test
@etc etc
Socket correctly sent!
|
Says, but nothing happens in the game
|
|
|
07/09/2012, 12:24
|
#7
|
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
|
Quote:
Originally Posted by mt2bowded
Says, but nothing happens in the game
|
Probably you use an another adminpage_ip/password. (maybe showmethemoney has been hex-edited from game and you dont know it)
Eventually, try to use the first|game00 port
Quote:
Originally Posted by lollo_9_1
I remind you these simple things: - The port to use is declared into CONFIG with the tag "PORT:" and not "P2P_PORT:".
- To set your adminpage details into CONFIG try this:
Code:
adminpage_ip1: your_ip
adminpage_password: your_password
|
|
|
|
 |
Similar Threads
|
[RELEASE] DarkOrbit Helper Tool [DOHT] by hoocrax
07/04/2013 - DarkOrbit - 356 Replies
DarkOrbit Helper Tool
An All in one Tool by hoocrax
Hey all ! I present you my all new All in one tool that can help you in fight, act as skylab bot, bonus box, GG materializer and many more ! :)
================================================= =========================================
INSTALL .NET FRAMEWORK 3.5 ! ELSE IT WONT WORK !
|
[Release] Dark Orbit Helper Tool by TechnoMan
10/17/2012 - DarkOrbit - 93 Replies
Hey,
heute release ich mal mein neuestes Tool für DarkOrbit.
Screenshot:
http://www.abload.de/img/screenbrsl.jpg
Aktuelle Funktionen von oben nach unten:
|
[Release] Professional Helper Tool
08/21/2012 - DarkOrbit - 170 Replies
Features:
Unsichtbare Spieler werden alle sichtbar (mit "getarnt"-Titel)
Gegnerische Spielerschiffe werden auf der Minimap mit orangem Balken versehen
Bonusboxen werden automatisch aufgesammelt
Tarnmodul per Hotkey kaufbar
Feinde per Hotkey auswählbar
sofortiges Zurückschießen bei feindlichem Beschuss
sofortiges Auswählen eines Feindes z.B. bei Torsprung
NPCs (z.B. im GG) werden autom. ausgewählt/abgeschossen
|
[Release] Professional Helper Tool - Restart
02/03/2012 - DarkOrbit - 96 Replies
Since I recently came back to DO. I found out, that there has been a protocol change, so I am working on a new PHT.
Since it is the first version, everyone can try it.
Please post any bugs.
Features (everything has been implemented):
http://www.abload.de/img/phtbokow.bmp
Howto:
|
All times are GMT +1. The time now is 03:41.
|
|