|
You last visited: Today at 16:21
Advertisement
Warrock login string
Discussion on Warrock login string within the WarRock forum part of the Shooter category.
01/12/2014, 14:38
|
#1
|
elite*gold: 90
Join Date: Aug 2012
Posts: 8
Received Thanks: 6
|
Warrock login string
With my program I login to the warrock server. I get my NPP through webrequest when I first login.
I build my string like this:
Code:
sb.Append(Environment.TickCount.ToString());
sb.Append(" 4352 ");
sb.Append(WRCrypt.rnd());
sb.Append(" 0 ");
sb.Append(username);
sb.Append(" ");
sb.Append(npp.Split(':')[3]);
sb.Append(" ");
sb.Append(username);
sb.Append(" ???? 1 0 ");
sb.Append(npp);
sb.Append(" ");
sb.Append(Environment.NewLine);
byte[] bBytes = Encoding.ASCII.GetBytes(sb.ToString());
bBytes = WRCrypt.xor(bBytes, (byte)195);
return bBytes;
First time I login and everything works fine. Second I login with different account and retreives NPP and my first account logs in?
Somebody Knows what the error is?
|
|
|
01/12/2014, 15:59
|
#2
|
elite*gold: 26
Join Date: Nov 2013
Posts: 410
Received Thanks: 246
|
Try to add another webbrowser
|
|
|
01/12/2014, 16:20
|
#3
|
elite*gold: 98
Join Date: Nov 2011
Posts: 1,267
Received Thanks: 1,019
|
U ever heard of "Logout"? U can't login a second time within the same session -.-
|
|
|
01/12/2014, 16:32
|
#4
|
elite*gold: 0
Join Date: Nov 2012
Posts: 592
Received Thanks: 393
|
Send logout
Close Socket
Wait 1 sec
Relogin
Have fun
|
|
|
01/12/2014, 17:11
|
#5
|
elite*gold: 90
Join Date: Aug 2012
Posts: 8
Received Thanks: 6
|
Aaah, So when I don't send the logout packet my account stays in the server right?
|
|
|
01/13/2014, 16:25
|
#6
|
elite*gold: 0
Join Date: Nov 2012
Posts: 592
Received Thanks: 393
|
Yes and is timegettime not environment.tickcount
|
|
|
01/13/2014, 19:11
|
#7
|
elite*gold: 420
Join Date: Jan 2012
Posts: 1,030
Received Thanks: 982
|
Quote:
Environment.TickCount Property
Gets the number of milliseconds elapsed since the system started.
|
Quote:
timeGetTime function
The timeGetTime function retrieves the system time, in milliseconds. The system time is the time elapsed since Windows was started.
|
They are the same.
|
|
|
01/13/2014, 19:54
|
#8
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
The system time does not even matter. Technically, the timestamps only need to follow the basic rules of linear temporal logic (LTL): For every packet a and b where a gets sent before b the timestamp of a needs to be smaller than the timestamp of b. Therefore you might as well just add one to the any packets timestamp to receive the next timestamp.
|
|
|
|
Similar Threads
|
String Between | String regexp
06/07/2013 - AutoIt - 7 Replies
Huhu,
undzwar habe ich ein problem hiermit: <li class="lab">Benutzername:</li>
<li>Salmor</li>
ich will salmor auslesen, wenn ich allerdings sage:
$Benutzername = _StringBetween($sHTML, 'Benutzername:</li><li>', '</li>')
kommt es zu keiner Lösung, evtl kann mir jemand helfen.
|
[Visual Basic] [Problem] String auslesen/String zufällig wählen
05/06/2012 - General Coding - 4 Replies
Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Name Generator", 236, 299, 815, 246)
$Input1 = GUICtrlCreateInput("Username", 24, 72, 185, 21)
$Input2 = GUICtrlCreateInput("Username", 24, 104, 185, 21)
$Input3 = GUICtrlCreateInput("Username", 24, 136, 185, 21)
$Input4 = GUICtrlCreateInput("Username", 24, 168, 185, 21)
$Input5 = GUICtrlCreateInput("Username", 24, 200, 185, 21)
|
[VB08]String in String mit mehreren Funden
08/08/2011 - .NET Languages - 6 Replies
Hey,
bin gerade auf ein Problem gestoßen, an dem ich mir seit 3 Stunden die Zähne ausbeiße.
Ich will eine Funktion schreiben, die der _StringBetween Funktion von AutoIt gleich ist. _StringBetween gibt in einem Array alle Strings zwischen zwei SubStrings und dem ganzen String aus. Die Ausgabe bei
_StringBetween("<h1>test1</h1>&l t;h1>test2</h1>", "<h1>", "</h1>") wäre also idealer Weiße ein Array (x = "test1", x = "test2")...
da man in VB08 kein Array returnen kann, komme ich aber einfach...
|
Warrock Pvp Server Complete Succesfully Game Login But Login Map Error :S
02/22/2011 - WarRock - 7 Replies
Hi friends succesfully warrock pvp server and game login ıd pw succesfully server list WREMU Create room friedns came friends ready game start do not be eniting please help :(
|
All times are GMT +2. The time now is 16:21.
|
|