Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > Other

Other Discuss other languages or best practice coding here.

Reply
 
Thread Tools Display Modes
Old 01-29-2006, 05:18 AM   #1 (permalink)
Forum Expert
 
DaZiL's Avatar
 
Join Date: Mar 2005
Location: 192.168.0.10
Posts: 319
Send a message via ICQ to DaZiL Send a message via AIM to DaZiL Send a message via MSN to DaZiL
Default Gamemaker(GML)?

I haven't seen anyone on here use Game maker. www.gamemaker.nl, I'd recommend it to people who just started learning game/program design, or first language and such.. Well, if you do know gamemaker, You would most likely know the forums, if you know the forums well, You would know about 39ster's DLL that uses the acctual Win32 internet stuff. Anyhoo's, I've decided since (i've used GM since early '04) i would kick off a Ultima Online emu.. Kidding, Ultima Online client.. The only thing is i keep getting this message from the server;

Encrypted client detected, Disconnecting...

Code:
CREATE:
dllinit(0,true,true)
usa="test"
pass="pass"
ms=tcpconnect(127.0.0.1,2593,1)
if(ms<0)game_end()
writebyte(160)
writeint(0)
length=writestring(usa,true)
repeat(30-length)writebyte(0)
length2=writestring(pass,true)
repeat(30-length2)writebyte(0)
sendmessage(ms)
I'm not sure what's up, But that should be correct. Obviously it's not, So do correct me if i'm wrong.
__________________
Zelda Freak ^^
Quote:
Originally Posted by DaZiL
TBCHWY...TBH=PlaceAt(#EndOfPost)
DaZiL is offline   Reply With Quote
Old 01-29-2006, 01:16 PM   #2 (permalink)
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 22
Posts: 3,933
Default

You're not sending a valid first packet. 160 = 0xA0. Since you're sending the login packet with the username and password, I suggest looking up the correct packetid for it.
TheOutkastDev is offline   Reply With Quote
Old 01-29-2006, 06:39 PM   #3 (permalink)
Forum Expert
 
DaZiL's Avatar
 
Join Date: Mar 2005
Location: 192.168.0.10
Posts: 319
Send a message via ICQ to DaZiL Send a message via AIM to DaZiL Send a message via MSN to DaZiL
Default

@Seachen.net

Nah, The dll i'm using for this uses the acctual windows ports, so it would connect like any normal TCP/UDP application, I.E - Firefox.

@TheOutkastDev

Thanks, Trying it now.
__________________
Zelda Freak ^^
Quote:
Originally Posted by DaZiL
TBCHWY...TBH=PlaceAt(#EndOfPost)
DaZiL is offline   Reply With Quote
Old 01-30-2006, 04:09 AM   #4 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

Quote:
Originally Posted by DaZiL
@Seachen.net

Nah, The dll i'm using for this uses the acctual windows ports, so it would connect like any normal TCP/UDP application, I.E - Firefox.
i think he is meaning the RunUO core...it has alot that it only understands from the OSI client so...

but then again, i don't know hardly anything about this....thanks for sharing the link for the game maker though...ill check that out

hey DaZiL, when will 2.0 be released??
__________________


Last edited by Pyro-Tech; 01-30-2006 at 04:13 AM.
Pyro-Tech is offline   Reply With Quote
Old 01-31-2006, 09:12 AM   #5 (permalink)
Forum Expert
 
DaZiL's Avatar
 
Join Date: Mar 2005
Location: 192.168.0.10
Posts: 319
Send a message via ICQ to DaZiL Send a message via AIM to DaZiL Send a message via MSN to DaZiL
Default

Haha shotgun.. Whoever kicked me from IRC stuffed my Trillian IRC.. Seems to be fine now . Maybe just a packet-crasher.

Anyway, 0x80 = 128

No joy.

P.S-If you need help with GameMaker, Pyro-Tech, feel free to ask away.
__________________
Zelda Freak ^^
Quote:
Originally Posted by DaZiL
TBCHWY...TBH=PlaceAt(#EndOfPost)
DaZiL is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5