Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Fernand Matte95131
3 discussion posts
hi , i'm new to this and i found that cool little hack for rocksmith. apparently, i cannot follow the simple instruction on putting vid and pid
if i enter them in the second [ ]
i got this Compile Failed.
Line 39: Syntax error, ']' expected
Line 39: Invalid token ']' in class, struct, or interface member declaration
Line 42: Syntax error, ']' expected
Line 42: Invalid token ']' in class, struct, or interface membe
if i put the numbers in the first one i got this

Compile Failed.
Line 39: Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)
Line 39: Syntax error, ']' expected
Line 39: Invalid token '8' in class, struct, or interface member declaration
Line 39: Invalid token ']' in class, struct, or interface member declaration
Line 39: Invalid token '=' in class, struct, or interface member declaration
Line 39: Invalid token '{' in class, struct, or interface member declaration
Line 42: Expected class, delegate, enum, interface, or struct
Line 42: Identifier expected
Line 42: Expected class, delegate, enum, interface, or struct
Line 42: Identifier expected
Line 42: Expected class, delegate, enum, interface, or struct
Line 42: Type or namespace definition, or end-of-file expected

i have the hardware id of my cable

USB\VID_0D8C&PID_013C&REV_0100&MI_00

my question is , where can i put those number to make it works

thank you very much
Feb 28, 2018  • #1
PabloMartinez's profile on WallpaperFusion.com
All you need to do is replace one character in the PID array. Instead of 0x39 put 0x3C.

Code

//the vender id of your cable
    private static byte[] VID = new byte[] {0x0D, 0x8C};

    //the product id of your cable
    private static byte[] PID = new byte[] {0x01, 0x3C};
Feb 28, 2018  • #2
User Image
Fernand Matte95131
3 discussion posts
i must be taking more than i can chew because if i only put this in
//the vender id of your cable
private static byte[] VID = new byte[] {0x0D, 0x8C};

//the product id of your cable
private static byte[] PID = new byte[0x3c] {0x01, 0x39};
i ended up with this
Compile Failed.
Line 42: An array initializer of length '60' is expected
can someone show me how to enter those number.
i try to read on the subject but i don't know where to start actualy.

thanks
Feb 28, 2018  • #3
User Image
Fernand Matte95131
3 discussion posts
also, if i dont put any number we can verify fonction and run fonction successfully but it's not working since it's not looking for my cable
Feb 28, 2018  • #4
PabloMartinez's profile on WallpaperFusion.com
All you have to do is replace one!!! character in line 42. 9 on C.

Or just copy this line and replace the original.

Code

private static byte[] PID = new byte[] {0x01, 0x3C};
Mar 1, 2018  • #5
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)