Thread: Connecting Client to Server

Results 1 to 5 of 5
  1. #1 Connecting Client to Server 
    Extreme Donator

    Skrew's Avatar
    Join Date
    Jul 2011
    Posts
    894
    Thanks given
    166
    Thanks received
    121
    Rep Power
    122
    Can anyone explain how this works?

    I have client commands that are turned on and off within the developer's console.

    I want to be able to activate these commands via the server.
    Reply With Quote  
     

  2. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    You'd have to implement a feature in the client to do that, as there isn't any way to do this with a regular client. These commands were made to debug on the client, so there was never a need to be able to trigger them from the server. What's the reason you want to do that?

    Anyway, just add a simple packet server<->client where the server sends the command name + params to the client similar to how it triggers a CS2 script.
    Project thread
    Reply With Quote  
     

  3. #3  
    Extreme Donator

    Skrew's Avatar
    Join Date
    Jul 2011
    Posts
    894
    Thanks given
    166
    Thanks received
    121
    Rep Power
    122
    Quote Originally Posted by clem585 View Post
    You'd have to implement a feature in the client to do that, as there isn't any way to do this with a regular client. These commands were made to debug on the client, so there was never a need to be able to trigger them from the server. What's the reason you want to do that?

    Anyway, just add a simple packet server<->client where the server sends the command name + params to the client similar to how it triggers a CS2 script.
    I have a command via the client to make "Attack" the first option for NPC's, and I want to give players the option to disable/enable this with in-game buttons.

    OT: I really have no idea how to do any of that but thanks for the reply. I'll probably have to pay someone for this, I wouldn't even know where to start.
    Reply With Quote  
     

  4. #4  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Joy. View Post
    I have a command via the client to make "Attack" the first option for NPC's, and I want to give players the option to disable/enable this with in-game buttons.

    OT: I really have no idea how to do any of that but thanks for the reply. I'll probably have to pay someone for this, I wouldn't even know where to start.
    You could always do something like Runelite and directly implement it in the client (even though it would probably be less pretty than Runelite).
    Project thread
    Reply With Quote  
     

  5. #5  
    Extreme Donator

    Skrew's Avatar
    Join Date
    Jul 2011
    Posts
    894
    Thanks given
    166
    Thanks received
    121
    Rep Power
    122
    Quote Originally Posted by clem585 View Post
    You could always do something like Runelite and directly implement it in the client (even though it would probably be less pretty than Runelite).

    Thanks for the idea, I think I may actually do that. But less pretty
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. how do i connect client to server?
    By stackin in forum Help
    Replies: 5
    Last Post: 03-06-2015, 12:43 PM
  2. Connecting client to server
    By sirwerty in forum Help
    Replies: 2
    Last Post: 12-29-2013, 03:18 PM
  3. Connecting client to server error
    By absolut67 in forum Help
    Replies: 8
    Last Post: 11-02-2013, 09:28 PM
  4. [PI]Connecting client to server[rep+]
    By GodComplex2 in forum Help
    Replies: 6
    Last Post: 07-19-2012, 08:24 PM
  5. Can't connect client to server on vps
    By Thock321 in forum Help
    Replies: 2
    Last Post: 03-03-2012, 06:05 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •