I need help with ptokax please
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

I need help with ptokax please

Started by night_hawk, 24 September, 2004, 18:58:43

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

night_hawk

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..

Cypher

Dont think that can be done...

Typhoon

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|



BoJlk

That's interesting what's the script to do it?

night_hawk

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??

Typhoon

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?



BoJlk

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!

night_hawk

i could not find it ether.

Typhoon

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?



BoJlk

I've added the line
 You're Banned!= You're Banned!

And still No Go!

night_hawk

o well maybe it can not be done

BoJlk

well night_hawk

"There's nothing impossible in the programming world"

Typhoon

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?



night_hawk

ok thank you

BoJlk can you try it first and see if it works and let me know

BoJlk


BoJlk

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?

Typhoon

your welcome

Typhoon?



night_hawk

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!

night_hawk


BoJlk

Probably the ProteX needed a good restart...

Typhoon

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?



BoJlk

#21
I didn't understood you...

after banning a user to make them redirected...

What's that for?

Typhoon

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?



SMF spam blocked by CleanTalk