Wyvern Forums

Review Wyvern Today's Posts Mark Forums Read Arcade
Go Back   Wyvern Forums > Archive > Wyvern Forums Archive > Wyvern Development
Home Register FAQ Members List Calendar Chatbox Search Today's Posts Mark Forums Read

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  
Old 04-01-2010, 07:03 PM
Beckhan's Avatar
Beckhan Beckhan is offline
 

Join Date: Feb 2008
Beckhan has just set foot in the Tutorial Tower
Bow and arrow 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  
Old 04-01-2010, 08:31 PM
Contrare Contrare is offline
Weezerd
 

Join Date: Apr 2007
Location: Swamp
Contrare has disabled reputation
Default

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  
Old 04-01-2010, 08:42 PM
Teshuvah's Avatar
Teshuvah Teshuvah is offline
Wizardess
 

Join Date: Apr 2007
Teshuvah has just set foot in the Tutorial Tower
Default

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  
Old 04-01-2010, 09:24 PM
Beckhan's Avatar
Beckhan Beckhan is offline
 

Join Date: Feb 2008
Beckhan has just set foot in the Tutorial Tower
Bow and arrow

Whoops, my appologies.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Map Editor Issue Nodlove Wyvern Development 6 05-08-2012 03:49 PM

Wyvern Forums
All times are GMT -4. The time now is 09:57 AM.

Forum: Contact Us - Archive - Top

Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.