|
Wyvern Development Here you can discuss anything and everything involving creating your own content for Wyvern. Have a problem with an arch file or a map? Want to show off something you've been working on? If so this is the place for you. |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Allready.. wyvern 2 portabillity issue
I am stoked to be able to work on this.. it's gonna be rad.
One problem that I'm allready having though.. When using hand held devices like the Iphone and NDSi to load the app I'm having the same problems we initially had with the original Wyvern app. I used the server that R. sent me to but when I send data to the new server (also under initial handshaking), I get the following output PORT = 2222 (graphical) bash-3.00$ java TestClient Starting while... Server:ncorrect password. Server: bash-3.00$ Note that the "Starting while..." and the "Server: " is something I put there. When I octal dumped the output, this is what you get Code: 0000000 S t a r t i n g w h i l e . . 0000020 . \n S e r v e r : 002 \0 \0 033 \0 001 \0 0000040 001 004 \0 \0 023 I n c o r r e c t p 0000060 a s s w o r d . \n S e r v e r : 0000100 \0 \0 \0 \n 0000104Looking at the ASCII table (http://www.unix-manuals.com/refs/misc/ascii-table.html) we can see the 004 the server sends (4th line there) is an "end of transmission", with more information after this. I might be using the wrong crypt(), but I doubt it. To be honest, I plagerized at least 95% of it from Machuno here. He is way more skilled at Java that I am having figured out more about using the NDS on the original Wyvern than I ever will.. still Wyvern 2 is gonna look way better on my Iphone than W1 ever did on the DS. |
#2
|
|||
|
|||
When you sent the user name/password stuff, did you check that you were sending it in the right byte order? Wyvern 2 likes things in little-endian. I know, this is not the way it was, nor the way that Java likes things, but this is new stuff in a new language. You might also check that you properly terminated the password. In order to prevent scammers, you will need to put in the double nulls at the end, otherwise the server will just pretend like you sent bogus information.
Best of luck! Contrare |
#3
|
||||
|
||||
And can we please keep Wyvern 2 stuff on the Wyvern 2 forum so I don't get completely insane keeping track! Thanks!
PS I mailed you the info to the forum incase you dont have it already beckhan. |
#4
|
||||
|
||||
Whoops, my appologies.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map Editor Issue | Nodlove | Wyvern Development | 6 | 05-08-2012 03:49 PM |