Register for your free account! | Forgot your password?

You last visited: Today at 00:27

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

Advertisement



[RELEASE] In-game ban command for GMs

Discussion on [RELEASE] In-game ban command for GMs within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 06/19/2013, 10:34   #46
 
qAleXso's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 185
Received Thanks: 127
Quote:
Originally Posted by ricky92 View Post
Just use
Code:
env LD_32_PRELOAD="./ban.so ./LibCostume.so" ./game &"
That should make it work correctly
Thanks!!
qAleXso is offline  
Old 06/19/2013, 19:54   #47
 
elite*gold: 0
Join Date: Jun 2012
Posts: 6
Received Thanks: 0
ricky, I am not able to use the command / ban already in machine methyl
LD_32_PRELOAD env = ". / ban.so. / LibCostume.so". / game & "

and nothing could help me appreciate it, the doll begins to dance excuse my bad english
tarata12 is offline  
Old 06/19/2013, 21:00   #48


 
Benhero's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
I try a lot of ways.. <.< but it still not work.. can someone help me..
Teamviewer or so...
Will give 10 E*G!!
Thanks...
Benhero is offline  
Old 06/20/2013, 22:42   #49


 
Benhero's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
Ich brauche immernoch hilfe bitte.. Danke...
Benhero is offline  
Old 06/23/2013, 21:33   #50
 
elite*gold: 0
Join Date: Nov 2012
Posts: 131
Received Thanks: 43
It works, but you should update your MySQL query..

From this:
Code:
  {
                        snprintf(szQuery, 512, "UPDATE " DBPREFIX "account.account SET status = 'BANNED' WHERE id = %d", dwAID);
                }
To this:
Code:
  {
                        snprintf(szQuery, 512, "UPDATE " DBPREFIX "account.account SET status = 'BLOCK' WHERE id = %d", dwAID);
                }
Pulp310 is offline  
Thanks
1 User
Old 06/25/2013, 00:51   #51
 
elite*gold: 0
Join Date: Jul 2009
Posts: 9
Received Thanks: 0
very nice thank you
Despos is offline  
Old 06/25/2013, 11:17   #52
 
thewizard111's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 52
Received Thanks: 23
This is rubbish. Crashes the cores
thewizard111 is offline  
Old 06/27/2013, 15:37   #53
 
elite*gold: 0
Join Date: Nov 2012
Posts: 131
Received Thanks: 43
Quote:
Originally Posted by thewizard111 View Post
This is rubbish. Crashes the cores
works fine on 2089M. Haven't tested on 34083 yet but I think it will work. I need to solve another problem with that before adding in this ban command.

You should only be adding this to the channels, not the auth and db. It works fine for me.

Code:
cd ./channel1/core1 && env LD_PRELOAD="/home/game/ingame_ban.so" ./game &
Not sure if this would work correctly on a server using symlinks to launch the came cores as you'd be loading it into the same process I think.

Quote:
Originally Posted by Benhero View Post
Ich brauche immernoch hilfe bitte.. Danke...
I can help you on teamviewer.. pm me your skype.

But I don't want egold if I can't turn it into real money I want real money or nothing at all..
Pulp310 is offline  
Old 06/27/2013, 15:42   #54
 
elite*gold: 0
Join Date: Mar 2009
Posts: 28
Received Thanks: 13
It works ok, even if if you use symlinks.
thewizard111, How to say that is rubbish when you have no ideea how to use it?
Just **** off.
ionutxp is offline  
Old 08/18/2013, 10:39   #55
 
JachuPL's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 50
Received Thanks: 83
on 34083 I get segmentation fault
JachuPL is offline  
Old 08/18/2013, 20:08   #56

 
elite*gold: 0
Join Date: Feb 2008
Posts: 2,754
Received Thanks: 1,748
Quote:
Originally Posted by ricky92 View Post
You need to make the start script load the game file with the library injected in it. You're probably just executing the command I wrote, but you have to make sure it's the "start" script which executes that, with the correct path and all. Otherwise, it won't work.

As for the crash, I guess it's caused by the disconnect feature. Quite strange, actually, since I'm executing exactly the same code that "/dc" has.
The ingame command /ban is already existing. Your function which inserts your command seems to overwrite existing ones. If you don't do that, you execute only the original code, which results in a dancing character.
Computerfreek is offline  
Reply


Similar Threads Similar Threads
Server command from outside the game
10/21/2012 - Aion Private Server - 8 Replies
How i can send a command from outside the game? For example, change the //weather without having to be in the game. Thanks!
A game small command
09/15/2009 - General Coding - 0 Replies
Delete this since no1 can help, Thanks
[Release] a new command
07/16/2009 - CO2 PServer Guides & Releases - 8 Replies
ok this is the /pet command ok its not hard to do and i thank it will only work if u have the summon guard working becaz i us its atk type or u can edit it if u want but ul hafe to fix it up so it wont atk its self if u do that well any way here u go find wear u put commands in and put this if (Splitter == "/pet") { // /pet HP atk name mech lvl ...
[Release]-- New Command --
12/10/2008 - CO2 PServer Guides & Releases - 7 Replies
GOT That Damianpesta _1_



All times are GMT +1. The time now is 00:28.


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