For all of your programming needs and wants.


    Well so far i suck at online game making...

    Share
    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Well so far i suck at online game making...

    Post by sinco on 11/3/2009, 3:24 pm

    Its like the sinc is lost,XD but seriously i am.
    avatar
    SoulRed12
    Moderator
    Moderator

    Posts : 129
    Join date : 2009-05-08
    Age : 27
    Location : West-coast USA

    Re: Well so far i suck at online game making...

    Post by SoulRed12 on 11/3/2009, 3:33 pm

    Online games are pretty difficult to create. They require learning a whole new system of sending messages, receiving messages, etc. (you can probably tell by my amazingly technologically specific language that....I don't know how to do it either =p)

    I'd suggest looking at 39dll (if it's not outdated...I haven't been keeping up) and reading some tutorials on it. Seems to be the "industry standard" AFAIK.

    In addition, I hear GM's built-in mplay features are seriously depreciated, so I wouldn't recommend even bothering to learn them.

    Hope this helped!
    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Re: Well so far i suck at online game making...

    Post by sinco on 11/3/2009, 3:34 pm

    hey i have my own dll

    i jus cant find out what it means by Socket ID

    thats about it,everythign else is in place
    avatar
    SoulRed12
    Moderator
    Moderator

    Posts : 129
    Join date : 2009-05-08
    Age : 27
    Location : West-coast USA

    Re: Well so far i suck at online game making...

    Post by SoulRed12 on 11/3/2009, 3:36 pm

    LOL, if you already have your own dll and your only problem is you don't understand one term, then you do NOT suck at online game making XD
    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Re: Well so far i suck at online game making...

    Post by sinco on 11/3/2009, 4:03 pm

    hey hey,the term is messing with me and im stuck so i suck XD
    avatar
    SoulRed12
    Moderator
    Moderator

    Posts : 129
    Join date : 2009-05-08
    Age : 27
    Location : West-coast USA

    Re: Well so far i suck at online game making...

    Post by SoulRed12 on 11/3/2009, 4:08 pm

    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Re: Well so far i suck at online game making...

    Post by sinco on 11/3/2009, 4:09 pm

    oh its the port number XD
    avatar
    luke
    Admin
    Admin

    Posts : 194
    Join date : 2009-05-07
    Age : 23
    Location : Dallas, TX

    Re: Well so far i suck at online game making...

    Post by luke on 11/3/2009, 7:34 pm

    XD sinco.... I'll try to help with your game as much as possible.
    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Re: Well so far i suck at online game making...

    Post by sinco on 11/3/2009, 9:32 pm

    yay!
    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Re: Well so far i suck at online game making...

    Post by sinco on 11/4/2009, 6:22 pm

    ok i need help with socket ID,it keeps saying it is wrong.....
    avatar
    John
    Admin
    Admin

    Posts : 265
    Join date : 2009-04-20
    Location : U.S.A.

    Re: Well so far i suck at online game making...

    Post by John on 11/4/2009, 6:40 pm

    What exactly does it do to tell you it's wrong?
    avatar
    sinco
    Stranger
    Stranger

    Posts : 8
    Join date : 2009-11-03
    Age : 24

    Re: Well so far i suck at online game making...

    Post by sinco on 11/4/2009, 7:31 pm

    Argument0 = Socket to send to.


    thats it

    and this error just angers me


    ___________________________________________
    ERROR in
    action number 1
    of Other Event: Game End
    for object obj_client:

    Error in code at line 7:
    writebyte(global.myid);

    at position 23: Unknown variable myid
    avatar
    luke
    Admin
    Admin

    Posts : 194
    Join date : 2009-05-07
    Age : 23
    Location : Dallas, TX

    Re: Well so far i suck at online game making...

    Post by luke on 11/4/2009, 10:00 pm

    Do you see the "Unknown variable myid" ?

    That's your problem. Reading a debugging log is important.

    Make sure global.myid is actually filled with something, or initialised to 0
    avatar
    ProgrammingLinguist
    Stranger
    Stranger

    Posts : 49
    Join date : 2010-01-06
    Location : LA

    Re: Well so far i suck at online game making...

    Post by ProgrammingLinguist on 1/6/2010, 10:27 pm

    you should read Beej's socket programming guide. The book is free online unless you want to buy a printed version.


    Beej's Guide here

    Sponsored content

    Re: Well so far i suck at online game making...

    Post by Sponsored content


      Current date/time is 11/19/2017, 4:27 am