Coders Lounge

Would you like to react to this message? Create an account in a few clicks or log in to continue.

For all of your programming needs and wants.


5 posters

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

    sinco
    sinco
    Stranger
    Stranger


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

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

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

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


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

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

    Post by SoulRed12 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!
    sinco
    sinco
    Stranger
    Stranger


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

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

    Post by sinco 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
    SoulRed12
    SoulRed12
    Moderator
    Moderator


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

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

    Post by SoulRed12 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
    sinco
    sinco
    Stranger
    Stranger


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

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

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

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


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

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

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

    sinco
    sinco
    Stranger
    Stranger


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

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

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

    oh its the port number XD
    luke
    luke
    Admin
    Admin


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

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

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

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


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

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

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

    yay!
    sinco
    sinco
    Stranger
    Stranger


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

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

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

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


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

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

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

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


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

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

    Post by sinco 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
    luke
    luke
    Admin
    Admin


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

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

    Post by luke 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
    ProgrammingLinguist
    ProgrammingLinguist
    Stranger
    Stranger


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

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

    Post by ProgrammingLinguist 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


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

    Post by Sponsored content


      Current date/time is 5/11/2024, 10:34 am