Do you have any character I can test with? When I try characters like kanji's or cyrillic's directly in NosTale chat I just see "?" or what client language u're using?
Strange, in my example AutoIt Script these characters work: (NosTale converted the middle 3 characters to the default in german client) but the ™ and ó is working
Be careful: If you log it to your console it could also be that the console cannot print these characters.
hello, i would like to create a betting bot, but unfortunately i can't manage that all the time the packets are intercepted and every 5,5sec the item is betted. if i include a sleep(5500) the packets are only retrieved every 5,5sec. How can I get the packets to be retrieved all the time and bet every 5.5 seconds.
I used consolewrite in the code only to check if the packets are fetched every 5,5sec or all the time.
It builds on the code from the autoit example
Here my **** code
HTML Code:
While True
Bet()
EQCheck()
PacketLogger_Handle($Socket, ProcessPackets)
WEnd
Func ProcessPackets($Type, $PacketSplitted, $FullPacket)
$e_info = ""
ConsoleWrite($PacketSplitted[0] & [MENTION=3576271]CRLF[/MENTION]@
If $PacketSplitted[0] = "e_info" Then
$e_info = $FullPacket
ConsoleWrite($FullPacket & [MENTION=3576271]CRLF[/MENTION]@
EndIf
;If StringInStr($e_info, "1.16") or StringInStr($e_info, "1.15") Then ;Crit dmg or crit chance
;EndIf
EndFunc
Func Bet()
;PacketLogger_SendPacket($Socket,"up_gr 7 0 0") ;bet Item
Sleep(5500)
EndFunc
Func EQCheck()
PacketLogger_SendPacket($Socket,"eqinfo 1 0")
EndFunc
hello, i would like to create a betting bot, but unfortunately i can't manage that all the time the packets are intercepted and every 5,5sec the item is betted. if i include a sleep(5500) the packets are only retrieved every 5,5sec. How can I get the packets to be retrieved all the time and bet every 5.5 seconds.
I used consolewrite in the code only to check if the packets are fetched every 5,5sec or all the time.
It builds on the code from the autoit example
Here my crap code
HTML Code:
While True
Bet()
EQCheck()
PacketLogger_Handle($Socket, ProcessPackets)
WEnd
Func ProcessPackets($Type, $PacketSplitted, $FullPacket)
$e_info = ""
ConsoleWrite($PacketSplitted[0] & [MENTION=3576271]CRLF[/MENTION]@
If $PacketSplitted[0] = "e_info" Then
$e_info = $FullPacket
ConsoleWrite($FullPacket & [MENTION=3576271]CRLF[/MENTION]@
EndIf
;If StringInStr($e_info, "1.16") or StringInStr($e_info, "1.15") Then ;Crit dmg or crit chance
;EndIf
EndFunc
Func Bet()
;PacketLogger_SendPacket($Socket,"up_gr 7 0 0") ;bet Item
Sleep(5500)
EndFunc
Func EQCheck()
PacketLogger_SendPacket($Socket,"eqinfo 1 0")
EndFunc
Use something like a timer that runs the function later, I think with "AdlibRegister("YourFunctionName", <Milliseconds>)"
So you could to smth. like this: (Crappier solution but easier to understand I guess)
HTML Code:
Func Bet()
PacketLogger_SendPacket($Socket,"up_gr 7 0 0") ;bet Item
AdlibRegister("DoSmthElseAfter5500Milliseconds", 5500) ;Start 5.5s interval
EndFunc
Func DoSmthElseAfter5500Milliseconds()
; This will run after 5,5 seconds
AdlibUnRegister("DoSmthElseAfter5500Milliseconds") ;Stop 5.5s interval, otherwise it would run this function again after 5,5 seconds
EndFunc
The better solution would be to work with a Timestamp, check in the While loop above if 5.5s passed and run the function () but in this case it should be enough for you.
Use something like a timer that runs the function later, I think with "AdlibRegister("YourFunctionName", <Milliseconds>)"
So you could to smth. like this: (Crappier solution but easier to understand I guess)
HTML Code:
Func Bet()
PacketLogger_SendPacket($Socket,"up_gr 7 0 0") ;bet Item
AdlibRegister("DoSmthElseAfter5500Milliseconds", 5500) ;Start 5.5s interval
EndFunc
Func DoSmthElseAfter5500Milliseconds()
; This will run after 5,5 seconds
AdlibUnRegister("DoSmthElseAfter5500Milliseconds") ;Stop 5.5s interval, otherwise it would run this function again after 5,5 seconds
EndFunc
The better solution would be to work with a Timestamp, check in the While loop above if 5.5s passed and run the function () but in this case it should be enough for you.
Ive done it with the timer and it works like a charm!! Thanks!!
Thats my code now
HTML Code:
$iMilliSec = 5500
$hTimer = TimerInit()
While True
PacketLogger_Handle($Socket, ProcessPackets)
If TimerDiff($hTimer) > $iMilliSec Then
Bet()
$hTimer = TimerInit()
EndIf
WEnd
[Release] Packetlogger - By Doktor. 02/09/2019 - Nostale Hacks, Bots, Cheats & Exploits - 137 Replies Hab mich mal rangesetzt einen Packetlogger zu schreiben, aus Übungszwecken.
Bei Problemen o.Ä. könnt ihr euch einfach im Thread melden.
Funktionen:
- Ausgabe der gesendeten Packets
- Ausgabe der erhaltenen Packets
- Filtern der Packets
- Senden von Packets
- Braucht so schnell kein Update
[Release] AutoIt-Recieve-Packetlogger mit Sourcecode 08/07/2013 - Nostale Hacks, Bots, Cheats & Exploits - 20 Replies Ich habe mich der Herausforderung gestellt in AutoIt einen Packetlogger zu schreiben, bisher werden nur die Packets geloggt, die der Client vom Server erhält, andersrum geht es noch nicht.
Diese kleine Spielerei fing ich eigentlich an um meine neue CCInject.au3 zu testen, dann dachte ich aber, dass es sicherlich für viele interessant sein könnte einmal zu sehen wie einfach es doch ist an die Packets ranzukommen.
Deshalb poste ich hier einmal einen relativ einfachen Packetlogger.
Das...
[Release] PacketLogger Starter 08/10/2012 - Nostale Hacks, Bots, Cheats & Exploits - 41 Replies Hier mein erster Release :)
Es ist zwar nur ein kleines tool, wird jedoch vielen helfen denke ich :)
Infos
Es startet den Multiclient und ändert anschließend die VersionsNr.
Zudem Injizieret er die dll automatisch.
Somit muss man dies nicht mehr mit CE machen.
http://www.abload.de/img/unbenanntogxfy.png