PtokaX forum

PtokaX => Support => Topic started by: night_hawk on 24 September, 2004, 18:58:43

Title: I need help with ptokax please
Post by: night_hawk on 24 September, 2004, 18:58:43
Hi is there a way to change the banned saying that ptokax has....It says Your Ass Is Banned...Iwould like to change this please....and can someone tell me how to do it and where to change it i woukd be very grateful....Thank you so much to anyone that can help me..
Title:
Post by: Cypher on 24 September, 2004, 22:39:47
Dont think that can be done...
Title:
Post by: Typhoon on 24 September, 2004, 23:28:49
actually it is possible to do ..
when i ban my test user heres the message he would get when logging in again

<-Neo-> Sorry, you have broken our Rules and are there for banned, you will be redirected to another hub... |$ForceMove 127.0.0.1|
Title:
Post by: BoJlk on 24 September, 2004, 23:41:38
That's interesting what's the script to do it?
Title:
Post by: night_hawk on 25 September, 2004, 05:54:23
yes how do you do it cause a lot of people do not like the saying your ass is banned..is the person that made ptokax still around??
Title:
Post by: Typhoon on 25 September, 2004, 06:41:40
it's really quite simple and its all in the PtokaX Language file ;)

find this line
Your ASS is banned!= Your ASS is banned!
and exchange with this
Your ASS is banned!=<-Neo-> Sorry, you have broken our Rules and are there for banned, you will be redirected to another hub... |$ForceMove 127.0.0.1|

and put a redirect ip in there works to :)

Typhoon?
Title:
Post by: BoJlk on 25 September, 2004, 08:34:00
There's no you ass is banned! english.lan

The message was too long != The message was too long!
You was suspected to flood the main chat, therefore disconnected= You have been suspected of flooding the main chat, and therefore disconnected.
You was suspected to flood the pm chat, therefore disconnected= You have been suspected of flooding the PM chat, and therefore disconnected.
This hub is running= This hub is running
You are being redirected to= You are being redirected to
Incorrect password!= Incorrect password!
This hub is full...= This hub is full...
5 sec timeout before next search != 5 sec timeout before next search!
No Reason specified!= No reason specified!
Title:
Post by: night_hawk on 25 September, 2004, 17:24:46
i could not find it ether.
Title:
Post by: Typhoon on 25 September, 2004, 22:50:28
should even work if you insert it yourself... haven't testet that but it should work without problems
just try and insert it below
No Reason specified!= No reason specified!

Typhoon?
Title:
Post by: BoJlk on 26 September, 2004, 04:58:22
I've added the line
You're Banned!= You're Banned!
And still No Go!
Title:
Post by: night_hawk on 26 September, 2004, 06:14:03
o well maybe it can not be done
Title:
Post by: BoJlk on 26 September, 2004, 08:45:14
well night_hawk

"There's nothing impossible in the programming world"
Title:
Post by: Typhoon on 26 September, 2004, 10:45:11
QuoteOriginally posted by BoJlk
I've added the line
You're Banned!= You're Banned!
And still No Go!

You did it wrong..

Add this Your ASS is banned!= Your ASS is banned!
and only change the message to the Right of the = sign

like this Your ASS is banned!= My Ban message here :)!

Typhoon?
Title:
Post by: night_hawk on 26 September, 2004, 17:22:24
ok thank you

BoJlk can you try it first and see if it works and let me know
Title:
Post by: BoJlk on 26 September, 2004, 19:14:59
I'll do that!
Title:
Post by: BoJlk on 26 September, 2004, 19:27:02
Works Like a Charm!

in the \ProtaX\language\english.lan
I've added this line:

The message was too long != The message was too long!
You was suspected to flood the main chat, therefore disconnected= You have been suspected of flooding the main chat, and therefore disconnected.
You was suspected to flood the pm chat, therefore disconnected= You have been suspected of flooding the PM chat, and therefore disconnected.
This hub is running= This hub is running
You are being redirected to= You are being redirected to
Incorrect password!= Incorrect password!
This hub is full...= This hub is full...
5 sec timeout before next search != 5 sec timeout before next search!
[color=red] Your ASS is banned!= You're Banned From this HUB![/color]
No Reason specified!= No reason specified!

And the Results were:

[19:21:33] You're Banned From this HUB!
[19:21:33] *** Disconnected

Cool, Nothing like a new knowledge!
10x Typhoon?
Title:
Post by: Typhoon on 26 September, 2004, 21:23:33
your welcome

Typhoon?
Title:
Post by: night_hawk on 26 September, 2004, 21:26:15
i tryed it and it still says the same thing


The message was too long != The message was too long!
You was suspected to flood the main chat, therefore disconnected= You have been suspected of flooding the main chat, and therefore disconnected.
You was suspected to flood the pm chat, therefore disconnected= You have been suspected of flooding the PM chat, and therefore disconnected.
This hub is running= This hub is running
You are being redirected to= You are being redirected to
Incorrect password!= Incorrect password!
This hub is full...= This hub is full...
5 sec timeout before next search != 5 sec timeout before next search!
Your ASS is banned!= You're Banned From this HUB!
No Reason specified!= No reason specified!
Title:
Post by: night_hawk on 26 September, 2004, 21:41:47
i got it to work
Title:
Post by: BoJlk on 26 September, 2004, 22:53:15
Probably the ProteX needed a good restart...
Title:
Post by: Typhoon on 27 September, 2004, 09:08:37
just remember that all those banned might help others to get users so a redirect when they are banned is also easy.. just add this to the end of your new ban message

|$ForceMove 127.0.0.1|


Typhoon?
Title:
Post by: BoJlk on 28 September, 2004, 20:26:37
I didn't understood you...

after banning a user to make them redirected...

What's that for?
Title:
Post by: Typhoon on 28 September, 2004, 22:06:02
then another hub can make use of those users...
just insert my dns, i'll send it to you in pm if you like need some test users for my script :)


Typhoon?