10-01-2009, 07:54 AM
(This post was last modified: 10-01-2009, 08:01 AM by blow_fly98.)
OK, so you want to change the copyright info in 2.0???
Don't get how the 0123 encoding/decoding works???
I made a program to help you.
>>Download here<<
NOT LIKELY TO BE UPDATED!!!
Credits to Silva for the table of characters!!!
Don't get how the 0123 encoding/decoding works???
I made a program to help you.
>>Download here<<
Screenshot (Click to View)
![[Image: Screenshot_PNG.png]](http://funkyimg.com/u2/274/120/Screenshot_PNG.png)
NOT LIKELY TO BE UPDATED!!!
Credits to Silva for the table of characters!!!
Source Code (Click to View)
Declarations:
Encoding:
Decoding:
VBNET-Code:
Shared Table() As Char = New Char() {" "c, "!"c, """"c, "#"c, "$"c, "%"c, "&"c, "'"c, "("c, ")"c, "*"c, "+"c, ","c, "-"c, "."c, "/"c, "0"c, "1"c, "2"c, "3"c, "4"c, "5"c, "6"c, "7"c, "8"c, "9"c, ":"c, ";"c, "<"c, "="c, ">"c, "?"c, "@"c, "A"c, "B"c, "C"c, "D"c, "E"c, "F"c, "G"c, "H"c, "I"c, "J"c, "K"c, "L"c, "M"c, "N"c, "O"c, "P"c, "Q"c, "R"c, "S"c, "T"c, "U"c, "V"c, "W"c, "X"c, "Y"c, "Z"c, "["c, "\"c, "]"c, "^"c, "_"c, "`"c, "a"c, "b"c, "c"c, "d"c, "e"c, "f"c, "g"c, "h"c, "i"c, "j"c, "k"c, "l"c, "m"c, "n"c, "o"c, "p"c, "q"c, "r"c, "s"c, "t"c, "u"c, "v"c, "w"c, "x"c, "y"c, "z"c, "{"c, "|"c, "}"c, "~"} Shared Trim() As String = New String() {Environment.NewLine, vbCrLf, vbCr, vbLf} |
Encoding:
VBNET-Code:
Shared Function Encode0123(ByVal Contents As String) As String Dim Result As String = "" Dim NewLineCount As Integer = -1 Dim Lines() As String = Contents.Split(Environment.NewLine) Try For i2 As Integer = 0 To Lines.Length - 1 NewLineCount += 1 If NewLineCount > 0 Then Result &= Environment.NewLine End If Dim LineBuffer As String = Lines(i2) For Each s As String In Trim LineBuffer = LineBuffer.Trim(s) Next For i3 As Integer = 0 To LineBuffer.Length - 1 Dim c As Char = LineBuffer(i3) If (Not c = Environment.NewLine) AndAlso (Array.IndexOf(Table, c) >= 0) Then Dim i As Integer = Array.IndexOf(Table, c) i = (i + (i3 Mod 4)) Mod (Table.Length) Result &= Table(i) End If Next Next Catch ex As Exception MessageBox.Show("Invalid decrypted string!!!", "Invalid String", MessageBoxButtons.OK) End Try Return Result End Function |
Decoding:
VBNET-Code:
Shared Function Decode0123(ByVal Contents As String) As String Dim Result As String = "" Dim NewLineCount As Integer = -1 Dim Lines() As String = Contents.Split(Environment.NewLine) Try For i2 As Integer = 0 To Lines.Length - 1 NewLineCount += 1 If NewLineCount > 0 Then Result &= Environment.NewLine End If Dim LineBuffer As String = Lines(i2) For Each s As String In Trim LineBuffer = LineBuffer.Trim(s) Next For i3 As Integer = 0 To LineBuffer.Length - 1 Dim c As Char = LineBuffer(i3) If (Not c = Environment.NewLine) AndAlso (Array.IndexOf(Table, c) >= 0) Then Dim i As Integer = Array.IndexOf(Table, c) Dim k As Integer = i3 Mod 4 i -= k i = i Mod (Table.Length) Do While i < 0 i += (Table.Length) Loop Result &= Table(i) End If Next Next Catch ex As Exception MessageBox.Show("Invalid encrypted string!!!", "Invalid String", MessageBoxButtons.OK) End Try Return Result End Function |
Hiding users' signatures and avatars was the best decision ever.
| Avatar made by Alectric |
4ye 6anDy (Click to View)
hey blow :P ~ Bamboori
can I call ya koalafly? ~ Phil
Pogofly - Simoneon
k0a1af1y, looks much more stylish ~ Blue Phoenix
So hey, blow, say something! - Simoneon
Quack? ~ blow_fly98
Hi blow ~Ramond
So... is it decided that we call him "blow"? ~ Blue Phoenix
No. ~ blow_fly98
But blow, all the members now will follow us because of this convo. You're ruined!!! - Simoneon
Meh. But I'll leave this convo here anyway. ~ blow_fly98
meh koala is much more awesome so I will stick to that
~ Phil
Wait, what? Koalas can edit profiles? - Simoneon
lol, seems that i started a long discussion :P ~ Bamboori
You did, indeed. I wonder who will exceed the sig-limit... ~ Blue Phoenix
Please don't trash this. It's good eye-candy. ~ blow_fly98
koala has spoken and so shall it be =) ~ Phil
there're some html here, and bla bla bla, so I think I might exceed it. Period - Simoneon
WHY THE SPOILER?! ~ Blue Phoenix
didn't you spoiler the conversation yourself? ~ Bamboori
BLOW BLOW!!! YOU FORGOT TO WRITE NAKATO IN 'WE'RE WATCHING YOU'!!!!! - Simoneon
To0 8ad. H4 D045n't d0 any MoDdin9 at A11!!!!!!! ~ blow_fly98
Evil Sonidow does, eh? - Simoneon
Of course. Just n0t v4ry 0ft4n. ~ blow_fly98
WHY THE 1337-SPEAK?! ~ Blue Phoenix
Because I am a KOALA!!! ~ blow_fly98
To be honest, I thought they use Eucalyptus-Speal..........
......
......
D: - Simoneon
Noez, Simon forgot to close his notice! ~ Blue Phoenix
oh no its the end of the world! *panic* ~ Bamboori
Gzz Hizz Fz Mzzz
Anyone got a Eucalyptus-speak interpreter?
And did you know that a user can have more than 4 images in their signature if we edit it for them? Or am I just the last one to find out?
~ blow_fly98
OMG spoilers in spoilers! ~ Bamboori
OMG offtopic in offtopic! - Simoneon
OH HAI GUYZ, i didnt you see you thar :P ~ Alectric
Now, I seriously need to be a part of this. ~ SirFrog
Wasn't there something about childish mods editing signatures lately?
~ Reaper
What?!?! Where was it?!?!?! ~ blow_fly98
DO YOU HAVE SUGAR?! - Simoneon
I heard if you edit someone's signature enough, your profile automatically is set to Admin status. BP told me. ~ Alectric
then let's do this!
~ Bamboori
Just because I don't go around checking every single post and editing signatures doesn't mean that I don't mod here. I just don't check posts that aren't reported. ~ Evil Sonidow
Seriously. We should encourage people to start reporting more :/ - Simoneon
EvErYoNe'S pOsTeD hErE eXcEpT mH.
Hey, maybe we could report every single post just so ES could check them. ~ blow_fly98
You know, that's a hell lot of work. What about a rule that everyone has to report at least one post whenever he logs in? Or an auto-report function? ~ Reaper
I liked the report-part until we got to the point of an auto-report function. That's something that requires work --> No. ~ Blue Phoenix
Finally, I get to see some invisible users. *sniggers* ~ blow_fly98
Oh, i came back. Well, since im already here, i may as well shoot bees ~ Alectric
You know, the ducks are watching. Always watching... ~ SirFrog
Hmm, I think, Lauli is about to climax due to the awesomeness of this color-wall ~ Blue Phoenix
can I call ya koalafly? ~ Phil
Pogofly - Simoneon
k0a1af1y, looks much more stylish ~ Blue Phoenix
So hey, blow, say something! - Simoneon
Quack? ~ blow_fly98
Hi blow ~Ramond
So... is it decided that we call him "blow"? ~ Blue Phoenix
No. ~ blow_fly98
But blow, all the members now will follow us because of this convo. You're ruined!!! - Simoneon
Meh. But I'll leave this convo here anyway. ~ blow_fly98
meh koala is much more awesome so I will stick to that

Wait, what? Koalas can edit profiles? - Simoneon
lol, seems that i started a long discussion :P ~ Bamboori
You did, indeed. I wonder who will exceed the sig-limit... ~ Blue Phoenix
Please don't trash this. It's good eye-candy. ~ blow_fly98
koala has spoken and so shall it be =) ~ Phil
there're some html here, and bla bla bla, so I think I might exceed it. Period - Simoneon
WHY THE SPOILER?! ~ Blue Phoenix
didn't you spoiler the conversation yourself? ~ Bamboori
BLOW BLOW!!! YOU FORGOT TO WRITE NAKATO IN 'WE'RE WATCHING YOU'!!!!! - Simoneon
To0 8ad. H4 D045n't d0 any MoDdin9 at A11!!!!!!! ~ blow_fly98
Evil Sonidow does, eh? - Simoneon
Of course. Just n0t v4ry 0ft4n. ~ blow_fly98
WHY THE 1337-SPEAK?! ~ Blue Phoenix
Because I am a KOALA!!! ~ blow_fly98
To be honest, I thought they use Eucalyptus-Speal..........
......
......
D: - Simoneon
Noez, Simon forgot to close his notice! ~ Blue Phoenix
oh no its the end of the world! *panic* ~ Bamboori
Gzz Hizz Fz Mzzz
Anyone got a Eucalyptus-speak interpreter?
And did you know that a user can have more than 4 images in their signature if we edit it for them? Or am I just the last one to find out?
~ blow_fly98
OMG spoilers in spoilers! ~ Bamboori
OMG offtopic in offtopic! - Simoneon
OH HAI GUYZ, i didnt you see you thar :P ~ Alectric
Now, I seriously need to be a part of this. ~ SirFrog
Wasn't there something about childish mods editing signatures lately?

What?!?! Where was it?!?!?! ~ blow_fly98
DO YOU HAVE SUGAR?! - Simoneon
I heard if you edit someone's signature enough, your profile automatically is set to Admin status. BP told me. ~ Alectric
then let's do this!

Just because I don't go around checking every single post and editing signatures doesn't mean that I don't mod here. I just don't check posts that aren't reported. ~ Evil Sonidow
Seriously. We should encourage people to start reporting more :/ - Simoneon
EvErYoNe'S pOsTeD hErE eXcEpT mH.

Hey, maybe we could report every single post just so ES could check them. ~ blow_fly98
You know, that's a hell lot of work. What about a rule that everyone has to report at least one post whenever he logs in? Or an auto-report function? ~ Reaper
I liked the report-part until we got to the point of an auto-report function. That's something that requires work --> No. ~ Blue Phoenix
Finally, I get to see some invisible users. *sniggers* ~ blow_fly98
Oh, i came back. Well, since im already here, i may as well shoot bees ~ Alectric
You know, the ducks are watching. Always watching... ~ SirFrog
Hmm, I think, Lauli is about to climax due to the awesomeness of this color-wall ~ Blue Phoenix
We're watching you... (Click to View)
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="images/unrealblack//collapse.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>Board Statistics</strong></div>
</td>
</tr>
</thead>
<tbody style="" id="boardstats_e">
<tr>
<td class="tcat"><span class="smalltext"><strong>Who's Online</strong> </span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">13 users active in the past 5 minutes (13 members, 0 of whom are invisible, and 0 guests).<br /><a href="member.php?action=profile&uid=838"><span style="color: #ff7f00"><b>Alectric</b></span></a>, <a href="member.php?action=profile&uid=17"><span style="color: #ff7f00"><b>Azriel</b></span></a>, <a href="member.php?action=profile&uid=26"><span style="color: #8888ff"><b>Bamboori</b></span></a>, <a href="member.php?action=profile&uid=1056"><span style="color: #008800"><b>blow_fly98</b></span></a>, <a href="member.php?action=profile&uid=15"><span style="color: #ff0000;"><b>Blue Phoenix</b></span></a>, <a href="member.php?action=profile&uid=5"><span style="color: #8888ff;"><b>Evil Sonidow</b></span></a>, <a href="http://www.lf-empire.de/forum/member.php?action=profile&uid=8"><span style="color: #8888ff;"><b>Lord Silva</b></span></a>, <a href="member.php?action=profile&uid=3"><span style="color: #8888ff;"><b>Marshall</b></span></a>, <a href="member.php?action=profile&uid=1"><span style="color: #ff0000;"><b>MH-Razen</b></span></a>, <a href="member.php?action=profile&uid=736"><span style="color: #8888ff;"><b>Phil</b></span></a>, <a href="member.php?action=profile&uid=10"><span style="color: #ff7f00;"><b>Ramond</b></span></a>, <a href="member.php?action=profile&uid=1659"><span style="color: #008800"><b>Reaper</b></span></a>, <a href="member.php?action=profile&uid=1317"><span style="color: #ff7f00;"><b>Simoneon</b></span></a>, <a href="member.php?action=profile&uid=245"><span style="color: #008800"><b>SirFrog</b></span></a></span></td>
</tr>
</tbody>
</table>
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="images/unrealblack//collapse.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>Board Statistics</strong></div>
</td>
</tr>
</thead>
<tbody style="" id="boardstats_e">
<tr>
<td class="tcat"><span class="smalltext"><strong>Who's Online</strong> </span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">13 users active in the past 5 minutes (13 members, 0 of whom are invisible, and 0 guests).<br /><a href="member.php?action=profile&uid=838"><span style="color: #ff7f00"><b>Alectric</b></span></a>, <a href="member.php?action=profile&uid=17"><span style="color: #ff7f00"><b>Azriel</b></span></a>, <a href="member.php?action=profile&uid=26"><span style="color: #8888ff"><b>Bamboori</b></span></a>, <a href="member.php?action=profile&uid=1056"><span style="color: #008800"><b>blow_fly98</b></span></a>, <a href="member.php?action=profile&uid=15"><span style="color: #ff0000;"><b>Blue Phoenix</b></span></a>, <a href="member.php?action=profile&uid=5"><span style="color: #8888ff;"><b>Evil Sonidow</b></span></a>, <a href="http://www.lf-empire.de/forum/member.php?action=profile&uid=8"><span style="color: #8888ff;"><b>Lord Silva</b></span></a>, <a href="member.php?action=profile&uid=3"><span style="color: #8888ff;"><b>Marshall</b></span></a>, <a href="member.php?action=profile&uid=1"><span style="color: #ff0000;"><b>MH-Razen</b></span></a>, <a href="member.php?action=profile&uid=736"><span style="color: #8888ff;"><b>Phil</b></span></a>, <a href="member.php?action=profile&uid=10"><span style="color: #ff7f00;"><b>Ramond</b></span></a>, <a href="member.php?action=profile&uid=1659"><span style="color: #008800"><b>Reaper</b></span></a>, <a href="member.php?action=profile&uid=1317"><span style="color: #ff7f00;"><b>Simoneon</b></span></a>, <a href="member.php?action=profile&uid=245"><span style="color: #008800"><b>SirFrog</b></span></a></span></td>
</tr>
</tbody>
</table>