Page 6 of 60 FirstFirst ... 4 5 6 7 8 16 56 ... LastLast
Results 51 to 60 of 599

Thread: SAPP

  1. #51
    {XG}Clan founder {XG}Gijs007's Avatar
    Join Date
    Sep 2007
    Location
    Netherland
    Posts
    181

    Re: SAPP

    We had a power outage 2 weeks ago and unfortunately our mysql database was lost including all posts on our forum, however we have recovered some of those posts from google cache.

    Also we have a new domain name and we are working on a new website for sapp, You can access the sapp forums here https://www.xgclan.com/forum/viewfor...6024888f32be2a
    Last edited by {XG}Gijs007; September 22nd, 2011 at 11:08 AM.

  2. #52

    Re: SAPP

    The best way to send chat messages is to make the server do everything for you. Use its BuildPacket and AddPacketToQueue functions, note there are two functions that add a packet to the queue.. One is for the global queue and the other is for a player specific queue. I haven't ported my addresses for CE yet, but you can have a look at the PC 1.09 server and find a byte signatures if you want to use this code. http://pastebin.com/vstchJP4

    edit: here's the disassembly this is based on, it's the server's chat processing code (again, for pc). http://pastebin.com/6hejBPZb
    Last edited by urbanyoung; September 21st, 2011 at 05:25 PM.

  3. #53
    Senior Member Patrickssj6's Avatar
    Join Date
    Oct 2006
    Location
    'schland
    Posts
    3,838

    Re: SAPP

    Byte signature should be easy to find since those assembly codes look very unique. Question is how much work should one put into this.

  4. #54
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: SAPP

    I already have most of the relative networking functions documented in OS

  5. #55
    suum cuique sehe's Avatar
    Join Date
    Aug 2011
    Location
    Hungary
    Posts
    217

    Re: SAPP

    urbanyoung; this looks cool, i think i can use dis, thx I think the problem is that now sapp sends the server msg even if its not rdy for the queue.
    edit: tho some definitions, declarations and includes are missing :/ could u give me the full code pls? or add me on xfire; lgbalazs, thx
    edit2: i think i only need from this the "AddPacketToPlayerQueue" function, also i found the "FUNC_ADDPACKETTOPQUEUE" address in CE, its 0x004cc700 =)
    so now i only need to know how to call this? xD i mean its, "void AddPacketToPlayerQueue(DWORD player, LPBYTE packet, DWORD packetCode, DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5)", so i should call it like this: AddPacketToPlayerQueue(player_index, message string converted to char* (??), packet code (ECX+01?), 1, 006D8D20, 00000072, NULL, NULL) (dont have better idea, found these values with odbg..)
    Last edited by sehe; September 22nd, 2011 at 08:03 AM.

  6. #56
    Senior Member Patrickssj6's Avatar
    Join Date
    Oct 2006
    Location
    'schland
    Posts
    3,838

    Re: SAPP

    It would be more efficient not to wrap functions in further functions. Just assign an address to a function protoype with the correct calling convention (cdecl in this case).

  7. #57
    El Durado :/
    Join Date
    Oct 2006
    Posts
    2,417

    Re: SAPP

    basically it's like he just put a "loop within a loop"

    it is less efficient do what pat said.

  8. #58

    Re: SAPP

    Would it be possible to create a function to list servers on both 1.09CE and 1.00CE?
    I know SmG already does this with their servers

  9. #59
    Amit's Avatar
    Join Date
    Dec 2006
    Location
    Malden
    Posts
    8,505

    Re: SAPP

    Quote Originally Posted by POQbum View Post
    Would it be possible to create a function to list servers on both 1.09CE and 1.00CE?
    I know SmG already does this with their servers
    The Modacity servers already do that using some customized server app that is quite similar to SAPP.

  10. #60

    Re: SAPP

    Quote Originally Posted by Amit View Post
    The Modacity servers already do that using some customized server app that is quite similar to SAPP.
    ah yeah I've just noticed that. Would it be possible to get this app?
    /sorry off-topic

Thread Information

Users Browsing this Thread

There are currently 4 users browsing this thread. (0 members and 4 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •