Thread: Configs

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1 Configs 
    Renown Programmer and Respected Member
    Maxi's Avatar
    Join Date
    Jun 2008
    Posts
    3,197
    Thanks given
    281
    Thanks received
    1,095
    Rep Power
    1366
    Did anyone ever refactor the clients config system and/or has information to share the clients mechanism for configs?

    From what I can see there are config nodes stored in arrays which hold information on how to read the bitsets into their appropriate values, and each config could have their own bit offsets for this. I assume this information is stored in the cache. If anyone ever has looked into this, please share your finds.

    By refactoring it and finding the cache structure finding how each config is send would become really easy I guess and bitsets could be dynamically calculated instead of dumped/searched for.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Nov 2010
    Posts
    147
    Thanks given
    6
    Thanks received
    1
    Rep Power
    0
    I've been trying to for about a while, but i think i have something worked up
    Reply With Quote  
     

  3. #3  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,758
    Thanks given
    221
    Thanks received
    817
    Rep Power
    2116
    a config just tells the client what script to run with which values, its basically linked to client scripts.
    Reply With Quote  
     

  4. #4  
    Renown Programmer and Respected Member
    Maxi's Avatar
    Join Date
    Jun 2008
    Posts
    3,197
    Thanks given
    281
    Thanks received
    1,095
    Rep Power
    1366
    Quote Originally Posted by `Discardedx2 View Post
    a config just tells the client what script to run with which values, its basically linked to client scripts.
    Not completely because there is also an archive where is stored for each config how the bitset is read. Also the client scripts is only for interfaces afaik but configs do affect other things as well.
    And if you didn't refactor it I assume you are assuming it is linked to the client script without having the hard facts right?

    Oh btw I was not asking what a config does, I was asking how it works internally in the client and you know just as much as me that the value for a config is a bitset which we dump or find, but could be dynamically calculated assuming the client loads the parameters to read the bitset from the cache.
    Reply With Quote  
     

  5. #5  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,146
    Thanks given
    256
    Thanks received
    1,252
    Rep Power
    3714
    Quote Originally Posted by `Discardedx2 View Post
    a config just tells the client what script to run with which values, its basically linked to client scripts.
    If that was the case then how do you explain the farming patches changing from sendConfig ??? There's obviously more to it then just interfaces



    Reply With Quote  
     

  6. #6  
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    32
    Posts
    2,757
    Thanks given
    264
    Thanks received
    1,090
    Rep Power
    4393
    the sendConfig is involved with a lot of parts within the client such as Objects, Interfaces and some other parts but i cant remember were. i remember peter refactoring parts of the system but not sure if he still has it.
    Reply With Quote  
     

  7. #7  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,758
    Thanks given
    221
    Thanks received
    817
    Rep Power
    2116
    Quote Originally Posted by 'Mystic Flow View Post
    If that was the case then how do you explain the farming patches changing from sendConfig ??? There's obviously more to it then just interfaces
    scripts aren't only related to the interfaces

    config -> script -> object
    config -> script -> interface
    ect ect

    It doesn't go

    config -> interface
    or
    config -> object

    Stop posting on things you don't know about in an attempt to make me look stupid
    thanks
    Reply With Quote  
     

  8. #8  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,146
    Thanks given
    256
    Thanks received
    1,252
    Rep Power
    3714
    Quote Originally Posted by `Discardedx2 View Post
    scripts aren't only related to the interfaces
    Stop posting on things you don't know about in an attempt to make me look stupid
    thanks
    Well I took it that you actually meant all configs are linked to scripts for interfaces due to your first post and I was posting out of common sense not out of my knowledge on how configs work??



    Reply With Quote  
     

  9. #9  
    Renown Programmer and Respected Member
    Maxi's Avatar
    Join Date
    Jun 2008
    Posts
    3,197
    Thanks given
    281
    Thanks received
    1,095
    Rep Power
    1366
    @Discarded:

    And yet you can't tell us how exactly the translation of script opcodes etc works. The CS2 handler handles all scripts (I've no idea howmany types there are but they are handled in there anyways). Are you saying that the config id is the actual script opcode? Or is there a translation as in that the config packet will configure a node (or set of nodes) that are handled in a specific CS2 opcode? I'm just making wild guesses here.
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Sep 2009
    Posts
    1,919
    Thanks given
    480
    Thanks received
    1,687
    Rep Power
    1262
    Flamable told me to say this

    configs are linked to the Clientscript system

    idx12 = interface scripts
    idx..(not telling you) = scripts
    idx..(not telling you) = config def
    Attached image
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

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. 634 configs
    By Teemuzz in forum Configuration
    Replies: 11
    Last Post: 01-16-2011, 06:43 PM
  2. NPC configs
    By arrowzftw in forum Requests
    Replies: 12
    Last Post: 01-06-2011, 09:08 PM
  3. Some useful configs
    By Stacx in forum Configuration
    Replies: 12
    Last Post: 10-23-2010, 11:37 PM
  4. configs
    By Glabay in forum Configuration
    Replies: 8
    Last Post: 06-02-2010, 10:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •