Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 16:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



HELP! NosCrypto usage

Discussion on HELP! NosCrypto usage within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2022
Posts: 1
Received Thanks: 0
HELP! NosCrypto usage

i didn't get how to use

Code:
import socket
import struct
from noscrypto import Server,Client

# the public network interface
HOST = socket.gethostbyname(socket.gethostname())
print(HOST)
# create a raw socket and bind it to the public interface
s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_IP)
s.bind((HOST, 0))
# Include IP headers
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
# receive all packages
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)


n=1
while(n <= 400):
    data = s.recvfrom(65565)
    
    packet=data[0]
    address= data[1]
    header=struct.unpack('!BBHHHBBHBBBBBBBB', packet[:20])
    
    try:
        x = Client.WorldDecrypt(packet)
        print(x)
    except:
        print("error")
    
    n+=1
my code is this. i am packet sniffing for packets and in try except it is not shows me decrypted packet. i tried "x = Client.WorldDecrypt(packet).decode)("ascii")" also but it also not work

can someone please explain me how it is work. am i wrong? did i get it wrong?
mesimi81 is offline  
Reply


Similar Threads Similar Threads
CROSSFIRE 99cpu usage help!
06/17/2013 - CrossFire - 1 Replies
hi guys..i need some help with crossfire.. i got 4 computer's here crossfire is fully installed but the 2 computer's are very laggy when playing crossfire 4 computers are same specs...windows xp..i check task manager with the 2 computer's that are laggy the problem is when crossfire is open in the process it's 99cpu usage straight..i tried to uninstall and reinstall and update crossfire still the same i tried to lower all grahpics and settings also in os... still 99cpu usage..been giving me...
why is my mysqld-nt.exe takes 40-70% cpu usage :( ? please any can help?
02/16/2012 - CO2 Private Server - 9 Replies
why is my mysqld-nt.exe takes 40-70% cpu usage ? please any can help? version 5535
[Help] Silk usage issue
09/27/2011 - SRO Private Server - 8 Replies
Hello, My servers running good without any problem but this one only: When I buy anything from Silk Item Mall I got DC and error in sr_gameserver App:- http://img21.imageshack.us/img21/644/silkerror.jp g and all my settings for billing server are correct and i have changed all IPs in it to mine also the server.cfg edited sr_shard section to my ip for billing and ftp. Can any one helps me please?
[Help]Ram Usage
09/28/2010 - CO2 Private Server - 18 Replies
Hey guys...I don't know if anything like this have happened to you too but the source is eating up RAM slowly...I was wondering if all of this happens because of the timers (that repeat every .1 second) if so ... I have a lot of "if's" in them checking the servertime...would it reduce the ram usage by using a switch (Servertime.hr/day/blahblah) and make with cases? if this is not the problem of the ram usage can anybody tell me what causes this ram usage? EDIT: i'm talking about tanel's...



All times are GMT +1. The time now is 16:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.